WO2016138769A1 - 状态切换方法及装置 - Google Patents

状态切换方法及装置 Download PDF

Info

Publication number
WO2016138769A1
WO2016138769A1 PCT/CN2015/093057 CN2015093057W WO2016138769A1 WO 2016138769 A1 WO2016138769 A1 WO 2016138769A1 CN 2015093057 W CN2015093057 W CN 2015093057W WO 2016138769 A1 WO2016138769 A1 WO 2016138769A1
Authority
WO
WIPO (PCT)
Prior art keywords
target device
state
instruction
control terminal
working state
Prior art date
Application number
PCT/CN2015/093057
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 RU2016102941A priority Critical patent/RU2661191C2/ru
Priority to JP2017503048A priority patent/JP6298925B2/ja
Priority to KR1020157036665A priority patent/KR101954960B1/ko
Priority to BR112016001917A priority patent/BR112016001917A2/pt
Priority to MX2016000118A priority patent/MX361589B/es
Publication of WO2016138769A1 publication Critical patent/WO2016138769A1/zh

Links

Images

Classifications

    • 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
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/65Electronic processing for selecting an operating mode
    • 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
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • 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
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/52Indication arrangements, e.g. displays
    • F24F11/526Indication arrangements, e.g. displays giving audible indications
    • 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
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • 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
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • 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/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • 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/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • 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/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • G05B19/0425Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D7/00Control of flow
    • G05D7/06Control of flow characterised by the use of electric means
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H9/00Details of switching devices, not covered by groups H01H1/00 - H01H7/00
    • H01H9/20Interlocking, locking, or latching mechanisms
    • 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
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/52Indication arrangements, e.g. displays
    • 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
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/65Electronic processing for selecting an operating mode
    • F24F11/66Sleep mode
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H9/00Details of switching devices, not covered by groups H01H1/00 - H01H7/00
    • H01H9/20Interlocking, locking, or latching mechanisms
    • H01H9/22Interlocking, locking, or latching mechanisms for interlocking between casing, cover, or protective shutter and mechanism for operating contacts

Definitions

  • the present disclosure relates to the field of terminal technologies, and in particular, to a state switching method and apparatus.
  • Air purifiers also known as air cleaners, are capable of adsorbing, decomposing or converting various air pollutants, effectively improving air cleanliness and improving the air quality of the user's place of residence. With the increasing air pollution, air purifiers have gradually become an indispensable household electrical appliance in the user's life.
  • Air purifiers generally consume a lot of power and need to work in a strong state. When the air purifier is in operation, it is very dangerous to touch or disassemble the air purifier. For families with children, children in the home are often driven by curiosity to touch or disassemble the air purifier. At this time, the air purifier under working condition is very easy to cause harm to children. In order to prevent the air purifier from causing harm to children, at present, the air purifier is turned off by the switch button of the touch air purifier, and the air purifier is switched from the working state to the stopped working state.
  • the present disclosure provides a state switching method and apparatus.
  • a state switching method is provided, the method being applied to a target device, the method comprising:
  • the stop working state if a specific wake-up command is not acquired, the stop working state is maintained.
  • the acquiring a state switching instruction includes:
  • the standby control terminal transmits when it detects that the second option in the control terminal of the target device is triggered.
  • the method further includes:
  • a specific audio file is played, the specific audio file being used to prompt the user that the target device is currently in a stopped state.
  • the method further includes:
  • the status information is sent to the server, and is stored by the server, where the status information is used to identify that the target device is currently in a stopped working state.
  • the method further includes:
  • the method further includes:
  • the current state is switched from the stop working state to the working state.
  • the acquiring the specific wake-up instruction includes:
  • the specific wake-up instruction being sent by the control terminal of the target device when detecting that the fourth option in the control terminal of the target device is triggered.
  • a state switching method is provided, the method being applied to a control terminal, the method comprising:
  • the state switching instruction is sent to the target device, and the target device switches the current state from the working state to the stopped working state according to the state switching instruction.
  • the method further includes:
  • the method further includes:
  • a state switching device the state switching device being included in a target device, the device comprising:
  • a first acquiring module configured to acquire a state switching instruction
  • a first switching module configured to switch the current state from the working state to the stopped working state according to the state switching instruction
  • the state maintaining module is configured to maintain the stop working state if the specific wake-up instruction is not acquired in the stop working state.
  • the first acquiring module is configured to receive a trigger signal sent by a micro switch on the target device, and generate a trigger signal according to the trigger signal. a state switching instruction, wherein the trigger signal is sent when the micro switch is triggered; or
  • the first acquiring module is configured to receive a detection signal sent by a sensor on the target device, and generate a state switching instruction according to a relationship between the signal and the instruction, where the detection signal is detected by the sensor to be specific to the target device Sent when the component is removed; or,
  • the first obtaining module is configured to generate a state switching instruction when detecting that the first option on the target device is triggered;
  • the first acquiring module is configured to receive a state switching instruction sent by a control terminal of the target device, where the state switching instruction is detected by a control terminal of the target device, where a second of the control terminals of the target device is detected. Sent when the option is triggered.
  • the device further includes:
  • a playing module configured to play a specific audio file, where the specific audio file is used to prompt the user that the target device is currently in a stopped working state.
  • the device further includes:
  • the first sending module is configured to send status information to the server, where the information is used by the server, and the status information is used to identify that the target device is currently in a stopped working state.
  • the device further includes:
  • the second sending module is configured to send status prompt information to the control terminal of the target device, and the control terminal prompts according to the status prompt information.
  • the device further includes:
  • a second obtaining module configured to acquire a specific wake-up instruction
  • the second switching module is configured to switch the current state from the stopped working state to the working state according to the specific wake-up instruction.
  • the second acquiring module is configured to: when detecting that the third option on the target device is triggered Generate a specific wake-up instruction; or,
  • the second acquiring module is configured to receive a specific wake-up instruction sent by the control terminal of the target device, where the specific wake-up instruction is generated by the control terminal according to the unlock information input by the user; or
  • the second acquiring module is configured to receive a specific wake-up instruction sent by the control terminal of the target device, where the specific wake-up command is detected by the control terminal of the target device in the fourth terminal of the control device of the target device Sent when the option is triggered.
  • a control terminal includes:
  • a first instruction generating module configured to generate a state switching instruction when detecting that the second option in the control terminal is triggered
  • the first sending module is configured to send the state switching instruction to the target device, and the target device switches the current state from the working state to the stopped working state according to the state switching instruction.
  • control terminal further includes:
  • a receiving module configured to receive status prompt information sent by the target device
  • a prompting module configured to prompt according to the status prompt information.
  • control terminal further includes:
  • a second instruction generating module configured to generate a specific wake-up instruction when acquiring unlock information input by the user or detecting that a fourth option in the control terminal of the target device is triggered;
  • a second sending module configured to send the specific wake-up instruction to the target device, where the target device switches the current state from the stopped working state to the working state according to the specific wake-up instruction.
  • a state switching apparatus including:
  • processor is configured to:
  • the stop working state if a specific wake-up command is not acquired, the stop working state is maintained.
  • a control terminal including:
  • processor is configured to:
  • the state switching instruction is sent to the target device, and the target device switches the current state from the working state to the stopped working state according to the state switching instruction.
  • the state switching instruction after the current state is switched from the working state to the stopped working state, if a specific wake-up command is not obtained, no operation command is received, and the working state is stopped, thereby avoiding the lack of user intervention.
  • the target device is switched back to the working state, causing damage to the user's family members, thereby improving the security of the target device.
  • FIG. 1 is a flowchart of a state switching method according to an exemplary embodiment.
  • FIG. 2 is a flowchart of a state switching method according to an exemplary embodiment.
  • FIG. 3 is a flowchart of a state switching method according to an exemplary embodiment.
  • FIG. 4 is a schematic structural diagram of a state switching device according to an exemplary embodiment.
  • FIG. 5 is a schematic structural diagram of a control terminal according to an exemplary embodiment.
  • FIG. 6 is a block diagram of a state switching device, according to an exemplary embodiment.
  • FIG. 1 is a flowchart of a state switching method according to an exemplary embodiment. As shown in FIG. 1 , a state switching method is used in a target device, including the following steps.
  • step 101 a state switching instruction is acquired.
  • step 102 the current state is switched from the working state to the stopped working state according to the state switching instruction.
  • step 103 in the stop working state, if a specific wake-up command is not acquired, the stop working state is maintained.
  • the target device switches back to the working state and creates a user's family member. Injury, which increases the security of the target device.
  • acquiring a state switching instruction includes:
  • detecting that the first option on the target device is triggered may be: detecting that the user presses a specific button or button combination on the target device, detecting that the user presses a specific button on the target device in a specific manner, or Button combinations, etc.
  • pressing a particular button or combination of buttons on the target device in a particular manner may be: pressing a particular button or combination of buttons in a predetermined number of times, pressing a particular button or combination of buttons for a predetermined length of time, and the like.
  • detecting that the second option in the control terminal is triggered may be: detecting that the user presses a specific button or button combination in the control terminal, detecting that the user presses a specific button in the control terminal in a specific manner or Button combinations, etc.
  • pressing a particular button or combination of buttons in the control terminal in a particular manner may be: continuously pressing a particular button or combination of buttons for a predetermined number of times, pressing a particular button or combination of buttons for a predetermined length of time, and the like.
  • the method further includes:
  • a specific audio file is played, and the specific audio file is used to prompt the user that the target device is currently in a stopped state.
  • the method further includes:
  • the status information is sent to the server and stored by the server.
  • the status information is used to identify that the target device is currently in the stopped working state.
  • the method further includes:
  • the status prompt information is sent to the control terminal of the target device, and the control terminal prompts according to the status prompt information.
  • the method further includes:
  • the current state is switched from the stopped state to the active state according to a specific wake-up command.
  • obtaining a specific wake-up instruction includes:
  • the specific wake-up instruction being sent by the control terminal of the target device when detecting that the fourth option in the control terminal of the target device is triggered.
  • detecting that the third option on the target device is triggered may be: detecting that the user presses a specific button or button combination on the target device, detecting that the user presses a specific button on the target device in a specific manner, or Button combinations, etc.
  • pressing a particular button or combination of buttons on the target device in a particular manner may be: pressing a particular button or combination of buttons in a predetermined number of times, pressing a particular button or combination of buttons for a predetermined length of time, and the like.
  • detecting that the fourth option in the control terminal is triggered may be: detecting that the user presses a specific button or button combination in the control terminal, detecting that the user presses a specific button in the control terminal in a specific manner or Button combinations, etc.
  • pressing a particular button or combination of buttons in the control terminal in a particular manner may be: continuously pressing a particular button or combination of buttons for a predetermined number of times, pressing a particular button or combination of buttons for a predetermined length of time, and the like.
  • FIG. 2 is a flowchart of a state switching method according to an exemplary embodiment. As shown in FIG. 2, a state switching method is used in a control terminal, including the following steps.
  • step 201 a state switching instruction is generated when it is detected that the second option in the control terminal is triggered.
  • step 202 the state switching instruction is sent to the target device, and the target device switches the current state from the working state to the stopped working state according to the state switching instruction.
  • the method provided by the embodiment of the present disclosure when detecting that a specific option is triggered, generates a state switching instruction, and sends the generated state switching instruction to the target device, so that the target device can switch the current state from the working state according to the state switching instruction. Until the stop working state, and in the stop working state, if the target device does not acquire a specific wake-up command, the target device will remain in the stop working state regardless of receiving any operation instruction, thereby realizing the control of the target device state by means of the control terminal. It enriches the state switching mode, and avoids the target device re-switching back to the working state in the absence of user intervention, causing damage to the user's family members and improving the security of the target device.
  • the method further includes:
  • the method further includes:
  • a specific wake-up instruction is sent to the target device, and the target device switches the current state from the stopped working state to the working state according to the specific wake-up instruction.
  • FIG. 3 is a flowchart of a state switching method according to an exemplary embodiment.
  • a state switching method is used in a target device and a control terminal, and the method takes a current state as an operating state as an example, and On the basis of the working state, the stop working state is provided, and the safety of the user's family members is effectively protected by switching the target device from the working state to the stopped working state.
  • the method provided in this embodiment includes the following steps.
  • step 301 when it is detected that the second option in the control terminal is triggered, the control terminal generates a state switching instruction.
  • the control terminal is a control device of the target device, and has the capability of communicating with the target device by means of radio frequency or network.
  • There are two types of control terminals the first type being a mobile phone, a tablet, etc., and the second type being a remote control of a target device.
  • the control terminal is of the first type, in order to meet various needs of the user, a plurality of applications, such as an audio player, a video player, an operation control program, and the like are installed in the control terminal.
  • the designated application is an operation control program for controlling the target device.
  • the control terminal In order to achieve flexible control of the target device, there are options in the specified application, such as “off” option, “restart” option, "mode” option, etc., and different options trigger the control terminal to generate different control commands,
  • the "off” option can trigger the control terminal to generate a shutdown command
  • the "restart” option can trigger the control terminal to generate a restart instruction, etc., that is, the correspondence between the option and the instruction.
  • the control terminal is of the second type, the control terminal provides a plurality of options, such as a "close” option, a "restart” option, etc., according to which the control of the target device can also be achieved.
  • the present embodiment generates a state switching instruction on the target device by controlling the target device.
  • the option is called the first option
  • the option of the control terminal to generate the state switching instruction in the control terminal is referred to as the second option
  • the option of the target device to generate the specific wake-up command on the target device is referred to as the third option
  • the control terminal is triggered.
  • the option to control the terminal to generate a specific wake-up command is called the fourth option
  • the option to trigger the pop-up unlock dialog on the control terminal is referred to as the fifth option.
  • the above first option, second option, third option, fourth option, and fifth option do not represent the order in which the options are arranged on the device, only to distinguish between their functions and their devices.
  • the control terminal When detecting that the second option is triggered, the control terminal generates a state switching instruction according to the correspondence between the option and the instruction, and the state switching instruction is used to control the target device to switch the current state from the working state to the stopped working state.
  • the manner in which the control terminal detects that the second option is triggered includes, but is not limited to, when the user performs a touch operation on the screen of the control terminal, the control terminal senses the pressure change on the screen through the built-in pressure sensing device, and acquires the pressure on the screen.
  • the changed position area compares the obtained positional area of the pressure change on the screen with the position area of the second option on the screen, if the acquired positional area of the pressure change on the screen and the position of the second option on the screen If the regions overlap, it is determined that the second option in the control terminal is triggered.
  • step 302 the control terminal transmits a state switching instruction to the target device.
  • the target device may be an air cleaner or the like, and the target device also has the capability of communicating with other devices through radio frequency or network.
  • the control terminal Since the state switching instruction generated by the control terminal is for controlling the target device to perform state switching, when detecting After the state switching instruction is generated, the control terminal needs to send the generated state switching instruction to the target device, and the target device performs state switching according to the state switching instruction. Based on the communication capabilities of the target device and the control terminal, the control terminal may send a state switching instruction to the target device by turning on a function such as Bluetooth, or send a state switching instruction to the target device through a wired network or a wireless network.
  • a function such as Bluetooth
  • step 303 the target device switches the current state from the working state to the stopped working state according to the state switching instruction.
  • the target device in the working state switches the current state from the working state to the stopped working state according to the received state switching instruction.
  • the target device switches the current state from the working state to the stopped working state according to the state switching instruction sent by the control terminal.
  • the target device may also obtain the state switching instruction by other means, for example, when the target When the micro switch on the device is triggered, the micro switch can generate a trigger signal and send the generated trigger signal to the target device.
  • the target device When receiving the trigger signal sent by the micro switch, the target device can generate the trigger signal according to the trigger signal.
  • State switching instruction for example, when a specific component on the target device, such as a blade, is removed, the sensor on the target device detects that the specific component is removed, generates a detection signal, and transmits a detection signal to the target device
  • the target device may generate a state switching instruction; for example, when it is detected that the first option on the target device is triggered, the target device may also generate a state switching instruction under the trigger of the first option.
  • the target device After the target device switches the current state from the working state to the stopped working state according to the state switching instruction, in order to promptly remind the user, the target device also plays a specific audio file, and the sound of the specific audio file is generated with the target device. The sound emitted under normal working conditions is different. Therefore, when the user hears that the target device plays the specific audio file, the target device is currently in the stopped working state.
  • the target device regardless of the state of the target device, the target device sends status data indicating its own state to the server, and the server synchronizes to facilitate the user to query. Therefore, after the target device switches the current state from the working state to the stopped working state according to the state switching instruction, the target device needs to send the state information indicating that the current device is in the stopped working state, and is stored by the server.
  • step 304 in the stopped working state, the target device sends status prompt information to the control terminal of the target device.
  • the target device When in the stopped working state, in order to better prompt the user, the target device not only can remind the user by playing a specific audio file, but also sends a prompt message to the control terminal of the target device, so that the user is more distant from the target device. In the scenario where the specific audio file played by the target device cannot be heard, it is also known that the target device is in a stopped state.
  • step 305 when receiving the status prompt information sent by the target device, the control terminal prompts according to the status prompt information.
  • the control terminal may display the prompt information sent by the target device on the display interface, and the content of the prompt information may be “the target device is currently in a stop working state, please pay attention to” or “target” Specific parts of the device are removed” and so on.
  • the control terminal can pop up a dialog box on the screen. The display is performed, and the prompt information can also be displayed in a scrolling manner.
  • step 306 the control terminal generates a specific wake-up instruction.
  • the user may trigger a fourth option of controlling the terminal, and when the control terminal detects that the fourth option is triggered, a specific wake-up command may be generated.
  • the user can also trigger a fifth option in the designated application of the control terminal to cause the control terminal to pop up an unlock dialog box to input unlock information on the screen.
  • the control terminal may generate a specific wake-up instruction according to the unlock information.
  • the unlocking information may be an unlocking password preset by the user, a fingerprint of the user, and the like, and the unlocking information may be released when the target device is in a stopped working state.
  • the unlocking information is the unlocking password
  • the control terminal matches the password acquired in the unlocking dialog box with the pre-stored password.
  • the control terminal may generate a specific
  • the unlocking information is the user's fingerprint
  • the control terminal matches the user fingerprint acquired in the unlocking dialog box with the pre-stored fingerprint, and the user fingerprint and the pre-stored fingerprint obtained in the unlocking dialog box.
  • the control terminal can generate a specific wake-up command.
  • step 307 the control terminal transmits a specific wake-up instruction to the target device.
  • the control terminal In order to enable the target device in the stopped working state to work normally, after generating the specific wake-up instruction, the control terminal also transmits the generated specific wake-up instruction to the target device. Since both the control terminal and the target device have the capability of communicating by radio frequency or network, the control terminal can send a specific wake-up command to the target device by turning on a function such as Bluetooth, or by a wired network or a wireless network. The wake-up command is sent to the target device.
  • step 308 the target device switches the current state from the stopped working state to the active state according to the specific wake-up command.
  • the target device in the stop working state switches the current state from the stop working state to the working state according to the specific wake-up command.
  • the target device switches the current state from the stop working state to the working state according to the specific wake-up command sent by the control terminal.
  • the target device may also obtain a specific wake-up command by other means.
  • the target device detects that the user triggered the third option
  • the target device also generates a specific wake-up instruction.
  • the manner in which the third option in the detecting target device is triggered may be: the target device detects that the user presses the third option on the target device, or the target device detects that the user presses the third option on the target device in a specific manner, etc. .
  • the third option may be a specific button or a combination of buttons on the target device, and the third option on the target device may be pressed in a specific manner, or the third option may be pressed by a predetermined number of times, such as 3 times, 4 times, or the like, or The third option is pressed for a predetermined duration such as 3 seconds, 5 seconds, etc.; for example, when the target device detects that the removed specific component is properly installed, the target device also generates a specific wake-up command.
  • the target device can also obtain specific wake-up commands in other ways, which will not be explained here.
  • the target device when the target device is in the stop working state, if a specific wake-up instruction is not obtained, when any operation command is received, the target device will remain in the stopped working state.
  • the target device after the target device switches the current state from the working state to the stopped working state according to the state switching instruction, if the specific wake-up command is not obtained, the target device will remain in the stopped working state regardless of receiving any operation command. In the absence of user intervention, the target device is switched back to the working state, causing damage to the user's family members, thereby improving the security of the target device. In addition, in the stop working state, when a specific wake-up command is acquired, the target device also switches the stop working state to the working state, thereby enriching the state switching mode.
  • FIG. 4 is a schematic structural diagram of a state switching device, which is included in a target device, according to an exemplary embodiment.
  • the apparatus includes: a first acquisition module 401, a first switching module 402, and a state retention module 403.
  • the first obtaining module 401 is configured to acquire a state switching instruction
  • the first switching module 402 is configured to switch the current state from the working state to the stopped working state according to the state switching instruction
  • the state hold module 403 is configured to remain in the stopped state if the specific wake-up command is not acquired in the stop state.
  • the first obtaining module 401 is configured to receive a trigger signal sent by the micro switch on the target device, and generate a state switching instruction according to the trigger signal, where the trigger signal is triggered by the micro switch Send; or,
  • the first obtaining module 401 is configured to receive a detection signal sent by a sensor on the target device, and generate a state switching instruction according to the relationship between the signal and the instruction, where the detection signal is sent when the sensor detects that the specific component of the target device is removed; or ,
  • the first obtaining module 401 is configured to generate a state switching instruction when detecting that the first option on the target device is triggered; or
  • the first obtaining module 401 is configured to receive a state switching instruction sent by the control terminal of the target device, and the state switching instruction is sent by the control terminal of the target device when detecting that the second option in the control terminal of the target device is triggered.
  • the apparatus further includes: a play module.
  • the play module is configured to play a specific audio file, and the specific audio file is used to prompt the user that the target device is currently in a stopped state.
  • the apparatus further includes: a first transmitting module.
  • the first sending module is configured to send status information to the server, which is stored by the server, and the status information is used to identify that the target device is currently in a stopped working state.
  • the apparatus further includes: a second sending module.
  • the second sending module is configured to send status prompt information to the control terminal of the target device, and the control terminal prompts according to the status prompt information.
  • the apparatus further includes: a second acquisition module and a second switching module.
  • the second obtaining module is configured to acquire a specific wake-up instruction
  • the second switching module is configured to switch the current state from the stopped operating state to the active state according to the specific wake-up command.
  • the second obtaining module is configured to generate a specific wake-up instruction when detecting that the selected duration of the third option on the target device reaches the preset duration;
  • the second obtaining module is configured to receive a specific wake-up instruction sent by the control terminal of the target device, where the specific wake-up instruction is generated by the control terminal according to the unlocking information input by the user; or
  • the second acquisition module is configured to receive a specific wake-up instruction sent by the control terminal of the target device, the specific wake-up instruction being sent by the control terminal of the target device when detecting that the fourth option in the control terminal of the target device is triggered.
  • the device provided by the embodiment of the present disclosure, after switching the current state from the working state to the stop working state according to the state switching instruction, if the specific wake-up command is not obtained, the operation state is stopped regardless of any operation command received, and the operation is avoided. In the absence of user intervention, the target device switches back to the working state, causing damage to the user's family members, thereby improving the security of the target device.
  • FIG. 5 is a schematic structural diagram of a control terminal according to an exemplary embodiment.
  • the control terminal includes: a first instruction generation module 501 and a first transmission module 502.
  • the first instruction generation module 501 is configured to generate a state switching instruction when detecting that the second option in the control terminal is triggered;
  • the first sending module 502 is configured to send a state switching instruction to the target device, and the target device switches the current state from the working state to the stopped working state according to the state switching instruction.
  • control terminal further includes: a receiving module and a prompting module.
  • the receiving module is configured to receive status prompt information sent by the target device
  • the prompt module is configured to prompt according to the status prompt information.
  • control terminal further includes: a second instruction generating module and a second sending module.
  • the second instruction generation module is configured to generate a specific wake-up instruction when acquiring the unlock information input by the user or detecting that the fourth option in the control terminal of the target device is triggered;
  • the second transmitting module is configured to send a specific wake-up instruction to the target device, and the target device switches the current state from the stopped working state to the working state according to the specific wake-up instruction.
  • the control terminal provided by the embodiment of the present disclosure generates a state switching instruction when detecting that a specific option is triggered, and sends the generated state switching instruction to the target device, so that the target device can change the current state from the working state according to the state switching instruction. Switching to the stop working state, and in the stop working state, if the target device does not acquire a specific wake-up command, the target device will remain in the stopped state regardless of receiving any operation command, thereby using the control terminal The control of the state of the target device is realized, the state switching mode is enriched, and the target device is switched back to the working state in the absence of user intervention, causing damage to the user's family members and improving the security of the target device.
  • FIG. 6 is a block diagram of an apparatus 600 for state switching, according to an exemplary embodiment.
  • device 600 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • apparatus 600 can include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and Communication component 616.
  • Processing component 602 typically controls the overall operation of device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 602 can include one or more processors 620 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 602 can include one or more modules to facilitate interaction between component 602 and other components.
  • processing component 602 can include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.
  • Memory 604 is configured to store various types of data to support operation at device 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 606 provides power to various components of device 600.
  • Power component 606 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 600.
  • the multimedia component 608 includes a screen between the device 600 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 608 includes a front camera and/or a rear camera. When the device 600 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 610 is configured to output and/or input an audio signal.
  • audio component 610 includes a microphone (MIC) that is used when device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the wind is configured to receive an external audio signal.
  • the received audio signal may be further stored in memory 604 or transmitted via communication component 616.
  • audio component 610 also includes a speaker for outputting an audio signal.
  • the I/O interface 612 provides an interface between the processing component 602 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 614 includes one or more sensors for providing device 600 with a status assessment of various aspects.
  • sensor assembly 614 can detect an open/closed state of device 600, a relative positioning of components, such as the display and keypad of device 600, and sensor component 614 can also detect a change in position of one component of device 600 or device 600. The presence or absence of contact by the user with the device 600, the orientation or acceleration/deceleration of the device 600 and the temperature change of the device 600.
  • Sensor assembly 614 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 614 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 616 is configured to facilitate wired or wireless communication between device 600 and other devices.
  • the device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 616 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 616 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 600 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 604 comprising instructions executable by processor 620 of apparatus 600 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a mobile terminal, enabling the mobile terminal to perform a state switching method, the method comprising:
  • the working state In the stop working state, if a specific wake-up command is not obtained, the working state is stopped.
  • acquiring a state switching instruction includes:
  • the method further includes:
  • a specific audio file is played, and the specific audio file is used to prompt the user that the target device is currently in a stopped state.
  • the method further includes:
  • the status information is sent to the server and stored by the server.
  • the status information is used to identify that the target device is currently in the stopped working state.
  • the method further includes:
  • the status prompt information is sent to the control terminal of the target device, and the control terminal prompts according to the status prompt information.
  • the method further includes:
  • the current state is switched from the stopped state to the active state according to a specific wake-up command.
  • obtaining a specific wake-up instruction includes:
  • the specific wake-up instruction is sent by the control terminal of the target device when detecting that the fourth option in the control terminal of the target device is triggered.
  • the non-transitory computer readable storage medium provided by the embodiment of the present disclosure, after switching the current state from the working state to the stopped working state according to the state switching instruction, if no specific wake-up instruction is obtained, no matter any operation instruction is received, Keeping the working state stopped, avoiding the target device re-switching back to the working state in the absence of user intervention, causing damage to the user's family members, thereby improving the security of the target device.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Mathematical Physics (AREA)
  • Fuzzy Systems (AREA)
  • Telephone Function (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)
  • Alarm Systems (AREA)
  • Air Conditioning Control Device (AREA)
  • User Interface Of Digital Computer (AREA)
  • Electronic Switches (AREA)
  • Lock And Its Accessories (AREA)

Abstract

本公开是关于一种状态切换方法及装置,属于终端技术领域。所述方法包括:获取状态切换指令;根据状态切换指令,将当前状态由工作状态切换至停止工作状态;在停止工作状态下,如果未获取到特定唤醒指令,保持停止工作状态。本公开根据状态切换指令,将当前状态由工作状态切换至停止工作状态后,如果未获取到特定唤醒指令,无论接收到任何操作指令,都将保持停止工作状态,避免了在缺乏用户干预的情况下,目标设备重新切换回工作状态,对用户家庭成员造成伤害,从而提高了目标设备的安全性。

Description

状态切换方法及装置
本申请基于申请号为201510093411.4、申请日为2015年3月2日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及终端技术领域,尤其涉及一种状态切换方法及装置。
背景技术
空气净化器又称为空气清洁器,能够吸附、分解或者转化各种空气污染物,有效地提高空气清洁度,改善用户居住场所的空气质量。随着空气污染的日益严重,空气净化器逐渐成为用户生活中必不可少的家电设备。
空气净化器的功耗一般较大,需要在强电状态下工作。当空气净化器处于工作状态时,对空气净化器进行触摸或拆卸等操作是十分危险的。而对于有儿童的家庭,家中的儿童在好奇心的驱使下,经常会触摸或拆卸空气净化器,这时处于工作状态下的空气净化器非常容易给儿童造成伤害。为了避免空气净化器对儿童造成伤害,目前主要通过触控空气净化器的开关按键,关闭空气净化器,将空气净化器由工作状态切换至停止工作状态实现。
发明内容
为克服相关技术中存在的问题,本公开提供一种状态切换方法及装置。
根据本公开实施例的第一方面,提供一种状态切换方法,所述方法应用于目标设备中,所述方法包括:
获取状态切换指令;
根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态;
在所述停止工作状态下,如果未获取到特定唤醒指令,保持所述停止工作状态。
结合第一方面,在第一方面的第一种可能的实现方式中,所述获取状态切换指令,包括:
接收所述目标设备上的微动开关发送的触发信号,根据所述触发信号,生成状态切换指令,所述触发信号由所述微动开关被触发时发送;或,
接收所述目标设备上的传感器发送的检测信号,根据信号与指令的关系,生成状态切换指令,所述检测信号由所述传感器检测到所述目标设备的特定部件被移除时发送;或,
当检测到所述目标设备上的第一选项被触发时,生成状态切换指令;或,
接收所述目标设备的控制终端发送的状态切换指令,所述状态切换指令由所述目标设 备的控制终端在检测到所述目标设备的控制终端中的第二选项被触发时发送。
结合第一方面,在第一方面的第二种可能的实现方式中,所述根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态之后,还包括:
播放特定音频文件,所述特定音频文件用于提示用户所述目标设备当前处于停止工作状态。
结合第一方面,在第一方面的第三种可能的实现方式中,所述根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态之后,还包括:
向服务器发送状态信息,由所述服务器进行存储,所述状态信息用于标识所述目标设备当前处于停止工作状态。
结合第一方面,在第一方面的第四种可能的实现方式中,所述根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态之后,还包括:
向所述目标设备的控制终端发送状态提示信息,由所述控制终端根据所述状态提示信息进行提示。
结合第一方面,在第一方面的第五种可能的实现方式中,所述将当前状态由工作状态切换至停止工作状态之后,还包括:
获取特定唤醒指令;
根据所述特定唤醒指令,将当前状态由停止工作状态切换至工作状态。
结合第一方面的第五种可能的实现方式,在第一方面的第六种可能的实现方式中,所述获取特定唤醒指令,包括:
接收控制终端发送的特定唤醒指令,所述特定唤醒指令由所述控制终端根据用户在指定应用程序中输入的解锁密码生成;或,
当检测到所述目标设备上的第三选项被触发时,生成特定唤醒指令;或,
接收所述目标设备的控制终端发送的特定唤醒指令,所述特定唤醒指令由所述控制终端根据用户输入的解锁信息生成;或,
接收所述目标设备的控制终端发送的特定唤醒指令,所述特定唤醒指令由所述目标设备的控制终端在检测到所述目标设备的控制终端中的第四选项被触发时发送。
根据本公开实施例的第二方面,提供一种状态切换方法,所述方法应用于控制终端,所述方法包括:
当检测到所述控制终端中的第二选项被触发时,生成状态切换指令;
将所述状态切换指令发送至目标设备,由所述目标设备根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态。
结合第二方面,在第二方面的第一种可能的实现方式中,所述将所述状态切换指令发送至目标设备之后,还包括:
接收所述目标设备发送的状态提示信息;
根据所述状态提示信息进行提示。
结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述根据所述状态提示信息进行提示之后,还包括:
当获取到用户输入的解锁信息或检测到所述目标设备的控制终端中的第四选项被触发时,生成特定唤醒指令;
将所述特定唤醒指令发送至所述目标设备,由所述目标设备根据所述特定唤醒指令,将当前状态由停止工作状态切换至工作状态。
根据本公开实施例的第三方面,提供一种状态切换装置,所述状态切换装置包括在目标设备中,所述装置包括:
第一获取模块,用于获取状态切换指令;
第一切换模块,用于根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态;
状态保持模块,用于在所述停止工作状态下,如果未获取到特定唤醒指令,保持所述停止工作状态。
结合第三方面,在第三方面的第一种可能的实现方式中,所述第一获取模块,用于接收所述目标设备上的微动开关发送的触发信号,根据所述触发信号,生成状态切换指令,所述触发信号由所述微动开关被触发时发送;或,
所述第一获取模块,用于接收所述目标设备上的传感器发送的检测信号,根据信号与指令的关系,生成状态切换指令,所述检测信号由所述传感器检测到所述目标设备的特定部件被移除时发送;或,
所述第一获取模块,用于当检测到所述目标设备上的第一选项被触发时,生成状态切换指令;或,
所述第一获取模块,用于接收所述目标设备的控制终端发送的状态切换指令,所述状态切换指令由所述目标设备的控制终端在检测到所述目标设备的控制终端中的第二选项被触发时发送。
结合第三方面,在第三方面的第二种可能的实现方式中,所述装置,还包括:
播放模块,用于播放特定音频文件,所述特定音频文件用于提示用户所述目标设备当前处于停止工作状态。
结合第三方面,在第三方面的第三种可能的实现方式中,所述装置,还包括:
第一发送模块,用于向服务器发送状态信息,由所述服务器进行存储,所述状态信息用于标识所述目标设备当前处于停止工作状态。
结合第三方面,在第三方面的第四种可能的实现方式中,所述装置,还包括:
第二发送模块,用于向所述目标设备的控制终端发送状态提示信息,由所述控制终端根据所述状态提示信息进行提示。
结合第三方面,在第三方面的第五种可能的实现方式中,所述装置,还包括:
第二获取模块,用于获取特定唤醒指令;
第二切换模块,用于根据所述特定唤醒指令,将当前状态由停止工作状态切换至工作状态。
结合第三方面的第五种可能的实现方式,在第三方面的第六种可能的实现方式中,所述第二获取模块,用于当检测到所述目标设备上的第三选项被触发时,生成特定唤醒指令;或,
所述第二获取模块,用于接收所述目标设备的控制终端发送的特定唤醒指令,所述特定唤醒指令由所述控制终端根据用户输入的解锁信息生成;或,
所述第二获取模块,用于接收所述目标设备的控制终端发送的特定唤醒指令,所述特定唤醒指令由所述目标设备的控制终端在检测到所述目标设备的控制终端中的第四选项被触发时发送。
根据本公开实施例的第四方面,提供一种控制终端,所述控制终端包括:
第一指令生成模块,用于当检测到所述控制终端中的第二选项被触发时,生成状态切换指令;
第一发送模块,用于将所述状态切换指令发送至目标设备,由所述目标设备根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态。
结合第四方面,在第四方面的第一种可能的实现方式中,所述控制终端,还包括:
接收模块,用于接收所述目标设备发送的状态提示信息;
提示模块,用于根据所述状态提示信息进行提示。
结合第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现方式中,所述控制终端,还包括:
第二指令生成模块,用于当获取到用户输入的解锁信息或检测到所述目标设备的控制终端中的第四选项被触发时,生成特定唤醒指令;
第二发送模块,用于将所述特定唤醒指令发送至所述目标设备,由所述目标设备根据所述特定唤醒指令,将当前状态由停止工作状态切换至工作状态。
根据本公开实施例的第五方面,提供一种状态切换装置,包括:
处理器;
用于存储处理器可执行的指令;
其中,所述处理器被配置为:
获取状态切换指令;
根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态;
在所述停止工作状态下,如果未获取到特定唤醒指令,保持所述停止工作状态。
根据本公开实施例的第六方面,提供一种控制终端,包括:
处理器;
用于存储处理器可执行的指令;
其中,所述处理器被配置为:
当检测到所述控制终端的第二选项被触发时,生成状态切换指令;
将所述状态切换指令发送至目标设备,由所述目标设备根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态。
本公开的实施例提供的技术方案可以包括以下有益效果:
根据状态切换指令,将当前状态由工作状态切换至停止工作状态后,如果未获取到特定唤醒指令,无论接收到任何操作指令,都将保持停止工作状态,避免了在缺乏用户干预的情况下,目标设备重新切换回工作状态,对用户家庭成员造成伤害,从而提高了目标设备的安全性。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
图1是根据一示例性实施例示出的一种状态切换方法的流程图。
图2是根据一示例性实施例示出的一种状态切换方法的流程图。
图3是根据一示例性实施例示出的一种状态切换方法的流程图。
图4是根据一示例性实施例示出的一种状态切换装置的结构示意图。
图5是根据一示例性实施例示出的一种控制终端的结构示意图。
图6是根据一示例性实施例示出的一种状态切换装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
图1是根据一示例性实施例示出的一种状态切换方法的流程图,如图1所示,状态切换方法用于目标设备中,包括以下步骤。
在步骤101中,获取状态切换指令。
在步骤102中,根据状态切换指令,将当前状态由工作状态切换至停止工作状态。
在步骤103中,在停止工作状态下,如果未获取到特定唤醒指令,保持停止工作状态。
本公开实施例提供的方法,根据状态切换指令,将当前状态由工作状态切换至停止工作状态后,如果未获取到特定唤醒指令,无论接收到任何操作指令,都将保持停止工作状态,避免了在缺乏用户干预的情况下,目标设备重新切换回工作状态,对用户家庭成员造 成伤害,从而提高了目标设备的安全性。
在本公开的另一个实施例中,获取状态切换指令,包括:
接收目标设备上的微动开关发送的触发信号,根据触发信号,生成状态切换指令,触发信号由微动开关被触发时发送;或,
接收目标设备上的传感器发送的检测信号,根据信号与指令的关系,生成状态切换指令,检测信号由传感器检测到目标设备的特定部件被移除时发送;或,
当检测到目标设备上的第一选项被触发时,生成状态切换指令;或,
接收目标设备的控制终端发送的状态切换指令,状态切换指令由目标设备的控制终端在检测到目标设备的控制终端中的第二选项被触发时发送。
可选地,检测到目标设备上的第一选项被触发可以是:检测到用户按下目标设备上的特定的按键或者按键组合、检测到用户以特定方式按下目标设备上的特定的按键或按键组合等。可选地,以特定方式按下目标设备上的特定的按键或按键组合可以是:以预定次数连续按下特定按键或者按键组合、以预定的时长按下特定按键或者按键组合等。
可选地,检测到控制终端中的第二选项被触发可以是:检测到用户按下控制终端中的特定的按键或者按键组合、检测到用户以特定方式按下控制终端中的特定的按键或按键组合等。可选地,以特定方式按下控制终端中的特定的按键或按键组合可以是:以预定次数连续按下特定按键或者按键组合、以预定的时长按下特定按键或者按键组合等。
在本公开的另一个实施例中,根据状态切换指令,将当前状态由工作状态切换至停止工作状态之后,还包括:
播放特定音频文件,特定音频文件用于提示用户目标设备当前处于停止工作状态。
在本公开的另一个实施例中,根据状态切换指令,将当前状态由工作状态切换至停止工作状态之后,还包括:
向服务器发送状态信息,由服务器进行存储,状态信息用于标识目标设备当前处于停止工作状态。
在本公开的另一个实施例中,根据状态切换指令,将当前状态由工作状态切换至停止工作状态之后,还包括:
向目标设备的控制终端发送状态提示信息,由控制终端根据状态提示信息进行提示。
在本公开的另一个实施例中,将当前状态由工作状态切换至停止工作状态之后,还包括:
获取特定唤醒指令;
根据特定唤醒指令,将当前状态由停止工作状态切换至工作状态。
在本公开的另一个实施例中,获取特定唤醒指令,包括:
当检测到目标设备上的第三选项被触发,生成特定唤醒指令;或,
接收目标设备的控制终端发送的特定唤醒指令,该特定唤醒指令由控制终端根据用户输入的解锁信息生成;或,
接收目标设备的控制终端发送的特定唤醒指令,该特定唤醒指令由目标设备的控制终端在检测到目标设备的控制终端中的第四选项被触发时发送。
可选地,检测到目标设备上的第三选项被触发可以是:检测到用户按下目标设备上的特定的按键或者按键组合、检测到用户以特定方式按下目标设备上的特定的按键或按键组合等。可选地,以特定方式按下目标设备上的特定的按键或按键组合可以是:以预定次数连续按下特定按键或者按键组合、以预定的时长按下特定按键或者按键组合等。
可选地,检测到控制终端中的第四选项被触发可以是:检测到用户按下控制终端中的特定的按键或者按键组合、检测到用户以特定方式按下控制终端中的特定的按键或按键组合等。可选地,以特定方式按下控制终端中的特定的按键或按键组合可以是:以预定次数连续按下特定按键或者按键组合、以预定的时长按下特定按键或者按键组合等。
上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。
图2是根据一示例性实施例示出的一种状态切换方法的流程图,如图2所示,状态切换方法用于控制终端中,包括以下步骤。
在步骤201中,当检测到控制终端中的第二选项被触发时,生成状态切换指令。
在步骤202中,将状态切换指令发送至目标设备,由目标设备根据状态切换指令,将当前状态由工作状态切换至停止工作状态。
本公开实施例提供的方法,当检测到特定选项被触发时,生成状态切换指令,并将生成的状态切换指令发送至目标设备,使目标设备能够根据状态切换指令,将当前状态由工作状态切换至停止工作状态,且在停止工作状态下,如果目标设备未获取到特定唤醒指令,无论接收到任何操作指令,目标设备都将保持停止工作状态,从而借助控制终端实现了对目标设备状态的控制,丰富了状态切换方式,同时避免了在缺乏用户干预的情况下,目标设备重新切换回工作状态,对用户家庭成员造成伤害,提高了目标设备的安全性。
在本公开的另一个实施例中,将状态切换指令发送至目标设备之后,还包括:
接收目标设备发送的状态提示信息;
根据状态提示信息进行提示。
在本公开的另一个实施例中,根据状态提示信息进行提示之后,还包括:
当获取到用户输入的解锁信息或检测到目标设备的控制终端中的第四选项被触发时,生成特定唤醒指令;
将特定唤醒指令发送至目标设备,由目标设备根据特定唤醒指令,将当前状态由停止工作状态切换至工作状态。
上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。
图3是根据一示例性实施例示出的一种状态切换方法的流程图,如图3所示,状态切换方法用于目标设备及控制终端中,该方法以当前状态为工作状态为例,并在工作状态的基础上提供了停止工作状态,通过将目标设备由工作状态切换至停止工作状态,有效地保护了用户家庭成员的安全。本实施例提供的方法包括以下步骤。
在步骤301中,当检测到控制终端中的第二选项被触发时,控制终端生成状态切换指令。
其中,控制终端为目标设备的控制装置,具有通过射频方式或网络的方式与目标设备进行通信的能力。控制终端的类型有两种,第一种类型为可以为手机、平板电脑等,第二种类型可以为目标设备的遥控器等。当控制终端为第一种类型时,为了满足用户的各种需求,控制终端中安装有多个应用程序,如音频播放程序、视频播放程序、操作控制程序等。在本实施例中,指定应用程序为一种操作控制程序,用于对目标设备进行控制。为了实现对目标设备的灵活控制,指定应用程序中具有选项,如“关闭”选项、“重启”选项、“模式”选项等等,且不同的选项触发控制终端所生成的控制指令是不同的,例如,“关闭”选项可触发控制终端生成关闭指令,“重启”选项可触发控制终端生成重启指令等,也即是,选项与指令之间具有对应关系。当控制终端为第二种类型时,控制终端上提供多个选项,例如“关闭”选项、“重启”选项等等,根据这些选项,同样可实现对目标设备的控制。
需要说明的是,由于本实施提供的状态切换方法在具体实施时,涉及到多个不同功能的选项,因此,为了便于区分这些选项,本实施例将目标设备上控制目标设备生成状态切换指令的选项称为第一选项,将控制终端中触发控制终端生成状态切换指令的选项称为第二选项,将目标设备上控制目标设备生成特定唤醒指令的选项称为第三选项,将控制终端上触发控制终端生成特定唤醒指令的选项称为第四选项,将控制终端上触发弹出解锁对话框的选项称为第五选项。上述第一选项、第二选项、第三选项、第四选项及第五选项并不代表选项在设备上的排列顺序,仅为了对其功能和所在设备进行区分。
当检测第二选项被触发时,控制终端根据选项与指令的对应关系,生成状态切换指令,该状态切换指令用于控制目标设备将当前状态由工作状态切换至停止工作状态。关于控制终端检测第二选项被触发的方式,包括但不限于:当用户在控制终端屏幕上进行触控操作后,控制终端通过内置的压力感应设备感应屏幕上的压力变化,并获取屏幕上压力变化的位置区域,将获取到的屏幕上压力变化的位置区域与屏幕上第二选项所在的位置区域进行比对,若获取到的屏幕上压力变化的位置区域与屏幕上第二选项所在的位置区域重叠,则确定控制终端中的第二选项被触发。
在步骤302中,控制终端将状态切换指令发送至目标设备。
在本实施例中,目标设备可以为空气净化器等,且目标设备同样具有通过射频方式或网络方式与其他设备进行通信的能力。
由于控制终端生成的状态切换指令是为了控制目标设备进行状态切换,因此,当检测 到生成状态切换指令后,控制终端需要将生成的状态切换指令发送至目标设备,由目标设备根据该状态切换指令进行状态切换。基于目标设备和控制终端的通信能力,控制终端可通过开启蓝牙等功能,将状态切换指令发送至目标设备,或者,通过有线网络或者无线网络,将状态切换指令发送至目标设备。
在步骤303中,目标设备根据状态切换指令,将当前状态由工作状态切换至停止工作状态。
当接收到控制终端发送的状态切换指令时,处于工作状态下的目标设备根据接收到的状态切换指令,将当前状态由工作状态切换至停止工作状态。
上述以目标设备根据控制终端发送的状态切换指令,将当前状态由工作状态切换至停止工作状态为例进行说明,在实际应用中,目标设备还可通过其他方式获取状态切换指令,例如,当目标设备上的微动开关被触发时,微动开关可生成触发信号,并将生成的触发信号发送至目标设备,当接收到微动开关发送的触发信号时,目标设备根据该触发信号,可生成状态切换指令;又例如,当目标设备上的特定部件,如扇叶被移除时,目标设备上的传感器检测到该特定部件被移除,将生成检测信号,并将检测信号发送至目标设备,根据信号与指令的关系,目标设备可生成状态切换指令;又例如,当检测到目标设备上的第一选项被触发时,在第一选项的触发下,目标设备也会生成状态切换指令。
当目标设备根据状态切换指令,将当前状态由工作状态切换至停止工作状态之后,为了能够及时地对用户进行提醒,目标设备还将播放特定音频文件,该特定音频文件发出的声响与目标设备在正常工作状态下发出的声响是不同的,因此,当用户听到目标设备播放该特定音频文件,就可获取目标设备当前处于停止工作状态。
另外,在本实施例中,无论目标设备处于何种状态,目标设备都会将表征自身状态的状态数据发送至服务器,由服务器进行同步,以便于用户查询。因此,当根据状态切换指令,目标设备将当前状态由工作状态切换至停止工作状态之后,目标设备需要向服务器发送标识当前处于停止工作状态的状态信息,由服务器进行存储。
在步骤304中,在停止工作状态下,目标设备向目标设备的控制终端发送状态提示信息。
当处于停止工作状态下,为了更好地对用户进行提示,目标设备不仅可通过播放特定音频文件对用户进行提醒,还会向目标设备的控制终端发送提示信息,以在用户由于距离目标设备较远无法听到目标设备播放的特定音频文件的场景下,同样可以获知目标设备处于停止工作状态。
在步骤305中,当接收到目标设备发送的状态提示信息,控制终端根据状态提示信息进行提示。
当接收到目标设备发送的提示信息时,控制终端可在显示界面上显示目标设备发送的提示信息,该提示信息的内容可以为“目标设备当前处于停止工作状态,请您注意”、或“目标设备的特定部件被移除”等等。具体显示时,控制终端可在屏幕上弹出对话框的形 式进行显示,也可将提示信息采用滚动的方式进行显示等。
在步骤306中,控制终端生成特定唤醒指令。
在目标设备处于停止工作状态下,若用户想让目标设备重新恢复到工作状态,用户可触发控制终端的第四选项,控制终端检测到第四选项被触发时,可生成特定唤醒指令。
当然,用户还可在控制终端的指定应用程序中触发第五选项,以使控制终端弹出解锁对话框,以在屏幕上输入解锁信息。当控制终端在指定应用程序中获取到解锁信息时,控制终端根据该解锁信息,可生成特定唤醒指令。其中,解锁信息可以为用户预先设置的解锁密码、用户的指纹等等,该解锁信息可对目标设备处于停止工作状态进行解除。当解锁信息为解锁密码时,控制终端将在解锁对话框中获取到的密码与预先存储的密码进行匹配,当在解锁对话框中获取到的密码与预先存储的密码匹配,控制终端可生成特定户唤醒指令;当解锁信息为用户的指纹时,控制终端将在解锁对话框中获取到的用户指纹与预先存储的指纹进行匹配,当在解锁对话框中获取到的用户指纹与预先存储的指纹匹配时,控制终端可生成特定唤醒指令。
在步骤307中,控制终端将特定唤醒指令发送至目标设备。
为了能使处于停止工作状态的目标设备能够正常工作,当生成特定唤醒指令之后,控制终端还将生成的特定唤醒指令发送至目标设备。由于控制终端和目标设备均具有通过射频方式或网络方式进行通信的能力,因此,控制终端可通过开启蓝牙等功能,将特定唤醒指令发送至目标设备,或者,通过有线网络或者无线网络,将特定唤醒指令发送至目标设备。
在步骤308中,目标设备根据特定唤醒指令,将当前状态由停止工作状态切换至工作状态。
处于停止工作状态的目标设备在接收到控制终端发送的特定唤醒指令时,根据该特定唤醒指令,会将当前状态由停止工作状态切换回工作状态。
上述以目标设备根据控制终端发送的特定唤醒指令,将当前状态由停止工作状态切换至工作状态为例进行说明,在实际应用中,目标设备还可通过其他方式获取特定唤醒指令。例如,当目标设备检测到用户触发了第三选项时,目标设备也生成特定唤醒指令。检测目标设备中的第三选项被触发的方式可以为:目标设备检测到用户按下目标设备上的第三选项,或,目标设备检测到用户以特定方式按下目标设备上的第三选项等。其中,第三选项可以为目标设备上特定的按键或者按键组合,以特定方式按下目标设备上的第三选项的方式可以为以预定次数如3次、4次等按下第三选项,或,以预定的时长如3秒钟、5秒钟等按下第三选项;又例如,当目标设备检测到被移除的特定部件被正确安装上时,目标设备也会生成特定唤醒指令。当然,目标设备还可采用其他方式获取特定唤醒指令,此处不再一一说明。
需要说明的是,当目标设备处于停止工作状态时,如果未获取到特定唤醒指令,当接收到任一操作指令时,目标设备都将保持停止工作状态。
本公开实施例提供的方法,目标设备根据状态切换指令,将当前状态由工作状态切换至停止工作状态后,如果未获取到特定唤醒指令,无论接收到任何操作指令,都将保持停止工作状态,避免了在缺乏用户干预的情况下,目标设备重新切换回工作状态,对用户家庭成员造成伤害,从而提高了目标设备的安全性。另外,在停止工作状态下,当获取到特定唤醒指令时,目标设备还会将停止工作状态切换至工作状态,从而丰富了状态切换方式。
图4是根据一示例性实施例示出的一种状态切换装置结构示意图,该状态切换装置包括在目标设备中。参照图4,该装置包括:第一获取模块401、第一切换模块402和状态保持模块403。
该第一获取模块401被配置为获取状态切换指令;
该第一切换模块402被配置为根据状态切换指令,将当前状态由工作状态切换至停止工作状态;
该状态保持模块403被配置为在停止工作状态下,如果未获取到特定唤醒指令,保持停止工作状态。
在本公开的另一个实施例中,该第一获取模块401被配置为接收目标设备上的微动开关发送的触发信号,根据触发信号,生成状态切换指令,触发信号由微动开关被触发时发送;或,
该第一获取模块401被配置为接收目标设备上的传感器发送的检测信号,根据信号与指令的关系,生成状态切换指令,检测信号由传感器检测到目标设备的特定部件被移除时发送;或,
该第一获取模块401被配置为当检测到目标设备上的第一选项被触发时,生成状态切换指令;或,
该第一获取模块401被配置为接收目标设备的控制终端发送的状态切换指令,状态切换指令由目标设备的控制终端在检测到目标设备的控制终端中的第二选项被触发时发送。
在本公开的另一个实施例中,该装置,还包括:播放模块。
该播放模块被配置为播放特定音频文件,特定音频文件用于提示用户目标设备当前处于停止工作状态。
在本公开的另一个实施例中,该装置,还包括:第一发送模块。
该第一发送模块被配置为向服务器发送状态信息,由服务器进行存储,状态信息用于标识目标设备当前处于停止工作状态。
在本公开的另一个实施例中,该装置,还包括:第二发送模块。
该第二发送模块被配置为向目标设备的控制终端发送状态提示信息,由控制终端根据状态提示信息进行提示。
在本公开的另一个实施例中,该装置,还包括:第二获取模块和第二切换模块。
该第二获取模块被配置为获取特定唤醒指令;
该第二切换模块被配置为根据特定唤醒指令,将当前状态由停止工作状态切换至工作状态。
在本公开的另一个实施例中,该第二获取模块被配置为当检测到目标设备上的第三选项的选中时长到达预设时长时,生成特定唤醒指令;或,
该第二获取模块被配置为接收目标设备的控制终端发送的特定唤醒指令,该特定唤醒指令由控制终端根据用户输入的解锁信息生成;或,
该第二获取模块被配置为接收目标设备的控制终端发送的特定唤醒指令,该特定唤醒指令由目标设备的控制终端在检测到目标设备的控制终端中的第四选项被触发时发送。
本公开实施例提供的装置,根据状态切换指令,将当前状态由工作状态切换至停止工作状态后,如果未获取到特定唤醒指令,无论接收到任何操作指令,都将保持停止工作状态,避免了在缺乏用户干预的情况下,目标设备重新切换回工作状态,对用户家庭成员造成伤害,从而提高了目标设备的安全性。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图5是根据一示例性实施例示出的一种控制终端的结构示意图。参照图5,该控制终端包括:第一指令生成模块501和第一发送模块502。
该第一指令生成模块501被配置为当检测到控制终端中的第二选项被触发时,生成状态切换指令;
该第一发送模块502被配置为将状态切换指令发送至目标设备,由目标设备根据状态切换指令,将当前状态由工作状态切换至停止工作状态。
在本公开的另一个实施例中,该控制终端,还包括:接收模块和提示模块。
该接收模块被配置为接收目标设备发送的状态提示信息;
该提示模块被配置为根据状态提示信息进行提示。
在本公开的另一个实施例中,该控制终端,还包括:第二指令生成模块和第二发送模块。
该第二指令生成模块被配置为当获取到用户输入的解锁信息或检测到目标设备的控制终端中的第四选项被触发时,生成特定唤醒指令;
该第二发送模块被配置为将特定唤醒指令发送至目标设备,由目标设备根据特定唤醒指令,将当前状态由停止工作状态切换至工作状态。
本公开实施例提供的控制终端,当检测到特定选项被触发时,生成状态切换指令,并将生成的状态切换指令发送至目标设备,使目标设备能够根据状态切换指令,将当前状态由工作状态切换至停止工作状态,且在停止工作状态下,如果目标设备未获取到特定唤醒指令,无论接收到任何操作指令,目标设备都将保持停止工作状态,从而借助控制终端 实现了对目标设备状态的控制,丰富了状态切换方式,同时避免了在缺乏用户干预的情况下,目标设备重新切换回工作状态,对用户家庭成员造成伤害,提高了目标设备的安全性。
关于上述实施例中的控制终端,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图6是根据一示例性实施例示出的一种用于状态切换的装置600的框图。例如,装置600可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图6,装置600可以包括以下一个或多个组件:处理组件602,存储器604,电源组件606,多媒体组件608,音频组件610,输入/输出(I/O)接口612,传感器组件614,以及通信组件616。
处理组件602通常控制装置600的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件602可以包括一个或多个处理器620来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件602可以包括一个或多个模块,便于处理组件602和其他组件之间的交互。例如,处理组件602可以包括多媒体模块,以方便多媒体组件608和处理组件602之间的交互。
存储器604被配置为存储各种类型的数据以支持在装置600的操作。这些数据的示例包括用于在装置600上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器604可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件606为装置600的各种组件提供电力。电源组件606可以包括电源管理***,一个或多个电源,及其他与为装置600生成、管理和分配电力相关联的组件。
多媒体组件608包括在所述装置600和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件608包括一个前置摄像头和/或后置摄像头。当装置600处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜***或具有焦距和光学变焦能力。
音频组件610被配置为输出和/或输入音频信号。例如,音频组件610包括一个麦克风(MIC),当装置600处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克 风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器604或经由通信组件616发送。在一些实施例中,音频组件610还包括一个扬声器,用于输出音频信号。
I/O接口612为处理组件602和***接口模块之间提供接口,上述***接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件614包括一个或多个传感器,用于为装置600提供各个方面的状态评估。例如,传感器组件614可以检测到装置600的打开/关闭状态,组件的相对定位,例如所述组件为装置600的显示器和小键盘,传感器组件614还可以检测装置600或装置600一个组件的位置改变,用户与装置600接触的存在或不存在,装置600方位或加速/减速和装置600的温度变化。传感器组件614可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件614还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件614还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件616被配置为便于装置600和其他设备之间有线或无线方式的通信。装置600可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件616经由广播信道接收来自外部广播管理***的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件616还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置600可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器604,上述指令可由装置600的处理器620执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行一种状态切换方法,所述方法包括:
获取状态切换指令;
根据状态切换指令,将当前状态由工作状态切换至停止工作状态;
在停止工作状态下,如果未获取到特定唤醒指令,保持停止工作状态。
在本公开的另一个实施例中,获取状态切换指令,包括:
接收目标设备上的微动开关发送的触发信号,根据触发信号,生成状态切换指令,触 发信号由微动开关被触发时发送;或,
接收目标设备上的传感器发送的检测信号,根据信号与指令的关系,生成状态切换指令,检测信号由传感器检测到目标设备的特定部件被移除时发送;或,
当检测到目标设备上的第一选项被触发时,生成状态切换指令;或,
接收目标设备的控制终端发送的状态切换指令,状态切换指令由目标设备的控制终端在检测到目标设备的控制终端中的第二选项被触发时发送。
在本公开的另一个实施例中,根据状态切换指令,将当前状态由工作状态切换至停止工作状态之后,还包括:
播放特定音频文件,特定音频文件用于提示用户目标设备当前处于停止工作状态。
在本公开的另一个实施例中,根据状态切换指令,将当前状态由工作状态切换至停止工作状态之后,还包括:
向服务器发送状态信息,由服务器进行存储,状态信息用于标识目标设备当前处于停止工作状态。
在本公开的另一个实施例中,根据状态切换指令,将当前状态由工作状态切换至停止工作状态之后,还包括:
向目标设备的控制终端发送状态提示信息,由控制终端根据状态提示信息进行提示。
在本公开的另一个实施例中,将当前状态由工作状态切换至停止工作状态之后,还包括:
获取特定唤醒指令;
根据特定唤醒指令,将当前状态由停止工作状态切换至工作状态。
在本公开的另一个实施例中,获取特定唤醒指令,包括:
当检测到目标设备上的第三选项被触发时,生成特定唤醒指令;或,
接收目标设备的控制终端发送的特定唤醒指令,特定唤醒指令由控制终端根据用户输入的解锁信息生成;或,
接收目标设备的控制终端发送的特定唤醒指令,特定唤醒指令由目标设备的控制终端在检测到目标设备的控制终端中的第四选项被触发时发送。
本公开实施例提供的非临时性计算机可读存储介质,根据状态切换指令,将当前状态由工作状态切换至停止工作状态后,如果未获取到特定唤醒指令,无论接收到任何操作指令,都将保持停止工作状态,避免了在缺乏用户干预的情况下,目标设备重新切换回工作状态,对用户家庭成员造成伤害,从而提高了目标设备的安全性。
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权 利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (22)

  1. 一种状态切换方法,所述方法应用于目标设备中,其特征在于,所述方法包括:
    获取状态切换指令;
    根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态;
    在所述停止工作状态下,如果未获取到特定唤醒指令,保持所述停止工作状态。
  2. 根据权利要求1所述的方法,其特征在于,所述获取状态切换指令,包括:
    接收所述目标设备上的微动开关发送的触发信号,根据所述触发信号,生成状态切换指令,所述触发信号由所述微动开关被触发时发送;或,
    接收所述目标设备上的传感器发送的检测信号,根据信号与指令的关系,生成状态切换指令,所述检测信号由所述传感器检测到所述目标设备的特定部件被移除时发送;或,
    当检测到所述目标设备上的第一选项被触发时,生成状态切换指令;或,
    接收所述目标设备的控制终端发送的状态切换指令,所述状态切换指令由所述目标设备的控制终端在检测到所述目标设备的控制终端中的第二选项被触发时发送。
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态之后,还包括:
    播放特定音频文件,所述特定音频文件用于提示用户所述目标设备当前处于停止工作状态。
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态之后,还包括:
    向服务器发送状态信息,由所述服务器进行存储,所述状态信息用于标识所述目标设备当前处于停止工作状态。
  5. 根据权利要求1所述的方法,其特征在于,所述根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态之后,还包括:
    向所述目标设备的控制终端发送状态提示信息,由所述控制终端根据所述状态提示信息进行提示。
  6. 根据权利要求1所述的方法,其特征在于,所述将当前状态由工作状态切换至停止工作状态之后,还包括:
    获取特定唤醒指令;
    根据所述特定唤醒指令,将当前状态由停止工作状态切换至工作状态。
  7. 根据权利要求6所述的方法,其特征在于,所述获取特定唤醒指令,包括:
    当检测到所述目标设备上的第三选项被触发时,生成特定唤醒指令;或,
    接收所述目标设备的控制终端发送的特定唤醒指令,所述特定唤醒指令由所述控制终端根据用户输入的解锁信息生成;或,
    接收所述目标设备的控制终端发送的特定唤醒指令,所述特定唤醒指令由所述目标设备的控制终端在检测到所述目标设备的控制终端中的第四选项被触发时发送。
  8. 一种状态切换方法,所述方法应用于控制终端,其特征在于,所述方法包括:
    当检测到所述控制终端中的第二选项被触发时,生成状态切换指令;
    将所述状态切换指令发送至目标设备,由所述目标设备根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态。
  9. 根据权利要求8所述的方法,其特征在于,所述将所述状态切换指令发送至目标设备之后,还包括:
    接收所述目标设备发送的状态提示信息;
    根据所述状态提示信息进行提示。
  10. 根据权利要求9所述的方法,其特征在于,所述根据所述状态提示信息进行提示之后,还包括:
    当获取到用户输入的解锁信息或检测到所述目标设备的控制终端中的第四选项被触发时,生成特定唤醒指令;
    将所述特定唤醒指令发送至所述目标设备,由所述目标设备根据所述特定唤醒指令,将当前状态由停止工作状态切换至工作状态。
  11. 一种状态切换装置,所述状态切换装置包括在目标设备中,其特征在于,所述装置包括:
    第一获取模块,用于获取状态切换指令;
    第一切换模块,用于根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态;
    状态保持模块,用于在所述停止工作状态下,如果未获取到特定唤醒指令,保持所述停止工作状态。
  12. 根据权利要求11所述的装置,其特征在于,所述第一获取模块,用于接收所述目标设备上的微动开关发送的触发信号,根据所述触发信号,生成状态切换指令,所述触发信号由所述微动开关被触发时发送;或,
    所述第一获取模块,用于接收所述目标设备上的传感器发送的检测信号,根据信号与指令的关系,生成状态切换指令,所述检测信号由所述传感器检测到所述目标设备的特定部件被移除时发送;或,
    所述第一获取模块,用于当检测到所述目标设备上的第一选项被触发时,生成状态切换指令;或,
    所述第一获取模块,用于接收所述目标设备的控制终端发送的状态切换指令,所述状态切换指令由所述目标设备的控制终端在检测到所述目标设备的控制终端中的第二选项被触发时发送。
  13. 根据权利要求11所述的装置,其特征在于,所述装置,还包括:
    播放模块,用于播放特定音频文件,所述特定音频文件用于提示用户所述目标设备当前处于停止工作状态。
  14. 根据权利要求11所述的装置,其特征在于,所述装置,还包括:
    第一发送模块,用于向服务器发送状态信息,由所述服务器进行存储,所述状态信息用于标识所述目标设备当前处于停止工作状态。
  15. 根据权利要求11所述的装置,其特征在于,所述装置,还包括:
    第二发送模块,用于向所述目标设备的控制终端发送状态提示信息,由所述控制终端根据所述状态提示信息进行提示。
  16. 根据权利要求11所述的装置,其特征在于,所述装置,还包括:
    第二获取模块,用于获取特定唤醒指令;
    第二切换模块,用于根据所述特定唤醒指令,将当前状态由停止工作状态切换至工作状态。
  17. 根据权利要求16所述的方法,其特征在于,所述第二获取模块,用于当检测到所述目标设备上的第三选项被触发时,生成特定唤醒指令;或,
    所述第二获取模块,用于接收所述目标设备的控制终端发送的特定唤醒指令,所述特定唤醒指令由所述控制终端根据用户输入的解锁信息生成;或,
    所述第二获取模块,用于接收所述目标设备的控制终端发送的特定唤醒指令,所述特定唤醒指令由所述目标设备的控制终端在检测到所述目标设备的控制终端中的第四选项被触发时发送。
  18. 一种控制终端,其特征在于,所述控制终端包括:
    第一指令生成模块,用于当检测到所述控制终端中的第二选项被触发时,生成状态切换指令;
    第一发送模块,用于将所述状态切换指令发送至目标设备,由所述目标设备根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态。
  19. 根据权利要求18所述的控制终端,其特征在于,所述控制终端,还包括:
    接收模块,用于接收所述目标设备发送的状态提示信息;
    提示模块,用于根据所述状态提示信息进行提示。
  20. 根据权利要求19所述的控制终端,其特征在于,所述控制终端,还包括:
    第二指令生成模块,用于当获取到用户输入的解锁信息或检测到所述目标设备的控制终端中的第四选项被触发时,生成特定唤醒指令;
    第二发送模块,用于将所述特定唤醒指令发送至所述目标设备,由所述目标设备根据所述特定唤醒指令,将当前状态由停止工作状态切换至工作状态。
  21. 一种状态切换装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行的指令;
    其中,所述处理器被配置为:
    获取状态切换指令;
    根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态;
    在所述停止工作状态下,如果未获取到特定唤醒指令,保持所述停止工作状态。
  22. 一种控制终端,其特征在于,包括:
    处理器;
    用于存储处理器可执行的指令;
    其中,所述处理器被配置为:
    当检测到所述控制终端的第二选项被触发时,生成状态切换指令;
    将所述状态切换指令发送至目标设备,由所述目标设备根据所述状态切换指令,将当前状态由工作状态切换至停止工作状态。
PCT/CN2015/093057 2015-03-02 2015-10-28 状态切换方法及装置 WO2016138769A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
RU2016102941A RU2661191C2 (ru) 2015-03-02 2015-10-28 Способ и устройство для переключения состояния
JP2017503048A JP6298925B2 (ja) 2015-03-02 2015-10-28 状態切替方法、装置、プログラム及び記録媒体
KR1020157036665A KR101954960B1 (ko) 2015-03-02 2015-10-28 상태 전환 방법, 장치, 프로그램 및 기록매체
BR112016001917A BR112016001917A2 (pt) 2015-03-02 2015-10-28 métodos e aparelho para comutar um estado, e terminal de controle
MX2016000118A MX361589B (es) 2015-03-02 2015-10-28 Métodos y aparatos para cambiar estado.

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510093411.4 2015-03-02
CN201510093411.4A CN104808522B (zh) 2015-03-02 2015-03-02 状态切换方法及装置

Publications (1)

Publication Number Publication Date
WO2016138769A1 true WO2016138769A1 (zh) 2016-09-09

Family

ID=53693457

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/093057 WO2016138769A1 (zh) 2015-03-02 2015-10-28 状态切换方法及装置

Country Status (9)

Country Link
US (1) US10174965B2 (zh)
EP (1) EP3065009B1 (zh)
JP (1) JP6298925B2 (zh)
KR (1) KR101954960B1 (zh)
CN (1) CN104808522B (zh)
BR (1) BR112016001917A2 (zh)
MX (1) MX361589B (zh)
RU (1) RU2661191C2 (zh)
WO (1) WO2016138769A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10174965B2 (en) 2015-03-02 2019-01-08 Xiaomi Inc. Methods and apparatuses for switching state

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107065635A (zh) * 2016-10-21 2017-08-18 西安科技大学 一种智能自动化控制***
DE102017109935A1 (de) * 2017-05-09 2018-11-15 Miele & Cie. Kg Verfahren zum Betreiben eines Haushaltsgeräts
CN110876117A (zh) * 2018-08-31 2020-03-10 中兴通讯股份有限公司 终端失联的恢复方法及装置
CN109358520B (zh) * 2018-11-01 2022-01-07 南京仁程智能科技有限公司 一种智能家居物联网络局域动态解锁***
JP7023823B2 (ja) * 2018-11-16 2022-02-22 アルパイン株式会社 車載装置及び音声認識方法
CN110112821B (zh) * 2019-04-12 2023-05-30 广东欧文特电气有限公司 一种智能转换开关及其控制方法
CN113012317A (zh) * 2019-12-20 2021-06-22 云丁网络技术(北京)有限公司 一种身份确认设备
CN112760904B (zh) * 2020-12-24 2022-05-24 珠海格力电器股份有限公司 一种洗衣机控制方法、装置、存储介质及洗衣机
CN113701359A (zh) * 2021-08-30 2021-11-26 广东万和热能科技有限公司 热水器控制方法、装置、计算机设备和热水器
CN115415053B (zh) * 2022-11-03 2023-01-03 汕头中圣科营热电有限公司 一种燃煤锅炉高压静电催化耦合尾气净化设备、方法及应用

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072308A (zh) * 2006-05-11 2007-11-14 康佳集团股份有限公司 一种具播放限制功能的电视机及其控制方法
JP2008175458A (ja) * 2007-01-18 2008-07-31 Sanyo Electric Co Ltd 床置き式空気調和機
CN101453549A (zh) * 2007-11-29 2009-06-10 康佳集团股份有限公司 电视机及其锁定方法
CN204070559U (zh) * 2014-08-05 2015-01-07 深圳市合元科技有限公司 电子吸烟装置
CN104333785A (zh) * 2014-10-10 2015-02-04 科大讯飞股份有限公司 一种基于蓝牙的电视或电视盒子开关机方法
CN104808522A (zh) * 2015-03-02 2015-07-29 小米科技有限责任公司 状态切换方法及装置

Family Cites Families (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2675518B2 (ja) * 1993-11-10 1997-11-12 リンナイ株式会社 加熱機器の安全装置
JPH0835717A (ja) * 1994-07-21 1996-02-06 Sanyo Electric Co Ltd 空気調和機
JPH10328447A (ja) * 1997-05-31 1998-12-15 Brother Ind Ltd 電子制御式ミシン
JPH11156237A (ja) * 1997-11-28 1999-06-15 Hitachi Taga Technol Co Ltd 空気清浄機
JP3987212B2 (ja) * 1998-09-03 2007-10-03 松下電器産業株式会社 チャイルドロック装置およびチャイルドロック機能付き機器
JP2002129621A (ja) * 2000-10-19 2002-05-09 Noritz Corp 自動排水栓の駆動開閉制御装置
US6763093B2 (en) * 2000-12-14 2004-07-13 Nortel Networks Limited Application based queuing via an H.323/SIP interface
JP2003185248A (ja) * 2001-12-19 2003-07-03 Kansai Electric Power Co Inc:The ヒートポンプ式給湯機
JP2004273077A (ja) * 2003-03-12 2004-09-30 Sharp Corp スイッチ誤動作防止装置
JP2005175625A (ja) * 2003-12-08 2005-06-30 Hitachi Ltd リモート制御システム及び方法
US7119700B2 (en) * 2004-02-02 2006-10-10 The Boeing Company Apparatus and method for controlling an aircraft cooling and smoke system using discrete components
KR20070112106A (ko) * 2004-11-23 2007-11-22 에스.씨. 존슨 앤드 선, 인코포레이티드 바닥표면의 청소와 함께 공기정화를 제공하는 장치 및 방법
FI117526B3 (fi) * 2005-03-17 2016-07-05 Innohome Oy Kodinkoneiden ja viihdelaitteiden toimintaa ohjaava ja seuraava lisälaite
TWI348639B (en) * 2005-12-16 2011-09-11 Ind Tech Res Inst Motion recognition system and method for controlling electronic device
JP2009063252A (ja) * 2007-09-07 2009-03-26 Panasonic Corp 給気装置
CN101399675B (zh) * 2007-09-25 2012-05-30 海尔集团公司 一种无线控制装置及网络家电***
CN101436097B (zh) 2007-11-16 2014-12-10 华硕电脑股份有限公司 电子装置及其唤醒方法
CN102106051B (zh) * 2008-08-01 2015-03-25 夏普株式会社 照明装置
US20100095844A1 (en) * 2008-10-17 2010-04-22 Steril-Aire, Inc. Portable room air purifier
CN101907918B (zh) 2009-06-03 2012-06-27 精拓科技股份有限公司 节省待机/关机状态功率消耗的计算机***及其相关方法
US9927788B2 (en) * 2011-05-19 2018-03-27 Fisher-Rosemount Systems, Inc. Software lockout coordination between a process control system and an asset management system
CN102255280A (zh) * 2011-07-21 2011-11-23 龙腾照明集团有限公司 灯具灯盖打开自动断电保护装置
KR101327915B1 (ko) * 2011-07-28 2013-11-13 위니아만도 주식회사 냉장고의 음성안내 제어방법
CN102622079B (zh) 2012-02-25 2015-02-04 华为终端有限公司 一种休眠方法、唤醒方法和移动终端设备
JP5939024B2 (ja) * 2012-05-14 2016-06-22 ブラザー工業株式会社 画像処理装置
CN102734876B (zh) * 2012-06-27 2014-07-30 海宁市倚天能环境科技有限公司 一种智能化控制的空气净化器及其控制方法
CN103810971B (zh) 2012-11-14 2016-02-10 中兴通讯股份有限公司 终端的节能显示方法及装置、lcd模组、终端
CN103851747A (zh) * 2012-11-28 2014-06-11 西安晶捷电子技术有限公司 一种空气净化器的控制***
CN202996010U (zh) * 2012-12-28 2013-06-12 广东欧珀移动通信有限公司 一种智能终端遥控解锁装置及遥控器
CN103150050B (zh) 2013-02-04 2016-09-28 中兴通讯股份有限公司 触摸屏终端及其工作方法
JP5905596B2 (ja) * 2013-02-20 2016-04-20 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America 携帯情報端末の制御方法及びプログラム
GB2513709B (en) * 2013-03-15 2021-06-16 Fisher Rosemount Systems Inc Method and apparatus for managing a work flow in a process plant
CN103973527A (zh) * 2014-05-19 2014-08-06 威海汇清环境技术有限公司 智能家电***
CN104049759A (zh) * 2014-06-25 2014-09-17 华东理工大学 触摸屏和行为感知联合的指令输入与防护方法
CN203980558U (zh) * 2014-07-15 2014-12-03 常州乐士雷利电机有限公司 空气净化器
CN104197482B (zh) * 2014-09-17 2017-04-05 湖南纽思曼导航定位科技有限公司 一种具有远程监控功能的空气净化器

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072308A (zh) * 2006-05-11 2007-11-14 康佳集团股份有限公司 一种具播放限制功能的电视机及其控制方法
JP2008175458A (ja) * 2007-01-18 2008-07-31 Sanyo Electric Co Ltd 床置き式空気調和機
CN101453549A (zh) * 2007-11-29 2009-06-10 康佳集团股份有限公司 电视机及其锁定方法
CN204070559U (zh) * 2014-08-05 2015-01-07 深圳市合元科技有限公司 电子吸烟装置
CN104333785A (zh) * 2014-10-10 2015-02-04 科大讯飞股份有限公司 一种基于蓝牙的电视或电视盒子开关机方法
CN104808522A (zh) * 2015-03-02 2015-07-29 小米科技有限责任公司 状态切换方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10174965B2 (en) 2015-03-02 2019-01-08 Xiaomi Inc. Methods and apparatuses for switching state

Also Published As

Publication number Publication date
KR20160116290A (ko) 2016-10-07
JP6298925B2 (ja) 2018-03-20
US10174965B2 (en) 2019-01-08
EP3065009A1 (en) 2016-09-07
MX2016000118A (es) 2016-11-25
MX361589B (es) 2018-12-11
EP3065009B1 (en) 2021-10-06
RU2661191C2 (ru) 2018-07-12
RU2016102941A (ru) 2017-08-03
CN104808522B (zh) 2019-08-30
CN104808522A (zh) 2015-07-29
JP2017517992A (ja) 2017-06-29
US20160258646A1 (en) 2016-09-08
BR112016001917A2 (pt) 2017-08-01
KR101954960B1 (ko) 2019-05-30

Similar Documents

Publication Publication Date Title
WO2016138769A1 (zh) 状态切换方法及装置
EP3163569B1 (en) Method and device for controlling a smart device by voice, computer program and recording medium
CN104407592B (zh) 一种调整智能家居设备运行状态的方法及装置
US10123196B2 (en) Method and device for alarm triggering
WO2017201860A1 (zh) 视频直播方法及装置
WO2017071066A1 (zh) 信息处理方法及装置
WO2016112699A1 (zh) 切换显示模式的方法及装置
WO2016023340A1 (zh) 一种切换摄像头的方法和装置
US10610152B2 (en) Sleep state detection method, apparatus and system
WO2017113660A1 (zh) 应用程序管理方法及装置
WO2016065823A1 (zh) 一种空气净化提醒方法、提醒装置、用户设备和***
WO2016192323A1 (zh) 视频通信方法及装置
WO2016107030A1 (zh) 通知信息显示方法及装置
WO2017035989A1 (zh) 唤醒电子设备的方法及装置
WO2017036039A1 (zh) 远程协助方法和客户端
WO2016192324A1 (zh) 单手模式下的按键操作处理方法及装置、电子设备
WO2016155304A1 (zh) 无线访问接入点的控制方法及装置
WO2017028425A1 (zh) 节能模式启动方法和装置
CN103927200B (zh) 电子设备唤醒方法及相关装置
JP6713049B2 (ja) アラーム制御方法及びアラーム制御装置
WO2016155231A1 (zh) 网络接入方法及装置
WO2016015403A1 (zh) 一种接入wi-fi网络的方法及装置
WO2016078394A1 (zh) 一种提醒语音通话的方法及装置
CN105553688A (zh) 设置设备工作状态的方法、装置及***
KR20150122574A (ko) 사용자 명령 실행방법, 장치, 프로그램 및 기록매체

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 20157036665

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017503048

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: MX/A/2016/000118

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 2016102941

Country of ref document: RU

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15883819

Country of ref document: EP

Kind code of ref document: A1

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112016001917

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112016001917

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20160128

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15883819

Country of ref document: EP

Kind code of ref document: A1