WO2015154354A1 - Power source control method and device, and terminal - Google Patents

Power source control method and device, and terminal Download PDF

Info

Publication number
WO2015154354A1
WO2015154354A1 PCT/CN2014/084317 CN2014084317W WO2015154354A1 WO 2015154354 A1 WO2015154354 A1 WO 2015154354A1 CN 2014084317 W CN2014084317 W CN 2014084317W WO 2015154354 A1 WO2015154354 A1 WO 2015154354A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
controller
power
power source
location
Prior art date
Application number
PCT/CN2014/084317
Other languages
French (fr)
Chinese (zh)
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 WO2015154354A1 publication Critical patent/WO2015154354A1/en

Links

Classifications

    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present invention relates to the field of communications, and in particular to a power control method, apparatus, and terminal.
  • BACKGROUND OF THE INVENTION Mobile Internet and traditional home appliances combine to produce the current popular smart home technology, using advanced computing, embedded systems and network communication technologies to connect various devices in the home through the home network.
  • the user's control of the home appliance is basically based on the active control initiated by the user, and relies on the wireless mobile network, and the user needs to manually operate the terminal to control the power of the home appliance in real time.
  • a power supply control method including: collecting location information of a terminal device; determining whether the location information is predetermined location range information, wherein the predetermined location range information includes transmitting an operation to a controller a position of the instruction; sending an operation instruction to the controller according to the determination result, wherein the operation instruction is used to instruct the controller to control the power source.
  • determining whether the location information is the predetermined location range information comprises: recording a location of the controlled power source; determining whether the location information is location information within a predetermined location range included in the predetermined location range information,
  • the predetermined position range is a predetermined range centered on the position of the power source.
  • the sending the operation instruction to the controller according to the determination result includes: when the location result is that the location information is location information within the predetermined location range, sending an operation instruction to turn on the power; and/or, when If the result of the determination is that the location information is not location information within the predetermined location range, an operation command to turn off the power is transmitted.
  • the method before sending the operation instruction to the controller, the method further includes: receiving power status information periodically sent by the controller; determining whether the status of the power source is consistent with a status indicated by the operation instruction to be sent; When the result of the determination is YES, the operation instruction is discarded.
  • the method further includes: receiving a response message returned by the controller, where the response message is operation result information of the controller operating the power source.
  • a power control device including: an acquisition module, configured to collect location information of a terminal device; and a first determining module configured to determine whether the location information is predetermined location range information, where The predetermined location range information includes a location for transmitting an operation instruction to the controller, and the sending module is configured to send an operation instruction to the controller according to the determination result, where the operation instruction is used to instruct the controller to perform power supply control.
  • the first determining module includes: a recording unit configured to record a position of the controlled power source; and a determining unit configured to determine whether the location information is a predetermined location range included in the predetermined location range information Position information within, wherein the predetermined position range is a predetermined range centered on the position of the power source.
  • the sending module includes: a first sending unit, configured to: when the determining result of the determining unit is that the location information is location information within the predetermined location range, send an operation instruction for turning on the power; and Or the second transmitting unit is configured to, when the determination result of the determining unit is that the location information is not location information within the predetermined location range, send an operation instruction to turn off the power.
  • the device further includes: a first receiving module, configured to receive power status information periodically sent by the controller; and a second determining module, configured to determine a status of the power source and the operation instruction to be sent Whether the status is consistent; the abandonment module is set to abandon the transmission of the operation instruction if the determination result of the second determination module is YES.
  • the device further includes: a second receiving module, configured to receive a response message returned by the controller, where the response message is operation result information of the controller operating the power source.
  • a terminal is provided, comprising the apparatus of any of the above.
  • the location information of the terminal device is collected; determining whether the location information is predetermined location range information, wherein the predetermined location range information includes a location for transmitting an operation instruction to the controller; and the controller is Sending an operation instruction, where the operation instruction is used to instruct the controller to power
  • the control solves the problem that the user needs to manually control the power supply and the user experience is low in the related technology, thereby achieving the effect of automatically controlling the power supply, improving the safety of power consumption, and saving energy.
  • FIG. 2 is a block diagram showing a configuration of a power supply control device according to an embodiment of the present invention
  • FIG. 3 is a power supply control device according to an embodiment of the present invention.
  • FIG. 4 is a block diagram showing the structure of a transmitting module 26 in a power control device according to an embodiment of the present invention;
  • FIG. 5 is a block diagram showing a preferred structure of a power control device according to an embodiment of the present invention
  • FIG. 7 is a block diagram showing the structure of a power supply control system according to an embodiment of the present invention.
  • FIG. 8 is a block diagram showing the overall structure of a power supply control system according to an embodiment of the present invention.
  • Step S102 Collecting location information of a terminal device
  • Step S104 determining whether the location information is the predetermined location range information, where the predetermined location range information includes a location for sending an operation instruction to the controller
  • Step S106 sending an operation instruction to the controller according to the determination result, where the operation The instruction is used to instruct the controller to control the power supply.
  • the operation instruction for instructing the controller to control the power source realizes that the power source can be controlled according to the position of the terminal, and the position determination is automatically performed, and the control of the power source is also automatically performed, thereby solving the correlation.
  • Users in the technology need to manually control the power supply and have a low user experience, thereby achieving automatic control of the power supply, improving the safety of power consumption, saving energy, and improving the user experience.
  • the predetermined position range may be set to be a predetermined range centered on the position of the power source. When determining whether the position of the terminal is the predetermined position range information, the position of the controlled power source may be first recorded.
  • the location information of the terminal is location information within a predetermined location range included in the predetermined location range information, that is, whether the terminal is within a predetermined range centered on the power source location.
  • it may also be determined according to the distance between the terminal and the power source.
  • the distance between the terminal and the power source is less than a predetermined value, it may be determined that the terminal is in the power source position.
  • the position information of the terminal is position information within a predetermined position range included in the predetermined position information.
  • the terminal may send an operation instruction to turn on the power, and when the location information of the terminal is not true within the predetermined location range
  • the terminal can send an operation command to turn off the power.
  • the terminal performing the position determination and the sending the operation command to the power source may be automatically completed by the terminal, thereby achieving the purpose of automatically transmitting the operation command according to the position of the terminal.
  • the power status information periodically sent by the controller may be received, and the status of the power source and the status indicated by the operation command to the power source to be sent by the terminal may be determined. Consistent, in the case of consistency, give up sending the operation instruction. For example, when the terminal is in a predetermined range centered on the power source, the terminal automatically determines an operation instruction that needs to be sent to turn on the power, and if at this time, the power source is already in the on state (ie, the terminal sends an operation command to turn on the power. Previously, the state of the power supply is already on.), it is no longer necessary to send an operation command to turn on the power to the controller, and the operation command is discarded.
  • the terminal may further receive a response message returned by the controller, and the response message may be operation result information of the controller operating the power source, that is, the control After the power supply is operated, the operation result is fed back to the terminal, thereby determining the power supply Whether the operation has been successfully operated. If no response message is received within a predetermined period of time, the terminal may continue to send an operation command to the controller until a response message is received.
  • a power control device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and conceivable.
  • 2 is a block diagram showing the structure of a power control device according to an embodiment of the present invention. As shown in FIG. 2, the device includes an acquisition module 22, a first determination module 24, and a transmission module 26. The device will be described below.
  • the acquiring module 22 is configured to collect the location information of the terminal device.
  • the first determining module 24 is connected to the collecting module 22, and is configured to determine whether the location information is predetermined location range information, where the predetermined location range information includes a controller. Sending the position of the operation instruction; the sending module 26 is connected to the first determining module 24, and is configured to send an operation instruction to the controller according to the determination result, wherein the operation instruction is used to instruct the controller to control the power source.
  • FIG. 3 is a block diagram showing the structure of the first determining module 24 in the power control device according to the embodiment of the present invention. As shown in FIG. 3, the first determining module 24 includes a recording unit 32 and a determining unit 34. Module 24 is described.
  • the recording unit 32 is configured to record the position of the controlled power source; the determining unit 34 is connected to the recording unit 32, and is configured to determine whether the location information is location information within a predetermined location range included in the predetermined location range information, where The predetermined position range is a predetermined range centered on the position of the power source.
  • 4 is a block diagram showing the structure of a transmitting module 26 in a power control device according to an embodiment of the present invention.
  • the transmitting module 26 includes a first transmitting unit 42 and/or a second transmitting unit 44. The transmitting module 26 will be described below.
  • the first transmitting unit 42 is configured to, when the determination result of the determining unit 34 is that the location information is location information within a predetermined location range, send an operation instruction to turn on the power; and/or, the second sending unit 44 is configured to determine When the result of the determination by the unit 34 is that the position information is not the position information within the predetermined position range, an operation command to turn off the power is transmitted.
  • FIG. 5 is a block diagram of a preferred structure of a power control device according to an embodiment of the present invention. As shown in FIG. 5, the device includes a first receiving module 52 and a second determining module 54 in addition to all the modules shown in FIG. And a discarding module 56, the preferred structure block diagram will be described below.
  • the first receiving module 52 is connected to the first determining module 24, and is configured to receive power state information periodically sent by the controller.
  • the second determining module 54 is connected to the first receiving module 52 and the sending module 26, and is configured to determine Whether the state of the power source is consistent with the state indicated by the operation command to be transmitted;
  • the abandonment module 56 is connected to the second judging module 54 and is set to abandon the transmission operation command if the judgment result of the second judging module 54 is YES.
  • . 6 is a block diagram showing a preferred structure of a power control device according to an embodiment of the present invention. As shown in FIG. 6, the device includes a second receiving module 62 in addition to all the modules shown in FIG. The structure block diagram 2 is explained.
  • the second receiving module 62 is configured to receive a response message returned by the controller, where the response message is operation result information of the controller operating the power source.
  • FIG. 7 is a structural block diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 7, the terminal 70 includes any of the above-described power control devices 72.
  • the embodiment of the present invention provides a power control system based on the location service, and detects that the user has left or entered the living place by using the location information provided by the mobile phone. Therefore, the command is sent to the power controller, and the power controller is responsible for turning off or turning on the power, thereby achieving automatic control of the indoor power system and saving energy.
  • a power control system that controls management based on personnel location information to automatically manage power switches and improve energy efficiency.
  • the power control system comprises: a mobile phone terminal, a power controller, a power switch, a wireless communication between the mobile phone terminal and the power controller, and a power controller connected to the power switch.
  • the mobile terminal can run the GPS module, and can preset the power automatic management software, and the management software determines, by using the positioning data provided by the GPS module, an instruction to send or turn the indoor power on.
  • the power controller can receive an instruction sent by the mobile terminal, execute the instruction on the power switch, and provide feedback information to the mobile terminal.
  • the positioning technology, the mobile phone software technology, the wireless radio frequency transmission technology, and the messaging technology are integrated.
  • FIG. 8 is a schematic diagram showing the overall module structure of a power control system according to an embodiment of the present invention.
  • a mobile phone terminal, a power controller, a power switch, and a mobile phone are included.
  • the power switch operation is turned on and off, and the processing result is fed back to the mobile terminal.
  • the user opens the power management software in the mobile terminal, and sets the automatic power management function to be turned on.
  • the indoor position needs to be set, the GPS switch is turned on, and the current indoor location is set, and the automatic setting is set. Controlling the power position, the system begins to operate when the user leaves or approaches the location.
  • the ID of the power controller can be the message number or any wireless communication means ID.
  • the ID is used as the communication ID to send an instruction to the power controller.
  • a short message may be used as a means and a method for signaling transmission, and the message command format is as shown in Table 1:
  • the service center number is determined by the operator that provides the message service.
  • the destination address is the telephone number of the terminal or the power controller, and the DCS indicates the data encoding method.
  • it is set to 08H, mainly considering Chinese signaling.
  • the user data carries the signaling content.
  • “Operation failed” means that the power operation failed to turn on or off.
  • the function may also be extended to the remote control power system.
  • the user may manually send the mobile phone client to send an instruction to the power controller when moving away from the indoor location.
  • the user is back On the way home, you can turn on air conditioners, rice cookers and other household appliances in advance.
  • the contents of the message control instructions can be expanded as shown in Table 3:
  • the power controller controls the corresponding power switch and returns the operation result through a short message.
  • the foregoing embodiment implements the LBS-based automatic power supply control.
  • the power control system of the embodiment of the present invention can automatically control the shutdown of the indoor power supply.
  • the system can automatically detect the user entering. And the power is turned on, thereby realizing the automation of the power control and improving the safety of the indoor power.
  • it can be extended to the remote control power control system, and combined with the smart home, which is more convenient and enriches people's lives.
  • the above embodiments and preferred embodiments not only solve the problem that the user needs to manually control the power supply in the related art, and the user experience is low, thereby achieving automatic control of the power supply, improving the safety of power consumption, and saving energy. Effect.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

Provided are a power source control method and device, and a terminal. The method comprises: collecting position information about a terminal device; judging whether the position information is predetermined position range information, wherein the predetermined position range information comprises a position where an operation instruction is sent to a controller; and sending the operation instruction to the controller according to a judgement result, wherein the operation instruction is used for instructing the controller to control a power source. By means of the present invention, the problems existing in the related art that a power source needs to be manually controlled by a user and that the user experience is low are solved, thus achieving the effects of automatically controlling the power source, increasing the electricity safety and saving energy.

Description

电源控制方法、 装置及终端 技术领域 本发明涉及通信领域, 具体而言, 涉及一种电源控制方法、 装置及终端。 背景技术 移动互联网和传统家电结合, 产生目前流行的智能家居技术, 利用先进的计算、 嵌入式***和网络通讯技术, 将家中的各种设备通过家庭网络连接到一起。 通过无线 移动网络能够用手机控制家里所有的家电设备, 方便用户随时随地享受现代科技带来 的便利。 现有技术中, 用户对家居家电的控制, 基本都是基于用户发起的主动控制, 并且 依赖无线移动网络, 需要用户手动操作终端来实时控制家电电源。 因此, 在相关技术中存在着用户需要手动控制电源, 用户体验低的问题。 发明内容 本发明提供了一种电源控制方法、 装置及终端, 以至少解决相关技术中存在的用 户需要手动控制电源, 用户体验低的问题。 根据本发明的一个方面, 提供了一种电源控制方法, 包括: 采集终端设备的位置 信息; 判断所述位置信息是否为预定位置范围信息, 其中, 所述预定位置范围信息包 括对控制器发送操作指令的位置; 根据判断结果向所述控制器发送操作指令, 其中, 所述操作指令用于指示所述控制器对电源进行控制。 优选地, 判断所述位置信息是否为预定位置范围信息包括: 记录被控制的所述电 源的位置; 判断所述位置信息是否为所述预定位置范围信息所包括的预定位置范围内 的位置信息, 其中, 所述预定位置范围为以所述电源的位置为中心的预定范围。 优选地, 根据所述判断结果向所述控制器发送操作指令包括: 当判断结果为所述 位置信息是所述预定位置范围内的位置信息时, 发送开启电源的操作指令; 和 /或, 当 判断结果为所述位置信息不是所述预定位置范围内的位置信息时, 发送关闭电源的操 作指令。 优选地, 在向所述控制器发送操作指令之前, 还包括: 接收控制器周期性发送的 电源状态信息; 判断所述电源的状态与将要发送的所述操作指令所指示的状态是否一 致; 在判断结果为是的情况下, 放弃发送所述操作指令。 优选地, 所述方法还包括: 接收所述控制器返回的响应消息, 其中, 所述响应消 息为所述控制器对所述电源进行操作的操作结果信息。 根据本发明的另一方面, 提供了一种电源控制装置, 包括: 采集模块, 设置为采 集终端设备的位置信息; 第一判断模块, 设置为判断所述位置信息是否为预定位置范 围信息, 其中, 所述预定位置范围信息包括对控制器发送操作指令的位置; 发送模块, 设置为根据判断结果向所述控制器发送操作指令, 其中, 所述操作指令用于指示所述 控制器对电源进行控制。 优选地, 所述第一判断模块包括: 记录单元, 设置为记录被控制的所述电源的位 置; 判断单元, 设置为判断所述位置信息是否为所述预定位置范围信息所包括的预定 位置范围内的位置信息, 其中, 所述预定位置范围为以所述电源的位置为中心的预定 范围。 优选地, 所述发送模块包括: 第一发送单元, 设置为当所述判断单元的判断结果 为所述位置信息是所述预定位置范围内的位置信息时, 发送开启电源的操作指令; 和 / 或, 第二发送单元, 设置为当所述判断单元的判断结果为所述位置信息不是所述预定 位置范围内的位置信息时, 发送关闭电源的操作指令。 优选地, 所述装置还包括: 第一接收模块, 设置为接收控制器周期性发送的电源 状态信息; 第二判断模块, 设置为判断所述电源的状态与将要发送的所述操作指令所 指示的状态是否一致; 放弃模块, 设置为在所述第二判断模块的判断结果为是的情况 下, 放弃发送所述操作指令。 优选地, 所述装置还包括: 第二接收模块, 设置为接收所述控制器返回的响应消 息, 其中, 所述响应消息为所述控制器对所述电源进行操作的操作结果信息。 根据本发明的再一方面, 提供了一种终端, 包括上述任一项所述的装置。 通过本发明, 采用采集终端设备的位置信息; 判断所述位置信息是否为预定位置 范围信息, 其中, 所述预定位置范围信息包括对控制器发送操作指令的位置; 根据判 断结果向所述控制器发送操作指令, 其中, 所述操作指令用于指示所述控制器对电源 进行控制, 解决了相关技术中存在着用户需要手动控制电源, 用户体验低的问题, 进 而达到了自动控制电源, 提高用电安全, 节约能源的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的电源控制方法的流程图; 图 2是根据本发明实施例的电源控制装置的结构框图; 图 3是根据本发明实施例的电源控制装置中第一判断模块 24的结构框图; 图 4是根据本发明实施例的电源控制装置中发送模块 26的结构框图; 图 5是根据本发明实施例的电源控制装置的优选结构框图一; 图 6是根据本发明实施例的电源控制装置的优选结构框图二; 图 7是根据本发明实施例的终端的结构框图; 图 8是根据本发明实施例的电源控制***的总体模块结构示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 在本实施例中提供了一种电源控制方法, 图 1是根据本发明实施例的电源控制方 法的流程图, 如图 1所示, 该流程包括如下步骤: 步骤 S102, 采集终端设备的位置信息; 步骤 S104, 判断该位置信息是否为预定位置范围信息, 其中, 该预定位置范围信 息包括对控制器发送操作指令的位置; 步骤 S106, 根据判断结果向上述控制器发送操作指令, 其中, 该操作指令用于指 示控制器对电源进行控制。 通过上述步骤, 依据采集的终端设备的位置信息来判断该位置信息是否是预定位 置范围信息, 其中该预定位置范围信息包括对控制器发送操作指令的位置, 并且根据 判断结果来向控制器发送用于指示控制器对电源进行控制的操作指令, 从而实现了可 以根据终端的位置来对电源进行控制, 并且, 对位置的判断是自动进行的, 对电源的 控制也是自动进行的, 从而解决了相关技术中存在的用户需要手动控制电源, 用户体 验低的问题, 进而达到了自动控制电源, 提高用电安全, 节约能源的效果, 提高了用 户体验。 在一个可选的实施例中, 可以设置上述预定位置范围是以电源的位置为中心的一 个预定范围, 在判断终端的位置是否为预定位置范围信息时, 可以首先记录被控制的 电源的位置, 然后判断终端的位置信息是否是预定位置范围信息所包括的预定位置范 围内的位置信息, 即, 判断终端是否处于以电源位置为中心的预定范围内。 在判断终 端的位置信息是否为预定位置信息时,还可以根据终端与电源之间的距离来进行判断, 当终端与电源之间的距离小于一个预定值时, 则可以确定终端处于以电源位置为中心 的预定范围内, 即, 终端的位置信息是预定位置信息所包括的预定位置范围内的位置 信息。 在确定了终端与电源之间的预定位置关系后, 就可以根据该位置关系进行电源 的控制了。 其中, 当终端的位置信息是预定位置范围内的信息时, 即终端处于以电源为中心 的预定范围内时, 终端可以发送开启电源的操作指令, 当终端的位置信息不实预定位 置范围内的信息时, 即终端处于以电源为中心的预定范围之外时, 终端可以发送关闭 电源的操作指令。 需要说明的是, 终端进行位置判断, 以及发送对电源的操作指令都 是可以是由终端自动完成的, 以此达到根据终端的位置自动的发送操作指令的目的。 在另一个可选的实施例中, 在向控制器发送操作指令之前, 还可以接收控制器周 期性发送的电源状态信息, 判断电源的状态与终端将要发送的对电源的操作指令所指 示的状态是否一致, 在一致的情况下, 放弃发送该操作指令。 例如, 当终端处于以电 源为中心的预定范围内时, 终端会自动判断出需要发送开启电源的操作指令, 而如果 此时, 电源已经处于开启的状态 (即, 在终端发送开启电源的操作指令之前, 电源的 状态已经是开启的状态), 则无需再向控制器发送开启电源的操作指令,放弃发送该操 作指令。 这样可以避免同样的操作指令的重复发送。 在另一个可选的实施例中, 终端向控制器发送了操作指令之后, 还可以接收控制 器返回的响应消息, 并且,该响应消息可以是控制器对电源进行操作的操作结果信息, 即控制器在进行了电源的操作之后, 将操作结果反馈给终端, 由此可以确定对电源的 操作是否已经操作成功。 如果在预定的时间段内没有收到响应消息, 终端还可以继续 向控制器发送操作指令, 直至接收到响应消息为止。 通过上述实施例及可选实施例, 可以完成对电源的自动控制, 提高用户体验。 在本实施例中还提供了一种电源控制装置, 该装置用于实现上述实施例及优选实 施方式, 已经进行过说明的不再赘述。 如以下所使用的, 术语 "模块"可以实现预定 功能的软件和 /或硬件的组合。 尽管以下实施例所描述的装置较佳地以软件来实现, 但 是硬件, 或者软件和硬件的组合的实现也是可能并被构想的。 图 2是根据本发明实施例的电源控制装置的结构框图, 如图 2所示, 该装置包括 采集模块 22, 第一判断模块 24和发送模块 26, 下面对该装置进行说明。 采集模块 22, 设置为采集终端设备的位置信息; 第一判断模块 24, 连接至上述采 集模块 22, 设置为判断该位置信息是否为预定位置范围信息, 其中, 该预定位置范围 信息包括对控制器发送操作指令的位置; 发送模块 26, 连接至上述第一判断模块 24, 设置为根据判断结果向控制器发送操作指令, 其中, 该操作指令用于指示控制器对电 源进行控制。 图 3是根据本发明实施例的电源控制装置中第一判断模块 24的结构框图, 如图 3 所示, 该第一判断模块 24包括记录单元 32和判断单元 34, 下面对该第一判断模块 24 进行说明。 记录单元 32, 设置为记录被控制的电源的位置; 判断单元 34, 连接至上述记录单 元 32, 设置为判断上述位置信息是否为预定位置范围信息所包括的预定位置范围内的 位置信息, 其中, 该预定位置范围为以电源的位置为中心的预定范围。 图 4是根据本发明实施例的电源控制装置中发送模块 26的结构框图,该发送模块 26包括第一发送单元 42和 /或第二发送单元 44, 下面对该发送模块 26进行说明。 第一发送单元 42, 设置为当判断单元 34的判断结果为上述位置信息是预定位置 范围内的位置信息时, 发送开启电源的操作指令; 和 /或, 第二发送单元 44, 设置为当 判断单元 34的判断结果为上述位置信息不是预定位置范围内的位置信息时,发送关闭 电源的操作指令。 图 5是根据本发明实施例的电源控制装置的优选结构框图一, 如图 5所示, 该装 置除包括图 2所示的所有模块外, 还包括第一接收模块 52、 第二判断模块 54和放弃 模块 56, 下面对该优选结构框图一进行说明。 第一接收模块 52,连接至上述第一判断模块 24,设置为接收控制器周期性发送的 电源状态信息; 第二判断模块 54, 连接至上述第一接收模块 52和发送模块 26, 设置 为判断电源的状态与将要发送的操作指令所指示的状态是否一致; 放弃模块 56, 连接 至上述第二判断模块 54, 设置为在第二判断模块 54的判断结果为是的情况下, 放弃 发送操作指令。 图 6是根据本发明实施例的电源控制装置的优选结构框图二, 如图 6所示, 该装 置除包括图 2所示的所有模块外, 还包括第二接收模块 62, 下面对该优选结构框图二 进行说明。 第二接收模块 62, 设置为接收控制器返回的响应消息, 其中, 该响应消息为控制 器对电源进行操作的操作结果信息。 图 7是根据本发明实施例的终端的结构框图, 如图 7所示,该终端 70包括上述任 一项电源控制装置 72。 针对相关技术中存在的用户需要手动控制电源, 用户体验低的问题, 本发明实施 例提供了一种基于位置服务的电源控制***, 通过手机提供的位置信息, 检测到用户 已离开或进入居住场所, 从而发送指令给电源控制器, 电源控制器负责关闭或者打开 电源, 从而达到自动控制室内电源***, 节约能源的目的。 在一个可选的实施例中,提供了一种电源控制***,基于人员位置信息控制管理, 以达到自动管理电源开关, 提高能源利用效率。 该电源控制***包括: 手机终端、 电 源控制器、 电源开关, 手机终端与电源控制器之间无线通信, 电源控制器连接电源开 关。 其中, 手机终端可以运行 GPS模块, 并且可以预置电源自动管理软件, 该管理软 件通过 GPS模块提供的定位数据, 判断发送打开或关闭室内电源的指令。 电源控制器 可以接收手机终端发送的指令, 对电源开关执行该指令, 并可以提供反馈信息给手机 终端。 上述实施例中, 集成了定位技术, 手机软件技术, 无线射频传输技术, 消息收发 技术。 通过上述实施例可以实现对室内电源开关的自动控制, 避免出门忘记关电带来 的安全隐患和能源浪费。 下面结合附图, 对一个优选的实施例进行说明: 图 8是根据本发明实施例的电源控制***的总体模块结构示意图,在该实施例中, 包含手机终端、 电源控制器、 电源开关, 手机终端与电源控制器之间通过短信收发信 令, 电源控制器接收信令之后执行打开和关闭电源开关操作, 并给手机终端反馈处理 结果。 用户在手机终端打开电源管理软件, 设置电源自动管理功能打开, 此时需要设置 本次管理的室内电源标识, 首先需要设置室内位置, 打开 GPS开关, 获取当前所处室 内位置, 设置为本次自动控制电源位置, 当用户离开或接近该位置时, 本***开始运 作。 另外还需要设置电源控制器的 ID, 此 ID可以为消息号码或者任何无线通讯手段 ID, 当检测到用户位置改变之后, 以此 ID作为通讯 ID, 向电源控制器发送指令。 本 实施例中, 可以以短消息作为信令传输的手段和方法, 消息命令格式如表 1所示: TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a power control method, apparatus, and terminal. BACKGROUND OF THE INVENTION Mobile Internet and traditional home appliances combine to produce the current popular smart home technology, using advanced computing, embedded systems and network communication technologies to connect various devices in the home through the home network. Through the wireless mobile network, you can control all the home appliances in your home with your mobile phone, so that users can enjoy the convenience brought by modern technology anytime and anywhere. In the prior art, the user's control of the home appliance is basically based on the active control initiated by the user, and relies on the wireless mobile network, and the user needs to manually operate the terminal to control the power of the home appliance in real time. Therefore, in the related art, there is a problem that the user needs to manually control the power supply and the user experience is low. SUMMARY OF THE INVENTION The present invention provides a power control method, apparatus, and terminal to solve at least the problem that a user in the related art needs to manually control a power supply and has a low user experience. According to an aspect of the present invention, a power supply control method is provided, including: collecting location information of a terminal device; determining whether the location information is predetermined location range information, wherein the predetermined location range information includes transmitting an operation to a controller a position of the instruction; sending an operation instruction to the controller according to the determination result, wherein the operation instruction is used to instruct the controller to control the power source. Preferably, determining whether the location information is the predetermined location range information comprises: recording a location of the controlled power source; determining whether the location information is location information within a predetermined location range included in the predetermined location range information, The predetermined position range is a predetermined range centered on the position of the power source. Preferably, the sending the operation instruction to the controller according to the determination result includes: when the location result is that the location information is location information within the predetermined location range, sending an operation instruction to turn on the power; and/or, when If the result of the determination is that the location information is not location information within the predetermined location range, an operation command to turn off the power is transmitted. Preferably, before sending the operation instruction to the controller, the method further includes: receiving power status information periodically sent by the controller; determining whether the status of the power source is consistent with a status indicated by the operation instruction to be sent; When the result of the determination is YES, the operation instruction is discarded. Preferably, the method further includes: receiving a response message returned by the controller, where the response message is operation result information of the controller operating the power source. According to another aspect of the present invention, a power control device is provided, including: an acquisition module, configured to collect location information of a terminal device; and a first determining module configured to determine whether the location information is predetermined location range information, where The predetermined location range information includes a location for transmitting an operation instruction to the controller, and the sending module is configured to send an operation instruction to the controller according to the determination result, where the operation instruction is used to instruct the controller to perform power supply control. Preferably, the first determining module includes: a recording unit configured to record a position of the controlled power source; and a determining unit configured to determine whether the location information is a predetermined location range included in the predetermined location range information Position information within, wherein the predetermined position range is a predetermined range centered on the position of the power source. Preferably, the sending module includes: a first sending unit, configured to: when the determining result of the determining unit is that the location information is location information within the predetermined location range, send an operation instruction for turning on the power; and Or the second transmitting unit is configured to, when the determination result of the determining unit is that the location information is not location information within the predetermined location range, send an operation instruction to turn off the power. Preferably, the device further includes: a first receiving module, configured to receive power status information periodically sent by the controller; and a second determining module, configured to determine a status of the power source and the operation instruction to be sent Whether the status is consistent; the abandonment module is set to abandon the transmission of the operation instruction if the determination result of the second determination module is YES. Preferably, the device further includes: a second receiving module, configured to receive a response message returned by the controller, where the response message is operation result information of the controller operating the power source. According to still another aspect of the present invention, a terminal is provided, comprising the apparatus of any of the above. According to the present invention, the location information of the terminal device is collected; determining whether the location information is predetermined location range information, wherein the predetermined location range information includes a location for transmitting an operation instruction to the controller; and the controller is Sending an operation instruction, where the operation instruction is used to instruct the controller to power The control solves the problem that the user needs to manually control the power supply and the user experience is low in the related technology, thereby achieving the effect of automatically controlling the power supply, improving the safety of power consumption, and saving energy. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 1 is a flow chart of a power supply control method according to an embodiment of the present invention; FIG. 2 is a block diagram showing a configuration of a power supply control device according to an embodiment of the present invention; and FIG. 3 is a power supply control device according to an embodiment of the present invention. FIG. 4 is a block diagram showing the structure of a transmitting module 26 in a power control device according to an embodiment of the present invention; FIG. 5 is a block diagram showing a preferred structure of a power control device according to an embodiment of the present invention; FIG. 7 is a block diagram showing the structure of a power supply control system according to an embodiment of the present invention. FIG. 8 is a block diagram showing the overall structure of a power supply control system according to an embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. In this embodiment, a power supply control method is provided. FIG. 1 is a flowchart of a power control method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps: Step S102: Collecting location information of a terminal device Step S104, determining whether the location information is the predetermined location range information, where the predetermined location range information includes a location for sending an operation instruction to the controller; Step S106, sending an operation instruction to the controller according to the determination result, where the operation The instruction is used to instruct the controller to control the power supply. Through the above steps, determining whether the location information is predetermined location range information according to the collected location information of the terminal device, where the predetermined location range information includes a location for sending an operation instruction to the controller, and sending the information to the controller according to the determination result. The operation instruction for instructing the controller to control the power source realizes that the power source can be controlled according to the position of the terminal, and the position determination is automatically performed, and the control of the power source is also automatically performed, thereby solving the correlation. Users in the technology need to manually control the power supply and have a low user experience, thereby achieving automatic control of the power supply, improving the safety of power consumption, saving energy, and improving the user experience. In an optional embodiment, the predetermined position range may be set to be a predetermined range centered on the position of the power source. When determining whether the position of the terminal is the predetermined position range information, the position of the controlled power source may be first recorded. It is then judged whether the location information of the terminal is location information within a predetermined location range included in the predetermined location range information, that is, whether the terminal is within a predetermined range centered on the power source location. When determining whether the location information of the terminal is the predetermined location information, it may also be determined according to the distance between the terminal and the power source. When the distance between the terminal and the power source is less than a predetermined value, it may be determined that the terminal is in the power source position. Within the predetermined range of the center, that is, the position information of the terminal is position information within a predetermined position range included in the predetermined position information. After the predetermined positional relationship between the terminal and the power source is determined, the power source can be controlled according to the positional relationship. Wherein, when the location information of the terminal is information within a predetermined location range, that is, when the terminal is within a predetermined range centered on the power source, the terminal may send an operation instruction to turn on the power, and when the location information of the terminal is not true within the predetermined location range When the information is that the terminal is outside the predetermined range centered on the power source, the terminal can send an operation command to turn off the power. It should be noted that the terminal performing the position determination and the sending the operation command to the power source may be automatically completed by the terminal, thereby achieving the purpose of automatically transmitting the operation command according to the position of the terminal. In another optional embodiment, before sending the operation instruction to the controller, the power status information periodically sent by the controller may be received, and the status of the power source and the status indicated by the operation command to the power source to be sent by the terminal may be determined. Consistent, in the case of consistency, give up sending the operation instruction. For example, when the terminal is in a predetermined range centered on the power source, the terminal automatically determines an operation instruction that needs to be sent to turn on the power, and if at this time, the power source is already in the on state (ie, the terminal sends an operation command to turn on the power. Previously, the state of the power supply is already on.), it is no longer necessary to send an operation command to turn on the power to the controller, and the operation command is discarded. This avoids repeated transmission of the same operating instructions. In another optional embodiment, after the terminal sends the operation instruction to the controller, the terminal may further receive a response message returned by the controller, and the response message may be operation result information of the controller operating the power source, that is, the control After the power supply is operated, the operation result is fed back to the terminal, thereby determining the power supply Whether the operation has been successfully operated. If no response message is received within a predetermined period of time, the terminal may continue to send an operation command to the controller until a response message is received. Through the above embodiments and optional embodiments, automatic control of the power source can be completed, and the user experience is improved. In the embodiment, a power control device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again. As used hereinafter, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and conceivable. 2 is a block diagram showing the structure of a power control device according to an embodiment of the present invention. As shown in FIG. 2, the device includes an acquisition module 22, a first determination module 24, and a transmission module 26. The device will be described below. The acquiring module 22 is configured to collect the location information of the terminal device. The first determining module 24 is connected to the collecting module 22, and is configured to determine whether the location information is predetermined location range information, where the predetermined location range information includes a controller. Sending the position of the operation instruction; the sending module 26 is connected to the first determining module 24, and is configured to send an operation instruction to the controller according to the determination result, wherein the operation instruction is used to instruct the controller to control the power source. FIG. 3 is a block diagram showing the structure of the first determining module 24 in the power control device according to the embodiment of the present invention. As shown in FIG. 3, the first determining module 24 includes a recording unit 32 and a determining unit 34. Module 24 is described. The recording unit 32 is configured to record the position of the controlled power source; the determining unit 34 is connected to the recording unit 32, and is configured to determine whether the location information is location information within a predetermined location range included in the predetermined location range information, where The predetermined position range is a predetermined range centered on the position of the power source. 4 is a block diagram showing the structure of a transmitting module 26 in a power control device according to an embodiment of the present invention. The transmitting module 26 includes a first transmitting unit 42 and/or a second transmitting unit 44. The transmitting module 26 will be described below. The first transmitting unit 42 is configured to, when the determination result of the determining unit 34 is that the location information is location information within a predetermined location range, send an operation instruction to turn on the power; and/or, the second sending unit 44 is configured to determine When the result of the determination by the unit 34 is that the position information is not the position information within the predetermined position range, an operation command to turn off the power is transmitted. FIG. 5 is a block diagram of a preferred structure of a power control device according to an embodiment of the present invention. As shown in FIG. 5, the device includes a first receiving module 52 and a second determining module 54 in addition to all the modules shown in FIG. And a discarding module 56, the preferred structure block diagram will be described below. The first receiving module 52 is connected to the first determining module 24, and is configured to receive power state information periodically sent by the controller. The second determining module 54 is connected to the first receiving module 52 and the sending module 26, and is configured to determine Whether the state of the power source is consistent with the state indicated by the operation command to be transmitted; the abandonment module 56 is connected to the second judging module 54 and is set to abandon the transmission operation command if the judgment result of the second judging module 54 is YES. . 6 is a block diagram showing a preferred structure of a power control device according to an embodiment of the present invention. As shown in FIG. 6, the device includes a second receiving module 62 in addition to all the modules shown in FIG. The structure block diagram 2 is explained. The second receiving module 62 is configured to receive a response message returned by the controller, where the response message is operation result information of the controller operating the power source. FIG. 7 is a structural block diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 7, the terminal 70 includes any of the above-described power control devices 72. For the problem that the user needs to manually control the power supply and the user experience is low, the embodiment of the present invention provides a power control system based on the location service, and detects that the user has left or entered the living place by using the location information provided by the mobile phone. Therefore, the command is sent to the power controller, and the power controller is responsible for turning off or turning on the power, thereby achieving automatic control of the indoor power system and saving energy. In an alternative embodiment, a power control system is provided that controls management based on personnel location information to automatically manage power switches and improve energy efficiency. The power control system comprises: a mobile phone terminal, a power controller, a power switch, a wireless communication between the mobile phone terminal and the power controller, and a power controller connected to the power switch. The mobile terminal can run the GPS module, and can preset the power automatic management software, and the management software determines, by using the positioning data provided by the GPS module, an instruction to send or turn the indoor power on. The power controller can receive an instruction sent by the mobile terminal, execute the instruction on the power switch, and provide feedback information to the mobile terminal. In the above embodiment, the positioning technology, the mobile phone software technology, the wireless radio frequency transmission technology, and the messaging technology are integrated. Through the above embodiments, automatic control of the indoor power switch can be realized, and the safety hazard and energy waste caused by forgetting to turn off the power can be avoided. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 8 is a schematic diagram showing the overall module structure of a power control system according to an embodiment of the present invention. In this embodiment, a mobile phone terminal, a power controller, a power switch, and a mobile phone are included. Send and receive messages between the terminal and the power controller via SMS After the power controller receives the signaling, the power switch operation is turned on and off, and the processing result is fed back to the mobile terminal. The user opens the power management software in the mobile terminal, and sets the automatic power management function to be turned on. At this time, it is necessary to set the indoor power identification of the current management. First, the indoor position needs to be set, the GPS switch is turned on, and the current indoor location is set, and the automatic setting is set. Controlling the power position, the system begins to operate when the user leaves or approaches the location. In addition, it is also necessary to set the ID of the power controller. This ID can be the message number or any wireless communication means ID. When the user position change is detected, the ID is used as the communication ID to send an instruction to the power controller. In this embodiment, a short message may be used as a means and a method for signaling transmission, and the message command format is as shown in Table 1:
Figure imgf000009_0001
Figure imgf000009_0001
表 1 其中, 服务中心号码由提供消息服务的运营商决定, 在本实施例中, 目的地址即 终端或电源控制器的电话号码, DCS表示数据编码方法, 这里设置为 08H, 主要考虑 中文信令传递, 用户数据承载信令内容, 当终端向电源控制器发送命令时, 打开电源"通知电源管理器打开电源。  In the embodiment, the service center number is determined by the operator that provides the message service. In this embodiment, the destination address is the telephone number of the terminal or the power controller, and the DCS indicates the data encoding method. Here, it is set to 08H, mainly considering Chinese signaling. The user data carries the signaling content. When the terminal sends a command to the power controller, the power is turned on to notify the power manager to turn on the power.
"关闭电源"通知电源管理器关闭电源。 "Power Off" informs the power manager to turn off the power.
Figure imgf000009_0002
Figure imgf000009_0002
表 2 信令数据还是在用户数据区, 当收到 "打开电源"则通过有线接口控制电源开关, 打开电源。 如果收到"关闭电源"则通知电源开关关闭电源。 同时需要返回处理结果给 手机终端, 消息格式同表 1, 用户数据区填入两种消息信令。 "操作成功"表示打开或关闭电源操作成功。  Table 2 The signaling data is still in the user data area. When the "power on" is received, the power switch is controlled through the wired interface to turn on the power. If you receive a "power off", notify the power switch to turn off the power. At the same time, it is necessary to return the processing result to the mobile terminal, and the message format is the same as Table 1, and the user data area is filled with two kinds of message signaling. "Operation succeeded" indicates that the power operation was turned on or off successfully.
"操作失败"表示打开或关闭电源操作失败。 在本发明实施例中, 还可以将功能扩展至远程控制电源***, 例如, 用户可以在 远离室内位置时, 通过手动操作手机客户端, 给电源控制器发送指令。 比如用户在回 家路上, 可以提前打开空调, 电饭煲等家用电器。 消息控制指令内容可以按照表 3所 示进行扩展: "Operation failed" means that the power operation failed to turn on or off. In the embodiment of the present invention, the function may also be extended to the remote control power system. For example, the user may manually send the mobile phone client to send an instruction to the power controller when moving away from the indoor location. For example, the user is back On the way home, you can turn on air conditioners, rice cookers and other household appliances in advance. The contents of the message control instructions can be expanded as shown in Table 3:
打开 /关闭电源 空调、 电饭煲、 冰箱…等等 表 3 电源控制器收到指令之后, 控制相应的电源开关, 并通过短消息返回操作结果。 可见, 上述实施例实现了基于 LBS的电源自动控制, 当用户离开室内, 通过本发 明实施例的电源控制***可以自动控制室内电源的关闭, 当用户进入室内, 该***可 以自动检测到用户进入, 并打开电源, 从而实现了电源控制的自动化, 提高了室内用 电安全。 而且在本发明实施例中还可以扩展到远程控制电源控制***, 和智能家居结 合, 更好的方便和丰富了人们的生活。 应当理解的是, 对本发明技术所在领域的普通技术人员来说, 可以根据本发明的 技术方案及其构思进行相应的等同改变或替换, 比如本***同样适用于控制各种家用 电器设备或者生活用品开关, 而所有这些改变或替换, 都应属于本发明所附权利要求 的保护范围。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 具体实施方式 如上所述, 通过上述实施例及优选实施方式, 不仅解决了相关技术中存在着 用户需要手动控制电源, 用户体验低的问题, 进而达到了自动控制电源, 提高用电 安全, 节约能源的效果。  Turning the power on/off Air conditioner, rice cooker, refrigerator, etc. Table 3 After receiving the command, the power controller controls the corresponding power switch and returns the operation result through a short message. It can be seen that the foregoing embodiment implements the LBS-based automatic power supply control. When the user leaves the room, the power control system of the embodiment of the present invention can automatically control the shutdown of the indoor power supply. When the user enters the room, the system can automatically detect the user entering. And the power is turned on, thereby realizing the automation of the power control and improving the safety of the indoor power. Moreover, in the embodiment of the present invention, it can be extended to the remote control power control system, and combined with the smart home, which is more convenient and enriches people's lives. It should be understood that those skilled in the art to which the present invention pertains may make corresponding equivalent changes or substitutions according to the technical solutions of the present invention and the concept thereof. For example, the system is also applicable to control various household appliances or daily necessities. The switch, and all such changes or substitutions, are intended to fall within the scope of the appended claims. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS As described above, the above embodiments and preferred embodiments not only solve the problem that the user needs to manually control the power supply in the related art, and the user experience is low, thereby achieving automatic control of the power supply, improving the safety of power consumption, and saving energy. Effect.

Claims

权 利 要 求 书 Claim
1. 一种电源控制方法, 包括: 采集终端设备的位置信息; A power control method, comprising: collecting location information of a terminal device;
判断所述位置信息是否为预定位置范围信息, 其中, 所述预定位置范围信 息包括对控制器发送操作指令的位置; 根据判断结果向所述控制器发送操作指令, 其中, 所述操作指令用于指示 所述控制器对电源进行控制。  Determining whether the location information is predetermined location range information, where the predetermined location range information includes a location for transmitting an operation instruction to the controller; and sending an operation instruction to the controller according to the determination result, where the operation instruction is used for The controller is instructed to control the power source.
2. 根据权利要求 1所述的方法, 其中, 判断所述位置信息是否为预定位置范围信 息包括: 2. The method according to claim 1, wherein determining whether the location information is a predetermined location range information comprises:
记录被控制的所述电源的位置; 判断所述位置信息是否为所述预定位置范围信息所包括的预定位置范围内 的位置信息,其中,所述预定位置范围为以所述电源的位置为中心的预定范围。  Recording a position of the controlled power source; determining whether the location information is location information within a predetermined location range included in the predetermined location range information, wherein the predetermined location range is centered on a location of the power source The predetermined range.
3. 根据权利要求 2所述的方法, 其中, 根据所述判断结果向所述控制器发送操作 指令包括: 3. The method according to claim 2, wherein the sending the operation instruction to the controller according to the determination result comprises:
当判断结果为所述位置信息是所述预定位置范围内的位置信息时, 发送开 启电源的操作指令; 和 /或,  When the result of the determination is that the location information is location information within the predetermined location range, an operation instruction to turn on the power is sent; and/or,
当判断结果为所述位置信息不是所述预定位置范围内的位置信息时, 发送 关闭电源的操作指令。  When the result of the judgment is that the position information is not the position information within the predetermined position range, an operation command to turn off the power is transmitted.
4. 根据权利要求 1所述的方法, 其中, 在向所述控制器发送操作指令之前, 还包 括: 4. The method according to claim 1, wherein before sending the operation instruction to the controller, the method further comprises:
接收控制器周期性发送的电源状态信息; 判断所述电源的状态与将要发送的所述操作指令所指示的状态是否一致; 在判断结果为是的情况下, 放弃发送所述操作指令。  Receiving power status information periodically sent by the controller; determining whether the status of the power source is consistent with a status indicated by the operation instruction to be sent; and if the determination result is yes, abandoning the operation instruction.
5. 根据权利要求 1所述的方法, 其中, 还包括: 5. The method according to claim 1, further comprising:
接收所述控制器返回的响应消息, 其中, 所述响应消息为所述控制器对所 述电源进行操作的操作结果信息。 Receiving a response message returned by the controller, where the response message is operation result information of the controller operating the power source.
6. 一种电源控制装置, 包括: 采集模块, 设置为采集终端设备的位置信息; 第一判断模块,设置为判断所述位置信息是否为预定位置范围信息,其中, 所述预定位置范围信息包括对控制器发送操作指令的位置; A power control device, comprising: an acquisition module, configured to collect location information of the terminal device; the first determining module is configured to determine whether the location information is predetermined location range information, wherein the predetermined location range information includes The location at which the controller sends the operational command;
发送模块, 设置为根据判断结果向所述控制器发送操作指令, 其中, 所述 操作指令用于指示所述控制器对电源进行控制。  And a sending module, configured to send an operation instruction to the controller according to the determination result, where the operation instruction is used to instruct the controller to control the power source.
7. 根据权利要求 6所述的装置, 其中, 所述第一判断模块包括: 记录单元, 设置为记录被控制的所述电源的位置; The device according to claim 6, wherein the first determining module comprises: a recording unit configured to record a position of the controlled power source;
判断单元, 设置为判断所述位置信息是否为所述预定位置范围信息所包括 的预定位置范围内的位置信息, 其中, 所述预定位置范围为以所述电源的位置 为中心的预定范围。  The determining unit is configured to determine whether the location information is location information within a predetermined location range included in the predetermined location range information, wherein the predetermined location range is a predetermined range centered on the location of the power source.
8. 根据权利要求 7所述的装置, 其中, 所述发送模块包括: 第一发送单元, 设置为当所述判断单元的判断结果为所述位置信息是所述 预定位置范围内的位置信息时, 发送开启电源的操作指令; 和 /或, The device according to claim 7, wherein the sending module comprises: a first sending unit, configured to: when the determining result of the determining unit is that the location information is location information within the predetermined location range , sending an operation command to turn on the power; and/or,
第二发送单元, 设置为当所述判断单元的判断结果为所述位置信息不是所 述预定位置范围内的位置信息时, 发送关闭电源的操作指令。  The second transmitting unit is configured to send an operation command to turn off the power when the determination result of the determining unit is that the location information is not location information within the predetermined location range.
9. 根据权利要求 6所述的装置, 其中, 还包括: 第一接收模块, 设置为接收控制器周期性发送的电源状态信息; 第二判断模块, 设置为判断所述电源的状态与将要发送的所述操作指令所 指示的状态是否一致; The device according to claim 6, further comprising: a first receiving module, configured to receive power state information periodically sent by the controller; and a second determining module configured to determine a state of the power source to be sent Whether the status indicated by the operation instruction is consistent;
放弃模块, 设置为在所述第二判断模块的判断结果为是的情况下, 放弃发 送所述操作指令。  The abandonment module is set to abandon the transmission of the operation instruction if the determination result of the second determination module is YES.
10. 根据权利要求 6所述的装置, 其中, 还包括: 第二接收模块, 设置为接收所述控制器返回的响应消息, 其中, 所述响应 消息为所述控制器对所述电源进行操作的操作结果信息。 The device according to claim 6, further comprising: a second receiving module, configured to receive a response message returned by the controller, wherein the response message is that the controller operates the power source Operation result information.
11. 一种终端, 包括权利要求 6至 10中任一项所述的装置。 A terminal comprising the apparatus of any one of claims 6 to 10.
PCT/CN2014/084317 2014-07-03 2014-08-13 Power source control method and device, and terminal WO2015154354A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410315901.X 2014-07-03
CN201410315901.XA CN105323364B (en) 2014-07-03 2014-07-03 Power control method, device and terminal

Publications (1)

Publication Number Publication Date
WO2015154354A1 true WO2015154354A1 (en) 2015-10-15

Family

ID=54287151

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/084317 WO2015154354A1 (en) 2014-07-03 2014-08-13 Power source control method and device, and terminal

Country Status (2)

Country Link
CN (1) CN105323364B (en)
WO (1) WO2015154354A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500622B (en) * 2018-08-13 2023-03-31 中兴通讯股份有限公司 Method, device, equipment, wireless access terminal and medium for realizing remote control

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1481122A (en) * 2002-11-06 2004-03-10 联想(北京)有限公司 Method for controlling and managing electrical appliances in household network
TWM376073U (en) * 2009-07-16 2010-03-11 Wan-Tian Chen Remote control for wireless electric appliances
CN101957617A (en) * 2010-10-13 2011-01-26 东莞市泰斗微电子科技有限公司 A kind of domestic electric appliances controller and control method
CN103558836A (en) * 2013-11-19 2014-02-05 海信集团有限公司 Method for synchronously controlling device status and household appliance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1481122A (en) * 2002-11-06 2004-03-10 联想(北京)有限公司 Method for controlling and managing electrical appliances in household network
TWM376073U (en) * 2009-07-16 2010-03-11 Wan-Tian Chen Remote control for wireless electric appliances
CN101957617A (en) * 2010-10-13 2011-01-26 东莞市泰斗微电子科技有限公司 A kind of domestic electric appliances controller and control method
CN103558836A (en) * 2013-11-19 2014-02-05 海信集团有限公司 Method for synchronously controlling device status and household appliance

Also Published As

Publication number Publication date
CN105323364B (en) 2019-05-31
CN105323364A (en) 2016-02-10

Similar Documents

Publication Publication Date Title
WO2019205134A1 (en) Smart home voice control method, apparatus, device and system
CN104539504B (en) A kind of event triggering method and device
CN103116334B (en) The control method of home appliance, control system and air-conditioner system
CN105207863B (en) Method for controlling heterogeneous intelligent household electrical appliance, cloud platform and home gateway
WO2018041029A1 (en) Smart router for home voice control centre, and signal transmission method therefor
CN203219316U (en) Cell phone remote management control system based on intelligent household electrical appliance
WO2016173189A1 (en) Smart household control method, device and system
WO2014169807A1 (en) Smart home system and control method
CN106647304A (en) Household electrical appliance linkage control method, household electrical appliance, server, and system
CN111490915A (en) Method and system for controlling intelligent household electrical appliance through voice
CN205137792U (en) Automatic switch air conditioner control system
CN110568771B (en) System and method for intelligently and cooperatively controlling intelligent household equipment
CN110017574B (en) Server, network system and information processing method
US9836958B2 (en) Device control method, server, system and computer storage medium
CN109753034A (en) A kind of control method, device, electronic equipment and storage medium
CN206431442U (en) Extension facility and intelligent central control system are controlled in intelligence
CN104122999A (en) Intelligent device interaction method and system
CN103685775A (en) Intelligent home system and method based on call center
CN110864406A (en) Intelligent air conditioner and intelligent air conditioner control method
CN108255091B (en) Control method and device
CN105915416B (en) Information processing method and terminal equipment
CN110244643A (en) Intelligent electrical appliance control and device based on Internet of Things operating system
WO2015154354A1 (en) Power source control method and device, and terminal
CN203101957U (en) Control system of household appliances and air conditioning system
CN111201406B (en) Air conditioner and network system

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

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

Country of ref document: EP

Kind code of ref document: A1