CN105223822B - Resource provision facility switching control method and device - Google Patents

Resource provision facility switching control method and device Download PDF

Info

Publication number
CN105223822B
CN105223822B CN201510615775.4A CN201510615775A CN105223822B CN 105223822 B CN105223822 B CN 105223822B CN 201510615775 A CN201510615775 A CN 201510615775A CN 105223822 B CN105223822 B CN 105223822B
Authority
CN
China
Prior art keywords
resource
resource provision
facility switching
communication connection
provision facility
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510615775.4A
Other languages
Chinese (zh)
Other versions
CN105223822A (en
Inventor
白立朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510615775.4A priority Critical patent/CN105223822B/en
Publication of CN105223822A publication Critical patent/CN105223822A/en
Application granted granted Critical
Publication of CN105223822B publication Critical patent/CN105223822B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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]

Abstract

The embodiment of the invention discloses a kind of resource provision facility switching control method and device.It the described method comprises the following steps: judging whether the communication connection established with mobile terminal is already off, and generate judging result;In the case where the judging result is that the communication connection is already off, resource provision facility switching is closed;In the case where the judging result is that the communication connection keeps connection status, the resource provision facility switching is kept to open.The present invention can control opening or closing for resource provision facility switching according to the state of user.

Description

Resource provision facility switching control method and device
[technical field]
The present invention relates to field of computer technology, in particular to a kind of resource provision facility switching control method and device.
[background technique]
Traditional household fuel gas pipeline is designed with electronic switch.The electronic switch is for opening or closing household fuel gas pipeline Valve.
In practice, the inventor finds that the existing technology has at least the following problems:
The operation that above-mentioned traditional electronic switch opens or closes the valve needs user's control, for example, when user leaves home When, which needs the control of user that could close valve.That is, the electronic switch can not be intelligently according to user State open or close the valve.
[summary of the invention]
The purpose of the present invention is to provide a kind of resource provision facility switching control method and device, can be according to user's State control resource provision facility switching opens or closes.
To solve the above problems, the technical solution of the embodiment of the present invention is as follows:
A kind of resource provision facility switching control method, the described method comprises the following steps: judgement is built with mobile terminal Whether vertical communication connection is already off, and generates judging result;It is that the communication connection is already off in the judging result In the case where, close resource provision facility switching;It is the case where communication connection keeps connection status in the judging result Under, keep the resource provision facility switching to open.
In above-mentioned resource provision facility switching control method, the judgement is with the communication connection that mobile terminal is established It is no already off, and the step of generating judging result are as follows: judge whether the communication connection is already off at predetermined time intervals, and Generate the judging result.
In above-mentioned resource provision facility switching control method, in the communication connection that the judgement is established with mobile terminal It is whether already off, and before the step of generating judging result, the method also includes following steps: establishing with the movement eventually The communication connection at end.
In above-mentioned resource provision facility switching control method, the closing resource provision facility switching the step of it Afterwards, the method also includes following steps: sending notification information to the mobile terminal.
A kind of resource provision facility switching control device, described device include: judgment module, for judgement and mobile terminal Whether the communication connection established is already off, and generates judging result;Switch control module, for being in the judging result In the case that the communication connection is already off, resource provision facility switching is closed, and for being institute in the judging result In the case where stating communication connection holding connection status, the resource provision facility switching is kept to open.
In above-mentioned resource provision facility switching control device, the judgment module is also used to judge institute at predetermined time intervals It whether already off states communication connection, and generates the judging result.
In above-mentioned resource provision facility switching control device, described device further include: module is established in communication connection, is used for Establish the communication connection with the mobile terminal.
In above-mentioned resource provision facility switching control device, described device further include: notification information sending module is used for Notification information is sent to the mobile terminal.
A kind of resource provision facility switching control method, the described method comprises the following steps: detection resource provision equipment is opened The degree of strength of transmitted signal is closed, and generates testing result;At the degree of strength that the testing result is the signal In the case where in the first preset range, the communication connection established with the resource provision facility switching is disconnected;In the inspection Survey result is in the case that the degree of strength of the signal is in the second preset range, the communication connection to be kept to be in connection State.
In above-mentioned resource provision facility switching control method, the letter transmitted by the detection resource provision facility switching Number degree of strength, and before the step of generating testing result, the method also includes following steps: establishing and supplies with the resource To the communication connection of facility switching.
In above-mentioned resource provision facility switching control method, the foundation is described with the resource provision facility switching The step of communication connection are as follows: established according to the Internet protocol address of the resource provision facility switching and set with the resource provision The communication connection of standby switch.
In above-mentioned resource provision facility switching control method, in the interconnection according to the resource provision facility switching FidonetFido address establish with the step of the communication connection of the resource provision facility switching before, the method also includes with Lower step: the Internet protocol address of the resource provision facility switching is added to trust list.
A kind of resource provision facility switching control device, described device include: detection module, are set for detecting resource provision The degree of strength of the transmitted signal of standby switch, and generate testing result;Control module is communicated to connect, for tying in the detection Fruit is in the case that the degree of strength of the signal is in the first preset range, to disconnect and the resource provision facility switching institute The communication connection of foundation, and for being in the second preset range in the degree of strength that the testing result is the signal In the case of, keep the communication connection to be in connection status.
In above-mentioned resource provision facility switching control device, the communication connection control module be also used to establish with it is described The communication connection of resource provision facility switching.
In above-mentioned resource provision facility switching control device, the communication connection control module is also used to according to the money The Internet protocol address of source supply arrangement switch establishes the communication connection with the resource provision facility switching.
In above-mentioned resource provision facility switching control device, described device further include: Internet protocol address manages mould Block, for the Internet protocol address of the resource provision facility switching to be added to trust list.
Compared with the prior art, the present invention can control opening or closing for resource provision facility switching according to the state of user.
For above content of the invention can be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate institute's accompanying drawings, makees Detailed description are as follows:
[Detailed description of the invention]
Fig. 1 is the schematic diagram of the operating mode of resource provision facility switching control method and device of the invention;
Fig. 2 is the block diagram of the resource provision facility switching control device for the resource provision facility switching being implemented in Fig. 1;
Fig. 3 is the flow chart of the resource provision facility switching control method for the resource provision facility switching being implemented in Fig. 1;
Fig. 4 is the block diagram of the resource provision facility switching control device for the mobile terminal being implemented in Fig. 1;
Fig. 5 is the flow chart of the resource provision facility switching control method for the mobile terminal being implemented in Fig. 1.
[specific embodiment]
The explanation of following embodiment is to can be used to the particular implementation of implementation to illustrate the present invention with reference to additional schema Example.
Fig. 1 is the schematic diagram of the operating mode of resource provision facility switching control method and device of the invention.
Wherein, the resource provision facility switching 101 is in communications status with mobile terminal 102, specifically, is applied to money The resource provision facility switching control device of source supply arrangement switch 101 and the resource provision equipment for being applied to mobile terminal 102 Switch controlling device is in communications status.The resource provision facility switching 101 is connect with resource provision equipment, and the resource supplies To facility switching 101 for controlling the resource provision equipment provisioning resources, the resource may be, for example, heating, natural gas and water, The living resources such as electricity or engineering resource.The resource provision facility switching 101 may be, for example, the pipeline of heating, natural gas and water Valve or the electric brake of power circuit, etc..
It is the block diagram for the resource provision facility switching control device being implemented in Fig. 1 with reference to Fig. 2, Fig. 2.
The resource provision facility switching control device of the present embodiment is applied to the resource provision facility switching 101 in Fig. 1, In, described device includes that module 201 is established in judgment module 202, switch control module 203 and communication connection.
The communication connection establishes module 201 for establishing and the communication connection of the mobile terminal 102.The communication link It connects and establishes the signal cover that the communication connection that module 201 is established has preset distance, for example, the communication connection Establishing module 201 is WIFI module.The preset distance can be preset.
Whether the communication connection that the judgment module 202 is used to judge to be established with the mobile terminal 102 is already off, And generate judging result.
The switch control module 203 is used in the case where the judging result is that the communication connection is already off, Resource provision facility switching is closed, and for being the case where communication connection keeps connection status in the judging result Under, keep the resource provision facility switching 101 to open.
As an improvement whether the judgment module 202 is also used to judge at predetermined time intervals the communication connection Through disconnecting, and generate the judging result.For example, the predetermined time is 1 minute, 2 minutes, 3 minutes, 5 minutes, 10 minutes etc. Deng.
It is improved as another kind, described device further includes notification information sending module.
The notification information sending module is for sending notification information to the mobile terminal 102.Specifically, the notice Information sending module can be used for sending the notification information to the mobile terminal 102 by mobile communications network, internet.
With reference to the resource provision facility switching controlling party that Fig. 3, Fig. 3 are the resource provision facility switching 101 being implemented in Fig. 1 The flow chart of method.
The resource provision facility switching control method of the present embodiment is applied to the resource provision facility switching 101 in Fig. 1, In, it the described method comprises the following steps:
Step 301, the communication connection establish the communication connection of module 201 foundation and the mobile terminal 102.
Whether the communication connection that step 302, the judgement of the judgment module 202 are established with the mobile terminal 102 It disconnects, and generates judging result.
Step 303, the switch control module 203 are the already off situation of the communication connection in the judging result Under, close resource provision facility switching 101.
Step 304, the switch control module 203 are that the communication connection keeps connection status in the judging result In the case of, keep the resource provision facility switching 101 to open.
As an improvement whether the judgement and the communication connection that the mobile terminal 102 is established are already off, and The step of generating judging result (that is, the step 302) are as follows:
The judgment module 202 judges whether the communication connection is already off at predetermined time intervals, and sentences described in generation Disconnected result.For example, the predetermined time is 1 minute, 2 minutes, 3 minutes, 5 minutes, 10 minutes etc..
Improved as another kind, closing resource provision facility switching 101 the step of after, the method also includes Following steps:
Step 305, the notification information sending module send notification information to the mobile terminal 102.
Specifically, the notification information sending module can be by mobile communications network, internet to the mobile terminal 102 Send the notification information.
With reference to the frame for the resource provision facility switching control device that Fig. 4, Fig. 4 are the mobile terminal 102 being implemented in Fig. 1 Figure.
The resource provision facility switching control device of the present embodiment is applied to the mobile terminal 102 in Fig. 1, wherein described Device includes detection module 403 and communication connection control module 402.
The communication connection control module 402 is for establishing and the communication link of the resource provision facility switching 101 It connects.Specifically, the communication connection control module 402 is used for the Internet protocol according to the resource provision facility switching 101 The communication connection with the resource provision facility switching 101 is established in the address (IP, Internet Protocol).
The detection module 403 is used to detect the degree of strength of signal transmitted by the resource provision facility switching 101, And generate testing result.
The communication connection control module 402 is used to be in first in the degree of strength that the testing result is the signal In the case where in preset range, the communication connection established with the resource provision facility switching 101 is disconnected, and in institute It states in the case that the degree of strength that testing result is the signal be in the second preset range, described communicate to connect is kept to be in Connection status.
As an improvement described device further includes Internet protocol address management module 401.
The Internet protocol address management module 401 is used for the interconnection of the resource provision facility switching 101 FidonetFido address is added to trust list.
With reference to the resource provision facility switching control method that Fig. 5, Fig. 5 are the mobile terminal 102 being implemented in Fig. 1 Flow chart.
The resource provision facility switching control method of the present embodiment is applied to the mobile terminal 102 in Fig. 1, wherein It the described method comprises the following steps:
Step 501, the communication connection control module 402 are established described logical with the resource provision facility switching 101 Letter connection.Specifically, the control module 402 that communicates to connect is according to the Internet protocol of the resource provision facility switching 101 The communication connection with the resource provision facility switching 101 is established in address.
Step 502, the detection module 403 detect the power of signal transmitted by the resource provision facility switching 101 Degree, and generate testing result.
Step 503, the communication connection control module 402 are in the degree of strength that the testing result is the signal In the case where in first preset range, the communication connection established with the resource provision facility switching 101 is disconnected.
Step 504, the communication connection control module 402 are in the degree of strength that the testing result is the signal In the case where in second preset range, the communication connection is kept to be in connection status.
As an improvement the method also includes following steps:
The Internet protocol address management module 401 is by the internet protocol of the resource provision facility switching 101 View address is added to trust list.
Embodiment:
Electronic switch (the resource provision facility switching control device applied to resource provision facility switching 101) is equipped with IP (Internet Protocol, Internet protocol) address, mobile phone (the resource provision facility switching control applied to mobile terminal 102 Device processed) IP address is arranged into trust list.
After mobile phone and electronic switch establish communication connection, when mobile phone detects the intensity of the wireless signal of electronic switch When on preset threshold, mobile phone holding is contacted with electronic switch, at this point, electronic switch works normally (not closing).Work as hand Machine examination measure the remitted its fury of the wireless signal of electronic switch to preset threshold hereinafter, then mobile phone determine user left home, this Shi Shouji disconnects the communication connection with electronic switch.After mobile phone disconnects the communication connection with electronic switch, electronic switch determines Family in nobody, at this time electronic switch close coal gas pipeline valve, breath of concurrently delivering letters (for example, short message etc.) remind user.
It is opened through the above technical solutions, the present invention can control resource provision equipment according to the state (leave home or go home) of user What is closed opens or closes.
Although the present invention, those skilled in the art have shown and described relative to one or more implementations It will be appreciated that equivalent variations and modification based on the reading and understanding to the specification and drawings.The present invention includes all such repairs Change and modification, and is limited only by the scope of the following claims.In particular, to by said modules (such as element, resource etc.) The various functions of executing, term for describing such components be intended to correspond to execute the component specified function (such as It is functionally of equal value) random component (unless otherwise instructed), even if in structure with execute shown in this article say The open structure of function in the exemplary implementations of bright book is not equivalent.In addition, although the special characteristic of this specification Be disclosed relative to the only one in several implementations, but this feature can with such as can to given or specific application and Speech is expectation and one or more other features combinations of other advantageous implementations.Moreover, with regard to term " includes ", " tool Have ", " containing " or its deformation be used in specific embodiments or claims for, such term be intended to with term The similar mode of "comprising" includes.
In conclusion although the present invention has been disclosed above in the preferred embodiment, but above preferred embodiment is not to limit The system present invention, those skilled in the art can make various changes and profit without departing from the spirit and scope of the present invention Decorations, therefore protection scope of the present invention subjects to the scope of the claims.

Claims (6)

1. a kind of resource provision facility switching control method, which is characterized in that the described method comprises the following steps:
The communication connection with mobile terminal is established, the communication connection established has the signal cover of preset distance, The preset distance can be preset;
Judge whether the communication connection is already off at predetermined time intervals, and generates the judging result;
In the case where the judging result is that the communication connection is already off, resource provision facility switching is closed;
In the case where the judging result is that the communication connection keeps connection status, the resource provision facility switching is kept It opens;
Wherein, the resource provision facility switching is connect with resource provision equipment, and the resource provision facility switching is for controlling The resource provision equipment provisioning resources, the resource are heating, natural gas, water living resources or engineering resource, the resource Supply arrangement switchs the valve of the pipeline for heating, natural gas and water.
2. resource provision facility switching control method according to claim 1, which is characterized in that supplied in the closing resource After the step of to facility switching, the method also includes following steps:
Notification information is sent to the mobile terminal.
3. a kind of resource provision facility switching control device, which is characterized in that described device includes:
Module is established in communication connection, and for establishing with the communication connection of mobile terminal, the communication connection established has pre- The signal cover of set a distance, the preset distance can be preset;
Judgment module for judging whether the communication connection is already off at predetermined time intervals, and generates the judging result;
Switch control module, for closing resource and supplying in the case where the judging result is that the communication connection is already off It to facility switching, and is used in the case where the judging result is that the communication connection keeps connection status, described in holding Resource provision facility switching is opened;
Wherein, the resource provision facility switching is connect with resource provision equipment, and the resource provision facility switching is for controlling The resource provision equipment provisioning resources, the resource are heating, natural gas, water living resources or engineering resource, the resource Supply arrangement switchs the valve of the pipeline for heating, natural gas and water.
4. resource provision facility switching control device according to claim 3, which is characterized in that described device further include:
Notification information sending module, for sending notification information to the mobile terminal.
5. a kind of resource provision facility switching control method, which is characterized in that the described method comprises the following steps:
The Internet protocol address of the resource provision facility switching is added to trust list;
The communication with the resource provision facility switching is established according to the Internet protocol address of the resource provision facility switching Connection, the communication connection established have the signal cover of preset distance, and the preset distance can be preset;
The degree of strength of signal transmitted by resource provision facility switching is detected, and generates testing result;
In the case where the degree of strength that the testing result is the signal is in the first preset range, disconnect and the money Source supply arrangement switchs established communication connection, so that resource provision facility switching is closed;
In the case where the degree of strength that the testing result is the signal is in the second preset range, the communication is kept Connection is in connection status;
Wherein, the resource provision facility switching is connect with resource provision equipment, and the resource provision facility switching is for controlling The resource provision equipment provisioning resources, the resource are heating, natural gas, water living resources or engineering resource, the resource Supply arrangement switchs the valve of the pipeline for heating, natural gas and water.
6. a kind of resource provision facility switching control device, which is characterized in that described device includes:
Internet protocol address management module, for adding the Internet protocol address of the resource provision facility switching To trust list;
Control module is communicated to connect, for establishing with the communication connection of the resource provision facility switching, the institute established The signal cover that communication connection has preset distance is stated, the preset distance can be preset;
Detection module for detecting the degree of strength of signal transmitted by resource provision facility switching, and generates testing result;
The communication connection control module is also used to be in first in the degree of strength that the testing result is the signal default In the case where in range, the communication connection established with the resource provision facility switching is disconnected, so that resource provision equipment is opened Put capable closing into, and for being in the situation in the second preset range in the degree of strength that the testing result is the signal Under, keep the communication connection to be in connection status;
Wherein, the resource provision facility switching is connect with resource provision equipment, and the resource provision facility switching is for controlling The resource provision equipment provisioning resources, the resource are heating, natural gas, water living resources or engineering resource, the resource Supply arrangement switchs the valve of the pipeline for heating, natural gas and water.
CN201510615775.4A 2015-09-24 2015-09-24 Resource provision facility switching control method and device Active CN105223822B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510615775.4A CN105223822B (en) 2015-09-24 2015-09-24 Resource provision facility switching control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510615775.4A CN105223822B (en) 2015-09-24 2015-09-24 Resource provision facility switching control method and device

Publications (2)

Publication Number Publication Date
CN105223822A CN105223822A (en) 2016-01-06
CN105223822B true CN105223822B (en) 2019-03-08

Family

ID=54992859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510615775.4A Active CN105223822B (en) 2015-09-24 2015-09-24 Resource provision facility switching control method and device

Country Status (1)

Country Link
CN (1) CN105223822B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111722534A (en) * 2019-03-19 2020-09-29 佛山市顺德区美的电热电器制造有限公司 Equipment control method, device, equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08149559A (en) * 1994-11-18 1996-06-07 Canon Inc Radio communication equipment
CN100386999C (en) * 2003-07-23 2008-05-07 华为技术有限公司 Method for monitoring user connection state
CN102495617A (en) * 2011-12-29 2012-06-13 深圳Tcl新技术有限公司 Intelligent household air-conditioning system with linkage function
EP2653945B1 (en) * 2012-04-19 2016-06-15 Schneider Electric Buildings LLC Association of a portable sensor device in a building management system
CN103857017B (en) * 2012-11-29 2017-10-31 中兴通讯股份有限公司 Communication terminal, communication system and communication connecting method
CN203909589U (en) * 2014-06-03 2014-10-29 陈华 Intelligent control system capable of remotely controlling power switch
CN104155938B (en) * 2014-07-21 2018-01-09 惠州Tcl移动通信有限公司 A kind of home equipment management method and system
CN104898603B (en) * 2015-04-07 2017-12-26 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN105223822A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
CN103124403A (en) Mobile communication terminal and on-line control method thereof
CN202334570U (en) Intelligent home system based on mobile phone control
CN102811291B (en) Mobile terminal and going-out reminding method
CN104918298B (en) A kind of network connection control method, device and mobile terminal
CN104021036B (en) A kind of electronic equipment and state of electronic equipment switching method
CN103208659A (en) Charging method for electronic apparatus, and electronic apparatus
CN104079726B (en) A kind of mobile terminal and intelligence thereof disconnect the method and apparatus of call
CN106253357B (en) A kind of method of supplying power to and power supply unit
CN106781239A (en) A kind of monitoring method and system of intelligence nurse
CN105223822B (en) Resource provision facility switching control method and device
CN103296540B (en) A kind of socket, terminal and the method controlling socket switch
CN106708688B (en) Module test method and terminal
CN207458060U (en) Anti-intrusion set and anti-intrusion system
CN104423530B (en) Mobile device electricity-saving control method, device and mobile device, host terminal
CN108492535A (en) A kind of household appliance monitoring method and device
CN105407031B (en) The method and system of instant messaging is established based on same group group member
CN105204353A (en) Control method and control system
CN103227861B (en) Mobile terminal and method for starting data service of mobile terminal
CN105978718B (en) A kind of WiFi refrigerator signal connection report barrier method, system and refrigerator
CN102291692A (en) Mobile terminal and method for dynamically selecting communication network
CN106453007A (en) Control method and device for preventing faulty actions of intelligent household electrical appliance, router and intelligent household electrical appliance
CN204028696U (en) The proving installation of air conditioner line control machine and system
CN203553509U (en) Intelligent socket system
CN105446803A (en) Application management method and apparatus
CN108508317A (en) A kind of electric appliance monitoring method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant