CN107544417A - Smart jack control method and device - Google Patents

Smart jack control method and device Download PDF

Info

Publication number
CN107544417A
CN107544417A CN201710901504.4A CN201710901504A CN107544417A CN 107544417 A CN107544417 A CN 107544417A CN 201710901504 A CN201710901504 A CN 201710901504A CN 107544417 A CN107544417 A CN 107544417A
Authority
CN
China
Prior art keywords
smart jack
weather
geographic area
lightning warning
default geographic
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.)
Pending
Application number
CN201710901504.4A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710901504.4A priority Critical patent/CN107544417A/en
Publication of CN107544417A publication Critical patent/CN107544417A/en
Pending legal-status Critical Current

Links

Landscapes

  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The disclosure is directed to smart jack control method and device.This method includes:Obtain the weather of default geographic area;When weather in default geographic area is equal to or higher than predetermined level for the Lightning Warning rank of Lightning Warning weather and Lightning Warning weather, shutdown command is sent to smart jack;Wherein, shutdown command is used for the electric power supply that indicating intelligent socket stops being connected with smart jack.The technical scheme can avoid the electrical equipment of neutralization enterprise of user family from being hit by thunder and lightning, so as to which the possibility for causing electrical equipment to damage thunder and lightning is preferably minimized, can reduce user's loss, improve the intelligent level of smart jack, improve Consumer's Experience.

Description

Smart jack control method and device
Technical field
This disclosure relates to smart machine control technology field, more particularly to smart jack control method and device.
Background technology
With the continuous improvement of living standard, family's modernization and office automation continue to develop, each electric appliances such as TV, The electrical equipment such as computer, sound equipment, air-conditioning, refrigerator, printer pour in family and enterprise.But neutralized in thunderstorm weather, user family The electrical equipment of enterprise is present may be by the risk of broken by lightning.
The content of the invention
To overcome problem present in correlation technique, the embodiment of the present disclosure provides a kind of smart jack control method and dress Put.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of smart jack control method, including:
Obtain the weather of default geographic area;
Weather in the default geographic area is the Lightning Warning level of Lightning Warning weather and the Lightning Warning weather Not Deng Yuhuogaoyu predetermined level when, to smart jack send shutdown command;Wherein, the shutdown command is used to indicate the intelligence The electric power supply that energy socket stops being connected with the smart jack.
In one embodiment, the weather in the default geographic area is Lightning Warning weather and the thunder and lightning When the Lightning Warning rank of early warning weather is equal to or higher than predetermined level, shutdown command is sent to smart jack, including:
The weather in the default geographic area is pre- for the thunder and lightning of Lightning Warning weather and the Lightning Warning weather When alert rank is equal to or higher than predetermined level, the request that the weather for carrying the default geographic area is sent to user terminal disappears Breath;Wherein, the electric power supply that the request message is used to ask the user whether to stop to be connected with smart jack;
Receive the response message that the user terminal returns;
Knowing that the user indicates to stop the electric power supply to be connected with the smart jack according to the response message When, send shutdown command to the smart jack.
In one embodiment, methods described also includes:
Receive the geographic location information that the user terminal is sent;Wherein, the geographic location information includes and the intelligence The positional information of the default geographic area corresponding to room where energy socket.
In one embodiment, the Lightning Warning rank comprises at least:Yellowness ratings, orange grade and red scale.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of smart jack control method, including:
The request message of the weather for the default geographic area of carrying that the reception server is sent;Wherein, the request message is used In asking the user whether to stop as the electric power supply that being connected with smart jack;
Weather in the default geographic area is the Lightning Warning level of Lightning Warning weather and the Lightning Warning weather Not Deng Yuhuogaoyu predetermined level when, to the server send response message;Wherein, the response message is described for indicating The electric power supply that smart jack described in server controls stops being connected with the smart jack.
In one embodiment, methods described also includes:
Obtain the positional information of default geographic area corresponding with room where the smart jack;
Geographic location information is sent to the server;Wherein, the geographic location information includes and the smart jack The positional information of the default geographic area corresponding to the room of place.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of smart jack control device, including:
First acquisition module, for obtaining the weather of default geographic area;
First sending module, for the weather in the default geographic area be Lightning Warning weather and the thunder and lightning is pre- When the Lightning Warning rank of alert weather is equal to or higher than predetermined level, shutdown command is sent to smart jack;Wherein, the closing Order for indicating that the smart jack stops the electric power supply to be connected with the smart jack.
In one embodiment, first sending module, including:
First sending submodule, it is Lightning Warning weather and the thunder and lightning for the weather in the default geographic area When the Lightning Warning rank of early warning weather is equal to or higher than predetermined level, is sent to user terminal and carry the default geographic area Weather request message;Wherein, the electrical equipment that the request message is used to ask the user whether to stop to be connected with smart jack Power supply;
Receiving submodule, the response message returned for receiving the user terminal;
Second sending submodule, for knowing that the user indicates to stop to be and the intelligence according to the response message During the electric power supply of socket connection, shutdown command is sent to the smart jack.
In one embodiment, described device also includes:
First receiving module, the geographic location information sent for receiving the user terminal;Wherein, the geographical position Message includes the positional information of the default geographic area corresponding with room where the smart jack.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of smart jack control device, including:
Second receiving module, the request message of the weather of the default geographic area of carrying sent for the reception server;Its In, it is the electric power supply being connected with smart jack that the request message, which is used to ask the user whether to stop,;
Second sending module, for the weather in the default geographic area be Lightning Warning weather and the thunder and lightning is pre- When the Lightning Warning rank of alert weather is equal to or higher than predetermined level, response message is sent to the server;Wherein, the sound Message is answered to be used for the electric power supply for indicating that smart jack described in the server controls stops being connected with the smart jack.
In one embodiment, described device also includes:
Second acquisition module, the position for obtaining default geographic area corresponding with room where the smart jack are believed Breath;
3rd sending module, for sending geographic location information to the server;Wherein, the geographic location information bag Include the positional information of the default geographic area corresponding with room where the smart jack.
According to the 5th of the embodiment of the present disclosure the aspect, there is provided a kind of smart jack control device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Obtain the weather of default geographic area;
Weather in the default geographic area is the Lightning Warning level of Lightning Warning weather and the Lightning Warning weather Not Deng Yuhuogaoyu predetermined level when, to smart jack send shutdown command;Wherein, the shutdown command is used to indicate the intelligence The electric power supply that energy socket stops being connected with the smart jack.
According to the 6th of the embodiment of the present disclosure the aspect, there is provided a kind of smart jack control device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
The request message of the weather for the default geographic area of carrying that the reception server is sent;Wherein, the request message is used In asking the user whether to stop as the electric power supply that being connected with smart jack;
Weather in the default geographic area is the Lightning Warning level of Lightning Warning weather and the Lightning Warning weather Not Deng Yuhuogaoyu predetermined level when, to the server send response message;Wherein, the response message is described for indicating The electric power supply that smart jack described in server controls stops being connected with the smart jack.
According to the 7th of the embodiment of the present disclosure the aspect, there is provided a kind of computer-readable recording medium, be stored thereon with calculating The step of machine instructs, and above-mentioned first aspect methods described is realized in the instruction when being executed by processor.
According to the eighth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, be stored thereon with calculating The step of machine instructs, and above-mentioned second aspect methods described is realized in the instruction when being executed by processor.
The technical scheme provided by this disclosed embodiment can include the following benefits:The technical scheme is inserted by analyzing The weather of default geographic area where seat, the weather in default geographic area are Lightning Warning weather and Lightning Warning weather When Lightning Warning rank is equal to or higher than predetermined level, it is the electric power supply being connected with smart jack to control smart jack to stop, User house can be avoided to neutralize the electrical equipment of enterprise to be hit by thunder and lightning, so as to which the possibility for causing electrical equipment to damage thunder and lightning drops to most It is low, user's loss can be reduced, improves the intelligent level of smart jack, so, it is possible to improve Consumer's Experience.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of application scenario diagram of smart jack control method according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of smart jack control method according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of smart jack control method according to an exemplary embodiment.
Fig. 4 is a kind of flow chart of smart jack control method according to an exemplary embodiment.
Fig. 5 is a kind of signaling interaction diagram of smart jack control method according to an exemplary embodiment.
Fig. 6 is the block diagram of the smart jack control device according to an exemplary embodiment.
Fig. 7 is the block diagram of the smart jack control device according to an exemplary embodiment.
Fig. 8 is the block diagram of the smart jack control device according to an exemplary embodiment.
Fig. 9 is the block diagram of the smart jack control device according to an exemplary embodiment.
Figure 10 is the block diagram of the smart jack control device according to an exemplary embodiment.
Figure 11 is the block diagram of the smart jack control device according to an exemplary embodiment.
Figure 12 is the block diagram of the smart jack control device according to an exemplary embodiment.
Figure 13 is the block diagram of the smart jack control device according to an exemplary embodiment.
Figure 14 is the block diagram of the smart jack control device according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
In correlation technique, user family neutralizes in enterprise and generally lays a variety of electrical equipment, such as TV, computer, sound equipment, sky Tune, refrigerator, printer etc..But in thunderstorm weather, there is the wind that may be hit by thunder and lightning in the electrical equipment that user family neutralizes enterprise Danger, this can cause electric property to reduce, even sustain damage, cause user's economic loss.
In order to solve the above problems, the embodiment of the present disclosure provides a kind of smart jack control method, and method includes:Obtain pre- If the weather of geographic area;Weather in default geographic area is Lightning Warning weather and the Lightning Warning of Lightning Warning weather When rank is equal to or higher than predetermined level, shutdown command is sent to smart jack;Wherein, shutdown command is used for indicating intelligent socket Stop the electric power supply to be connected with smart jack.
The technical scheme that the embodiment of the present disclosure provides can apply in personal family and equipment Management in Enterprise scene, referring to An optional application scenarios of smart jack control method in the embodiment of the present disclosure shown in Fig. 1;Application scenarios shown in Fig. 1 In be related to:User terminal, server, at least one smart jack and the electrical equipment being connected with smart jack, wherein:User terminal 11st, network 12, server 13, network 14, smart jack 15, electrical equipment 16, electrical equipment 17 and electrical equipment 18;Wherein, user terminal is for example Can be smart mobile phone, tablet personal computer or Wearable (such as bracelet), server for example can be personal home gateway, enterprise Industry gateway, Cloud Server etc.;The plug of electrical equipment 16, electrical equipment 17 and electrical equipment 18 is respectively connecting to smart jack 15, by smart jack 15 be that electrical equipment 16, electrical equipment 17 and electrical equipment 18 are powered;User terminal 11 and smart jack 15 establish communication link with server 13 Connect, user terminal 11 is communicated by network 12 with server 13;Wireless communication module built in smart jack 15, it can pass through Network 14 is communicated with server 13;User can be with remote control smart jack using the client software of user terminal 11 15, check the information such as the working condition of smart jack 15;Network 12 and network 14 can be consolidated network or heterogeneous networks;Network 12 for example can be cable network or wireless network, and wireless network is for example based on Wireless Fidelity (Wi-Fi, wireless Fidelity) network of technology, the network based on Bluetooth technology, ZigBee protocol (Zigbee) or third generation cooperative partner program (3GPP, the 3rd Generation Partnership Project) network.
The application scenarios shown in Fig. 1 are only a possible application scenarios of information-pushing method in the embodiment of the present disclosure Example, other application scene can also include the equipment being not directed in Fig. 1.The information-pushing method that the embodiment of the present disclosure provides can So that applied in above-mentioned scene, server is presetting geographic area by the weather of default geographic area where analyzing socket When weather is equal to or higher than predetermined level for the Lightning Warning rank of Lightning Warning weather and Lightning Warning weather, control intelligence The electric power supply that socket stops being connected with smart jack, user house can be avoided to neutralize the electrical equipment of enterprise and hit by thunder and lightning, from And the possibility for causing electrical equipment to damage thunder and lightning is preferably minimized, user's loss can be reduced, improves the intelligent water of smart jack It is flat, it so, it is possible to improve Consumer's Experience.
Based on above-mentioned analysis, following specific embodiment is proposed.
Fig. 2 is a kind of flow chart of smart jack control method according to an exemplary embodiment, and this method is held Row main body can be server;As shown in Fig. 2 this method comprises the following steps 201-202:
In step 201, the weather of default geographic area is obtained;
Example, user terminal obtains the positional information of default geographic area corresponding with room where smart jack, to Server sends geographic location information;Wherein, geographic location information includes default geography corresponding with room where smart jack The positional information in region.Server receives the geographic location information that user terminal is sent, and obtains and room pair where smart jack The positional information for the default geographic area answered.
In step 202, the weather in default geographic area is pre- for the thunder and lightning of Lightning Warning weather and Lightning Warning weather When alert rank is equal to or higher than predetermined level, shutdown command is sent to smart jack;Wherein, shutdown command is inserted for indicating intelligent The electric power supply that seat stops being connected with smart jack.
Example, Lightning Warning rank comprises at least:Yellowness ratings, orange grade and red scale;It is yellowness ratings, orange Grade and the warning level of red scale strengthen step by step, wherein:Yellowness ratings refer to thunder and lightning work may occur in following 6 hours It is dynamic, it is likely to result in Lightning Disaster accident;Orange grade refers to that the possibility that lightening activity occurs in following two hours is very big, or Person has been subjected to lightening activity influence, thereby increases and it is possible to continues, the possibility for Lightning Disaster accident occur is bigger;Red scale refers to not It is very big to carry out in two hours to occur the possibility of lightening activity, or has had strong lightening activity, thereby increases and it is possible to continue, The possibility for Lightning Disaster accident occur is very big.
The technical scheme provided by this disclosed embodiment, by the weather of default geographic area where analyzing socket, pre- If the weather of geographic area is equal to or higher than predetermined level for the Lightning Warning rank of Lightning Warning weather and Lightning Warning weather When, it is the electric power supply being connected with smart jack to control smart jack to stop, and user house can be avoided to neutralize the electrical equipment quilt of enterprise Thunder and lightning is hit, and so as to which the possibility for causing electrical equipment to damage thunder and lightning is preferably minimized, can be reduced user's loss, be improved smart jack Intelligent level, so, it is possible improve Consumer's Experience.
Fig. 3 is a kind of flow chart of smart jack control method according to an exemplary embodiment.As shown in figure 3, On the basis of embodiment illustrated in fig. 2, this disclosure relates to smart jack control method comprise the following steps 301-304:
In step 301, the weather of default geographic area is obtained;
In step 302, the weather in default geographic area is pre- for the thunder and lightning of Lightning Warning weather and Lightning Warning weather When alert rank is equal to or higher than predetermined level, the request message for the weather for carrying default geographic area is sent to user terminal;Its In, it is the electric power supply being connected with smart jack that request message, which is used to ask the user whether to stop,;
Example, request message includes the weather of default geographic area;Server sends out the weather of default geographic area User terminal is delivered to, the electric power supply for deciding whether to stop by user terminal to be connected with smart jack.User terminal receives The request message of the weather for the default geographic area of carrying that server is sent, the weather in default geographic area is Lightning Warning day When the Lightning Warning rank of gas and Lightning Warning weather is equal to or higher than predetermined level, response message, instruction are sent to server The electric power supply that server controls smart jack stops being connected with smart jack;Weather in default geographic area is pre- for thunder and lightning When the Lightning Warning rank of alert weather and Lightning Warning weather is less than predetermined level, response message is not sent to server, or Person, the response message for the electric power supply for continuing as being connected with smart jack is sent to server.
In step 303, the response message that user terminal returns is received;
In step 304, knowing that user indicates to stop the electric power supply to be connected with smart jack according to response message When, send shutdown command to smart jack.
The technical scheme provided by this disclosed embodiment, by the weather of default geographic area where analyzing socket, pre- If the weather of geographic area is equal to or higher than predetermined level for the Lightning Warning rank of Lightning Warning weather and Lightning Warning weather When, ask the user whether that it is the electric power supply being connected with smart jack to stop, and when obtaining the instruction of user, control intelligence to insert The electric power supply that seat stops being connected with smart jack, user house can be avoided to neutralize the electrical equipment of enterprise and hit by thunder and lightning, so as to The possibility that thunder and lightning causes electrical equipment to damage is preferably minimized, user's loss can be reduced, improves the intelligent level of smart jack, Improve Consumer's Experience.
Fig. 4 is a kind of flow chart of smart jack control method according to an exemplary embodiment, and this method is held Row main body can be user terminal;As shown in figure 4, this method comprises the following steps 401-402:
In step 401, the request message of the weather for the default geographic area of carrying that the reception server is sent;Wherein, please The electric power supply for asking message to be used to ask the user whether to stop to be connected with smart jack;
In step 402, the weather in default geographic area is pre- for the thunder and lightning of Lightning Warning weather and Lightning Warning weather When alert rank is equal to or higher than predetermined level, response message is sent to server;Wherein, response message is used to indicate server control The electric power supply that smart jack processed stops being connected with smart jack.
Example, user terminal obtains the positional information of default geographic area corresponding with room where smart jack, to Server sends geographic location information;Wherein, geographic location information includes default geography corresponding with room where smart jack The positional information in region.
The technical scheme provided by this disclosed embodiment, by the weather of default geographic area where analyzing socket, pre- If the weather of geographic area is equal to or higher than predetermined level for the Lightning Warning rank of Lightning Warning weather and Lightning Warning weather When, stop being the electric power supply being connected with smart jack via server controls smart jack, user house can be avoided to neutralize enterprise The electrical equipment of industry is hit by thunder and lightning, so as to which the possibility for causing electrical equipment to damage thunder and lightning is preferably minimized, can be reduced user's loss, be carried The intelligent level of high smart jack, improve Consumer's Experience.
Fig. 5 is a kind of flow chart of smart jack control method according to an exemplary embodiment, as shown in figure 5, This method is implemented with user terminal, server and smart jack, and this method comprises the following steps:
In step 501, user terminal obtains the position letter of default geographic area corresponding with room where smart jack Breath.
In step 502, user terminal sends geographic location information to server, and geographic location information includes inserting with intelligence The positional information of geographic area is preset corresponding to room where seat;Server receives the geographic location information that user terminal is sent.
In step 503, server obtains the weather of default geographic area.
In step 504, the weather in default geographic area is pre- for the thunder and lightning of Lightning Warning weather and Lightning Warning weather When alert rank is equal to or higher than predetermined level, the request that server sends the weather for carrying default geographic area to user terminal disappears Breath;Wherein, the electric power supply that request message is used to ask the user whether to stop to be connected with smart jack.
In step 505, the request message of the weather for the default geographic area of carrying that user terminal the reception server is sent; Weather in default geographic area is equal to or higher than for the Lightning Warning rank of Lightning Warning weather and Lightning Warning weather to be preset During grade, user terminal sends response message to server;Wherein, response message is used to indicate that server controls smart jack stops The only electric power supply to be connected with smart jack.
In step 506, server receives the response message that user terminal returns, and is knowing that user refers to according to response message During the electric power supply for showing stopping to be connected with smart jack, shutdown command is sent to smart jack.
The technical scheme provided by this disclosed embodiment, by the weather of default geographic area where analyzing socket, pre- If the weather of geographic area is equal to or higher than predetermined level for the Lightning Warning rank of Lightning Warning weather and Lightning Warning weather When, ask the user whether that it is the electric power supply being connected with smart jack to stop, and when obtaining the instruction of user, control intelligence to insert The electric power supply that seat stops being connected with smart jack, user house can be avoided to neutralize the electrical equipment of enterprise and hit by thunder and lightning, so as to The possibility that thunder and lightning causes electrical equipment to damage is preferably minimized, user's loss can be reduced, improves the intelligent level of smart jack, Improve Consumer's Experience.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.
Fig. 6 is a kind of block diagram of smart jack control device according to an exemplary embodiment, and the device can be adopted Implement in various manners, such as all components of implementation in the server, or, in server side in a coupled manner Component in implementation;The device can by software, hardware or both be implemented in combination with it is above-mentioned this disclosure relates to side Method, as shown in fig. 6, the smart jack control device includes:First acquisition module 601 and the first sending module 602, wherein:
First acquisition module 601 is configured as obtaining the weather of default geographic area;
The weather that first sending module 602 is configured as in default geographic area is Lightning Warning weather and Lightning Warning When the Lightning Warning rank of weather is equal to or higher than predetermined level, shutdown command is sent to smart jack;Wherein, shutdown command is used The electric power supply for stopping being connected with smart jack in indicating intelligent socket.
The device that the embodiment of the present disclosure provides can be used in performing the technical scheme of embodiment illustrated in fig. 2, its executive mode Similar with beneficial effect, here is omitted.
In a kind of possible embodiment, as shown in fig. 7, the smart jack control device shown in Fig. 6 can also include First sending module 602 is configured to include:First sending submodule 701, the sending submodule of receiving submodule 702 and second 703, wherein:
The weather that first sending submodule 701 is configured as in default geographic area is Lightning Warning weather and thunder and lightning is pre- When the Lightning Warning rank of alert weather is equal to or higher than predetermined level, the weather for carrying default geographic area is sent to user terminal Request message;Wherein, the electric power supply that request message is used to ask the user whether to stop to be connected with smart jack;
Receiving submodule 702 is configured as receiving the response message that user terminal returns;
It is to connect with smart jack that second sending submodule 703, which is configured as knowing that user indicates to stop according to response message, During the electric power supply connect, shutdown command is sent to smart jack.
In a kind of possible embodiment, as shown in figure 8, the smart jack control device shown in Fig. 6 can also include: First receiving module 801, it is configured as receiving the geographic location information that user terminal is sent;Wherein, geographic location information includes The positional information of default geographic area corresponding with room where smart jack.
Fig. 9 is a kind of block diagram of smart jack control device according to an exemplary embodiment, and the device can be adopted Implement in various manners, such as all components of implementation in the user terminal, or, in subscriber terminal side to couple Component in mode implementation;The device can by software, hardware or both be implemented in combination with it is above-mentioned this disclosure relates to Method, as shown in figure 9, the smart jack control device includes:Second receiving module 901 and the second sending module 902, its In:
The request that second receiving module 901 is configured as the weather of the default geographic area of carrying of the reception server transmission disappears Breath;Wherein, the electric power supply that request message is used to ask the user whether to stop to be connected with smart jack;
The weather that second sending module 902 is configured as in default geographic area is Lightning Warning weather and Lightning Warning When the Lightning Warning rank of weather is equal to or higher than predetermined level, response message is sent to server;Wherein, response message is used for Indicate the electric power supply that server controls smart jack stops being connected with smart jack.
The device that the embodiment of the present disclosure provides can be used in performing the technical scheme of embodiment illustrated in fig. 4, its executive mode Similar with beneficial effect, here is omitted.
In a kind of possible embodiment, as shown in Figure 10, the smart jack control device shown in Fig. 9 can also wrap Include:Second acquisition module 1001 and the 3rd sending module 1002, wherein:
Second acquisition module 1001 is configured as obtaining the position of default geographic area corresponding with room where smart jack Confidence ceases;
3rd sending module 1002 is configured as sending geographic location information to server;Wherein, geographic location information bag Include the positional information of default geographic area corresponding with room where smart jack.
Figure 11 is a kind of block diagram of smart jack control device 1100 according to an exemplary embodiment, smart jack Control device 1100 is applied to server, and smart jack control device 1100 includes:
Processor 1101;
For storing the memory 1102 of processor-executable instruction;
Wherein, processor 1101 is configured as:
Obtain the weather of default geographic area;
Weather in default geographic area be equal to for the Lightning Warning rank of Lightning Warning weather and Lightning Warning weather or During higher than predetermined level, shutdown command is sent to smart jack;Wherein, shutdown command be used for indicating intelligent socket and stop be and intelligence The electric power supply of energy socket connection.
In one embodiment, above-mentioned processor 1101 is also configured to:Weather in default geographic area is thunder and lightning When the Lightning Warning rank of early warning weather and Lightning Warning weather is equal to or higher than predetermined level, sends and carry to user terminal The request message of the weather of default geographic area;Wherein, it is to connect with smart jack that request message, which is used to ask the user whether to stop, The electric power supply connect;
Receive the response message that user terminal returns;
When knowing that user indicates to stop the electric power supply to be connected with smart jack according to response message, to smart jack Send shutdown command.
In one embodiment, above-mentioned processor 1101 is also configured to:Receive the geographical position that user terminal is sent Message;Wherein, geographic location information includes the positional information of default geographic area corresponding with room where smart jack.
Example, Lightning Warning rank comprises at least:Yellowness ratings, orange grade and red scale.
Figure 12 is a kind of block diagram of smart jack control device 1200 according to an exemplary embodiment, smart jack Control device 1200 is applied to user terminal, and smart jack control device 1200 includes:
Processor 1201;
For storing the memory 1202 of processor-executable instruction;
Wherein, processor 1201 is configured as:
The request message of the weather for the default geographic area of carrying that the reception server is sent;Wherein, request message is used to ask Ask whether user stops the electric power supply to be connected with smart jack;
Weather in default geographic area be equal to for the Lightning Warning rank of Lightning Warning weather and Lightning Warning weather or During higher than predetermined level, response message is sent to server;Wherein, response message is used to indicate that server controls smart jack stops The only electric power supply to be connected with smart jack.
In one embodiment, above-mentioned processor 1201 is also configured to:
Obtain the positional information of default geographic area corresponding with room where smart jack;
Geographic location information is sent to server;Wherein, geographic location information includes corresponding with room where smart jack Default geographic area positional information.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 13 is a kind of block diagram of smart jack control device according to an exemplary embodiment, and smart jack controls Device 1300 is applied to terminal.Smart jack control device 1300 can include following one or more assemblies:Processing component 1302, memory 1304, power supply module 1306, multimedia groupware 1308, audio-frequency assembly 1310, the interface of input/output (I/O) 1312, sensor cluster 1314, and communication component 1316.
Processing component 1302 generally controls the integrated operation of smart jack control device 1300, is such as exhaled with display, phone Cry, data communication, camera operation and record operate associated operation.Processing component 1302 can include one or more processing Device 1320 carrys out execute instruction, to complete all or part of step of above-mentioned method.In addition, processing component 1302 can include one Individual or multiple modules, the interaction being easy between processing component 1302 and other assemblies.For example, processing component 1302 can include it is more Media module, to facilitate the interaction between multimedia groupware 1308 and processing component 1302.
Memory 1304 is configured as storing various types of data to support the behaviour in smart jack control device 1300 Make.The example of these data includes the finger of any application program or method for being operated on smart jack control device 1300 Order, contact data, telephone book data, message, picture, video etc..Memory 1304 can by any kind of volatibility or Non-volatile memory device or combinations thereof are realized, such as static RAM (SRAM), electrically erasable Read-only storage (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM) are read-only Memory (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 1306 provides electric power for the various assemblies of smart jack control device 1300.Power supply module 1306 can be with Including power-supply management system, one or more power supplys, and other are with generating, managing and distributing for smart jack control device 1300 The associated component of electric power.
Multimedia groupware 1308 is included in one output interface of offer between smart jack control device 1300 and user Screen.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes Touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more Individual touch sensor is with the gesture on sensing touch, slip and touch panel.Touch sensor can not only sensing touch or cunning The border of action, but also detect the duration and pressure to touching or slide is related.In certain embodiments, it is more Media component 1308 includes a front camera and/or rear camera.When smart jack control device 1300 is in operation Pattern, during such as screening-mode or video mode, front camera and/or rear camera can receive the multimedia number of outside According to.Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom Ability.
Audio-frequency assembly 1310 is configured as output and/or input audio signal.For example, audio-frequency assembly 1310 includes a wheat Gram wind (MIC), when smart jack control device 1300 is in operator scheme, such as call model, logging mode and speech recognition mould During formula, microphone is configured as receiving external audio signal.The audio signal received can be further stored in memory 1304 or sent via communication component 1316.In certain embodiments, audio-frequency assembly 1310 also includes a loudspeaker, for defeated Go out audio signal.
I/O interfaces 1312 provide interface, above-mentioned peripheral interface module between processing component 1302 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 1314 includes one or more sensors, each for being provided for smart jack control device 1300 The state estimation of aspect.For example, sensor cluster 1314 can detect smart jack control device 1300 beat opening/closing shape State, the relative positioning of component, such as component be smart jack control device 1300 display and keypad, sensor cluster 1314 positions that can also detect 1,300 1 components of smart jack control device 1300 or smart jack control device change, and use The existence or non-existence that family contacts with smart jack control device 1300, the orientation of smart jack control device 1300 or acceleration/subtract The temperature change of speed and smart jack control device 1300.Sensor cluster 1314 can include proximity transducer, be configured to use To detect the presence of object nearby in no any physical contact.Sensor cluster 1314 can also include optical sensor, Such as CMOS or ccd image sensor, for being used in imaging applications.In certain embodiments, the sensor cluster 1314 is gone back Acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor can be included.
Communication component 1316 is configured to facilitate wired or wireless between smart jack control device 1300 and other equipment The communication of mode.Smart jack control device 1300 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, Or combinations thereof.In one exemplary embodiment, communication component 1316 receives via broadcast channel and comes from external broadcasting pipe The broadcast singal or broadcast related information of reason system.In one exemplary embodiment, communication component 1316 also leads to including near field (NFC) module is believed, to promote junction service.For example, radio frequency identification (RFID) technology, infrared data association can be based in NFC module Meeting (IrDA) technology, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, smart jack control device 1300 can be by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), scene can Program gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks to realize, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1304 of instruction, above-mentioned instruction can be performed by the processor 1320 of smart jack control device 1300 to complete The above method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, Tape, floppy disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is by smart jack control device During 1300 computing device so that smart jack control device 1300 is able to carry out following method, and method includes:
The request message of the weather for the default geographic area of carrying that the reception server is sent;Wherein, request message is used to ask Ask whether user stops the electric power supply to be connected with smart jack;
Weather in default geographic area be equal to for the Lightning Warning rank of Lightning Warning weather and Lightning Warning weather or During higher than predetermined level, response message is sent to server;Wherein, response message is used to indicate that server controls smart jack stops The only electric power supply to be connected with smart jack.
In one embodiment, method also includes:
Obtain the positional information of default geographic area corresponding with room where smart jack;
Geographic location information is sent to server;Wherein, geographic location information includes corresponding with room where smart jack Default geographic area positional information.
Figure 14 is a kind of block diagram of smart jack control device according to an exemplary embodiment.For example, intelligence is inserted Seat control device 1400 may be provided in a server.Smart jack control device 1400 includes processing component 1402, and it enters One step includes one or more processors, and as the memory resource representated by memory 1403, can be by handling for storing The instruction of the execution of component 1402, such as application program.The application program stored in memory 1403 can include one or one Individual above each corresponds to the module of one group of instruction.In addition, processing component 1402 is configured as execute instruction, with execution State method.
Smart jack control device 1400 can also be configured as performing smart jack control including a power supply module 1406 The power management of device 1400 processed, a wired or wireless network interface 1405 are configured as smart jack control device 1400 It is connected to network, and input and output (I/O) interface 1408.Smart jack control device 1400, which can operate, to be based on being stored in The operating system of memory 1403, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM It is or similar.
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is by smart jack control device During 1400 computing device so that smart jack control device 1400 is able to carry out following method, and method includes:
Obtain the weather of default geographic area;
Weather in default geographic area be equal to for the Lightning Warning rank of Lightning Warning weather and Lightning Warning weather or During higher than predetermined level, shutdown command is sent to smart jack;Wherein, shutdown command be used for indicating intelligent socket and stop be and intelligence The electric power supply of energy socket connection.
In one embodiment, the weather in default geographic area is Lightning Warning weather and the thunder of Lightning Warning weather When electric warning level is equal to or higher than predetermined level, shutdown command is sent to smart jack, including:
Weather in default geographic area be equal to for the Lightning Warning rank of Lightning Warning weather and Lightning Warning weather or During higher than predetermined level, the request message for the weather for carrying default geographic area is sent to user terminal;Wherein, request message is used In asking the user whether to stop as the electric power supply that being connected with smart jack;
Receive the response message that user terminal returns;
When knowing that user indicates to stop the electric power supply to be connected with smart jack according to response message, to smart jack Send shutdown command.
In one embodiment, method also includes:
Receive the geographic location information that user terminal is sent;Wherein, geographic location information includes and room where smart jack Between corresponding default geographic area positional information.
In one embodiment, Lightning Warning rank comprises at least:Yellowness ratings, orange grade and red scale.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (15)

  1. A kind of 1. smart jack control method, it is characterised in that including:
    Obtain the weather of default geographic area;
    Weather in the default geographic area is Lightning Warning rank of Lightning Warning weather and the Lightning Warning weather etc. When predetermined level, shutdown command is sent to smart jack;Wherein, the shutdown command is used to indicate that the intelligence is inserted The electric power supply that seat stops being connected with the smart jack.
  2. 2. according to the method for claim 1, it is characterised in that the weather in the default geographic area is that thunder and lightning is pre- When the Lightning Warning rank of alert weather and the Lightning Warning weather is equal to or higher than predetermined level, sends and close to smart jack Order is closed, including:
    Weather in the default geographic area is Lightning Warning rank of Lightning Warning weather and the Lightning Warning weather etc. When predetermined level, the request message for the weather for carrying the default geographic area is sent to user terminal;Wherein, institute State the electric power supply that request message is used to ask the user whether to stop to be connected with smart jack;
    Receive the response message that the user terminal returns;
    When knowing that the user indicates to stop the electric power supply to be connected with the smart jack according to the response message, to The smart jack sends shutdown command.
  3. 3. according to the method for claim 1, it is characterised in that methods described also includes:
    Receive the geographic location information that the user terminal is sent;Wherein, the geographic location information includes inserting with the intelligence The positional information of the default geographic area corresponding to room where seat.
  4. 4. according to the method for claim 1, it is characterised in that the Lightning Warning rank comprises at least:Yellowness ratings, orange Colour gradation and red scale.
  5. A kind of 5. smart jack control method, it is characterised in that including:
    The request message of the weather for the default geographic area of carrying that the reception server is sent;Wherein, the request message is used to ask Ask whether user stops the electric power supply to be connected with smart jack;
    Weather in the default geographic area is Lightning Warning rank of Lightning Warning weather and the Lightning Warning weather etc. When predetermined level, response message is sent to the server;Wherein, the response message is used to indicate the service Device controls the electric power supply that the smart jack stops being connected with the smart jack.
  6. 6. according to the method for claim 5, it is characterised in that methods described also includes:
    Obtain the positional information of default geographic area corresponding with room where the smart jack;
    Geographic location information is sent to the server;Wherein, the geographic location information includes and smart jack place The positional information of the default geographic area corresponding to room.
  7. A kind of 7. smart jack control device, it is characterised in that including:
    First acquisition module, for obtaining the weather of default geographic area;
    First sending module, it is Lightning Warning weather and the Lightning Warning day for the weather in the default geographic area When the Lightning Warning rank of gas is equal to or higher than predetermined level, shutdown command is sent to smart jack;Wherein, the shutdown command For indicating that the smart jack stops the electric power supply to be connected with the smart jack.
  8. 8. device according to claim 7, it is characterised in that first sending module, including:
    First sending submodule, it is Lightning Warning weather and the Lightning Warning for the weather in the default geographic area When the Lightning Warning rank of weather is equal to or higher than predetermined level, the day for carrying the default geographic area is sent to user terminal The request message of gas;Wherein, the electric power supply that the request message is used to ask the user whether to stop to be connected with smart jack;
    Receiving submodule, the response message returned for receiving the user terminal;
    Second sending submodule, for knowing that the user indicates to stop to be and the smart jack according to the response message During the electric power supply of connection, shutdown command is sent to the smart jack.
  9. 9. device according to claim 7, it is characterised in that described device also includes:
    First receiving module, the geographic location information sent for receiving the user terminal;Wherein, the geographic location information Include the positional information of the default geographic area corresponding with room where the smart jack.
  10. A kind of 10. smart jack control device, it is characterised in that including:
    Second receiving module, the request message of the weather of the default geographic area of carrying sent for the reception server;Wherein, institute State the electric power supply that request message is used to ask the user whether to stop to be connected with smart jack;
    Second sending module, it is Lightning Warning weather and the Lightning Warning day for the weather in the default geographic area When the Lightning Warning rank of gas is equal to or higher than predetermined level, response message is sent to the server;Wherein, the response disappears Cease for indicating that smart jack described in the server controls stops the electric power supply to be connected with the smart jack.
  11. 11. device according to claim 10, it is characterised in that described device also includes:
    Second acquisition module, for obtaining the positional information of default geographic area corresponding with room where the smart jack;
    3rd sending module, for sending geographic location information to the server;Wherein, the geographic location information include with The positional information of the default geographic area corresponding to room where the smart jack.
  12. A kind of 12. smart jack control device, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    Obtain the weather of default geographic area;
    Weather in the default geographic area is Lightning Warning rank of Lightning Warning weather and the Lightning Warning weather etc. When predetermined level, shutdown command is sent to smart jack;Wherein, the shutdown command is used to indicate that the intelligence is inserted The electric power supply that seat stops being connected with the smart jack.
  13. A kind of 13. smart jack control device, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    The request message of the weather for the default geographic area of carrying that the reception server is sent;Wherein, the request message is used to ask Ask whether user stops the electric power supply to be connected with smart jack;
    Weather in the default geographic area is Lightning Warning rank of Lightning Warning weather and the Lightning Warning weather etc. When predetermined level, response message is sent to the server;Wherein, the response message is used to indicate the service Device controls the electric power supply that the smart jack stops being connected with the smart jack.
  14. 14. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that the instruction is by processor The step of method any one of claim 1-4 is realized during execution.
  15. 15. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that the instruction is by processor The step of claim 5 or 6 methods described are realized during execution.
CN201710901504.4A 2017-09-28 2017-09-28 Smart jack control method and device Pending CN107544417A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710901504.4A CN107544417A (en) 2017-09-28 2017-09-28 Smart jack control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710901504.4A CN107544417A (en) 2017-09-28 2017-09-28 Smart jack control method and device

Publications (1)

Publication Number Publication Date
CN107544417A true CN107544417A (en) 2018-01-05

Family

ID=60964934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710901504.4A Pending CN107544417A (en) 2017-09-28 2017-09-28 Smart jack control method and device

Country Status (1)

Country Link
CN (1) CN107544417A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108832593A (en) * 2018-07-09 2018-11-16 安徽诚意电气科技有限公司 A kind of security appliance means of defence based on Lightning Warning
CN108894653A (en) * 2018-07-09 2018-11-27 安徽诚意电气科技有限公司 A kind of thunder and lightning weather personnel comfort level management system
CN109725546A (en) * 2018-12-29 2019-05-07 中商物联行(广州)商务有限公司 Socket management-control method, socket control device and socket managing and control system
CN111934143A (en) * 2020-08-04 2020-11-13 广东科徕尼智能科技有限公司 Switch control method and device based on intelligent socket and storage medium
CN111987691A (en) * 2020-08-06 2020-11-24 珠海格力电器股份有限公司 Equipment power-off protection method based on thunderstorm early warning, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986034A (en) * 2014-05-18 2014-08-13 西安文理学院 Socket capable of automatically powering off
CN203773277U (en) * 2014-03-19 2014-08-13 孙常青 Lightning protection remote control device for device of seismic station
CN203883257U (en) * 2014-02-10 2014-10-15 湖南工程学院 Remote control smart power strip by use of mobile phone
CN104808557A (en) * 2015-04-24 2015-07-29 深圳市彩易生活科技有限公司 Intelligent control method and system and related devices
CN105680252A (en) * 2016-02-25 2016-06-15 广州市立信防雷科技有限公司 Lightning absorption-type internet lightning protection socket
CN205911550U (en) * 2016-08-08 2017-01-25 深圳市盈辉电子有限公司 WIFI smart jack

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203883257U (en) * 2014-02-10 2014-10-15 湖南工程学院 Remote control smart power strip by use of mobile phone
CN203773277U (en) * 2014-03-19 2014-08-13 孙常青 Lightning protection remote control device for device of seismic station
CN103986034A (en) * 2014-05-18 2014-08-13 西安文理学院 Socket capable of automatically powering off
CN104808557A (en) * 2015-04-24 2015-07-29 深圳市彩易生活科技有限公司 Intelligent control method and system and related devices
CN105680252A (en) * 2016-02-25 2016-06-15 广州市立信防雷科技有限公司 Lightning absorption-type internet lightning protection socket
CN205911550U (en) * 2016-08-08 2017-01-25 深圳市盈辉电子有限公司 WIFI smart jack

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108832593A (en) * 2018-07-09 2018-11-16 安徽诚意电气科技有限公司 A kind of security appliance means of defence based on Lightning Warning
CN108894653A (en) * 2018-07-09 2018-11-27 安徽诚意电气科技有限公司 A kind of thunder and lightning weather personnel comfort level management system
CN109725546A (en) * 2018-12-29 2019-05-07 中商物联行(广州)商务有限公司 Socket management-control method, socket control device and socket managing and control system
CN111934143A (en) * 2020-08-04 2020-11-13 广东科徕尼智能科技有限公司 Switch control method and device based on intelligent socket and storage medium
CN111987691A (en) * 2020-08-06 2020-11-24 珠海格力电器股份有限公司 Equipment power-off protection method based on thunderstorm early warning, storage medium and electronic equipment
CN111987691B (en) * 2020-08-06 2022-11-22 珠海格力电器股份有限公司 Equipment power-off protection method based on thunderstorm early warning, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
EP3144915B1 (en) Method and apparatus for controlling device, and terminal device
CN107544417A (en) Smart jack control method and device
EP2930705B1 (en) Method and apparatus for controlling smart terminal
CN104932455B (en) The group technology and apparatus for grouping of smart machine in intelligent domestic system
EP3136793B1 (en) Method and apparatus for awakening electronic device
EP3131258A1 (en) Smart household equipment control methods and corresponding apparatus
US20160133104A1 (en) Self-contained security system including voice and video calls via the internet
CN109946986B (en) Household appliance control method, wearable device and computer readable storage medium
CN104539776A (en) Alarm prompting method and device
CN107886321B (en) Payment method and mobile terminal
CN104898505A (en) Smart scene configuration method and device
CN109327672B (en) Video call method and terminal
CN104168605A (en) Data transmission control method and apparatus
CN104184668A (en) Networking method, networking device, router and third-party device of Internet of things
CN106454196A (en) Method, device and system for home appliance video calling, and air conditioner
EP3223147A2 (en) Method for accessing virtual desktop and mobile terminal
CN104159218A (en) Network connection establishment method and device
US20210360489A1 (en) Methods and devices for reducing temperature for user equipment
CN106789461A (en) The method and device of intelligent home device connection
CN103916975A (en) Network connection management method and device
EP4099690A1 (en) Enhanced video call method and system, and electronic device
US20150288764A1 (en) Method and apparatus for controlling smart terminal
EP3048508A1 (en) Methods, apparatuses and devices for transmitting data
CN106532367B (en) The method and apparatus of intelligent socket electricity consumption warning
CN105575089A (en) Remote control method, device, apparatus and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180105