CN110167113A - A kind of apparatus control method, wearable device and computer readable storage medium - Google Patents
A kind of apparatus control method, wearable device and computer readable storage medium Download PDFInfo
- Publication number
- CN110167113A CN110167113A CN201910309860.6A CN201910309860A CN110167113A CN 110167113 A CN110167113 A CN 110167113A CN 201910309860 A CN201910309860 A CN 201910309860A CN 110167113 A CN110167113 A CN 110167113A
- Authority
- CN
- China
- Prior art keywords
- duration
- server
- wearable device
- connection
- screen state
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000005520 cutting process Methods 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 6
- 230000006854 communication Effects 0.000 description 17
- 238000004891 communication Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 9
- 238000011084 recovery Methods 0.000 description 4
- 238000005452 bending Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000005764 inhibitory process Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000011017 operating method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000012769 display material Substances 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000149 penetrating effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
- H04W52/0274—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
- H04W52/028—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/19—Connection re-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
This application involves a kind of apparatus control method, wearable device and computer readable storage mediums, wherein this method comprises: determining whether target device is in screen state of going out;In the case where target device is in and goes out screen state, control target application periodically cuts off the connection between server and maintains dissengaged positions preset duration.It is excessive to solve the problems, such as that existing target application persistently establishes with server equipment power dissipation caused by connection by the above method, has reached and power consumption is effectively reduced, the technical effect in lifting means cruise duration.
Description
Technical field
This application involves wearable device field more particularly to a kind of apparatus control methods, wearable device and computer
Readable storage medium storing program for executing.
Background technique
Currently, wearable device generally supports a variety of application software, when wearable device, which goes out, to be shielded, in order to guarantee just
Often operation, these applications can keep connecting with server always, and carry out Signalling exchange, wherein be compared with instant message applications
Obviously, such as: wechat, QQ etc..Even if equipment cease shield in the case where, these softwares also can between server the company of holding
It connects, carries out Signalling exchange, wearable device power consumption certainly will be will lead in this way and increased, cruising ability is caused to decline, to influence to use
Family experience.
In view of the above-mentioned problems, currently no effective solution has been proposed.
Summary of the invention
In order to solve the above-mentioned technical problem or it at least is partially solved above-mentioned technical problem, this application provides one kind to set
Standby control method, wearable device and computer readable storage medium.
In a first aspect, this application provides a kind of apparatus control methods, comprising:
Determine whether target device is in screen state of going out;
In the case where target device is in and goes out screen state, company of the control target application periodically between cutting and server
It connects and maintains dissengaged positions preset duration.
In one embodiment, the connection between server is periodically cut off in control target application and maintain to cut off
After state preset duration, further includes:
Determine whether to receive touch command;
In response to the touch command, the target device is controlled by screen state of going out and switches to bright screen state, and establish institute
State the connection between target application and the server.
In one embodiment, control target application periodically cuts off the connection between server and maintains cutting shape
State preset duration, comprising:
Repeat following operation:
The connection between the target application and the server is cut off, and continues the first duration;
In the case where reaching first duration, the connection between the target application and the server is established, and
Continue the second duration;
In the case where reaching second duration, the connection between the target application and the server is cut off, and
Continue the first duration.
In one embodiment, first duration is greater than second duration.
In one embodiment, the above method further include:
Receive setting instruction, wherein the time span and second duration of the first duration are carried in the setting instruction
Time span;
It is instructed according to the setting, first duration and second duration is set.
In one embodiment, determine whether target device is in screen state of going out, comprising:
In the case where the target device is in bright screen state, it is determined whether do not receive touch-control in scheduled duration and refer to
It enables;
In the case where not receiving touch command in scheduled duration, the target device is switched to by bright screen state and is gone out
Screen state.
In one embodiment, the target application is instant messaging application.
In one embodiment, the target device is wearable device.
Second aspect, this application provides a kind of wearable device, the wearable device includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The step of computer program realizes following method when being executed by the processor:
Determine whether target device is in screen state of going out;
In the case where target device is in and goes out screen state, company of the control target application periodically between cutting and server
It connects and maintains dissengaged positions preset duration.
The third aspect, this application provides a kind of computer readable storage medium, on the computer readable storage medium
It is stored with facility control program, the step of facility control program realizes following method when being executed by processor:
Determine whether target device is in screen state of going out;
In the case where target device is in and goes out screen state, company of the control target application periodically between cutting and server
It connects and maintains dissengaged positions preset duration.
Above-mentioned technical proposal provided by the embodiments of the present application has the advantages that compared with prior art
This method provided by the embodiments of the present application controls target application in the case where target device is in and goes out screen state
It periodically cuts off the connection between server and maintains dissengaged positions preset duration.That is, target application no longer continues and service
Device establishes connection, and connection when equipment is gone out and shielded periodically between cutting and server can solve existing target application
The excessive problem of equipment power dissipation caused by connection is persistently established with server, has reached and power consumption is effectively reduced, and lifting means is continuous
The technical effect of ETS estimated time of sailing.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of hardware structural diagram of embodiment of wearable device provided in an embodiment of the present invention;
Fig. 2 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 3 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 4 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 5 is a kind of flow chart of embodiment of apparatus control method provided by the embodiments of the present application;
Fig. 6 is a kind of structural block diagram of embodiment of plant control unit provided by the embodiments of the present application;
Fig. 7 is a kind of period schematic diagram of embodiment of period provided by the embodiments of the present application control;
Fig. 8 is a kind of a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
The wearable device provided in the embodiment of the present invention includes that Intelligent bracelet, smartwatch and smart phone etc. move
Dynamic terminal.With the continuous development of Screen Technology, the appearance of the screens form such as flexible screen, Folding screen, smart phone etc. is mobile eventually
End can also be used as wearable device.The wearable device provided in the embodiment of the present invention may include: RF (Radio
Frequency, radio frequency) unit, WiFi module, audio output unit, A/V (audio/video) input unit, sensor, display
The components such as unit, user input unit, interface unit, memory, processor and power supply.
It will be illustrated by taking wearable device as an example in subsequent descriptions, referring to Fig. 1, its each implementation to realize the present invention
A kind of hardware structural diagram of wearable device of example, which may include: RF (Radio
Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104,
Sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, Yi Ji electricity
The components such as source 111.It will be understood by those skilled in the art that wearable device structure shown in Fig. 1 is not constituted to wearable
The restriction of equipment, wearable device may include perhaps combining certain components or difference than illustrating more or fewer components
Component layout.
It is specifically introduced below with reference to all parts of the Fig. 1 to wearable device:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, radio frequency list
Uplink information can be sent to base station by member 101, and after the downlink information that in addition can also be sent base station receives, being sent to can be worn
The processor 110 for wearing equipment is handled, and base station can be to the downlink information that radio frequency unit 101 is sent and be sent out according to radio frequency unit 101
What the uplink information sent generated, it is also possible to actively push away to radio frequency unit 101 after the information update for detecting wearable device
It send, for example, base station can penetrating to wearable device after detecting that geographical location locating for wearable device changes
Frequency unit 101 sends the message informing of geographical location variation, and radio frequency unit 101, can should after receiving the message informing
The processor 110 that message informing is sent to wearable device is handled, and it is logical that the processor 110 of wearable device can control the message
Know on the display panel 1061 for being shown in wearable device;In general, radio frequency unit 101 include but is not limited to antenna, at least one
Amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also pass through channel radio
Letter communicated with network and other equipment, specifically may include: by wireless communication with the server communication in network system, example
Such as, wearable device can download file resource from server by wireless communication, for example can download and answer from server
With program, after wearable device completes the downloading of a certain application program, if the corresponding file of the application program in server
Resource updates, then the server can be by wireless communication to the message informing of wearable device push resource updates, to remind
User is updated the application program.Any communication standard or agreement can be used in above-mentioned wireless communication, including but not limited to
GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General
Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access
2000, CDMA 2000), (Wideband Code Division Multiple Access, wideband code division are more by WCDMA
Location), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time division synchronous
CDMA), (Frequency Division Duplexing-Long Term Evolution, frequency division duplex are long by FDD-LTE
Phase evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex are drilled for a long time
Into) etc..
In one embodiment, wearable device 100 can access existing communication network by insertion SIM card.
In another embodiment, wearable device 100 can be come real by the way that esim card (Embedded-SIM) is arranged
Existing communication network is now accessed, by the way of esim card, the inner space of wearable device can be saved, reduce thickness.
It is understood that although Fig. 1 shows radio frequency unit 101, but it is understood that, radio frequency unit 101 its
And it is not belonging to must be configured into for wearable device, it can according to need within the scope of not changing the essence of the invention and save completely
Slightly., wearable device 100 can realize the communication connection with other equipment or communication network separately through wifi module 102,
The embodiment of the present invention is not limited thereto.
WiFi belongs to short range wireless transmission technology, and wearable device can help user to receive and dispatch by WiFi module 102
Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1
WiFi module 102 is shown, but it is understood that, and it is not belonging to must be configured into for wearable device, it completely can root
It is omitted within the scope of not changing the essence of the invention according to needs.
Audio output unit 103 can be in call signal reception pattern, call mode, record in wearable device 100
When under the isotypes such as mode, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data that person stores in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit
103 can also provide audio output relevant to the specific function that wearable device 100 executes (for example, call signal reception sound
Sound, message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
In one embodiment, wearable device 100 includes one or more cameras, by opening camera,
It can be realized the capture to image, realize the functions such as take pictures, record a video, the position of camera, which can according to need, to be configured.
Wearable device 100 further includes at least one sensor 105, for example, optical sensor, motion sensor and other
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring
The light and shade of border light adjusts the brightness of display panel 1061, proximity sensor can when wearable device 100 is moved in one's ear,
Close display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions
The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static
It (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function
Hit) etc..
In one embodiment, wearable device 100 further includes proximity sensor, can by using proximity sensor
Wearable device can be realized non-contact manipulation, provide more modes of operation.
In one embodiment, wearable device 100 further includes heart rate sensor, when wearing, by close to using
Person can be realized the detecting of heart rate.
In one embodiment, wearable device 100 can also include that fingerprint sensor can by reading fingerprint
Realize the functions such as safety verification.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
In one embodiment, display panel 1061 uses flexible display screen, and wearable using flexible display screen sets
For when wearing, screen is able to carry out bending, to more be bonded.Optionally, the flexible display screen can use OLED screen
Body and graphene screen body, in other embodiments, the flexible display screen is also possible to other display materials, the present embodiment
It is not limited thereto.
In one embodiment, the display panel 1061 of wearable device can take rectangle, ring when convenient for wearing
Around.In other embodiments, other modes can also be taken.
User input unit 107 can be used for receiving the number or character information of input, and generate and wearable device
User setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearby
Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel
Operation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touching
Two parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviour
Make bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.This
Outside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touching
Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072
It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation
One of bar etc. is a variety of, specifically herein without limitation.
In one embodiment, one or more buttons have can be set in the side of wearable device 100.Button can be with
The various ways such as short-press, long-pressing, rotation are realized, to realize a variety of operating effects.The quantity of button can be different to be multiple
It can be applied in combination between button, realize a variety of operating functions.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing wearable device as two independent components, but in certain embodiments,
Touch panel 1071 and display panel 1061 can be integrated and be realized the function that outputs and inputs of wearable device, specifically herein
Without limitation.For example, processor 110 can be controlled when receiving the message informing of a certain application program by radio frequency unit 101
The message informing show in a certain predeterminable area of display panel 1061 by system, the predeterminable area and touch panel 1071 certain
One region is corresponding, can be to corresponding to area on display panel 1061 by carrying out touch control operation to a certain region of touch panel 1071
The message informing shown in domain is controlled.
Interface unit 108 be used as at least one external device (ED) connect with wearable device 100 can by interface.Example
Such as, external device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, You Xianhuo
Wireless data communications port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in wearable device 100 or can
For transmitting data between wearable device 100 and external device (ED).
In one embodiment, wearable device 100 interface unit 108 using contact structure, by contact with
Corresponding other equipment connection, realizes the functions such as charging, connection.Use contact can be with waterproof.
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of wearable device, utilizes various interfaces and the entire wearable device of connection
Various pieces, by running or execute the software program and/or module that are stored in memory 109, and call and be stored in
Data in memory 109 execute the various functions and processing data of wearable device, to carry out to wearable device whole
Monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation
Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing
Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Wearable device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply
111 can be logically contiguous by power-supply management system and processor 110, thus charged by power-supply management system realization management,
The functions such as electric discharge and power managed.
Although Fig. 1 is not shown, wearable device 100 can also be including bluetooth module etc., and details are not described herein.It is wearable to set
Standby 100, by bluetooth, can connect with other terminal devices, realize communication and the interaction of information.
Fig. 2-Fig. 4 is please referred to, is the structure under a kind of a kind of embodiment of wearable device provided in an embodiment of the present invention
Schematic diagram.Wearable device in the embodiment of the present invention, including flexible screen.In wearable device expansion, flexible screen is in
Strip;When wearable device is in wearing state, flexible screen bending is annular in shape.Fig. 2 and Fig. 3 show wearable device
Structural schematic diagram when screen is unfolded, Fig. 4 show structural schematic diagram when wearable device screen-bending.
Based on the hardware configuration of above-mentioned wearable device, each embodiment of the method for the present invention is proposed.
Fig. 5 is a kind of method flow diagram of herein described apparatus control method one embodiment.Although the application provides
As the following examples or method operating procedure shown in the drawings or apparatus structure, but based on conventional or without creative labor
Move in the method or device may include more or less operating procedure or modular unit.It is not present in logicality
In the step of necessary causality or structure, the execution sequence of these steps or the modular structure of device are not limited to the application implementation
Example description and execution shown in the drawings sequence or modular structure.The device in practice of the method or modular structure or end
It, can be according to embodiment or the connection carry out sequence execution or simultaneously of method shown in the drawings or modular structure when holding products application
Row executes (such as environment or even distributed processing environment of parallel processor or multiple threads).
Specifically as shown in figure 5, a kind of apparatus control method that a kind of embodiment of the application provides may include:
S501: determine whether target device is in screen state of going out;
Specifically, can be in the case where target device is in bright screen state, it is determined whether do not connect in scheduled duration
Receive touch command;In the case where not receiving touch command in scheduled duration, the target device is cut by bright screen state
It is changed to screen state of going out.
For example, setting scheduled duration is 30s, if user continues 30s and does not execute any touch command to equipment, that
Equipment can be switched to screen state of going out by bright screen state.It, can also be using other numerical value when actually realizing
As scheduled duration, can set according to actual needs, the application is not construed as limiting this.
S502: target device be in go out screen state in the case where, control target application periodically cutting with server it
Between connection and maintain dissengaged positions preset duration.
Wherein, the so-called concept periodically cut off, it can be understood as setting a cycle T, and timing, once obtain the period
T is switched off application and the connection between server, and cuts off duration and maintain certain time, then arrive next cycle, then switch one
Secondary application and the connection between server, and certain time is maintained, repeatedly to achieve the purpose that periodically to cut off.
In upper example, in the case where target device is in and goes out screen state, the periodically cutting and service of control target application
Connection between device simultaneously maintains dissengaged positions preset duration.That is, target application no longer continues and server establishes connection, in equipment
Connection when screen periodically between cutting and server of going out can solve existing target application and persistently establish with server
The excessive problem of equipment power dissipation caused by connection, has reached and power consumption is effectively reduced, the technical effect in lifting means cruise duration.
It goes out in view of only needing to be in equipment for the operation periodically connected between cutting target application and server
It is just needed when screen state, in the case where being in bright screen state, this operation will lead to user's missing information.For this purpose,
After control target application periodically cuts off the connection between server and maintains dissengaged positions preset duration, it can be determined that
It is no to receive touch command;In response to the touch command, the target device is controlled by screen state of going out and switches to bright screen state,
And establish the connection between the target application and the server.
That is, once under the trigger of the user, equipment is switched to bright screen state by screen state of going out, so that it may terminate this period
Property cutting operation, control target application continue is connect with server, reception message.
When actually realizing, above-mentioned steps S502 controls connection of the target application periodically between cutting and server
And dissengaged positions preset duration is maintained, may include:
Repeat following operation:
S1: cutting off the connection between the target application and the server, and continues the first duration;
S2: in the case where reaching first duration, establishing the connection between the target application and the server,
And continue the second duration;
S3: in the case where reaching second duration, cutting off the connection between the target application and the server,
And continue the first duration.
When that is, controlling the first duration of dissengaged positions, then controlling the second duration of connection status, then controlling dissengaged positions the first
It is long, then the second duration of connection status is controlled, if repeated.
In order to which power consumption can be reduced as far as possible, the first duration can be set greater than the second duration, for example, when can control first
Length is five times of the second duration, alternatively, ten times.Specific difference can be set according to actual needs, and the application does not limit specifically
It is fixed.
In order to realize the flexible control to the first duration and the second duration, to meet actual use demand, is promoted and used
Flexibility can flexibly control the first duration and the second duration, for example, can receive setting instruction, wherein described to set
It sets in instruction and carries the time span of the first duration and the time span of the second duration;It is instructed according to the setting, institute is set
State the first duration and second duration.
During actually realizing, above-mentioned target application can be instant messaging application, and above-mentioned target device can be
Wearable device is retouched it should be noted, however, that above-mentioned cited target application and target device are only that one kind is exemplary
It states, does not constitute an undue limitation on the present application.
Based on the same inventive concept, a kind of equipment control device, such as following implementation are additionally provided in the embodiment of the present invention
Described in example.Since the principle that plant control unit solves the problems, such as is similar to apparatus control method, the reality of plant control unit
The implementation that may refer to apparatus control method is applied, overlaps will not be repeated.It is used below, term " unit " or " mould
The combination of the software and/or hardware of predetermined function may be implemented in block ".Although device described in following embodiment is preferably with soft
Part is realized, but the realization of the combination of hardware or software and hardware is also that may and be contemplated.Fig. 6 is of the invention real
A kind of structural block diagram of the plant control unit of example is applied, as shown in fig. 6, may include: determining module 601 and control module 602,
The structure is illustrated below.
Determining module 601, for determining whether target device is in screen state of going out;
Control module 602, in the case where target device is in and goes out screen state, control target application periodically to be cut off
Connection between server simultaneously maintains dissengaged positions preset duration.
In one embodiment, company of the control module 602 in control target application periodically between cutting and server
After connecing and maintaining dissengaged positions preset duration, it may determine whether to receive touch command;In response to the touch command, control
It makes the target device and bright screen state is switched to by screen state of going out, and establish the company between the target application and the server
It connects.
In one embodiment, control module 602 can repeat following operation:
The connection between the target application and the server is cut off, and continues the first duration;
In the case where reaching first duration, the connection between the target application and the server is established, and
Continue the second duration;
In the case where reaching second duration, the connection between the target application and the server is cut off, and
Continue the first duration.
In one embodiment, above-mentioned first duration can be greater than the second duration.
In one embodiment, above equipment control device can also receive setting instruction, wherein the setting instruction
In carry the time span of the first duration and the time span of the second duration;It is instructed according to the setting, setting described first
Duration and second duration.
In one embodiment, above-mentioned determining module 601 can be the case where the target device be in bright screen state
Under, it is determined whether do not receive touch command in scheduled duration;In the case where not receiving touch command in scheduled duration,
The target device is switched to screen state of going out by bright screen state.
In one embodiment, above-mentioned target application can be instant messaging application, and above-mentioned target device can be can
Wearable device.
The above method is illustrated below with reference to a specific embodiment, it is to be noted, however, that the specific implementation
Example does not constitute an undue limitation on the present application merely to the application is better described.
It is illustrated in this example using instant message applications as target application, such as: wechat application, QQ application
Deng.
When wearable device, which goes out, to be shielded, if detecting that there is instant message applications operation on backstage, opened for such software
It is dynamic freeze recovery policy, wherein freeze-off time is known as T1, and recovery time is known as T2, specific as follows:
S1: there are the duration interval T of a cycle, as shown in fig. 7, time interval T is made of T1+T2;
S2: in freeze-off time T1 start time, equipment is killing the application program (that is, above-mentioned instant messaging is soft from the background
Part), the connection between application program and server is disconnected on backstage specifically, can be equipment, and maintained until between the T1 time
Every end;
S3: in start time recovery time T2, the device activation application program, actively establish application program and server it
Between connection.Specifically, can be the connection established between application program and server, and keep the connection until between the T2 time
Every end, in this time interval, application program can receive the message that server push is brought;
After S4:T2 time interval, repeat the above steps S2 and S3.
In view of above-mentioned control mode mainly consider go out shield state when, without real-time reception message generate,
User use equipment when, above-mentioned strategy does not need to execute, therefore, when user actively light screen and operation in application, on
Strategy is stated to be automatically stopped;When wearable device, which goes out, to be shielded, above-mentioned strategy automatic running;
In order to which power consumption can be effectively reduced, above-mentioned freeze-off time T1 can be set to be considerably longer than recovery time T2, from
And guarantee that power consumption is less.
It is can solve through the above scheme when wearable device is under feeble field signal scene, due to signal factors, application
Program constantly can establish connection with server, and the excessive problem of amount of equipment power consumption caused by disconnecting is set when wearable
It is standby to be under high field signal scene, it can achieve the purpose for periodically reducing power consumption.
Embodiments herein, which also provides, can be realized one of Overall Steps in the apparatus control method in above-described embodiment
The specific embodiment of kind electronic equipment, the electronic equipment specifically include following content: processor (processor), storage
Device (memory), communication interface (Communications Interface) and bus;Wherein, the processor, memory, logical
Letter interface completes mutual communication by the bus;The processor is used to call the computer journey in the memory
Sequence, the processor realize the Overall Steps in the apparatus control method in above-described embodiment when executing the computer program,
For example, the processor realizes following step when executing the computer program:
Step 1: determining whether target device is in screen state of going out;
Step 2: target device be in go out screen state in the case where, control target application periodically cutting with server it
Between connection and maintain dissengaged positions preset duration.
As can be seen from the above description, control target application is periodically cut off in the case where target device is in and goes out screen state
Connection between server simultaneously maintains dissengaged positions preset duration.That is, target application no longer continues and server establishes connection,
Connection when equipment is gone out and shielded periodically between cutting and server can solve existing target application and hold with server
The excessive problem of equipment power dissipation caused by vertical connection is continued, has reached and power consumption is effectively reduced, the skill in lifting means cruise duration
Art effect.
Embodiments herein, which also provides, can be realized one of Overall Steps in the apparatus control method in above-described embodiment
Computer readable storage medium is planted, is stored with computer program on the computer readable storage medium, the computer program quilt
Processor realizes the Overall Steps of the apparatus control method in above-described embodiment when executing, for example, described in processor execution
Following step is realized when computer program:
Step 1: determining whether target device is in screen state of going out;
Step 2: target device be in go out screen state in the case where, control target application periodically cutting with server it
Between connection and maintain dissengaged positions preset duration.
As can be seen from the above description, control target application is periodically cut off in the case where target device is in and goes out screen state
Connection between server simultaneously maintains dissengaged positions preset duration.That is, target application no longer continues and server establishes connection,
Connection when equipment is gone out and shielded periodically between cutting and server can solve existing target application and hold with server
The excessive problem of equipment power dissipation caused by vertical connection is continued, has reached and power consumption is effectively reduced, the skill in lifting means cruise duration
Art effect.
Based on above-mentioned each embodiment, it can be seen that if the equipment is wrist-watch, bracelet or wearable device
When, the screen of the equipment can not overlay device watchband region, can also be with the watchband region of overlay device.Here, this hair
Bright to propose a kind of optional embodiment, in the present embodiment, the equipment for wrist-watch, bracelet or wearable can be set
Standby, the equipment includes screen and interconnecting piece.The screen can be flexible screen, and the interconnecting piece can be watchband.It can
Choosing, the screen of the equipment or the viewing area of screen can be partly or completely covered on the watchband of equipment.Such as Fig. 8
Shown, Fig. 8 is a kind of a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application, the equipment
Screen extends to two sides, and part is covered on the watchband of equipment.In other embodiments, the screen of the equipment can also be with
All it is covered on the watchband of the equipment.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of apparatus control method characterized by comprising
Determine whether target device is in screen state of going out;
In the case where target device is in and goes out screen state, connection of the control target application periodically between cutting and server is simultaneously
Maintain dissengaged positions preset duration.
2. the method according to claim 1, wherein in control target application periodically between cutting and server
Connection and after maintaining dissengaged positions preset duration, further includes:
Determine whether to receive touch command;
In response to the touch command, the target device is controlled by screen state of going out and switches to bright screen state, and establish the mesh
Mark application and the connection between the server.
3. the method according to claim 1, wherein control target application is periodically between cutting and server
It connects and maintains dissengaged positions preset duration, comprising:
Repeat following operation:
The connection between the target application and the server is cut off, and continues the first duration;
In the case where reaching first duration, the connection between the target application and the server is established, and continue
Second duration;
In the case where reaching second duration, the connection between the target application and the server is cut off, and continue
First duration.
4. according to the method described in claim 3, it is characterized in that, first duration is greater than second duration.
5. according to the method described in claim 3, it is characterized by further comprising:
Receive setting instruction, wherein the time of the time span and the second duration of the first duration is carried in the setting instruction
Length;
It is instructed according to the setting, first duration and second duration is set.
6. the method according to claim 1, wherein determining whether target device is in screen state of going out, comprising:
In the case where the target device is in bright screen state, it is determined whether do not receive touch command in scheduled duration;
In the case where not receiving touch command in scheduled duration, the target device is switched to go out by bright screen state and shields shape
State.
7. method according to any one of claim 1 to 6, which is characterized in that the target application is answered for instant messaging
With.
8. method according to any one of claim 1 to 6, which is characterized in that the target device is wearable device.
9. a kind of wearable device, which is characterized in that the wearable device includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The step such as method described in any item of the claim 1 to 8 is realized when the computer program is executed by the processor
Suddenly.
10. a kind of computer readable storage medium, which is characterized in that be stored with equipment control on the computer readable storage medium
Processing procedure sequence realizes that equipment described in any item of the claim 1 to 8 such as controls when the facility control program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910309860.6A CN110167113A (en) | 2019-04-17 | 2019-04-17 | A kind of apparatus control method, wearable device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910309860.6A CN110167113A (en) | 2019-04-17 | 2019-04-17 | A kind of apparatus control method, wearable device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110167113A true CN110167113A (en) | 2019-08-23 |
Family
ID=67639480
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910309860.6A Pending CN110167113A (en) | 2019-04-17 | 2019-04-17 | A kind of apparatus control method, wearable device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110167113A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110691401A (en) * | 2019-08-28 | 2020-01-14 | 华为技术有限公司 | System application management method and device |
CN111049359A (en) * | 2019-12-27 | 2020-04-21 | 深圳市越疆科技有限公司 | Power control method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105323837A (en) * | 2015-11-06 | 2016-02-10 | 广东小天才科技有限公司 | Intermittent networking method and system |
US20180232036A1 (en) * | 2017-02-15 | 2018-08-16 | Vigyanlabs Innovations Private Limited | Adaptive power consumption management in smart devices |
CN109413726A (en) * | 2018-12-24 | 2019-03-01 | 维沃移动通信有限公司 | Power consumption control method and mobile terminal |
-
2019
- 2019-04-17 CN CN201910309860.6A patent/CN110167113A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105323837A (en) * | 2015-11-06 | 2016-02-10 | 广东小天才科技有限公司 | Intermittent networking method and system |
US20180232036A1 (en) * | 2017-02-15 | 2018-08-16 | Vigyanlabs Innovations Private Limited | Adaptive power consumption management in smart devices |
CN109413726A (en) * | 2018-12-24 | 2019-03-01 | 维沃移动通信有限公司 | Power consumption control method and mobile terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110691401A (en) * | 2019-08-28 | 2020-01-14 | 华为技术有限公司 | System application management method and device |
WO2021037228A1 (en) * | 2019-08-28 | 2021-03-04 | 华为技术有限公司 | System application management method and apparatus |
CN110691401B (en) * | 2019-08-28 | 2021-04-09 | 华为技术有限公司 | System application management method and device |
CN111049359A (en) * | 2019-12-27 | 2020-04-21 | 深圳市越疆科技有限公司 | Power control method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109982179A (en) | Audio frequency signal output, device, wearable device and storage medium | |
CN110109725A (en) | A kind of interface color method of adjustment and wearable device | |
CN110138968A (en) | A kind of incoming call reminding method, wearable device and storage medium | |
CN110262849A (en) | Using starting method, wearable device and computer readable storage medium | |
CN110175066A (en) | Wearable device, interaction control method and computer readable storage medium | |
CN110109544A (en) | Method of adjustment, wearable device and the readable storage medium storing program for executing of motor vibration amplitude | |
CN110134312A (en) | Control method, wearable device and computer readable storage medium | |
CN110086563A (en) | A kind of method of controlling rotation, equipment and computer readable storage medium | |
CN110167113A (en) | A kind of apparatus control method, wearable device and computer readable storage medium | |
CN109995938A (en) | A kind of notice display methods, mobile phone, wearable device and calculate readable storage medium storing program for executing | |
CN110162161A (en) | Control method, wearable device and the computer readable storage medium of target application | |
CN110149683A (en) | Applicative notifications processing method, wearable device and computer readable storage medium | |
CN110262748A (en) | Wearable device control method, wearable device and computer readable storage medium | |
CN110532050A (en) | Exercise data method for refreshing, wearable device and computer readable storage medium | |
CN110213637A (en) | Method, wearable device and the readable storage medium storing program for executing of video file increase watermark | |
CN110213442A (en) | Speech playing method, terminal and computer readable storage medium | |
CN110187764A (en) | A kind of barrage display methods, wearable device and storage medium | |
CN110139270A (en) | Wearable device matching method, wearable device and computer readable storage medium | |
CN109933400A (en) | Display interface layout method, wearable device and computer readable storage medium | |
CN110147158A (en) | A kind of power consumption control method, wearable device and computer readable storage medium | |
CN110430560A (en) | Method, wearable device and the storage medium of wearable device upload data | |
CN110083205A (en) | Page switching method, wearable device and computer readable storage medium | |
CN110231895A (en) | A kind of image notification method, wearable device and computer readable storage medium | |
CN110113481A (en) | Open method, terminal, wearable device and the medium of corresponding application on wearable device | |
CN109976608A (en) | A kind of application clocking method, equipment and computer readable storage medium |
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: 20190823 |