CN106982300B - Terminal device control method and device - Google Patents

Terminal device control method and device Download PDF

Info

Publication number
CN106982300B
CN106982300B CN201710317987.3A CN201710317987A CN106982300B CN 106982300 B CN106982300 B CN 106982300B CN 201710317987 A CN201710317987 A CN 201710317987A CN 106982300 B CN106982300 B CN 106982300B
Authority
CN
China
Prior art keywords
terminal equipment
light
external information
module
light intensity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710317987.3A
Other languages
Chinese (zh)
Other versions
CN106982300A (en
Inventor
黄文雄
汤进
王玉梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710317987.3A priority Critical patent/CN106982300B/en
Publication of CN106982300A publication Critical patent/CN106982300A/en
Application granted granted Critical
Publication of CN106982300B publication Critical patent/CN106982300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The disclosure relates to a terminal device control method and device. The method comprises the following steps: monitoring terminal equipment's external information to whether detect external information and satisfy and predetermine the condition, when detecting that external information satisfies and predetermine the condition, then open terminal equipment's flash light with the mode of always brightening, in order to realize the night-light function. Wherein, through monitor terminal equipment's external information to when external information reached preset condition, then opened terminal equipment's flash light with the mode of always brightening, in order to realize the night-light function, need not the mode of always brightening that the user manually opened the flash light in order to realize the night-light function, effectively promoted user experience.

Description

Terminal device control method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling a terminal device.
Background
Mobile devices are becoming increasingly popular, and mobile phones are becoming a part of more and more people's lives. At present, the main function of a mobile phone flash lamp is to supplement light for a camera when a picture is taken in dark or in an environment with insufficient light, and in addition, the mobile phone flash lamp can also be used as a flashlight or other lighting equipment when a normally-on mode of the mobile phone flash lamp is started. The small night lamp can be arranged in a corridor or a room as an auxiliary lighting tool for people to use at night, so that the requirement that people do not need to turn on headlights to finish low-degree lighting when getting up at midnight is met.
The mobile phone flash lamp can be used as a night lamp by matching with various exquisite lamp covers. When the mobile phone night light is used, a user needs to place the mobile phone under the lampshade and turn on the flash lamp to normally turn on the switch, so that the night light function of the mobile phone is turned on; when the night lamp of the mobile phone is turned off, the user needs to turn off the normally-on switch of the flash lamp, so that the night lamp function of the mobile phone is turned off.
Disclosure of Invention
In order to overcome the problems in the related art, the embodiments of the present disclosure provide a terminal device control method and apparatus. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a terminal device control method, including:
monitoring external information of the terminal equipment;
detecting whether the external information meets a preset condition;
when the external information is detected to meet the preset condition, the flash lamp of the terminal equipment is started in a normally-on mode to realize the function of a night lamp.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: monitoring terminal equipment's external information to whether detect external information and satisfy and predetermine the condition, when detecting that external information satisfies and predetermine the condition, then open terminal equipment's flash light with the mode of always brightening, in order to realize the night-light function. Wherein, through monitor terminal equipment's external information to when external information reached preset condition, then opened terminal equipment's flash light with the mode of always brightening, in order to realize the night-light function, need not the mode of always brightening that the user manually opened the flash light in order to realize the night-light function, effectively promoted user experience.
In one embodiment, the context information includes: current light intensity value;
the detecting whether the external information meets a preset condition comprises: detecting whether the current light intensity value is smaller than a preset threshold value or not;
when detecting external information satisfies during the default condition, then open with the mode of always brightening terminal equipment's flash light to realize the night-light function, include:
and when the current light intensity value is detected to be smaller than a preset threshold value, the flash lamp of the terminal equipment is started in a normally-on mode so as to realize the function of a night lamp.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: through the external current light intensity of monitoring terminal equipment to confirm whether open terminal equipment's flash light with the mode of always brightening, with the realization night-light function, wherein, regard as the condition whether to open terminal equipment's flash light with current light intensity, and need not the manual flash light that opens terminal equipment of user, effectively promoted user experience.
In one embodiment, the context information includes: a current point in time;
the detecting whether the external information meets a preset condition comprises: detecting whether the current time point is within a preset time period or not;
when detecting external information satisfies during the default condition, then open with the mode of always brightening terminal equipment's flash light to realize the night-light function, include: and when the current time point is detected to be positioned in the preset time period, the flash lamp of the terminal equipment is started in a normally-on mode so as to realize the function of a night lamp.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: through monitoring current time point to confirm whether open terminal equipment's flash light with the mode of always brightening, with the realization night-light function, wherein, regard as the condition whether to open terminal equipment's flash light with current time point, and need not the manual flash light that opens terminal equipment of user, effectively promoted user experience.
In one embodiment, the context information includes: the current light intensity value and the current point in time,
the detecting whether the external information meets a preset condition comprises: detecting whether the current light intensity value is smaller than a preset threshold value or not;
when detecting external information satisfies during the default condition, then open with the mode of always brightening terminal equipment's flash light to realize the night-light function, include:
when detecting current light intensity value is less than and predetermines the threshold value, detect whether current time point is located in the time quantum of predetermineeing, when detecting current time point is located when predetermineeing the time quantum, then open with the mode of always brightening terminal equipment's flash light to realize the night-light function.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: through monitoring current light intensity value and current time point to confirm whether open terminal equipment's flash light with the mode of always brightening, with the realization night-light function, wherein, regard as the condition whether to open terminal equipment's flash light with current time point, and need not the manual flash light that opens terminal equipment of user, effectively promoted user experience.
In one embodiment, the turning on the flash of the terminal device includes:
detecting whether the terminal equipment is in a charging state;
and when the terminal equipment is detected to be in a charging state, a flash lamp of the terminal equipment is turned on in a normally-on mode.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: because terminal equipment opens the flash light and need consume the electric quantity of battery, if the electric quantity of terminal equipment self storage is limited, so with often bright mode open terminal equipment's flash light after, the flash light probably can not continuously light to when terminal equipment electric quantity exhausts, the flash light extinguishes, can't continue to realize the night light function, consequently, can be when terminal equipment is in the mode of charging, open the night light function, thereby user experience has been promoted.
In one embodiment, the detecting whether the terminal device is in a charging state includes:
and detecting whether the terminal equipment is charged through a charging plug in the lampshade.
In an embodiment, before monitoring the external information of the terminal device, the method further includes:
and receiving a night lamp mode starting instruction.
In one embodiment, the monitoring external information of the terminal device includes:
and monitoring external information of the terminal equipment through a photosensitive sensor.
According to a second aspect of the embodiments of the present disclosure, there is provided a terminal device control apparatus including:
the monitoring module is used for monitoring external information of the terminal equipment;
the detection module is used for detecting whether the outside information monitored by the monitoring module meets a preset condition;
and the opening module is used for opening the flash lamp of the terminal equipment in a normally bright mode when the detection module detects that the external information meets the preset condition so as to realize the function of the night lamp.
In one embodiment, the context information includes: current light intensity value; the detection module comprises: a first light intensity detection sub-module for detecting light intensity,
the first light intensity detection submodule is used for detecting whether the current light intensity value monitored by the monitoring module is smaller than a preset threshold value or not;
and the starting module is used for starting the flash lamp of the terminal equipment in a normally bright mode when the first light intensity detection submodule detects that the current light intensity value is smaller than a preset threshold value so as to realize the function of a night lamp.
In one embodiment, the context information includes: a current point in time; the detection module comprises: a first time point detection sub-module for detecting the time point,
the first time point detection submodule is used for detecting whether the current time point monitored by the monitoring module is within a preset time period;
and the starting module is used for starting the flash lamp of the terminal equipment in a normally bright mode when the first time point detection submodule detects that the current time point is positioned in the preset time period so as to realize the function of a night lamp.
In one embodiment, the context information includes: current light intensity value and current point in time, the detection module includes: a second light intensity detection submodule and a second time point detection submodule,
the second light intensity detection submodule is used for detecting whether the current light intensity value monitored by the monitoring module is smaller than a preset threshold value or not;
the second time point detection submodule is used for detecting whether the current time point is within a preset time period or not when the second light intensity detection submodule detects that the current light intensity value is smaller than a preset threshold value;
and the opening module is used for opening the flash lamp of the terminal equipment in a normally bright mode to realize the function of a night lamp when the second time point detection submodule detects that the current time point is positioned in the preset time period.
In one embodiment, the opening module includes: a charging state detection submodule and a starting submodule,
the charging state detection submodule is used for detecting whether the terminal equipment is in a charging state;
and the starting submodule is used for starting a flash lamp of the terminal equipment in a normally-on mode when the charging state detection submodule detects that the terminal equipment is in a charging state.
In one embodiment, the state of charge detection submodule includes: a lampshade charging detection sub-module,
the lampshade charging detection submodule is used for detecting whether the terminal equipment is charged through a charging plug in the lampshade.
In one embodiment, further comprising: a receiving module for receiving the data from the data processing module,
and the receiving module is used for receiving a night lamp mode starting instruction before the monitoring module monitors the external information of the terminal equipment.
In one embodiment, the monitoring module comprises: an outside information monitoring sub-module, a monitoring sub-module,
and the external information monitoring submodule is used for monitoring the external information of the terminal equipment through the photosensitive sensor.
According to a third aspect of the embodiments of the present disclosure, there is provided a lamp cover including: the charging device comprises a power plug, a lampshade, a charging plug for charging the terminal equipment and light-transmitting glass for placing the terminal equipment;
one end of the power plug is connected with one end of the charging plug and used for providing voltage for the charging plug;
the charging plug is positioned on one surface of the light-transmitting glass, which is used for placing the terminal equipment;
the lampshade is positioned on the other surface of the light-transmitting glass.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a terminal device control apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring external information of the terminal equipment;
detecting whether the external information meets a preset condition;
when the external information is detected to meet the preset condition, the flash lamp of the terminal equipment is started in a normally-on mode to realize the function of a night lamp.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of:
monitoring external information of the terminal equipment;
detecting whether the external information meets a preset condition;
when the external information is detected to meet the preset condition, the flash lamp of the terminal equipment is started in a normally-on mode to realize the function of a night lamp.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a terminal device control method according to an example embodiment.
Fig. 2 is a flowchart illustrating a step S101 in the terminal device control method according to an exemplary embodiment.
Fig. 3 is a flowchart of step S101 in the terminal device control method according to the second exemplary embodiment.
Fig. 4 is a flowchart illustrating a terminal device control method according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating a terminal device control method according to a third exemplary embodiment.
Fig. 6 is a flowchart illustrating step S103 in the terminal device control method according to an exemplary embodiment.
Fig. 7 is a flowchart illustrating a terminal device control method according to a fourth exemplary embodiment.
Fig. 8 is a flowchart illustrating a terminal device control method according to an exemplary embodiment.
Fig. 9 is a block diagram of a lamp enclosure according to an exemplary embodiment.
Fig. 10 is a block diagram of a lamp enclosure according to a second exemplary embodiment.
Fig. 11 is a block diagram of a terminal control device according to an example embodiment.
Fig. 12 is a block diagram of a terminal control apparatus according to a second exemplary embodiment.
Fig. 13 is a block diagram of a terminal control apparatus according to a third exemplary embodiment.
Fig. 14 is a block diagram of a terminal control apparatus according to an exemplary embodiment.
Fig. 15 is a block diagram of a terminal control device according to an example embodiment.
Fig. 16 is a block diagram of a terminal control device according to an example embodiment.
Fig. 17 is a block diagram of a terminal control device according to a seventh illustrative embodiment.
Fig. 18 is a block diagram of a terminal control device according to an example embodiment shown in an eighth aspect.
Fig. 19 is a block diagram illustrating a method for a terminal control device 80 according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a terminal device control method, as shown in fig. 1, for use in a mobile terminal, according to an exemplary embodiment, including the following steps S101-S103,
in step S101, outside information of the terminal device is monitored.
In step S102, it is detected whether the external information satisfies a preset condition.
In step S103, when it is detected that the external information satisfies the preset condition, the flash of the terminal device is turned on in a normally on mode to implement a night light function.
The embodiment of the disclosure provides a terminal device control method, which includes: monitoring terminal equipment's external information to whether detect external information and satisfy and predetermine the condition, when detecting that external information satisfies and predetermine the condition, then open terminal equipment's flash light with the mode of always brightening, in order to realize the night-light function. Wherein, through monitor terminal equipment's external information to when external information reached preset condition, then opened terminal equipment's flash light with the mode of always brightening, in order to realize the night-light function, need not the mode of always brightening that the user manually opened the flash light in order to realize the night-light function, effectively promoted user experience.
In an embodiment of the present disclosure, the external information monitored in step S101 includes: the current light intensity value.
As shown in fig. 2, the step S101 may be implemented as: step S101 a; the step S102 may be implemented as: step S102 a; the step S103 may be implemented as: step S103 a.
In step S101a, the current light intensity is monitored.
In an implementation manner, a sensor for measuring the light intensity may be built in the terminal device, so that the terminal device itself can measure the light intensity.
In another implementation manner, the terminal device may be connected to another device, a sensor for measuring the light intensity is built in the other device, and then the other device sends the measured light intensity to the terminal device, at this time, the light sensor does not need to be built in the terminal device, and the internal structure of the terminal device does not need to be changed.
One implementation manner of the above monitoring of the external current light intensity of the device is as follows: can be through the external current light intensity of real-time monitoring terminal equipment, also the external current light intensity of monitoring terminal equipment at all times, and monitor with this kind of mode, obtain the precision of current light intensity than higher, but if go the external current light intensity of monitoring terminal equipment in real time, can consume a large amount of electric quantities.
In another implementation manner of the present disclosure, since the light intensity does not change much within a certain time interval, the current light intensity outside the terminal device can be monitored at preset time intervals, so that the electric quantity can be effectively saved.
In another implementation manner of the present disclosure, a time threshold for acquiring the current light intensity may be preset, and at this time, in order to make the measured current light intensity value more accurate, a plurality of current light intensities may be continuously acquired within the preset acquisition time threshold; averaging the collected light intensity values to generate the current light intensity value.
For example: in order to prevent the false acquisition, a proper time is preset, for example, a preset acquisition time threshold is set to be within 1 second after each integral point time, 4 times of current light intensity is continuously acquired within the 1 second, 4 groups of acquired light intensity values are accumulated, an average value is calculated, and the obtained average value is the current light intensity value.
In step S102a, it is detected whether the current light intensity value is smaller than a preset threshold.
The preset threshold is set as a critical threshold for controlling whether the current light intensity threshold triggers the flash lamp of the terminal device to be turned on.
This preset threshold value can be for user's manual setting, also can be through current historical data when deriving that light intensity reaches which kind of luminance, and the user need open little night-light.
In step S103a, when it is detected that the current light intensity value is smaller than the preset threshold, the flash of the terminal device is turned on in a normally on mode to implement a night light function.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: through the external current light intensity of monitoring terminal equipment to confirm whether open terminal equipment's flash light with the mode of always brightening, with the realization night-light function, wherein, regard as the condition whether to open terminal equipment's flash light with current light intensity, and need not the manual flash light that opens terminal equipment of user, effectively promoted user experience.
In an embodiment of the present disclosure, the external information monitored in step S101 includes: the current point in time.
As shown in fig. 3, the step S101 may be implemented as: step S101 b; the step S102 may be implemented as: step S102 b; the step S103 may be implemented as: step S103 b.
In step S101b, the current time point is monitored.
In this step, the current time point may be obtained by a timer built in the terminal device, or may be obtained in other manners.
In step S102b, it is detected whether the current time point is within a preset time period.
The preset time period may be manually set by a user, for example: eight evening to eight morning can also be obtained according to historical data, and this disclosure does not put any restrictions on the acquisition mode of the preset time period.
In step S103b, when it is detected that the current time point is within the preset time period, the flash of the terminal device is turned on in the normally on mode to implement the night light function.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: through monitoring current time point to confirm whether open terminal equipment's flash light with the mode of always brightening, with the realization night-light function, wherein, regard as the condition whether to open terminal equipment's flash light with current time point, and need not the manual flash light that opens terminal equipment of user, effectively promoted user experience.
In an embodiment of the present disclosure, the external information monitored in step S101 includes: a current light intensity value and a current point in time.
As shown in fig. 4, the step S101 may be implemented as: step S101 c; the step S102 may be implemented as: step S102 c; the step S103 may be implemented as: step S103c and step S103 d.
In step S101c, the current light intensity is monitored.
The implementation manner of this step is the same as that of step S101a described above, and is not described here again.
In step S102c, detecting whether the current light intensity value is smaller than a preset threshold;
the implementation manner of this step is the same as that of step S102a described above, and is not described here again.
In step S103c, when it is detected that the current light intensity value is smaller than the preset threshold, it is detected whether the current time point is within the preset time period.
The implementation manner of obtaining the current time point in this step is the same as that in step S101b, and is not described here again.
In step S103d, when it is detected that the current time point is within the preset time period, the flash of the terminal device is turned on in the normally on mode to implement the night light function.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: through monitoring current light intensity value and current time point to confirm whether open terminal equipment's flash light with the mode of always brightening, with the realization night-light function, wherein, regard as the condition whether to open terminal equipment's flash light with current time point, and need not the manual flash light that opens terminal equipment of user, effectively promoted user experience.
As shown in fig. 5, the step S101 may be implemented as: step S101 d; the step S102 may be implemented as: step S102 d; the step S103 may be implemented as: step S103e and step S103 f.
In step S101d, the current time point is monitored.
The implementation manner of this step is the same as that of step S101b described above, and is not described here again.
In step S102d, it is detected whether the current time point is within a preset time period.
In step S103e, when it is detected that the current time point is within the preset time period, it is detected whether the current light intensity value is smaller than the preset threshold.
The implementation manner of obtaining the current light intensity value in this step is the same as that in step S101a, and is not described herein again.
In step S103f, when it is detected that the current light intensity is smaller than the preset threshold, the flash of the terminal device is turned on in the normal light mode to implement the night light function.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: through monitoring current time point and current light intensity value to confirm whether open terminal equipment's flash light with the mode of always brightening, with the realization night-light function, wherein, regard as the condition whether to open terminal equipment's flash light with current time point, and need not the manual flash light that opens terminal equipment of user, effectively promoted user experience.
In an embodiment of the present disclosure, as shown in fig. 6, the step 103 may be further implemented as: step S103g and step S103 h.
In step S103g, when it is detected that the external information satisfies the preset condition, it is detected whether the terminal device is in a charging state.
In step S103h, when it is detected that the terminal device is in the charging state, the flash of the terminal device is turned on in the normally on mode.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: because terminal equipment opens the flash light and need consume the electric quantity of battery, if the electric quantity of terminal equipment self storage is limited, so with often bright mode open terminal equipment's flash light after, the flash light probably can not continuously light to when terminal equipment electric quantity exhausts, the flash light extinguishes, can't continue to realize the night light function, consequently, can be when terminal equipment is in the mode of charging, open the night light function, thereby user experience has been promoted.
In order to match the night light function of the flash lamp of the terminal device, various patterns of lamp covers are provided, and in one embodiment of the disclosure, the lamp cover may include a charging plug, one end of the charging plug is connected with the mains supply, and the other end of the charging plug is used for being plugged into a charger plug of the terminal device.
At this time, the step S103g may be further implemented as: whether the terminal equipment is charged through a charging plug in the lampshade is detected.
In an embodiment of the present disclosure, as shown in fig. 7, before step S101, the method further includes: in the step S104, the process is executed,
in step S104, a night light mode on instruction is received.
The terminal equipment can monitor the external information of the terminal equipment all the time, the terminal equipment is more humanized, and a user can manually start a mode of monitoring the external information of the terminal equipment.
Fig. 8 is a flowchart illustrating a terminal device control method according to an exemplary embodiment, which is used in a mobile terminal, as shown in fig. 8, in which the terminal device does not turn on a flash in a normally on mode, the method includes the following steps S201 to S203,
in step S201, a night light mode of the terminal device is turned on.
At this time, an application APP may be built in the terminal device, and the APP is used to control the terminal device to start a night light mode; the function can also be realized by using the existing physical keys of the terminal equipment; the function may also be implemented using a user to make a specific gesture on the screen of the terminal device.
In step S202, the user sets a preset time period for which the night light is turned on.
In step S203, a timer and a photosensor are turned on, and the current time point and the current light intensity are monitored.
In step S204, it is detected whether the current time point is within a preset time period, when the current time point is detected to be within the preset time period, step S205 is executed, and when the current time point is detected not to be within the preset time period, no operation is executed.
In step S205, it is detected whether the current light intensity is less than the preset threshold, and when the current light intensity is less than the preset threshold, step S206 is executed, and when the current light intensity is greater than the preset threshold, no operation is executed.
The preset threshold value is pre-stored in advance, and manual input by a user is not needed.
In step S206, it is detected whether the terminal device is in a charging state, and when it is detected that the terminal device is in the charging state, step S207 is performed, and when it is detected that the terminal device is not in the charging state, no operation is performed.
In step S207, the flash of the terminal device is turned on in the normally on mode to implement the night light function.
The embodiment of the disclosure provides a terminal device control method, which includes: the user opens terminal equipment's night-light mode, and set up the preset time quantum that the night-light was opened, and then open timer and photosensitive sensor, monitor current time point and current light intensity, when detecting that current time point is located the preset time quantum, whether detect current light intensity and be less than and predetermine the threshold value, when detecting that current light intensity is less than and predetermine the threshold value, whether detect terminal equipment is in the charged state, when detecting terminal equipment is in the charged state, then open terminal equipment's flash light with the mode of regularly shining, in order to realize the night-light function. The night lamp function is achieved by using the current time, the current light intensity and the charging state as the condition that the terminal device starts the flash lamp of the terminal device in a normally bright mode, the flash lamp of the terminal device does not need to be manually started by a user, and user experience is effectively improved.
On the basis of fig. 8, after the terminal device turns on the flash of the terminal device in the normal bright mode to realize the night light function, the method further includes the following steps: whether the current time point is located in a preset time period or not is detected, when the current time point is detected to be located in the preset time period, the flash lamp of the terminal device is continuously turned on in a normally-on mode to achieve a night lamp function, and when the current time point is detected not to be located in the preset time period, the flash lamp is turned off.
Or comprises the following steps: whether the current light intensity is smaller than a preset threshold value or not is detected, when the current light intensity is smaller than the preset threshold value, the flash lamp of the terminal device is continuously turned on in a normally-on mode to achieve a night lamp function, and when the current light intensity is larger than the preset threshold value, the flash lamp is turned off.
Or comprises the following steps: detecting whether the current time point is within a preset time period, detecting whether the current light intensity is smaller than a preset threshold value when detecting that the current time point is not within the preset time period, and turning off the flash lamp when detecting that the current light intensity is larger than the preset threshold value.
The embodiment of the disclosure provides a terminal device control method, which includes: when the terminal equipment starts the flash lamp of the terminal equipment in a normally-on mode to realize the function of the night lamp, the current time point and/or the current light intensity are continuously monitored, and when the current time point is detected not to be located in a preset time period and/or when the current light intensity is detected to be greater than a preset threshold value, the flash lamp of the terminal equipment is turned off to finish the function of the night lamp. The condition that the flash lamp is turned off by the terminal device according to the current time and/or the current light intensity is used as the condition that the night lamp function is ended, the flash lamp of the terminal device does not need to be turned off manually by a user, and user experience is effectively improved.
Fig. 9 is a block diagram of a lamp enclosure according to an exemplary embodiment, as shown in fig. 9, the lamp enclosure 300 including:
a power plug 301, a cover 302, a charging plug 303 for charging the terminal device 30, and a light-transmitting glass 304 for placing the terminal device;
one end of the power plug 301 is connected to one end of the charging plug 303, and is configured to provide a voltage for the charging plug 301;
the charging plug 301 is positioned on one side of the light-transmitting glass 304 for placing the terminal equipment;
the cover 302 is located on the other side of the light-transmitting glass.
Fig. 10 is a block diagram of a lamp housing according to a second exemplary embodiment, as shown in fig. 10, and on the basis of fig. 9, a terminal device 305 is placed on a light-transmitting glass of the lamp housing 300.
At this time, light emitted from a flash 3051 of the terminal device 305 into which the charging plug of the terminal device 305 is inserted is irradiated on the lamp cover 302 through the light-transmitting glass 304.
In the present disclosure, various patterns may be provided on the cover, and the present disclosure does not limit the same.
The disclosed embodiment provides a lamp shade, include: the charging device comprises a power plug, a lampshade, a charging plug for charging the terminal equipment and light-transmitting glass for placing the terminal equipment; one end of the power plug is connected with one end of the charging plug and used for providing voltage for the charging plug; the charging plug is positioned on one surface of the light-transmitting glass, which is used for placing the terminal equipment; the lampshade is positioned on the other surface of the light-transmitting glass. This lamp shade realizes the appurtenance of night-light function for terminal equipment, makes the user more happy flash light that uses terminal equipment as the night-light, can more effectual improvement user experience.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 11 is a block diagram illustrating a terminal control apparatus, which may be implemented as part or all of an electronic device through software, hardware, or a combination of both, according to an example embodiment. As shown in fig. 11, the terminal control apparatus includes:
and the monitoring module 11 is used for monitoring external information of the terminal equipment.
And the detection module 12 is configured to detect whether the external information monitored by the monitoring module 11 meets a preset condition.
And the starting module 13 is used for starting the flash lamp of the terminal equipment in a normally bright mode when the detection module 12 detects that the external information meets the preset condition so as to realize the function of a night lamp.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In one embodiment of the present disclosure, as shown in fig. 12, the external information includes: current light intensity value; the detection module 12 includes: a first light intensity detection sub-module 121,
the first light intensity detection submodule 121 is configured to detect whether the current light intensity value monitored by the monitoring module 11 is smaller than a preset threshold value;
the opening module 13 is configured to open the flash lamp of the terminal device in a normally-on mode when the first light intensity detection submodule 121 detects that the current light intensity value is smaller than a preset threshold value, so as to implement a night light function.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In an embodiment of the present disclosure, as shown in fig. 13, the external information includes: a current point in time; the detection module 12 includes: the first point in time detection sub-module 122,
the first time point detection submodule 122 is configured to detect whether the current time point monitored by the monitoring module 11 is within a preset time period;
the opening module 13 is configured to, when the first time point detection submodule 122 detects that the current time point is located in the preset time period, open the flash of the terminal device in a normally bright mode to realize a night light function.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In one embodiment of the present disclosure, as shown in fig. 14, the external information includes: the current light intensity value and the current time point, the detection module 12 includes: a second light intensity detection sub-module 123 and a second time point detection sub-module 124,
the second light intensity detection submodule 123 is configured to detect whether the current light intensity value monitored by the monitoring module 11 is smaller than a preset threshold value;
the second time point detecting submodule 124 is configured to detect whether the current time point is within a preset time period when the second light intensity detecting submodule 123 detects that the current light intensity value is smaller than a preset threshold;
the opening module 13 is configured to, when the second time point detection submodule 124 detects that the current time point is located in the preset time period, open the flash of the terminal device in a normally bright mode to realize a night light function.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In one embodiment of the present disclosure, as shown in fig. 15, the opening module 13 includes: a charge state detection submodule 131 and an activation submodule 132,
the charging state detection submodule is used for detecting whether the terminal equipment is in a charging state;
and the starting submodule is used for starting a flash lamp of the terminal equipment in a normally-on mode when the charging state detection submodule detects that the terminal equipment is in a charging state.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In one embodiment of the present disclosure, as shown in fig. 16, the charging state detection sub-module 131 includes: the lamp housing charge detection sub-module 1311,
the lampshade charging detection submodule 1311 is used for detecting whether the terminal device is charged through a charging plug in the lampshade.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In an embodiment of the present disclosure, as shown in fig. 17, the method further includes: the reception means 14 are arranged to receive,
the receiving module 14 is configured to receive a night light mode starting instruction before the monitoring module 11 monitors the external information of the terminal device.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In one embodiment of the present disclosure, as shown in fig. 18, the monitoring module 11 includes: the outside-world information monitoring sub-module 111,
the external information monitoring submodule 111 is configured to monitor external information of the terminal device through a photosensitive sensor.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal device control apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring external information of the terminal equipment;
detecting whether the external information meets a preset condition;
when the external information is detected to meet the preset condition, the flash lamp of the terminal equipment is started in a normally-on mode to realize the function of a night lamp.
The processor may be further configured to:
the outside world information includes: current light intensity value;
the detecting whether the external information meets a preset condition comprises: detecting whether the current light intensity value is smaller than a preset threshold value or not;
when detecting external information satisfies during the default condition, then open with the mode of always brightening terminal equipment's flash light to realize the night-light function, include:
and when the current light intensity value is detected to be smaller than a preset threshold value, the flash lamp of the terminal equipment is started in a normally-on mode so as to realize the function of a night lamp.
The outside world information includes: a current point in time;
the detecting whether the external information meets a preset condition comprises: detecting whether the current time point is within a preset time period or not;
when detecting external information satisfies during the default condition, then open with the mode of always brightening terminal equipment's flash light to realize the night-light function, include: and when the current time point is detected to be positioned in the preset time period, the flash lamp of the terminal equipment is started in a normally-on mode so as to realize the function of a night lamp.
The outside world information includes: the current light intensity value and the current point in time,
the detecting whether the external information meets a preset condition comprises: detecting whether the current light intensity value is smaller than a preset threshold value or not;
when detecting external information satisfies during the default condition, then open with the mode of always brightening terminal equipment's flash light to realize the night-light function, include:
when detecting current light intensity value is less than and predetermines the threshold value, detect whether current time point is located in the time quantum of predetermineeing, when detecting current time point is located when predetermineeing the time quantum, then open with the mode of always brightening terminal equipment's flash light to realize the night-light function.
The turning on the flash lamp of the terminal device comprises:
detecting whether the terminal equipment is in a charging state;
and when the terminal equipment is detected to be in a charging state, a flash lamp of the terminal equipment is turned on in a normally-on mode.
The detecting whether the terminal device is in a charging state includes:
and detecting whether the terminal equipment is charged through a charging plug in the lampshade.
Before monitoring the external information of the terminal device, the method further comprises the following steps:
and receiving a night lamp mode starting instruction.
The external information of the monitoring terminal equipment comprises:
and monitoring external information of the terminal equipment through a photosensitive sensor.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 19 is a block diagram illustrating a terminal control apparatus 80 adapted for use with a terminal device according to an exemplary embodiment. For example, the apparatus 80 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
The apparatus 80 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 80, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 80. Examples of such data include instructions for any application or method operating on the device 80, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the device 80. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 80.
The multimedia component 808 includes a screen that provides an output interface between the device 80 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 80 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 80 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 80. For example, the sensor assembly 814 may detect the open/closed status of the device 80, the relative positioning of the components, such as a display and keypad of the device 80, the change in position of the device 80 or a component of the device 80, the presence or absence of user contact with the device 80, the orientation or acceleration/deceleration of the device 80, and the change in temperature of the device 80. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the apparatus 80 and other devices. The device 80 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 80 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the apparatus 80 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of an apparatus 80, enable the apparatus 80 to perform the method of.
Monitoring external information of the terminal equipment;
detecting whether the external information meets a preset condition;
when the external information is detected to meet the preset condition, the flash lamp of the terminal equipment is started in a normally-on mode to realize the function of a night lamp.
The outside world information includes: current light intensity value;
the detecting whether the external information meets a preset condition comprises: detecting whether the current light intensity value is smaller than a preset threshold value or not;
when detecting external information satisfies during the default condition, then open with the mode of always brightening terminal equipment's flash light to realize the night-light function, include:
and when the current light intensity value is detected to be smaller than a preset threshold value, the flash lamp of the terminal equipment is started in a normally-on mode so as to realize the function of a night lamp.
The outside world information includes: a current point in time;
the detecting whether the external information meets a preset condition comprises: detecting whether the current time point is within a preset time period or not;
when detecting external information satisfies during the default condition, then open with the mode of always brightening terminal equipment's flash light to realize the night-light function, include: and when the current time point is detected to be positioned in the preset time period, the flash lamp of the terminal equipment is started in a normally-on mode so as to realize the function of a night lamp.
The outside world information includes: the current light intensity value and the current point in time,
the detecting whether the external information meets a preset condition comprises: detecting whether the current light intensity value is smaller than a preset threshold value or not;
when detecting external information satisfies during the default condition, then open with the mode of always brightening terminal equipment's flash light to realize the night-light function, include:
when detecting current light intensity value is less than and predetermines the threshold value, detect whether current time point is located in the time quantum of predetermineeing, when detecting current time point is located when predetermineeing the time quantum, then open with the mode of always brightening terminal equipment's flash light to realize the night-light function.
The turning on the flash lamp of the terminal device comprises:
detecting whether the terminal equipment is in a charging state;
and when the terminal equipment is detected to be in a charging state, a flash lamp of the terminal equipment is turned on in a normally-on mode.
The detecting whether the terminal device is in a charging state includes:
and detecting whether the terminal equipment is charged through a charging plug in the lampshade.
Before monitoring the external information of the terminal device, the method further comprises the following steps:
and receiving a night lamp mode starting instruction.
The external information of the monitoring terminal equipment comprises:
and monitoring external information of the terminal equipment through a photosensitive sensor.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (15)

1. A terminal device control method is characterized by comprising the following steps:
monitoring external information of the terminal equipment;
detecting whether the external information meets a preset condition;
when the external information is detected to meet the preset condition, a flash lamp of the terminal device is turned on in a normally-on mode to realize a night lamp function;
the turning on the flash lamp of the terminal device comprises:
detecting whether the terminal equipment is in a charging state;
when the terminal equipment is detected to be in a charging state, a flash lamp of the terminal equipment is started in a normally-on mode;
the detecting whether the terminal device is in a charging state includes:
detecting whether the terminal equipment is charged through a charging plug in a lampshade;
wherein, the lamp shade includes: the power supply device comprises a power supply plug, a cover, a charging plug for charging the terminal equipment and light-transmitting glass for placing the terminal equipment;
one end of the power plug is connected with one end of the charging plug and used for providing voltage for the charging plug;
the charging plug is positioned on one surface of the light-transmitting glass, which is used for placing the terminal equipment;
the cover is positioned on the other surface of the light-transmitting glass.
2. The method of claim 1, wherein the context information comprises: current light intensity value;
the detecting whether the external information meets a preset condition comprises: detecting whether the current light intensity value is smaller than a preset threshold value or not;
when detecting external information satisfies during the default condition, then open with the mode of always brightening terminal equipment's flash light to realize the night-light function, include:
and when the current light intensity value is detected to be smaller than a preset threshold value, the flash lamp of the terminal equipment is started in a normally-on mode so as to realize the function of a night lamp.
3. The method of claim 1, wherein the context information comprises: a current point in time;
the detecting whether the external information meets a preset condition comprises: detecting whether the current time point is within a preset time period or not;
when detecting external information satisfies during the default condition, then open with the mode of always brightening terminal equipment's flash light to realize the night-light function, include: and when the current time point is detected to be positioned in the preset time period, the flash lamp of the terminal equipment is started in a normally-on mode so as to realize the function of a night lamp.
4. The method of claim 1, wherein the context information comprises: the current light intensity value and the current point in time,
the detecting whether the external information meets a preset condition comprises: detecting whether the current light intensity value is smaller than a preset threshold value or not;
when detecting external information satisfies during the default condition, then open with the mode of always brightening terminal equipment's flash light to realize the night-light function, include:
when detecting current light intensity value is less than and predetermines the threshold value, detect whether current time point is located in the time quantum of predetermineeing, when detecting current time point is located when predetermineeing the time quantum, then open with the mode of always brightening terminal equipment's flash light to realize the night-light function.
5. The method according to any one of claims 1 to 4, wherein before monitoring the external information of the terminal device, the method further comprises:
and receiving a night lamp mode starting instruction.
6. The method according to claim 2, wherein the monitoring of the external information of the terminal device comprises:
and monitoring external information of the terminal equipment through a photosensitive sensor.
7. A terminal device control apparatus, characterized by comprising:
the monitoring module is used for monitoring external information of the terminal equipment;
the detection module is used for detecting whether the outside information monitored by the monitoring module meets a preset condition;
the starting module is used for starting a flash lamp of the terminal equipment in a normally-on mode to realize a night lamp function when the detection module detects that the external information meets the preset condition;
the opening module includes: a charging state detection submodule and a starting submodule,
the charging state detection submodule is used for detecting whether the terminal equipment is in a charging state;
the starting sub-module is used for starting a flash lamp of the terminal device in a normally-on mode when the charging state detection sub-module detects that the terminal device is in a charging state;
the state of charge detection submodule includes: a lampshade charging detection sub-module,
the lampshade charging detection submodule is used for detecting whether the terminal equipment is charged through a charging plug in the lampshade;
wherein, the lamp shade includes: the power supply device comprises a power supply plug, a cover, a charging plug for charging the terminal equipment and light-transmitting glass for placing the terminal equipment;
one end of the power plug is connected with one end of the charging plug and used for providing voltage for the charging plug;
the charging plug is positioned on one surface of the light-transmitting glass, which is used for placing the terminal equipment;
the cover is positioned on the other surface of the light-transmitting glass.
8. The apparatus of claim 7, wherein the context information comprises: current light intensity value; the detection module comprises: a first light intensity detection sub-module for detecting light intensity,
the first light intensity detection submodule is used for detecting whether the current light intensity value monitored by the monitoring module is smaller than a preset threshold value or not;
and the starting module is used for starting the flash lamp of the terminal equipment in a normally bright mode when the first light intensity detection submodule detects that the current light intensity value is smaller than a preset threshold value so as to realize the function of a night lamp.
9. The apparatus of claim 7, wherein the context information comprises: a current point in time; the detection module comprises: a first time point detection sub-module for detecting the time point,
the first time point detection submodule is used for detecting whether the current time point monitored by the monitoring module is within a preset time period;
and the starting module is used for starting the flash lamp of the terminal equipment in a normally bright mode when the first time point detection submodule detects that the current time point is positioned in the preset time period so as to realize the function of a night lamp.
10. The apparatus of claim 7, wherein the context information comprises: current light intensity value and current point in time, the detection module includes: a second light intensity detection submodule and a second time point detection submodule,
the second light intensity detection submodule is used for detecting whether the current light intensity value monitored by the monitoring module is smaller than a preset threshold value or not;
the second time point detection submodule is used for detecting whether the current time point is within a preset time period or not when the second light intensity detection submodule detects that the current light intensity value is smaller than a preset threshold value;
and the opening module is used for opening the flash lamp of the terminal equipment in a normally bright mode to realize the function of a night lamp when the second time point detection submodule detects that the current time point is positioned in the preset time period.
11. The apparatus of any one of claims 7-10, further comprising: a receiving module for receiving the data from the data processing module,
and the receiving module is used for receiving a night lamp mode starting instruction before the monitoring module monitors the external information of the terminal equipment.
12. The apparatus of claim 8, wherein the monitoring module comprises: an outside information monitoring sub-module, a monitoring sub-module,
and the external information monitoring submodule is used for monitoring the external information of the terminal equipment through the photosensitive sensor.
13. A lamp housing, comprising: the charging device comprises a power plug, a lampshade, a charging plug for charging the terminal equipment and light-transmitting glass for placing the terminal equipment;
one end of the power plug is connected with one end of the charging plug and used for providing voltage for the charging plug;
the charging plug is positioned on one surface of the light-transmitting glass, which is used for placing the terminal equipment;
the lampshade is positioned on the other surface of the light-transmitting glass.
14. A terminal device control apparatus, characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring external information of the terminal equipment;
detecting whether the external information meets a preset condition;
when the external information is detected to meet the preset condition, a flash lamp of the terminal device is turned on in a normally-on mode to realize a night lamp function;
the turning on the flash lamp of the terminal device comprises:
detecting whether the terminal equipment is in a charging state;
when the terminal equipment is detected to be in a charging state, a flash lamp of the terminal equipment is started in a normally-on mode;
the detecting whether the terminal device is in a charging state includes:
detecting whether the terminal equipment is charged through a charging plug in a lampshade;
wherein, the lamp shade includes: the power supply device comprises a power supply plug, a cover, a charging plug for charging the terminal equipment and light-transmitting glass for placing the terminal equipment;
one end of the power plug is connected with one end of the charging plug and used for providing voltage for the charging plug;
the charging plug is positioned on one surface of the light-transmitting glass, which is used for placing the terminal equipment;
the cover is positioned on the other surface of the light-transmitting glass.
15. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, carry out the steps of the method according to any one of claims 1 to 6.
CN201710317987.3A 2017-05-08 2017-05-08 Terminal device control method and device Active CN106982300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710317987.3A CN106982300B (en) 2017-05-08 2017-05-08 Terminal device control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710317987.3A CN106982300B (en) 2017-05-08 2017-05-08 Terminal device control method and device

Publications (2)

Publication Number Publication Date
CN106982300A CN106982300A (en) 2017-07-25
CN106982300B true CN106982300B (en) 2020-09-29

Family

ID=59342645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710317987.3A Active CN106982300B (en) 2017-05-08 2017-05-08 Terminal device control method and device

Country Status (1)

Country Link
CN (1) CN106982300B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465778A (en) * 2017-08-09 2017-12-12 深圳天珑无线科技有限公司 A kind of mobile terminal and its means of illumination and memory
CN108235542A (en) * 2018-01-05 2018-06-29 深圳市沃特沃德股份有限公司 Auxiliary lighting method, device and equipment
CN108377593A (en) * 2018-03-01 2018-08-07 广东欧珀移动通信有限公司 Control means of illumination, device, system, earphone and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024141A (en) * 2012-11-13 2013-04-03 广东欧珀移动通信有限公司 Method for displaying charging state and mobile intelligent terminal
CN105916267A (en) * 2016-04-12 2016-08-31 广东欧珀移动通信有限公司 Flashlight illumination brightness adjusting method, flashlight illumination brightness adjusting device and mobile terminal
CN106020641A (en) * 2016-05-11 2016-10-12 广东欧珀移动通信有限公司 Control method of terminal flashlight, control system and terminal equipment
CN205782257U (en) * 2016-06-01 2016-12-07 朱晓玲 A kind of multi-function desk lamp

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763828B (en) * 2014-01-16 2016-08-17 步步高教育电子有限公司 A kind of eye-protecting desk lamp being provided with alarm clock and control method thereof
CN204227291U (en) * 2014-12-02 2015-03-25 武汉大学 The chargeable LED night lamp of a kind of eyeshield
CN105240781A (en) * 2015-10-29 2016-01-13 王骏 Bedside intelligent LED lamp control system based on Internet of Things
CN105872240A (en) * 2016-05-06 2016-08-17 乐视控股(北京)有限公司 Flashlight mode starting method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024141A (en) * 2012-11-13 2013-04-03 广东欧珀移动通信有限公司 Method for displaying charging state and mobile intelligent terminal
CN105916267A (en) * 2016-04-12 2016-08-31 广东欧珀移动通信有限公司 Flashlight illumination brightness adjusting method, flashlight illumination brightness adjusting device and mobile terminal
CN106020641A (en) * 2016-05-11 2016-10-12 广东欧珀移动通信有限公司 Control method of terminal flashlight, control system and terminal equipment
CN205782257U (en) * 2016-06-01 2016-12-07 朱晓玲 A kind of multi-function desk lamp

Also Published As

Publication number Publication date
CN106982300A (en) 2017-07-25

Similar Documents

Publication Publication Date Title
US10674088B2 (en) Method and device for acquiring image, terminal and computer-readable storage medium
CN106774774B (en) Method and device for displaying electric quantity of terminal battery
EP3277057A1 (en) Light emission control method and device
CN107134823B (en) Charging prompting method and device
CN110796988B (en) Backlight adjusting method and device
EP3093569A1 (en) Method and device for turning on air conditioner
EP2999313A1 (en) Method and apparatus for automatically controlling a light source
CN107872576B (en) Alarm clock reminding method and device and computer readable storage medium
EP2991067B1 (en) Backlight brightness control method and device
EP2940523B1 (en) Method and device for configuring photographing parameters
CN106843706B (en) Shutdown control method and device and terminal equipment
EP3099017A1 (en) A method and a device for controlling a smart home power supply
CN107463052B (en) Shooting exposure method and device
CN106982300B (en) Terminal device control method and device
US10042328B2 (en) Alarm setting method and apparatus, and storage medium
EP3024211A1 (en) Method and device for announcing voice call
CN106484356A (en) Adjust the method and device of brightness of image
CN109862169B (en) Electronic equipment control method, device and storage medium
CN107940689B (en) Fan rotating speed control method and device, fan and storage medium
CN108200279B (en) Backlight adjusting method, device and equipment
EP3015949A1 (en) Method and device for displaying information
CN107977029B (en) Indoor illumination intensity adjusting method and device
CN106990984B (en) Method and device for updating system
CN107528098B (en) Charging method and device
CN109905543B (en) Method and device for preventing misoperation of terminal

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