CN111163223A - Flash lamp control method and device, storage medium and terminal equipment - Google Patents

Flash lamp control method and device, storage medium and terminal equipment Download PDF

Info

Publication number
CN111163223A
CN111163223A CN201911373702.3A CN201911373702A CN111163223A CN 111163223 A CN111163223 A CN 111163223A CN 201911373702 A CN201911373702 A CN 201911373702A CN 111163223 A CN111163223 A CN 111163223A
Authority
CN
China
Prior art keywords
laser
display instruction
setting parameters
acquiring
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911373702.3A
Other languages
Chinese (zh)
Inventor
张士磊
赖绍芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201911373702.3A priority Critical patent/CN111163223A/en
Publication of CN111163223A publication Critical patent/CN111163223A/en
Pending legal-status Critical Current

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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0386Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry for light pen
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/22Illumination; Arrangements for improving the visibility of characters on dials
    • 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
    • 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/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a flash lamp control method, a flash lamp control device, a storage medium and a terminal device, wherein a laser display instruction is obtained; acquiring laser setting parameters according to the laser display instruction; setting parameters of an indicator lamp in the terminal equipment according to the laser setting parameters; after the start parameter sets up the pilot lamp, so that the pilot lamp gets into the laser pen and shines the mode to make the flash light in the current terminal realize the laser pen function, the user need not additionally to carry the laser pen and carries out the document demonstration, and the flexibility is high, makes terminal function abundanter, and need not additionally to add the trompil on the display screen, is favorable to the screen beautification.

Description

Flash lamp control method and device, storage medium and terminal equipment
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a flash lamp control method and apparatus, a storage medium, and a terminal device.
Background
At present, terminal equipment such as mobile phones, notebook computers and the like become one of the most frequently used tools for people in modern society, and people always carry the terminal equipment with them no matter work, life, study and entertainment.
Currently, PPT document presentations are often required for some business people. In order to easily perform PPT document demonstration at any time, a presenter mostly carries a laser pen and terminal equipment like a notebook computer, a mobile phone and the like with him. Among them, a Laser pointer (also called as Laser pointer) is an electronic product specially designed for computers and multimedia projectors, and its use in developed countries such as europe and america is already common, and a PPT document to be demonstrated is put on a screen through a notebook computer or a mobile phone, and a document area on the screen is selectively explained through the Laser pointer. However, because the laser pen is small in size, a presenter often forgets to carry the laser pen, so that the laser pen cannot be used for presentation, and the reliability is low.
Disclosure of Invention
The embodiment of the application provides a flash lamp control method and device, a storage medium and a terminal device, which can enable a flash lamp in an existing terminal to realize a laser pen function and enable the terminal function to be richer.
The embodiment of the application provides a flash lamp control method, which is applied to terminal equipment and comprises the following steps:
acquiring a laser display instruction;
acquiring laser setting parameters according to the laser display instruction;
setting parameters of an indicator lamp in the terminal equipment according to the laser setting parameters;
and starting the indicator lamp after the parameters are set so as to enable the indicator lamp to enter a laser pen irradiation mode.
The embodiment of the present application further provides a flash lamp control device, which is applied to a terminal device, and includes:
the first acquisition module is used for acquiring a laser display instruction;
the second acquisition module is used for acquiring laser setting parameters according to the laser display instruction;
the setting module is used for setting parameters of an indicator lamp in the terminal equipment through the laser setting parameters;
and the starting module is used for starting the indicator lamp after the parameters are set so as to enable the indicator lamp to enter a laser pen irradiation mode.
Wherein the flash control device further comprises an update module for:
after the starting module starts the indicator light with the set parameters, acquiring a flashlight display instruction;
acquiring flashlight setting parameters according to the flashlight display instruction;
and updating the parameters of the started indicator lamp through the flashlight setting parameters so as to enable the indicator lamp to enter a flashlight irradiation mode.
Wherein the first obtaining module is further configured to:
before a laser display instruction is obtained, when the terminal equipment is positioned on a document demonstration interface, whether a user performs sliding operation on a terminal screen is detected;
if so, acquiring a sliding track formed by the sliding operation;
and when the sliding track meets a preset condition, executing the operation of acquiring the laser display instruction.
Wherein, flash control device still includes detection module for:
after the starting module starts the indicator light with the set parameters, when the terminal equipment is positioned on a document demonstration interface, detecting the pressing operation of a user on a volume adjusting key;
if the volume adjusting key subjected to the pressing operation is a volume increasing key, turning the document in the document demonstration interface forward;
and if the volume adjusting key subjected to the pressing operation is a volume turning-down key, turning the document in the document demonstration interface back.
The second obtaining module is specifically configured to:
photographing the document in the current photographing field of view according to the laser display instruction to obtain a photographed picture;
determining the font size of the document in the shot picture;
determining the radius of the light beam according to the font size;
and determining laser setting parameters according to the beam radius.
The embodiment of the application also provides a computer readable storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are suitable for being loaded by a processor to execute any flash lamp control method.
The embodiment of the application further provides a server, which comprises a processor and a memory, wherein the processor is electrically connected with the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps in the flash lamp control method.
The application provides a flash light control method, a device, storage medium and terminal equipment, through obtaining the laser display instruction, and obtain laser setting parameter according to this laser display instruction, later carry out parameter setting to the pilot lamp in this terminal equipment through this laser setting parameter, and this pilot lamp after the start parameter setting, so that this pilot lamp gets into the laser pen and shines the mode, thereby make the flash light in the current terminal realize the laser pen function, the user need not additionally to carry the laser pen and carries out the document demonstration, the flexibility is high, make terminal function abundanter, and need not additionally to add the trompil on the display screen, be favorable to the screen beautification.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a flash control method according to an embodiment of the present disclosure.
Fig. 2 is a schematic diagram illustrating a document in a laser pen irradiation mode according to an embodiment of the present application.
FIG. 3 is a schematic diagram illustrating a document page turning operation according to an embodiment of the present application.
Fig. 4 is another schematic flowchart of a flash control method according to an embodiment of the present disclosure.
Fig. 5 is a schematic structural diagram of a flash lamp control device according to an embodiment of the present application.
Fig. 6 is another schematic structural diagram of a flash lamp control device according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Fig. 8 is another schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
A flash lamp control method is applied to terminal equipment and comprises the following steps: acquiring a laser display instruction; obtaining laser setting parameters according to the laser display instruction; setting parameters of an indicator lamp in the terminal equipment through the laser setting parameters; and starting the indicator lamp after the parameters are set so as to enable the indicator lamp to enter a laser pen irradiation mode.
As shown in fig. 1, fig. 1 is a schematic flowchart of a flash control method provided in an embodiment of the present application, where the flash control method is applied to a terminal device, and a specific flow of the flash control method may be as follows:
s101, obtaining a laser display instruction.
The operation of obtaining the laser display instruction may be triggered in various manners, for example, the user may implement contact triggering by clicking a designated virtual key (e.g., a laser pen key) on a certain interface, or may implement non-contact triggering by voice, gesture, touch, and the like in a document presentation mode.
For example, before the above step S101, the flash control method may further include:
when the terminal equipment is positioned at a document demonstration interface, detecting whether a user performs sliding operation on a terminal screen;
if so, acquiring a sliding track formed by the sliding operation;
and when the sliding track meets a preset condition, executing the operation of acquiring the laser display instruction.
The terminal device can have a document demonstration function, for example, a PPT document can be displayed on a projection screen through the transfer interface for demonstration, and in the demonstration process, a user can trigger the flash lamp to enter a laser pen mode through a sliding mode. The preset condition may be: the sliding track penetrates through at least two designated areas, and the track shape is a designated shape. The designated area and the designated shape are set artificially, for example, the designated area includes an upper area, a middle area and a lower area, and the designated shape includes a circle, a square or a triangle.
And S102, acquiring laser setting parameters according to the laser display instruction.
The laser setting parameters can include light beam size, charging current, charging voltage and the like, all the laser setting parameters can be fixed numerical values set in advance by a manufacturer, and part of the laser setting parameters can also be variable numerical values, for example, the light beam size can be changed according to the actual display effect of characters in a demonstration document.
For example, the step S102 may specifically include:
photographing the document in the current photographing field of view according to the laser display instruction to obtain a photographed picture;
determining the font size of the document in the shot picture;
determining the radius of the light beam according to the font size;
laser setting parameters are determined according to the beam radius.
When the terminal device receives the laser display instruction, the camera can be immediately started to photograph the current photographing view, and the size of characters in a document in a photographed picture is analyzed, generally speaking, a light beam of the flash lamp is circular, the larger the character is, the larger the radius of the light beam is, and the best size of the light beam is to cover a single character, specifically, referring to fig. 2, for a document placed on a wall surface, the terminal device can detect the average width of a single font in the whole document in a photographing mode, for example, n, and the diameter of the light beam (i.e., 2r) is slightly smaller than the average width n.
It should be noted that, in addition to determining the beam radius by taking a picture, the beam radius may be manually specified by the user, for example, a parameter interface for inputting various laser setting parameters may be popped up, and the user may input the desired setting parameters on the parameter interface by himself.
And S103, setting parameters of the indicator lamp in the terminal equipment through the laser setting parameters.
Wherein the relevant parameters of the indicator light can be set in correspondence with the laser setting parameters.
And S104, starting the indicator light after the parameters are set so as to enable the indicator light to enter a laser pen irradiation mode.
The indicating lamp can be started according to the setting parameters, so that the light beam emitted by the indicating lamp is laser. The indicating lamp can enter the laser pen irradiation mode through a sliding mode, and can also end the laser pen irradiation mode through the sliding mode, for example, a sliding track when the laser pen irradiation mode is started and a sliding track when the laser pen irradiation mode is ended are preset, when a user wants to use or end the laser pen function, only corresponding sliding operation needs to be performed on a terminal screen, and of course, the ending action of the laser pen irradiation mode can be triggered through modes such as voice and gestures.
In addition, the pilot lamp can realize multiple functions such as flash light, flashlight and laser pen, and different functions correspond different setting parameters to can be under current terminal equipment's outward appearance, greatly richen terminal function, the flexibility is high, and different functions directly can the interconversion, for example can follow the laser pen mode and switch to flashlight mode or flash light mode.
For example, after the above step S104, the flash control method may further include:
acquiring a flashlight display instruction;
acquiring flashlight setting parameters according to the flashlight display instruction;
and updating the parameters of the started indicator lamp through the flashlight setting parameters so as to enable the indicator lamp to enter a flashlight irradiation mode.
The touch type flash lamp touch control method comprises the steps that a trigger action can be set for a laser pen mode, a flashlight mode and a flash lamp mode respectively, the trigger action can be of a touch type, for example, the laser pen mode can be continuously knocked on a terminal screen for two times, the flashlight mode is continuously knocked for three times, the flash lamp mode is continuously knocked for one time, and the trigger action can also be of other forms, such as a voice type. The flashlight setting parameters may also include light beam size, charging current, charging voltage, etc.
In addition, during the document presentation process, the user may also perform operations such as page up, page down, zooming in, zooming out, and the like on the document quickly and conveniently, for example, after step S104, the flash control method may further include:
when the terminal equipment is positioned on a document demonstration interface, detecting the pressing operation of a user on a volume adjusting key;
if the volume adjusting key subjected to the pressing operation is a volume increasing key, turning the document in the document demonstration interface forward;
and if the volume adjusting key subjected to the pressing operation is a volume turning-down key, turning the document in the document demonstration interface back.
The volume adjusting keys can be two entity keys on the side frame of the terminal equipment or two virtual keys on the document demonstration interface. Referring to fig. 3, when a user performs a document presentation in a laser pointer irradiation mode with a flash, the user may press a volume up button (or a first number of times) to perform a page backward operation and press a volume up button to perform a page forward operation, and may further press two volume up buttons (or a second number of times) to perform a page zoom-in operation and press two volume down buttons (or a second number of times) to perform a page zoom-out operation.
Therefore, the flash lamp control method provided by the embodiment is applied to the terminal device, the laser display instruction is obtained, the laser setting parameter is obtained according to the laser display instruction, then the parameter setting is carried out on the indicating lamp in the terminal device through the laser setting parameter, and the indicating lamp after the parameter setting is started, so that the indicating lamp enters the laser pen irradiation mode, the flash lamp in the existing terminal realizes the laser pen function, a user does not need to additionally carry the laser pen to perform document demonstration, the flexibility is high, the terminal function is richer, in addition, an additional hole is not needed to be additionally formed in the display screen, and the attractiveness of the screen is facilitated.
According to the method described in the foregoing embodiment, the present application further provides another flash lamp control method, which is applied to a terminal device, and as shown in fig. 4, a specific flow of the flash lamp control method may be as follows:
s201, when the terminal device is in a document demonstration interface, detecting whether a user performs sliding operation on a terminal screen, if so, executing the following step S202, and if not, re-detecting.
S202, obtaining a sliding track formed by the sliding operation, and obtaining a laser display instruction when the sliding track meets a preset condition.
The terminal device can have a document demonstration function, for example, a PPT document can be displayed on a projection screen through the transfer interface for demonstration, and in the demonstration process, a user can trigger the flash lamp to enter a laser pen mode through a sliding mode. The preset condition may be: the sliding track penetrates through at least two designated areas, and the track shape is a designated shape. The designated area and the designated shape are set artificially, for example, the designated area includes an upper area, a middle area and a lower area, and the designated shape includes a circle, a square or a triangle.
And S203, photographing the document in the current photographing field according to the laser display instruction to obtain a photographed picture.
And S204, determining the font size of the document in the shot picture, determining the beam radius according to the font size, and then determining laser setting parameters according to the beam radius.
The laser setting parameters may include a light beam size, a charging current, a charging voltage, and the like, when the terminal device receives a laser display instruction, the camera may be immediately started to photograph a current photographed view, and the size of a character in a document in a photographed picture is analyzed, generally speaking, a light beam of the flash lamp is circular, the larger the character is, the larger the beam radius is, and the best size is for the light beam to cover a single character, specifically, referring to fig. 2, for a document placed on a wall surface, the terminal device may detect an average font width of the entire document, such as n, by a photographing manner, and make the light beam diameter (i.e., 2r) slightly smaller than the average font width n.
S205, setting parameters of the indicator lamp in the terminal device through the laser setting parameters, and starting the indicator lamp after the parameters are set so that the indicator lamp enters a laser pen irradiation mode.
S206, acquiring a flashlight display instruction, and acquiring flashlight setting parameters according to the flashlight display instruction.
S207, updating parameters of the started indicator lamp through the flashlight setting parameters so that the indicator lamp enters a flashlight illumination mode.
The indicating lamp can enter the laser pen irradiation mode in a sliding mode, and the laser pen irradiation mode can be ended in the sliding mode. For example, a sliding track when the laser pen irradiation mode is started and a sliding track when the laser pen irradiation mode is ended are preset, and when a user wants to use or end the laser pen function, only corresponding sliding operation needs to be performed on the terminal screen. The indicating lamp can realize multiple functions of a flash lamp, a flashlight, a laser pen and the like, different functions correspond to different setting parameters, one trigger action can be set for a laser pen mode, a flashlight mode and a flash lamp mode respectively, the trigger action can be in a touch mode, for example, the laser pen mode can be continuously knocked on a terminal screen for two times, the flashlight mode can be continuously knocked for three times, the flash lamp mode can be continuously knocked for one time, and the trigger action can also be in other forms, such as a voice mode. The flashlight setting parameters may also include light beam size, charging current, charging voltage, etc.
S208, detecting the pressing operation of the user on the volume adjusting key, and turning the document in the document demonstration interface forward if the volume adjusting key subjected to the pressing operation is the volume increasing key; and if the volume adjusting key subjected to the pressing operation is a volume turning-down key, turning the document in the document demonstration interface back.
The volume adjusting keys can be two entity keys on the side frame of the terminal equipment or two virtual keys on the document demonstration interface. Referring to fig. 3, when a user performs a document presentation in a laser pointer irradiation mode with a flash, the user may press a volume up button (or a first number of times) to perform a page backward operation and press a volume up button to perform a page forward operation, and may further press two volume up buttons (or a second number of times) to perform a page zoom-in operation and press two volume down buttons (or a second number of times) to perform a page zoom-out operation.
According to the methods described in the above embodiments, the present embodiment will be further described from the perspective of a flash control device, which may be embodied as a separate entity.
Referring to fig. 5, fig. 5 specifically describes that the flash lamp control device provided in the embodiment of the present application is applied to a terminal device, where the terminal device may include a device with a flash lamp, such as a mobile phone, and the flash lamp control device may include: a first obtaining module 10, a second obtaining module 20, a setting module 30 and a starting module 40, wherein:
(1) first acquisition module 10
The first obtaining module 10 is configured to obtain a laser display instruction.
The operation of obtaining the laser display instruction may be triggered in various manners, for example, the user may implement contact triggering by clicking a designated virtual key (e.g., a laser pen key) on a certain interface, or may implement non-contact triggering by voice, gesture, touch, and the like in a document presentation mode.
For example, the first obtaining module 10 is further configured to:
before the laser display instruction is obtained, when the terminal equipment is positioned on a document demonstration interface, detecting whether a user performs sliding operation on a terminal screen;
if so, acquiring a sliding track formed by the sliding operation;
and when the sliding track meets a preset condition, executing the operation of acquiring the laser display instruction.
The terminal device can have a document demonstration function, for example, a PPT document can be displayed on a projection screen through the transfer interface for demonstration, and in the demonstration process, a user can trigger the flash lamp to enter a laser pen mode through a sliding mode. The preset condition may be: the sliding track penetrates through at least two designated areas, and the track shape is a designated shape. The designated area and the designated shape are set artificially, for example, the designated area includes an upper area, a middle area and a lower area, and the designated shape includes a circle, a square or a triangle.
(2) Second acquisition module 20
And a second obtaining module 20, configured to obtain the laser setting parameter according to the laser display instruction.
The laser setting parameters can include light beam size, charging current, charging voltage and the like, all the laser setting parameters can be fixed numerical values set in advance by a manufacturer, and part of the laser setting parameters can also be variable numerical values, for example, the light beam size can be changed according to the actual display effect of characters in a demonstration document.
For example, the second obtaining module 20 is specifically configured to:
photographing the document in the current photographing field of view according to the laser display instruction to obtain a photographed picture;
determining the font size of the document in the shot picture;
determining the radius of the light beam according to the font size;
laser setting parameters are determined according to the beam radius.
When the terminal device receives the laser display instruction, the camera can be immediately started to photograph the current photographing view, and the size of characters in a document in a photographed picture is analyzed, generally speaking, a light beam of the flash lamp is circular, the larger the character is, the larger the radius of the light beam is, the best size of the light beam is to cover a single character, specifically, referring to fig. 2, for the document placed on a wall surface, the terminal device can detect the average font width of the whole document in a photographing mode, for example, n, and the diameter of the light beam (i.e., 2r) is slightly smaller than the average font width n.
It should be noted that, in addition to determining the beam radius by taking a picture, the beam radius may be manually specified by the user, for example, a parameter interface for inputting various laser setting parameters may be popped up, and the user may input the desired setting parameters on the parameter interface by himself.
(3) Setup module 30
And the setting module 30 is used for performing parameter setting on the indicator lamp in the terminal equipment through the laser setting parameters.
Wherein the relevant parameters of the indicator light can be set in correspondence with the laser setting parameters.
(4) Start module 40
And the starting module 40 is used for starting the indicator lamp after the parameter setting so as to enable the indicator lamp to enter a laser pen irradiation mode.
The indicating lamp can be started according to the setting parameters, so that the light beam emitted by the indicating lamp is laser. The indicating lamp can enter the laser pen irradiation mode through a sliding mode, and can also end the laser pen irradiation mode through the sliding mode, for example, a sliding track when the laser pen irradiation mode is started and a sliding track when the laser pen irradiation mode is ended are preset, when a user wants to use or end the laser pen function, only corresponding sliding operation needs to be performed on a terminal screen, and of course, the ending action of the laser pen irradiation mode can be triggered through modes such as voice and gestures.
In addition, the pilot lamp can realize multiple functions such as flash light, flashlight and laser pen, and different functions correspond different setting parameters to can be under current terminal equipment's outward appearance, greatly richen terminal function, the flexibility is high, and different functions directly can the interconversion, for example can follow the laser pen mode and switch to flashlight mode or flash light mode.
Referring to fig. 6, the flash control apparatus may further include an update module 50, configured to:
after the starting module 40 starts the indicator light with the set parameters, acquiring a flashlight display instruction;
acquiring flashlight setting parameters according to the flashlight display instruction;
and updating the parameters of the started indicator lamp through the flashlight setting parameters so as to enable the indicator lamp to enter a flashlight irradiation mode.
The touch type flash lamp touch control method comprises the steps that a trigger action can be set for a laser pen mode, a flashlight mode and a flash lamp mode respectively, the trigger action can be of a touch type, for example, the laser pen mode can be continuously knocked on a terminal screen for two times, the flashlight mode is continuously knocked for three times, the flash lamp mode is continuously knocked for one time, and the trigger action can also be of other forms, such as a voice type. The flashlight setting parameters may also include light beam size, charging current, charging voltage, etc.
In addition, during the document demonstration process, the user can also perform operations such as page up, page down, zooming in, zooming out, etc. on the document quickly and conveniently, for example, the flash control device may further include a detection module 60 configured to:
after the starting module 40 starts the indicator light after the parameters are set, when the terminal device is in a document demonstration interface, detecting the pressing operation of a user on a volume adjusting key;
if the volume adjusting key subjected to the pressing operation is a volume increasing key, turning the document in the document demonstration interface forward;
and if the volume adjusting key subjected to the pressing operation is a volume turning-down key, turning the document in the document demonstration interface back.
The volume adjusting keys can be two entity keys on the side frame of the terminal equipment or two virtual keys on the document demonstration interface. Referring to fig. 3, when a user performs a document presentation in a laser pointer irradiation mode with a flash, the user may press a volume up button (or a first number of times) to perform a page backward operation and press a volume up button to perform a page forward operation, and may further press two volume up buttons (or a second number of times) to perform a page zoom-in operation and press two volume down buttons (or a second number of times) to perform a page zoom-out operation.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
It can be known from the foregoing, the flash light controlling means that this embodiment provided, be applied to terminal equipment, acquire the laser display instruction through first acquisition module 10, second acquisition module 20 acquires the laser setting parameter according to this laser display instruction, later set up module 30 and carry out parameter setting to the pilot lamp in this terminal equipment through this laser setting parameter, this pilot lamp after start module 40 start parameter setting, so that this pilot lamp gets into the laser pen and shines the mode, thereby make the flash light in the current terminal realize the laser pen function, the user need not additionally to carry the laser pen and carries out the document demonstration, the flexibility is high, make the terminal function abundanter, and need not additionally to add the trompil on the display screen, be favorable to the screen beautification.
In addition, the embodiment of the application further provides a terminal device, and the terminal device can be a smart phone, a tablet computer and other devices. As shown in fig. 7, the terminal device 400 includes a processor 401, a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the terminal device 400, connects various parts of the entire terminal device by using various interfaces and lines, and executes various functions of the terminal device and processes data by running or loading an application program stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the terminal device.
In this embodiment, the processor 401 in the terminal device 400 loads instructions corresponding to processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions:
acquiring a laser display instruction;
obtaining laser setting parameters according to the laser display instruction;
setting parameters of an indicator lamp in the terminal equipment through the laser setting parameters;
and starting the indicator lamp after the parameters are set so as to enable the indicator lamp to enter a laser pen irradiation mode.
Fig. 8 is a specific block diagram of a terminal device according to an embodiment of the present invention, where the terminal device may be used to implement the method for updating the system file of the terminal device provided in the foregoing embodiment. The terminal device 300 may be a smart phone or a tablet computer.
The RF circuit 310 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. RF circuitry 310 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. RF circuit 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Mobile Communication (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11 b, IEEE802.1 g and/or IEEE802.1 n), Voice over Internet Protocol (VoIP), world wide Internet Protocol (Microwave Access for Wireless communications, Wi-Max), and other short message protocols, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
The memory 320 may be configured to store software programs and modules, such as program instructions/modules corresponding to the automatic light supplement system and method for front-facing camera photographing in the foregoing embodiments, and the processor 380 executes various functional applications and data processing by running the software programs and modules stored in the memory 320, so as to implement the function of automatic light supplement for front-facing camera photographing. The memory 320 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 320 may further include memory located remotely from processor 380, which may be connected to terminal device 300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 340 may be used to display information input by or provided to the user and various graphic user interfaces of the terminal apparatus 300, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 8, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for input and output functions.
The terminal device 300 may also include at least one sensor 350, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the terminal device 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device 300, detailed descriptions thereof are omitted.
Audio circuitry 360, speaker 361, microphone 362 may provide an audio interface between a user and terminal device 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then processed by the audio data output processor 380 and then transmitted to, for example, another terminal via the RF circuit 310, or the audio data is output to the memory 320 for further processing. The audio circuit 360 may also include an earbud jack to provide communication of peripheral headphones with the terminal device 300.
The terminal device 300 may assist the user in e-mail, web browsing, streaming media access, etc. through the transmission module 370 (e.g., a Wi-Fi module), which provides the user with wireless broadband internet access. Although fig. 8 shows the transmission module 370, it is understood that it does not belong to the essential constitution of the terminal device 300, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 380 is a control center of the terminal device 300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal device 300 and processes data by running or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby performing overall monitoring of the mobile phone. Optionally, processor 380 may include one or more processing cores; in some embodiments, processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 380.
Terminal device 300 also includes a power supply 390 (e.g., a battery) for powering the various components, which may be logically coupled to processor 380 via a power management system in some embodiments to manage charging, discharging, and power consumption management functions via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal device 300 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the display unit of the terminal device is a touch screen display, the terminal device further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
acquiring a laser display instruction;
obtaining laser setting parameters according to the laser display instruction;
setting parameters of an indicator lamp in the terminal equipment through the laser setting parameters;
and starting the indicator lamp after the parameters are set so as to enable the indicator lamp to enter a laser pen irradiation mode.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, embodiments of the present invention provide a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the flash control methods provided by the embodiments of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any flash lamp control method provided in the embodiment of the present invention, the beneficial effects that can be achieved by any flash lamp control method provided in the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described again here.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
In summary, although the present application has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so that the scope of the present application shall be determined by the appended claims.

Claims (10)

1. A flash lamp control method is applied to terminal equipment and is characterized by comprising the following steps:
acquiring a laser display instruction;
acquiring laser setting parameters according to the laser display instruction;
setting parameters of an indicator lamp in the terminal equipment according to the laser setting parameters;
and starting the indicator lamp after the parameters are set so as to enable the indicator lamp to enter a laser pen irradiation mode.
2. The flash control method of claim 1, further comprising, after activating the indicator light after parameter setting:
acquiring a flashlight display instruction;
acquiring flashlight setting parameters according to the flashlight display instruction;
and updating the parameters of the started indicator lamp through the flashlight setting parameters so as to enable the indicator lamp to enter a flashlight irradiation mode.
3. The flash lamp control method according to claim 1, further comprising, before acquiring the laser display instruction:
when the terminal equipment is positioned at a document demonstration interface, detecting whether a user performs sliding operation on a terminal screen;
if so, acquiring a sliding track formed by the sliding operation;
and when the sliding track meets a preset condition, executing the operation of acquiring the laser display instruction.
4. The flash control method of claim 1, further comprising, after activating the indicator light after parameter setting:
when the terminal equipment is positioned on a document demonstration interface, detecting the pressing operation of a user on a volume adjusting key;
if the volume adjusting key subjected to the pressing operation is a volume increasing key, turning the document in the document demonstration interface forward;
and if the volume adjusting key subjected to the pressing operation is a volume turning-down key, turning the document in the document demonstration interface back.
5. The flash control method of claim 1, wherein the obtaining laser setting parameters according to the laser display instruction comprises:
photographing the document in the current photographing field of view according to the laser display instruction to obtain a photographed picture;
determining the font size of the document in the shot picture;
determining the radius of the light beam according to the font size;
and determining laser setting parameters according to the beam radius.
6. A flash lamp control device applied to a terminal device is characterized by comprising:
the first acquisition module is used for acquiring a laser display instruction;
the second acquisition module is used for acquiring laser setting parameters according to the laser display instruction;
the setting module is used for setting parameters of an indicator lamp in the terminal equipment through the laser setting parameters;
and the starting module is used for starting the indicator lamp after the parameters are set so as to enable the indicator lamp to enter a laser pen irradiation mode.
7. The flash control device of claim 6, further comprising an update module to:
after the indicator lamp with the set parameters is started, acquiring a flashlight display instruction;
acquiring flashlight setting parameters according to the flashlight display instruction;
and updating the parameters of the started indicator lamp through the flashlight setting parameters so as to enable the indicator lamp to enter a flashlight irradiation mode.
8. The flash control device of claim 6, wherein the first obtaining module is further configured to:
before a laser display instruction is obtained, when the terminal equipment is positioned on a document demonstration interface, whether a user performs sliding operation on a terminal screen is detected;
if so, acquiring a sliding track formed by the sliding operation;
and when the sliding track meets a preset condition, executing the operation of acquiring the laser display instruction.
9. A computer readable storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the flash control method of any of claims 1 to 5.
10. A terminal device comprising a processor and a memory, wherein the processor is electrically connected to the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps of the flash control method according to any one of claims 1 to 5.
CN201911373702.3A 2019-12-27 2019-12-27 Flash lamp control method and device, storage medium and terminal equipment Pending CN111163223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911373702.3A CN111163223A (en) 2019-12-27 2019-12-27 Flash lamp control method and device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911373702.3A CN111163223A (en) 2019-12-27 2019-12-27 Flash lamp control method and device, storage medium and terminal equipment

Publications (1)

Publication Number Publication Date
CN111163223A true CN111163223A (en) 2020-05-15

Family

ID=70556940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911373702.3A Pending CN111163223A (en) 2019-12-27 2019-12-27 Flash lamp control method and device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN111163223A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023235083A1 (en) * 2022-06-01 2023-12-07 Apple Inc. Lock screen flashlight

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100289866A1 (en) * 2009-05-15 2010-11-18 Fumihiro Hasegawa Information processing device, laser irradiation device, drawing information generating method, control system, and program
CN203352657U (en) * 2013-07-08 2013-12-18 张玉辉 Mobile phone with laser star pointer
CN105094504A (en) * 2014-05-07 2015-11-25 鸿合科技有限公司 Simulation display control method, simulation display control device and remote control device
CN106790883A (en) * 2016-12-07 2017-05-31 浙江吉利控股集团有限公司 Integrated form mobile terminal
CN106790985A (en) * 2016-11-18 2017-05-31 珠海格力电器股份有限公司 A kind of PowerPoint method of controlling operation thereof and device
CN109410696A (en) * 2018-09-30 2019-03-01 深圳市语芯维电子有限公司 The method of electronic teacher pointer control virtual laser point
CN209170441U (en) * 2018-12-24 2019-07-26 维沃移动通信有限公司 A kind of mobile terminal
CN110191210A (en) * 2019-05-22 2019-08-30 珠海格力电器股份有限公司 A kind of control method and terminal device of indicator light

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100289866A1 (en) * 2009-05-15 2010-11-18 Fumihiro Hasegawa Information processing device, laser irradiation device, drawing information generating method, control system, and program
CN203352657U (en) * 2013-07-08 2013-12-18 张玉辉 Mobile phone with laser star pointer
CN105094504A (en) * 2014-05-07 2015-11-25 鸿合科技有限公司 Simulation display control method, simulation display control device and remote control device
CN106790985A (en) * 2016-11-18 2017-05-31 珠海格力电器股份有限公司 A kind of PowerPoint method of controlling operation thereof and device
CN106790883A (en) * 2016-12-07 2017-05-31 浙江吉利控股集团有限公司 Integrated form mobile terminal
CN109410696A (en) * 2018-09-30 2019-03-01 深圳市语芯维电子有限公司 The method of electronic teacher pointer control virtual laser point
CN209170441U (en) * 2018-12-24 2019-07-26 维沃移动通信有限公司 A kind of mobile terminal
CN110191210A (en) * 2019-05-22 2019-08-30 珠海格力电器股份有限公司 A kind of control method and terminal device of indicator light

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023235083A1 (en) * 2022-06-01 2023-12-07 Apple Inc. Lock screen flashlight

Similar Documents

Publication Publication Date Title
EP3525075B1 (en) Method for lighting up screen of double-screen terminal, and terminal
RU2632153C2 (en) Method, device and terminal for displaying virtual keyboard
US20180035296A1 (en) Screen unlocking method and apparatus, and storage medium
CN106445340B (en) Method and device for displaying stereoscopic image by double-screen terminal
CN107241552B (en) Image acquisition method, device, storage medium and terminal
CN108958587B (en) Split screen processing method and device, storage medium and electronic equipment
CN109493821B (en) Screen brightness adjusting method and device and storage medium
CN111182236A (en) Image synthesis method and device, storage medium and terminal equipment
CN110691168B (en) Screen control method and device of mobile terminal and storage medium
CN105635553B (en) Image shooting method and device
CN111443803A (en) Mode switching method, device, storage medium and mobile terminal
CN107770449B (en) Continuous shooting method, electronic device and storage medium
CN106454083B (en) Image acquisition method and device of mobile terminal and mobile terminal
CN110336917B (en) Picture display method and device, storage medium and terminal
CN111580911A (en) Operation prompting method and device for terminal, storage medium and terminal
CN110851014A (en) Touch identification method and device, storage medium and terminal equipment
CN111163223A (en) Flash lamp control method and device, storage medium and terminal equipment
CN108845755A (en) split screen processing method, device, storage medium and electronic equipment
CN111026259A (en) Control method and device of mobile terminal and storage medium
CN111048056A (en) Terminal equipment brightness adjusting method and system, storage medium and terminal equipment
CN111143580A (en) Multimedia data storage method and device, storage medium and electronic equipment
CN110618798A (en) Multi-screen display method, multi-screen device, storage medium and terminal equipment
CN111027406A (en) Picture identification method and device, storage medium and electronic equipment
CN110995932A (en) Memorandum setting method and device, storage medium and electronic equipment
CN110109582B (en) Display method and device of mobile terminal and 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: 20200515