CN106997326A - Control method, device and the computer-readable recording medium of smart jack - Google Patents
Control method, device and the computer-readable recording medium of smart jack Download PDFInfo
- Publication number
- CN106997326A CN106997326A CN201710214522.5A CN201710214522A CN106997326A CN 106997326 A CN106997326 A CN 106997326A CN 201710214522 A CN201710214522 A CN 201710214522A CN 106997326 A CN106997326 A CN 106997326A
- Authority
- CN
- China
- Prior art keywords
- intelligent terminal
- smart jack
- socket
- electric power
- power system
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
- G01D21/02—Measuring two or more variables by means not covered by a single other subclass
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/78—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Power Sources (AREA)
Abstract
The disclosure is directed to a kind of control method of smart jack, device and computer-readable recording medium, this method includes:Obtain the dump energy of electric power system;When the dump energy is less than threshold value, the control command corresponding with the working condition of the intelligent terminal is sent in running order intelligent terminal, wherein, the electric power system is powered by the smart jack to the intelligent terminal.The disclosure can be prevented effectively from intelligent terminal the brought loss of shutdown suddenly caused by the not enough power supply of electric power system.
Description
Technical field
This disclosure relates to electronic technology field, more particularly to the control method of smart jack, device and computer-readable deposit
Storage media.
Background technology
In correlation technique, when the intelligent terminal being currently running is powered off suddenly, the file that intelligent terminal is currently running can be damaged
Lose.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of control method of smart jack, device and meter
Calculation machine readable storage medium storing program for executing.
According to the first aspect of the embodiment of the present disclosure there is provided a kind of control method of smart jack, including:
Obtain the dump energy of electric power system;
When the dump energy is less than threshold value, sent and the working condition phase in running order intelligent terminal
Corresponding control command,
Wherein, the electric power system is powered by the smart jack to the intelligent terminal.
For the above method, in a kind of possible implementation, in addition to:
Matching with first socket for the intelligent terminal is inserted in response to the first socket of the smart jack
Latch, detect that first socket whether there is electric current;
When detecting first socket and there is electric current, it is defined as the intelligent terminal and is in the working condition.
For the above method, in a kind of possible implementation, in addition to:
Matching with second socket for the intelligent terminal is inserted in response to the second socket of the smart jack
Data wire, to the intelligent terminal send for inquire the intelligent terminal whether be in the working condition request;
When receiving the confirmation that the intelligent terminal is returned, it is defined as the intelligent terminal and is in the work shape
State.
For the above method, in a kind of possible implementation, the dump energy of electric power system is obtained, including:
From any one or more acquisition residue in the electric power system, the intelligent terminal and cloud server
Electricity.
For the above method, in a kind of possible implementation, the control command includes being used to make the intelligence eventually
End preserves the order for the file being currently running or for making the intelligent terminal be shut down after the file being currently running is saved
Order.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of control device of smart jack, including:
Acquisition module, the dump energy for obtaining electric power system;
First sending module, is connected with the acquisition module, for when the dump energy is less than threshold value, in work
The intelligent terminal for making state sends the control command corresponding with the working condition,
Wherein, the electric power system is powered by the smart jack to the intelligent terminal.
For above-mentioned control device, in a kind of possible implementation, in addition to:
Detection module, for the first socket in response to the smart jack insert the intelligent terminal with described
The latch that one socket matches, detects that first socket whether there is electric current;
First determining module, is connected with first sending module and the detection module, in the detection module
When detecting first socket and there is electric current, it is defined as the intelligent terminal and is in the working condition.
For above-mentioned control device, in a kind of possible implementation, in addition to:
Second sending module, insert the intelligent terminal for the second socket in response to the smart jack with institute
The data wire that the second socket matches is stated, is sent to the intelligent terminal for inquiring whether the intelligent terminal is in the work
Make the request of state;
Second determining module, is connected with first sending module, for receiving the intelligent terminal return really
When recognizing information, it is defined as the intelligent terminal and is in the working condition.
For above-mentioned control device, in a kind of possible implementation, the acquisition module is configured as supplying from described
Any one or more acquisition dump energy in electric system, the intelligent terminal and cloud server.
For above-mentioned control device, in a kind of possible implementation, the control command includes being used to make the intelligence
Energy terminal preserves the order for the file being currently running or for making the intelligent terminal after the file being currently running is saved
The order of shutdown.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of control device of smart jack, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain the dump energy of electric power system;
When the dump energy is less than threshold value, sent and the working condition phase in running order intelligent terminal
Corresponding control command,
Wherein, the electric power system is powered by the smart jack to the intelligent terminal.
According to the fourth aspect of the disclosure there is provided a kind of non-volatile computer readable storage medium storing program for executing, it is stored thereon with
Computer program, the program realizes the above method when being executed by processor.
The technical scheme provided by this disclosed embodiment can include the following benefits:Pass through the residue in electric power system
Send control command in running order intelligent terminal during not enough power supply, can cause intelligent terminal power-off (shutdown) it
It is preceding to preserve the file being currently running, closed suddenly so as to be prevented effectively from the intelligent terminal caused by the not enough power supply of electric power system
The loss that machine is brought.
Further, just it is capable of determining that whether intelligent terminal is in work shape with the presence or absence of electric current according to the first socket
State, operation is simple and reliable.
Further, according to whether whether the confirmation for receiving intelligent terminal return is just capable of determining that intelligent terminal
In running order, operation is simple and reliable, and allows intelligent terminal to be correctly received and perform (processing) smart jack
Transmitted control command, effectively prevent what the shutdown suddenly of the intelligent terminal caused by the not enough power supply of electric power system was brought
Loss.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes 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 a are the schematic diagrames of an example of the application scenarios of the exemplary embodiment of the disclosure.
Fig. 1 b are the schematic diagrames of an example of the smart jack of the exemplary embodiment of the disclosure.
Fig. 1 c are the schematic diagrames of an example of the Intelligent socket of the exemplary embodiment of the disclosure.
Fig. 1 d are a kind of flow charts of the control method of smart jack according to an exemplary embodiment.
Fig. 2 a are the schematic diagrames of an example of the application scenarios of the exemplary embodiment of the disclosure.
Fig. 2 b are a kind of flows of an example of the control method of smart jack according to an exemplary embodiment
Figure.
Fig. 3 a are the schematic diagrames of an example of the application scenarios of the exemplary embodiment of the disclosure.
Fig. 3 b are a kind of flows of an example of the control method of smart jack according to an exemplary embodiment
Figure.
Fig. 4 is the flow of the control method of a kind of smart jack according to an exemplary embodiment and intelligent terminal
Figure.
Fig. 5 is a kind of block diagram of the control device of smart jack according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of one example of control device of smart jack according to an exemplary embodiment.
Fig. 7 is a kind of block diagram for being used to control the device of smart jack 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.
Fig. 1 a are the schematic diagram of an example of the application scenarios of the exemplary embodiment of the disclosure, as shown in Figure 1a, city
Electricity input can flow into the intelligent terminal being connected with smart jack to electric power system via smart jack, so as to be intelligent terminal
Power supply.Wherein, civil power input is exchange input.Optionally, intelligent terminal can be such as computer, mobile phone, TV, router
Deng possess task processing, task keep etc. function smart machine.Optionally, smart jack can include task processor,
It can receive, generate, send and handle the task order of correlation.
Optionally, when the civil power of purchase is finished, civil power input can be interrupted, then in running order intelligent terminal (example
Such as, notebook computer, smart mobile phone etc.) file being currently running may be lost.Optionally, exist in intelligent terminal and transport
When capable application program or application software, the intelligent terminal is in running order.If for example, intelligent terminal is currently running
Word, then the intelligent terminal is in running order.Optionally, when intelligent terminal is in shutdown charged state, the intelligent terminal
It is not on working condition.
Fig. 1 b are the schematic diagrames of an example of the smart jack of the exemplary embodiment of the disclosure, and Fig. 1 c are the disclosure
The schematic diagram of one example of the Intelligent socket of exemplary embodiment.Wherein, Intelligent socket is a type of smart jack, intelligence
Energy insert row is that multiple smart jacks are integrated the porous socket formed by.As shown in figs. lb and lc, intelligent terminal can
To insert the jack of socket for example, by latch or data wire, to receive the electric power of electric power system offer.
Fig. 1 d are a kind of flow charts of the control method of smart jack according to an exemplary embodiment, such as Fig. 1 d institutes
Show, the control method is used in smart jack, and as described above, electric power system is powered by smart jack to intelligent terminal, should
Control method may comprise steps of.
In step s 110, the dump energy of electric power system is obtained.
Optionally, electric power system is that by the work(for the on and off for controlling civil power to input according to the civil power of purchase
Any form of software or hardware unit of energy, such as ammeter, electric brake, the disclosure is without limitation.Optionally, power supply system
System can also obtain and show the dump energy of the civil power of purchase in real time.For example, electric power system can be from the power supply for providing civil power
Company obtains the dump energy of civil power in real time.Optionally, electric power system can also be being received only for acquisition request civil power
The dump energy of the civil power of purchase is obtained and shown during the request of dump energy.
, can be from any one in electric power system, intelligent terminal and cloud server in a kind of possible embodiment
Item or multinomial acquisition dump energy.
Optionally, the request of the dump energy for acquisition request civil power can be sent to electric power system, and receives power supply
The dump energy for the acquired civil power that system is sent.Optionally, smart jack can by electric power system and smart jack it
Between communication connection, directly obtain the dump energy of civil power in real time from electric power system.Optionally, smart jack can receive intelligence
The dump energy for the acquired civil power that terminal is sent.Optionally, smart jack can obtain civil power in real time from cloud server
Dump energy.
It should be noted that in addition to the mode of the dump energy of above-mentioned acquisition electric power system, related skill can also be taken
Other any appropriate ways of art, the disclosure is not restricted to this.
In step s 130, when the dump energy is less than threshold value, sent in running order intelligent terminal with being somebody's turn to do
The corresponding control command of the working condition of intelligent terminal.
For example, the threshold value can be that remaining 1 degree of electricity or the electricity charge are remaining 5 yuan.
Optionally, the disclosure both can given threshold automatically, can also be according to the setting of user come given threshold.For example,
User can pre-set threshold value by the application APP of smart jack.Optionally, the disclosure can both automatically generate control
System order, can also generate control command according to the setting of user.For example, user can pass through intelligent terminal and smart jack
Interrelated and application APP by smart jack pre-sets control command (trigger command).
Optionally, control command can be corresponding with working condition.So that intelligent terminal edits word as an example, in residue
When electricity is less than threshold value, the order for preserving the word document edited can be sent to the intelligent terminal.With intelligent terminal just
Exemplified by mail is sent, when dump energy is less than threshold value, it can be sent to the intelligent terminal and preserve the mail sent simultaneously
And display whether to continue the order of the transmission mail when turning back on.
Optionally, when dump energy is less than threshold value, electric power system will turn off civil power input, and electric power system can not be again
Intelligent terminal is powered, and intelligent terminal may shut down suddenly.
In a kind of possible embodiment, the control command includes being used to make intelligent terminal preserve the file being currently running
Order or order for making intelligent terminal be shut down after the file being currently running is saved.
Optionally, when the control command includes the order for being used to make intelligent terminal preserve the file being currently running, for
The file being currently running, can automatically save the content currently inputted.Optionally, include being used to make in the control command
Intelligent terminal can first automatically save currently input interior in the order shut down after saving the file being currently running
Hold and then shut down in advance again.
It should be noted that in addition to above-mentioned control command, other any appropriate control commands, example can also be taken
Such as, the control command can make intelligent terminal show the warning information that will be powered off to remind user to buy civil power or start standby
With the order of power supply, the disclosure is not restricted to this.
Thus, when dump energy is not enough, control command is sent in running order intelligent terminal, intelligence can be caused
Energy terminal preserves the file being currently running in power-off (shutdown) before, can avoid the loss of file being currently running, so as to
Intelligent terminal the brought loss of power-off suddenly when being enough prevented effectively from dump energy deficiency.
Fig. 2 a are the schematic diagram of an example of the application scenarios of the exemplary embodiment of the disclosure, as shown in Figure 2 a, pen
Remember that this computer 202 inserts the socket of smart jack 201 by latch 203, so as to receive the electric power of electric power system offer.Fig. 2 b are
A kind of flow chart of one example of the control method of smart jack according to an exemplary embodiment, as shown in Figure 2 b,
The control method may comprise steps of.
In step S210, matching with the first socket for intelligent terminal is inserted in response to the first socket of smart jack
Latch, detection the first socket whether there is electric current.
In step S230, when detecting the first socket and there is electric current, it is defined as intelligent terminal in running order.
First socket can be 3 ends or 2 end outlets.Optionally, the first socket is inserted in the latch of intelligent terminal
When, it can detect whether the first socket has electric current to flow through, if the first socket has electric current to flow through, intelligent terminal can be determined
It is in running order in power consumption state, i.e. intelligent terminal., whereas if the first socket does not have electric current to flow through, then it can determine
Go out intelligent terminal and be not on working condition in shutdown charged state, i.e. intelligent terminal.
It should be noted that step S210 can be first carried out in the exemplary embodiment of the disclosure is to detect the first socket
It is no to there is electric current, then perform step S230 and step S110 acquisitions are performed to determine that intelligent terminal is in running order, finally
The dump energy of electric power system.The sequential relationship between step S210, step S230 and step S110 can also be changed, for example by
Order according to step S110, step S210, step S230 is performed, or in other orders, the disclosure is not limited between three
Sequential relationship.
Thus, just it is capable of determining that whether intelligent terminal is in running order with the presence or absence of electric current according to the first socket, grasps
Make simple and reliable.
Fig. 3 a are the schematic diagram of an example of the application scenarios of the exemplary embodiment of the disclosure, as shown in Figure 3 a, intelligence
Energy mobile phone 302 inserts the socket 304 (such as USB) of smart jack 301 by data wire 303, so as to receive electric power system
The electric power of offer.Fig. 3 b are a kind of stream of an example of the control method of smart jack according to an exemplary embodiment
Cheng Tu, as shown in Figure 3 b, the control method may comprise steps of.
In step S310, matching with the second socket for intelligent terminal is inserted in response to the second socket of smart jack
Data wire, the request whether in running order for inquiring intelligent terminal is sent to intelligent terminal.
In step S330, when receiving the confirmation of intelligent terminal return, it is defined as intelligent terminal and is in work
State.
Second socket can be the data jacks such as USB.Optionally, inserted in the data wire being connected with intelligent terminal
During the second socket, can to smart jack be mutually related intelligent terminal send be in start running status be in close
The request of machine charged state (i.e., if in running order), if intelligent terminal is in start running status, such as Fig. 3 a institutes
The smart mobile phone 302 shown is in start running status, then intelligent terminal can send confirmation, smart jack to smart jack
It can determine that intelligent terminal is in running order according to the confirmation received.Closed, whereas if intelligent terminal is in
Machine charged state, then intelligent terminal will not send confirmation to smart jack, smart jack be not received by confirmation, intelligence
Energy socket can determine that intelligent terminal is not on working condition.
It should be noted that step S310 can be first carried out in the exemplary embodiment of the disclosure to send to intelligent terminal
The request whether in running order for inquiring intelligent terminal, then performs step S330 to determine that intelligent terminal is in work
Make state, finally perform the dump energy that step S110 obtains electric power system.Step S310, step S330 and step can also be changed
Sequential relationship between rapid S110, for example, perform according to step S110, step S310, step S330 order, or according to it
His order, the disclosure do not limit the sequential relationship between three.
Thus, according to whether the confirmation for receiving intelligent terminal return is just capable of determining that whether intelligent terminal is in
Working condition, operation is simple and reliable, and intelligent terminal to be correctly received and perform (processing) smart jack to be sent out
The control command sent, effectively prevent unexpected the brought damage of shutting down of the intelligent terminal caused by the not enough power supply of electric power system
Lose.
Fig. 4 is a kind of block diagram of the control device of smart jack according to an exemplary embodiment.Reference picture 4, should
Control device 400 can include the sending module 430 of acquisition module 410 and first.Wherein, electric power system passes through smart jack 400
Powered to intelligent terminal (for example, computer, mobile phone etc.).
The acquisition module 410 is configured as obtaining the dump energy of electric power system.
In a kind of possible embodiment, acquisition module 410 is configured as taking from electric power system, intelligent terminal and high in the clouds
Any one or more acquisition dump energy being engaged in device.
First sending module 430 is connected with acquisition module 410, is configured as when dump energy is less than threshold value, to place
The control command corresponding with the working condition of intelligent terminal is sent in the intelligent terminal of working condition.
In a kind of possible embodiment, control command is included for making intelligent terminal preserve the file being currently running
Order or the order for making intelligent terminal be shut down after the file being currently running is saved.
Fig. 5 is a kind of block diagram of an example of the control device of smart jack according to an exemplary embodiment.
Reference picture 5, the smart jack 500 can also include the determining module 530 of detection module 510 and first.
The first socket that the detection module 510 is configured to respond to smart jack inserts being inserted with first for intelligent terminal
The latch that mouth matches, the first socket of detection whether there is electric current.
First determining module 530 is connected with the first sending module 430 and detection module 510, is configured as in detection mould
When block detects the first socket and there is electric current, it is defined as intelligent terminal in running order.
Fig. 6 is a kind of block diagram of an example of the control device of smart jack according to an exemplary embodiment.
Reference picture 6, the smart jack 600 can also include the second sending module 610 and the second determining module 630.
Second sending module 610 be configured to respond to smart jack the second socket insert intelligent terminal with
The data wire that two sockets match, the request whether in running order for inquiring intelligent terminal is sent to intelligent terminal.
Second determining module 630 is connected with the first sending module 430, is configured as receiving intelligent terminal return really
When recognizing information, it is defined as intelligent terminal in running order.
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.
Thus, ordered by the dump energy in electric power system when not enough in running order intelligent terminal transmission control
Order, can cause intelligent terminal to preserve the file being currently running before in power-off (shutdown), so as to be prevented effectively from power supply system
Intelligent terminal the brought loss of shutdown suddenly caused by the not enough power supply of system.Also, according to the first socket with the presence or absence of electricity
Stream is just capable of determining that whether intelligent terminal is in running order, and operation is simple and reliable.In addition, according to whether receiving intelligent end
The confirmation that end is returned just is capable of determining that whether intelligent terminal is in running order, and operation is simple and reliable, and causes intelligence
Energy terminal can be correctly received and perform the control command transmitted by (processing) smart jack, effectively prevent electric power system
Intelligent terminal the brought loss of shutdown suddenly caused by not enough power supply.
Fig. 7 is a kind of block diagram for being used to control the device 800 of smart jack according to an exemplary embodiment.Example
Such as, device 800 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game console, flat board is set
It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 7, device 800 can include following one or more assemblies:Processing assembly 802, memory 804, power supply
Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and
Communication component 816.
The integrated operation of the usual control device 800 of processing assembly 802, such as with display, call, data communication, phase
Machine operates the operation associated with record operation.Processing assembly 802 can refer to including one or more processors 820 to perform
Order, to complete all or part of step of above-mentioned method.In addition, processing assembly 802 can include one or more modules, just
Interaction between processing assembly 802 and other assemblies.For example, processing assembly 802 can include multi-media module, it is many to facilitate
Interaction between media component 808 and processing assembly 802.
Memory 804 is configured as storing various types of data supporting the operation in device 800.These data are shown
Example includes the instruction of any application program or method for being operated on device 800, and contact data, telephone book data disappears
Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile
Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 800 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings
Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action
Border, but also detection touches or slide related duration and pressure with described.In certain embodiments, many matchmakers
Body component 808 includes a front camera and/or rear camera.When device 800 be in operator scheme, such as screening-mode or
During video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each front camera and
Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike
Wind (MIC), when device 800 be in operator scheme, when such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The audio signal received can be further stored in memory 804 or via communication set
Part 816 is sent.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 is provide interface between processing assembly 802 and peripheral interface module, above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented
Estimate.For example, sensor cluster 814 can detect opening/closed mode of device 800, the relative positioning of component is for example described
Component is the display and keypad of device 800, and sensor cluster 814 can be with 800 1 components of detection means 800 or device
Position change, the existence or non-existence that user contacts with device 800, the orientation of device 800 or acceleration/deceleration and device 800
Temperature change.Sensor cluster 814 can include proximity transducer, be configured to detect in not any physical contact
The presence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into
As being used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device
800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation
In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuits (ASIC), numeral
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, 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 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 800.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention 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 knowledge 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 (12)
1. a kind of control method of smart jack, it is characterised in that including:
Obtain the dump energy of electric power system;
When the dump energy is less than threshold value, send corresponding with the working condition in running order intelligent terminal
Control command,
Wherein, the electric power system is powered by the smart jack to the intelligent terminal.
2. control method according to claim 1, it is characterised in that also include:
Insert the intelligent terminal in response to the first socket of the smart jack with inserting that first socket matches
Pin, detects that first socket whether there is electric current;
When detecting first socket and there is electric current, it is defined as the intelligent terminal and is in the working condition.
3. control method according to claim 1, it is characterised in that also include:
The number matched with second socket of the intelligent terminal is inserted in response to the second socket of the smart jack
According to line, sent to the intelligent terminal for inquiring whether the intelligent terminal is in the request of the working condition;
When receiving the confirmation that the intelligent terminal is returned, it is defined as the intelligent terminal and is in the working condition.
4. control method according to any one of claim 1 to 3, it is characterised in that obtain the residue electricity of electric power system
Amount, including:
From the remaining electricity of any one or more acquisition in the electric power system, the intelligent terminal and cloud server
Amount.
5. control method according to any one of claim 1 to 3, it is characterised in that the control command includes being used for
The intelligent terminal is set to preserve the order for the file being currently running or for making the intelligent terminal save what is be currently running
The order shut down after file.
6. a kind of control device of smart jack, it is characterised in that including:
Acquisition module, the dump energy for obtaining electric power system;
First sending module, is connected with the acquisition module, for when the dump energy is less than threshold value, in work shape
The intelligent terminal of state sends the control command corresponding with the working condition,
Wherein, the electric power system is powered by the smart jack to the intelligent terminal.
7. control device according to claim 6, it is characterised in that also include:
Detection module, being inserted with described first for the intelligent terminal is inserted for the first socket in response to the smart jack
The latch that mouth matches, detects that first socket whether there is electric current;
First determining module, is connected with first sending module and the detection module, in detection module detection
When there is electric current to first socket, it is defined as the intelligent terminal and is in the working condition.
8. control device according to claim 6, it is characterised in that also include:
Second sending module, for the second socket in response to the smart jack insert the intelligent terminal with described
The data wire that two sockets match, sends for inquiring whether the intelligent terminal is in the work shape to the intelligent terminal
The request of state;
Second determining module, is connected with first sending module, for receiving the confirmation letter that the intelligent terminal is returned
During breath, it is defined as the intelligent terminal and is in the working condition.
9. the control device according to any one of claim 6 to 8, it is characterised in that the acquisition module is configured as
From any one or more acquisition dump energy in the electric power system, the intelligent terminal and cloud server.
10. the control device according to any one of claim 6 to 8, it is characterised in that the control command includes being used for
The intelligent terminal is set to preserve the order for the file being currently running or for making the intelligent terminal save what is be currently running
The order shut down after file.
11. a kind of control device of smart jack, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain the dump energy of electric power system;
When the dump energy is less than threshold value, send corresponding with the working condition in running order intelligent terminal
Control command,
Wherein, the electric power system is powered by the smart jack to the intelligent terminal.
12. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor
The step of method any one of claim 1 to 5 being realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710214522.5A CN106997326B (en) | 2017-04-01 | 2017-04-01 | Control method and device of intelligent socket and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710214522.5A CN106997326B (en) | 2017-04-01 | 2017-04-01 | Control method and device of intelligent socket and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106997326A true CN106997326A (en) | 2017-08-01 |
CN106997326B CN106997326B (en) | 2021-05-04 |
Family
ID=59434674
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710214522.5A Active CN106997326B (en) | 2017-04-01 | 2017-04-01 | Control method and device of intelligent socket and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106997326B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1670664A (en) * | 2004-03-18 | 2005-09-21 | 宏碁股份有限公司 | Power management method for an electronic apparatus |
CN102306954A (en) * | 2011-07-13 | 2012-01-04 | 广东电网公司电力科学研究院 | Intelligent power consumption information interactive management system |
CN102306423A (en) * | 2011-08-19 | 2012-01-04 | 江西省电力科学研究院 | Electricity consumption interactive terminal prepaid system |
CN102545273A (en) * | 2010-12-03 | 2012-07-04 | 索尼公司 | Electricity distribution system and electricity distribution method |
CN203288884U (en) * | 2013-05-17 | 2013-11-13 | 浙江大学 | Intelligent socket based on Bluetooth control |
CN104267795A (en) * | 2014-09-11 | 2015-01-07 | 联想(北京)有限公司 | Capacity management method, capacity management device and electronic equipment |
CN104319898A (en) * | 2014-11-13 | 2015-01-28 | 国家电网公司 | Orderly power utility inquiring system of bilateral interaction |
CN105116770A (en) * | 2015-07-13 | 2015-12-02 | 小米科技有限责任公司 | Control method and device of intelligent socket |
CN105527850A (en) * | 2015-12-10 | 2016-04-27 | 小米科技有限责任公司 | Power-cut reminding method and device |
CN105553092A (en) * | 2016-01-26 | 2016-05-04 | 东莞市云帆电子科技有限公司 | Emergency power supply capable of switching backup batteries by hot plug |
CN106329204A (en) * | 2016-08-31 | 2017-01-11 | 河南浩越新能源科技开发有限公司 | Charging pile intelligent socket and control system therefor |
CN106527642A (en) * | 2016-11-26 | 2017-03-22 | 北京小米移动软件有限公司 | Power supply control method and device for extension socket, and extension socket |
CN106547331A (en) * | 2015-09-16 | 2017-03-29 | 硕天科技股份有限公司 | Power distribution unit capable of managing residual power |
-
2017
- 2017-04-01 CN CN201710214522.5A patent/CN106997326B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1670664A (en) * | 2004-03-18 | 2005-09-21 | 宏碁股份有限公司 | Power management method for an electronic apparatus |
CN102545273A (en) * | 2010-12-03 | 2012-07-04 | 索尼公司 | Electricity distribution system and electricity distribution method |
CN102306954A (en) * | 2011-07-13 | 2012-01-04 | 广东电网公司电力科学研究院 | Intelligent power consumption information interactive management system |
CN102306423A (en) * | 2011-08-19 | 2012-01-04 | 江西省电力科学研究院 | Electricity consumption interactive terminal prepaid system |
CN203288884U (en) * | 2013-05-17 | 2013-11-13 | 浙江大学 | Intelligent socket based on Bluetooth control |
CN104267795A (en) * | 2014-09-11 | 2015-01-07 | 联想(北京)有限公司 | Capacity management method, capacity management device and electronic equipment |
CN104319898A (en) * | 2014-11-13 | 2015-01-28 | 国家电网公司 | Orderly power utility inquiring system of bilateral interaction |
CN105116770A (en) * | 2015-07-13 | 2015-12-02 | 小米科技有限责任公司 | Control method and device of intelligent socket |
CN106547331A (en) * | 2015-09-16 | 2017-03-29 | 硕天科技股份有限公司 | Power distribution unit capable of managing residual power |
CN105527850A (en) * | 2015-12-10 | 2016-04-27 | 小米科技有限责任公司 | Power-cut reminding method and device |
CN105553092A (en) * | 2016-01-26 | 2016-05-04 | 东莞市云帆电子科技有限公司 | Emergency power supply capable of switching backup batteries by hot plug |
CN106329204A (en) * | 2016-08-31 | 2017-01-11 | 河南浩越新能源科技开发有限公司 | Charging pile intelligent socket and control system therefor |
CN106527642A (en) * | 2016-11-26 | 2017-03-22 | 北京小米移动软件有限公司 | Power supply control method and device for extension socket, and extension socket |
Also Published As
Publication number | Publication date |
---|---|
CN106997326B (en) | 2021-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104298547B (en) | terminal setting method and device | |
CN104219388B (en) | Sound control method and device | |
CN103885588B (en) | Automatic switching method and device | |
CN105224349A (en) | The deletion reminding method of application program and device | |
CN104378441A (en) | Schedule creating method and device | |
CN105426741A (en) | Screen unlocking method, device and terminal | |
CN105892618A (en) | Information display method and device and electronic device | |
CN105335062A (en) | Information editing operation processing method and apparatus | |
CN104219378A (en) | Information processing method and device | |
CN104932276A (en) | Control method and apparatus for household intelligent power supply | |
CN105353938A (en) | Suspended short message display method and apparatus | |
CN105913569A (en) | Electric power management method and device | |
CN107703348A (en) | The detection method and device of smart jack | |
CN104216672A (en) | Display control method and display control device | |
CN107622189A (en) | Optimize the method and apparatus of unlocked by fingerprint | |
CN105759628A (en) | Intelligent device arrangement method and device | |
CN104463047A (en) | Device and method for control modules to work | |
CN104536753B (en) | Backlog labeling method and device | |
CN105099719A (en) | Recharging method and device for flow of service provider | |
CN105159434A (en) | Time display method, device and terminal | |
CN105653186A (en) | Terminal control method and device | |
CN106155875A (en) | A kind of method and apparatus of guiding system daily record | |
CN104615781A (en) | Method and device for inquiring executive information of intelligent equipment scene | |
CN106997326A (en) | Control method, device and the computer-readable recording medium of smart jack | |
CN107580142A (en) | A kind of method and apparatus for performing processing |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |