CN107748615B - Screen control method and device, storage medium and electronic equipment - Google Patents

Screen control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN107748615B
CN107748615B CN201711087237.8A CN201711087237A CN107748615B CN 107748615 B CN107748615 B CN 107748615B CN 201711087237 A CN201711087237 A CN 201711087237A CN 107748615 B CN107748615 B CN 107748615B
Authority
CN
China
Prior art keywords
screen
read
display area
user
matching
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
CN201711087237.8A
Other languages
Chinese (zh)
Other versions
CN107748615A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711087237.8A priority Critical patent/CN107748615B/en
Publication of CN107748615A publication Critical patent/CN107748615A/en
Application granted granted Critical
Publication of CN107748615B publication Critical patent/CN107748615B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • H04W52/027Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the application discloses a screen control method, a screen control device, a storage medium and electronic equipment.

Description

Screen control method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method and an apparatus for controlling a screen, a storage medium, and an electronic device.
Background
With the continuous development of the technology, the functions of mobile terminals such as smart phones and tablet computers are more and more abundant, and the mobile terminals are not used as simple communication tools in daily life, but become necessities for people to work, leisure and entertain. At present, most mobile terminals are equipped with cameras, and photographing also increasingly becomes a part of daily life of people. However, in the prior art, when the camera is started to take a picture, the screen is always on, which results in a large power consumption of the mobile terminal.
Disclosure of Invention
The embodiment of the application provides a screen control method and device, a storage medium and electronic equipment, which can reduce the power consumption of the electronic equipment.
The embodiment of the application provides a screen control method, which comprises the following steps:
receiving a starting instruction of starting a point reading function by a user;
starting a camera according to the starting instruction;
the method comprises the steps that a photographing button is displayed in a first preset display area of a screen, other display areas except the first preset display area of the screen are in a screen-off state, and the photographing button is used for controlling a camera to photograph.
An embodiment of the present application further provides a control device for a screen, including:
the receiving module is used for receiving a starting instruction of starting the point reading function by a user;
the starting module is used for starting the camera according to the starting instruction;
the control module is used for displaying a photographing button in a first preset display area of the screen, enabling other display areas except the first preset display area of the screen to be in a screen-off state, and the photographing button is used for controlling the camera to photograph.
The embodiment of the application also provides a 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 the steps in the control method of the screen.
The embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the memory is used to store instructions and data, and the instructions are suitable for the processor to load so as to execute the steps in the control method of the screen.
According to the screen control method, the starting instruction of starting the point reading function by the user is received, the camera is started according to the starting instruction, the photographing button is displayed in the first preset display area of the screen, and other display areas except the first preset display area of the screen are in the screen off state, so that all the display areas of the screen are prevented from being in the screen on state all the time, and the power consumption of the screen can be effectively reduced.
Drawings
The technical solution and the advantages of the present invention will be apparent from the following detailed description of the embodiments of the present invention with reference to the accompanying drawings.
Fig. 1 is a scene schematic diagram of a point-and-read function provided in an embodiment of the present application.
Fig. 2a is a schematic flowchart of a screen control method provided in an embodiment of the present application.
Fig. 2b is a schematic diagram illustrating a photographing button in the screen control method according to the embodiment of the present application.
Fig. 3 is a schematic flow chart illustrating a point-reading function implemented in the screen control method provided in the embodiment of the present application.
Fig. 4 is a schematic structural diagram of a control device of a screen according to an embodiment of the present application.
Fig. 5 is another schematic structural diagram of a control device of a screen according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 7 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present invention are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be taken as limiting the invention with regard to other embodiments that are not detailed herein.
As will be described in detail below.
In one embodiment, a mobile terminal such as a mobile phone may obtain a matching sample, where the matching sample may be a picture, a photo, or a code. After obtaining the matching sample, the electronic device may obtain a multimedia file, which may be an audio file or a video file, etc. The electronic device may then associate the obtained matching sample with the multimedia file. For example, the electronic device associates photo a with audio a, photo B with audio B, and photo C with video C. After associating the matching sample with the multimedia file, the electronic device may save the sample data in a preset database.
It is to be understood that, in some embodiments, the matching sample and the multimedia file may have a one-to-one correspondence relationship, a one-to-many relationship, a many-to-one relationship, or the like, which is not specifically limited in this embodiment.
When using the point-and-read function, a user may first use the electronic device to take a photo or select a photo from an album or scan a code. The picture taken by the user or the selected picture or the code obtained by scanning is the object needing to be read, namely the object to be read. After the object to be clicked and read is obtained, the electronic device may search a preset database for a photo or a code (i.e., a matching sample) matching the object to be clicked and read. If the photo or the code matched with the object to be read exists in the preset database, the electronic equipment can search the multimedia file associated with the photo or the code, and play the multimedia file.
In one embodiment, for example, the matching sample is a photograph a containing three text segments, each associated with a segment of audio. Then, when the photo shot by the user is matched with the photo a in the preset database, since the photo a contains three sections of characters and each section of character is associated with a corresponding section of audio, the user can select to play the corresponding audio by specifically selecting a certain section of character in the photo a. Or, the user may not make a specific selection, and then the terminal may play the audio corresponding to the three paragraphs of characters in sequence.
Referring to fig. 1, for example, a user uses an electronic device to take a picture X, and the electronic device finds a matching sample matching the picture X in a preset database as a picture a. The photo A comprises three sections of characters, wherein the first section of characters is associated with the audio A, the second section of characters is associated with the audio B, and the third section of characters is associated with the audio C. For example, as shown in fig. 1, if the user circles the area of the second text on the screen, the terminal may play audio b accordingly.
It can be understood that the embodiment can realize the function of reading the text in a certain object (such as a photo) on the electronic device, and the mode has the advantages of low cost, good convenience and the like.
It is understood that the execution subject of the embodiment of the present application may be an electronic device such as a smart phone or a tablet computer. When the user uses the click-to-read function of the electronic equipment, the user can start the camera of the electronic equipment by clicking the click-to-read button on the click-to-read interface so as to shoot an object to be clicked and read by using the camera of the electronic equipment.
Referring to fig. 2a, fig. 2a is a flow chart of a screen control method according to an embodiment of the present application, which may specifically include the following steps:
201. and receiving a starting instruction of starting the point reading function by a user.
For example, a user may open a click-to-read application on the electronic device, enter the click-to-read interface, and then issue a launch instruction by clicking a "click-to-read" button on the click-to-read interface.
202. And starting the camera according to the starting instruction.
The starting instruction is used for starting the camera, and the camera can shoot photos or perform coding scanning and the like to obtain an object to be read.
203. And displaying a photographing button in a first preset display area of the screen, and enabling other display areas except the first preset display area of the screen to be in a screen-off state, wherein the photographing button is used for controlling the camera to photograph.
The steps 202 and 203 may be performed simultaneously, or the step 202 may be performed first, and then the step 203 is performed, which is not limited.
In some embodiments, the first predetermined display area may be manually selected by the user on the display screen according to the use habit thereof, for example, before receiving an activation instruction of the click-to-read function initiated by the user, the method may further include: and determining the display area selected by the user according to the selection instruction of the user so as to determine the first preset display area. For example, a user may click a "display area selection" button in the click-to-read interface, click the button to enter a selection mode on the screen, and the user may draw an area at will in the display area of the screen, such as a square display area or an irregular graphic display area, and after the drawing, the user may click an "ok" button to issue a selection instruction, thereby determining the display area selected by the user according to the selection instruction, that is, the first predetermined display area.
In some embodiments, the first predetermined display area may also be randomly selected by the electronic device, for example, the first predetermined display area may be a display area at the upper left corner of the screen or a display area at the middle of the screen, and the shape of the selected display area may be a regular square, a triangle, an ellipse, or the like, or may be an irregular figure, which is not limited in this respect.
In this embodiment, after the user clicks the click-to-read button to send the start instruction of the click-to-read function, the camera is started, then the photographing button is displayed in one display area of the screen, and other display areas are in the screen-off state, as shown in fig. 2B, other display areas B except the photographing button a are in the screen-off state, so that the user can see the photographing button and then shoot by clicking the photographing button, and all the display areas can be prevented from being in the screen-on state all the time, thereby reducing the power consumption to a certain extent.
In some embodiments, the photographing button may be displayed in a first predetermined display area of the screen in a floating window manner, for example, the first predetermined display area may be any partial display area in the display area of the screen, and the user may drag the floating window at any position of the screen as required.
In this embodiment, a main process of implementing the click-to-read function may include the following steps 301 to 304, specifically, as shown in fig. 3, after step 203, the following steps may also be included:
301. and acquiring the object to be read through the camera according to the clicking operation of the photographing button by the user.
When the click operation of the user on the photographing button is detected, the camera is made to photograph or scan codes, for example, the camera of the electronic device is made to photograph the contents to be read, so as to obtain a photo, namely the object to be read. Before the user clicks the click-to-read button, the camera can be directed at the content to be clicked and read, so that when other display areas of the screen are in a screen-off state, the camera is used for shooting, and a more accurate object to be clicked and read can be obtained.
Further, in order to accurately acquire the object to be read, after step 201, the method may further include: and displaying the preview of the object to be read in a second preset display area of the screen. In this embodiment, after the camera acquires a picture according to a click operation of a user clicking a photographing button, a preview of the acquired picture is displayed in a second predetermined display area of the screen, so that the user can view an object to be clicked and read acquired by the camera through a preview effect. The second predetermined display area may be a part of the display area of the screen, for example, a small display area at the lower left of the screen, for displaying a preview of the object to be clicked. When the object to be clicked and read is previewed, other display areas except the second preset display area are kept in the screen off state, and therefore screen power consumption can be reduced.
302. And matching the object to be read with a pre-stored matching sample.
Wherein, when displaying the preview of the object to be clicked and read in the second predetermined display area of the screen, step 302 may include: and acquiring an operation instruction of a user on a preview interface, and matching the object to be read with a pre-stored matching sample when the operation instruction is a determination instruction of the object to be read. For example, a dialog box interacting with the user may be displayed on the preview interface, for example, whether the object to be clicked by the user is correct, that is, whether the object is the content to be clicked and read, which is required by the user, may be queried, and two options of "yes" and "no" may be provided for the user to select, if the user selects "yes", it is indicated that the picture taken by the camera is the content to be clicked and read, the operation instruction of the user is a determination instruction of the object to be clicked and read, and at this time, the object to be clicked and read is matched with the pre-stored matching sample. If the user selects 'no', the photo shot by the camera is not the contents to be clicked and read, and then the camera returns to the photographing interface, namely the photographing button is displayed in the first preset display area of the screen, and other display areas except the first preset display area are in the screen-off state.
In some embodiments, a matching sample and a multimedia file may be stored in advance, the matching sample may be a picture, a photograph, or a code, etc., and the multimedia file may be an audio file or a video file, etc. The matching sample is associated with the multimedia file, e.g., the electronic device associates photo a with audio a, photo B with audio B, and photo C with video C. After associating the matching sample with the multimedia file, the electronic device may save the sample data in a preset database. It is to be understood that, in some embodiments, the matching sample and the multimedia file may have a one-to-one correspondence relationship, a one-to-many relationship, a many-to-one relationship, or the like, which is not specifically limited in this embodiment.
The process of matching the object to be read and the matching sample is to search whether the matching sample which is the same as the object to be read or has a similarity reaching a threshold (e.g., 95%) is stored in a preset database.
303. And when the matching is successful, determining the multimedia file associated with the object to be read according to the matching result.
When a matching sample identical to the object to be read is inquired in the preset database, the object to be read is successfully matched with the matching sample, and the multimedia file associated with the matching sample which is successfully matched is obtained, so that the multimedia file associated with the object to be read is obtained. When the matching sample which is the same as the object to be read is not inquired in the preset database, the object to be read and the matching sample fail to be matched, at the moment, the voice prompt information of the reading failure can be output according to the matching result, and the camera is enabled to be in a starting state. For example, when the matching fails, a voice prompt message of "search failed, please click again" may be output, so that the user may take a picture again.
304. And playing the multimedia file associated with the object to be read.
And when the matching is successful, acquiring a multimedia file associated with the object to be read according to the matching sample successfully matched with the object to be read, and playing the multimedia.
In one embodiment, playing the multimedia file associated with the object to be read may include: and judging whether the multimedia file associated with the object to be clicked and read is a video file, if so, enabling all display areas of the screen to be in a bright screen state, and playing the video file, wherein after the video file is played, a photographing button is displayed in a first preset display area of the screen, and other display areas except the first preset display area of the screen are in a screen-off state. In this embodiment, when the multimedia file associated with the object to be read is a video file, all display areas of the screen are lit up to play the video file. When the multimedia file associated with the object to be clicked and read is only an audio file, only sound needs to be played, so that all display areas of the screen do not need to be in a bright screen state, other display areas except the first preset display area for displaying the photographing button are in a dead screen state, or all display areas can be in a dead screen state.
In other embodiments of the application, the function of the photographing button may also be implemented by pressing a key, for example, after the camera is started according to a start instruction of the user starting the point reading function, all display areas of the screen may be in a screen-off state, and then photographing may be performed by pressing a key on the electronic device, for example, the user may press a volume key to make the camera take a picture. The keys can be single keys or combined keys, and the power consumption can be effectively reduced by the mode without limitation.
Referring to fig. 4, an embodiment of the present application further provides a control device for a screen, where the control device may be integrated in an electronic device such as a smart phone and a tablet computer, and the control device specifically includes a receiving module 401, a starting module 402, and a control module 403.
The receiving module 401 is configured to receive a start instruction for starting the point reading function by a user. For example, a user may open a click-to-read application on the electronic device, enter the click-to-read interface, and then issue a launch instruction by clicking a "click-to-read" button on the click-to-read interface.
The starting module 402 is configured to start the camera according to a starting instruction. Through the camera, photographing or coding scanning and the like can be performed so as to obtain an object to be read.
The control module 403 is configured to display a photographing button in a first predetermined display area of the screen, and enable other display areas of the screen except the first predetermined display area to be in a screen-off state, where the photographing button is configured to control the camera to photograph.
For example, the control module 403 may display a photographing button in a first predetermined display area of the screen in a floating window manner, and the user may drag the floating window at any position of the screen as required. Alternatively, the photographing button may be displayed in a fixed display area.
In some embodiments, the first predetermined display area may be manually selected by the user on the display screen according to the user's own usage habit, as shown in the figure, and further, the control device may further include a first determining module 404. The first determining module 404 is configured to determine, before the receiving module 401 receives an instruction for starting the click-to-read function from the user, a display area selected by the user according to a selection instruction of the user, so as to determine a first predetermined display area. Of course, in other embodiments, the first predetermined display area may also be randomly selected by the electronic device, for example, the first predetermined display area may be a display area at the upper left corner of the screen or a display area at the middle of the screen, and the shape of the selected display area may be a regular square, a triangle, an ellipse, or an irregular figure, which is not limited in this respect.
In this embodiment, after the user clicks the click-to-read button to send the start instruction of the click-to-read function, the camera is started, then the photographing button is displayed in one display area of the screen, and other display areas are in the screen-off state, so that the user can see the photographing button and shoot by clicking the photographing button, and all the display areas can be prevented from being in the screen-on state all the time, thereby reducing the power consumption to a certain extent.
Referring to fig. 5, the control device of the screen according to the embodiment of the present application may further include an obtaining module 405, a matching module 406, a second determining module 407, a playing module 408, a previewing module 409, and a prompting module 410.
The obtaining module 405 is configured to obtain, through the camera, an object to be clicked according to a click operation of a user on a photographing button. When the click operation of the user on the photographing button is detected, the camera is made to photograph or scan codes, for example, the camera of the electronic device is made to photograph the contents to be read, so as to obtain a photo, namely the object to be read. Before the user clicks the click-to-read button, the camera can be directed at the content to be clicked and read, so that when other display areas of the screen are in a screen-off state, the camera is used for shooting, and a more accurate object to be clicked and read can be obtained.
The preview module 409 is configured to display a preview of the object to be read in a second predetermined display area of the screen after the object to be read is acquired by the acquisition module 405, so that a user can view the object to be read acquired by the camera through a preview effect. The second predetermined display area may be a part of the display area of the screen, and when the object to be clicked and read is previewed, other display areas except the second predetermined display area are kept in a screen-off state, so that power consumption of the screen can be reduced.
The matching module 406 is configured to match the object to be read with a pre-stored matching sample. Specifically, the matching module 406 is configured to obtain an operation instruction of a user on a preview interface, and when the operation instruction is a determination instruction of an object to be read, match the object to be read with a pre-stored matching sample. The process of matching the object to be read and the matching sample is to search whether the matching sample which is the same as the object to be read or has a similarity reaching a threshold (e.g., 95%) is stored in a preset database.
The second determining module 407 is configured to determine, according to a matching result, a multimedia file associated with the object to be read. When a matching sample identical to the object to be read is inquired in the preset database, the object to be read is successfully matched with the matching sample, and the multimedia file associated with the matching sample which is successfully matched is obtained, so that the multimedia file associated with the object to be read is obtained.
When a matching sample identical to the object to be read is not searched in the preset database, the object to be read and the matching sample fail to be matched, and at this time, the prompt module 410 is configured to output voice prompt information of the reading failure according to the matching result, and enable the camera to be in a start state.
The playing module 408 is configured to play the multimedia file associated with the object to be clicked. In an embodiment, the playing module 408 is specifically configured to determine whether a multimedia file associated with an object to be clicked and read is a video file, and if so, enable all display areas of the screen to be in a bright screen state, and play the video file, where the control module 403 is specifically configured to display a photographing button in a first predetermined display area of the screen after the playing of the video file is finished, and enable other display areas of the screen except the first predetermined display area to be in a dead screen state. In this embodiment, when the multimedia file associated with the object to be read is a video file, all display areas of the screen are lit up to play the video file. When the multimedia file associated with the object to be clicked and read is only an audio file, only sound needs to be played, so that all display areas of the screen do not need to be in a bright screen state, other display areas except the first preset display area for displaying the photographing button are in a dead screen state, or all display areas can be in a dead screen state.
The embodiment of the application provides a storage medium, which stores a plurality of instructions, and the instructions can be loaded by a processor to execute the steps in any screen control method provided by the embodiment of the application.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the memory is used for storing instructions and data, and the instructions are suitable for the processor to load so as to execute the steps in any one of the control methods for a screen provided in the embodiments of the present application
For example, the electronic device may be a tablet computer or a smart phone. Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
The electronic device 600 may include a display unit 601, a memory 602, a processor 603, an image capture unit 604, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The display unit 601 may be used to display image information and the like, such as a display screen.
The memory 602 may be used to store applications and data. The memory 602 stores applications containing executable code. The application programs may constitute various functional modules. The processor 603 executes various functional applications and data processing by running an application program stored in the memory 602.
The processor 603 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 602 and calling data stored in the memory 602, thereby integrally monitoring the electronic device.
The camera unit 604 may be used to take pictures, such as a camera or the like.
In the present embodiment, the electronic device further comprises one or more programs, wherein the one or more programs are stored in the memory 602 and configured to be executed by the one or more processors 603, the one or more programs including instructions for:
the method comprises the steps of receiving a starting instruction of starting a point reading function by a user, then starting a camera according to the starting instruction, displaying a photographing button in a first preset display area of a screen, enabling other display areas except the first preset display area of the screen to be in a screen-off state, and controlling the camera to photograph by the photographing button.
Wherein, the display area selected by the user can be determined according to the selection instruction of the user so as to determine the first preset display area. In addition, a photographing button may be displayed in a first predetermined display region of the screen in a floating window manner.
After the photographing button is displayed, the object to be read can be acquired through the camera according to the clicking operation of the user on the photographing button, then the object to be read is matched with the pre-stored matching sample, when the matching is successful, the multimedia file associated with the object to be read is determined according to the matching result, and the multimedia file associated with the object to be read is played.
Further, judging whether the multimedia file associated with the object to be read is a video file, and when the multimedia file associated with the object to be read is judged to be the video file, enabling all display areas of the screen to be in a bright screen state and playing the video file; and after the video file is played, displaying a photographing button in a first preset display area of the screen, and enabling other display areas except the first preset display area of the screen to be in a screen-off state.
After the object to be read is obtained, the preview of the object to be read can be displayed in a second preset display area of the screen, and then an operation instruction of a user on a preview interface can be obtained; and when the operation instruction is a determination instruction of the object to be read, matching the object to be read with a pre-stored matching sample.
When the matching fails, the voice prompt information of click-to-read failure can be output according to the matching result, and the camera is enabled to be in a starting state.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Therefore, in the electronic device in the embodiment of the application, the photographing button is displayed in a part of the display area of the screen, so that other display areas of the screen are in the screen-off state, the photographing function is reserved, and the other display areas are prevented from being in the screen-on state all the time, so that the power consumption can be reduced.
Further, as shown in fig. 7, the electronic device according to the embodiment of the present application may further include an input unit 605, an output unit 606, a speaker 607, a power supply 608, and the like.
The input unit 605 may be used to receive input numbers, character information, or user characteristic information, such as a fingerprint, and generate a keyboard, mouse, joystick, optical, or trackball signal input related to user setting and function control.
The output unit 606 may be used to display information input by or provided to the user and various graphical user interfaces of the mobile terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The output unit may include a display panel.
It should be noted that, for the control method of the screen described in the embodiment of the present application, it can be understood by those skilled in the art that all or part of the process of implementing the control method of the screen described in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer readable storage medium, such as a memory, and executed by at least one processor, and during the execution process, the process of the embodiment of the method for adjusting a picture can be included as described above. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the control device of the screen according to the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The method, the apparatus, the storage medium, and the electronic device for controlling a screen provided in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. A method for controlling a screen, comprising:
receiving a starting instruction of starting a point reading function by a user;
starting a camera according to the starting instruction;
only displaying a photographing button in a first preset display area of a screen, and enabling other display areas except the photographing button of the screen to be in a screen-off state, wherein the photographing button is used for controlling the camera to photograph;
acquiring an object to be read through the camera according to the clicking operation of the photographing button by the user;
displaying the preview of the object to be read in a second preset display area of the screen, wherein other display areas except the second preset display area keep a screen-off state;
acquiring an operation instruction of a user on a preview interface; when the operation instruction is a determination instruction for the object to be read, matching the object to be read with a pre-stored matching sample;
when the matching is successful, determining a multimedia file associated with the object to be read according to a matching result;
and playing the multimedia file associated with the object to be read.
2. The method according to claim 1, wherein before receiving the start instruction of the click-to-read function initiated by the user, the method further comprises: and determining the display area selected by the user according to the selection instruction of the user so as to determine the first preset display area.
3. The method of claim 1, wherein displaying only a photographing button in a first predetermined display area of the screen comprises: and displaying a photographing button in a first preset display area of the screen in a floating window mode.
4. The method according to claim 1, wherein playing the multimedia file associated with the object to be read comprises:
judging whether the multimedia file associated with the object to be read is a video file or not;
when the multimedia file associated with the object to be read is judged to be a video file, enabling all display areas of a screen to be in a bright screen state, and playing the video file;
and after the video file is played, displaying a photographing button in a first preset display area of the screen, and enabling other display areas except the first preset display area of the screen to be in a screen-off state.
5. The method according to claim 1, wherein after matching the object to be read with a pre-stored matching sample, the method further comprises:
and when the matching fails, outputting voice prompt information of click-to-read failure according to a matching result, and enabling the camera to be in a starting state.
6. A control device for a screen, comprising:
the receiving module is used for receiving a starting instruction of starting the point reading function by a user;
the starting module is used for starting the camera according to the starting instruction;
the control module is used for only displaying a photographing button in a first preset display area of the screen, enabling other display areas except the photographing button of the screen to be in a screen-off state, and controlling the camera to photograph by the photographing button;
the acquisition module is used for acquiring an object to be read through a camera according to the clicking operation of the photographing button by a user;
the preview module is used for displaying the preview of the object to be read in a second preset display area of the screen, and other display areas except the second preset display area keep a screen-off state;
the matching module is used for acquiring an operation instruction of a user on a preview interface, and matching the object to be read with a pre-stored matching sample when the operation instruction is a determination instruction of the object to be read;
the second determining module is used for determining the multimedia file associated with the object to be read according to the matching result when the matching is successful;
and the playing module is used for playing the multimedia file associated with the object to be read.
7. The apparatus of claim 6, further comprising a first determining module;
the first determining module is used for determining the display area selected by the user according to the selection instruction of the user so as to determine the first preset display area.
8. The device of claim 6, wherein the control module is specifically configured to display a photographing button in a first predetermined display area of the screen in a floating window manner.
9. The apparatus of claim 6, wherein the playback module is specifically configured to:
judging whether the multimedia file associated with the object to be read is a video file or not;
when the multimedia file associated with the object to be read is judged to be a video file, enabling all display areas of a screen to be in a bright screen state, and playing the video file;
the control module is specifically configured to display a photographing button in a first predetermined display area of the screen after the video file is played, and enable other display areas of the screen except the first predetermined display area to be in a screen-off state.
10. The apparatus of claim 6, further comprising a prompt module;
and the prompt module is used for outputting voice prompt information of click-to-read failure according to a matching result when the matching fails and enabling the camera to be in a starting state.
11. A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps in the method of controlling a screen according to any one of claims 1 to 5.
12. An electronic device comprising a memory and a processor, characterized in that the memory is used for storing instructions and data, the instructions being adapted to be loaded by the processor for performing the steps in the method of controlling a screen according to any one of claims 1 to 5.
CN201711087237.8A 2017-11-07 2017-11-07 Screen control method and device, storage medium and electronic equipment Active CN107748615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711087237.8A CN107748615B (en) 2017-11-07 2017-11-07 Screen control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711087237.8A CN107748615B (en) 2017-11-07 2017-11-07 Screen control method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN107748615A CN107748615A (en) 2018-03-02
CN107748615B true CN107748615B (en) 2020-05-19

Family

ID=61252080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711087237.8A Active CN107748615B (en) 2017-11-07 2017-11-07 Screen control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN107748615B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040580B (en) * 2018-07-17 2021-08-13 奇酷互联网络科技(深圳)有限公司 Mobile terminal and photographing control method and device thereof
CN111079496B (en) * 2019-06-09 2023-05-26 广东小天才科技有限公司 Click-to-read state display method and electronic equipment
CN111077978A (en) * 2019-06-09 2020-04-28 广东小天才科技有限公司 Point reading control method and terminal equipment
CN110602358B (en) * 2019-08-28 2021-06-04 维沃移动通信有限公司 Image acquisition method and electronic equipment
CN111372026B (en) * 2020-03-26 2022-06-24 杨意春 Method for acquiring video data
CN112181560A (en) * 2020-09-24 2021-01-05 Oppo(重庆)智能科技有限公司 Navigation interface display method and device, electronic equipment and readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055196A (en) * 2016-05-25 2016-10-26 维沃移动通信有限公司 Method for starting application programs and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW516682U (en) * 2002-04-11 2003-01-01 Li-Chuan Huang Improved structure of brainpower development learning machine
CN102917140A (en) * 2011-08-01 2013-02-06 浪潮乐金数字移动通信有限公司 Power-saving display method for electronic terminal, electronic terminal and mobile communication terminal
CN103050025B (en) * 2012-12-20 2015-09-09 广东欧珀移动通信有限公司 A kind of learning method of mobile terminal and learning system thereof
CN103365561B (en) * 2013-07-31 2018-04-20 努比亚技术有限公司 The local area display method and mobile terminal of a kind of mobile terminal
CN104253904A (en) * 2014-09-04 2014-12-31 广东小天才科技有限公司 Method and smartphone for implementing reading learning

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055196A (en) * 2016-05-25 2016-10-26 维沃移动通信有限公司 Method for starting application programs and mobile terminal

Also Published As

Publication number Publication date
CN107748615A (en) 2018-03-02

Similar Documents

Publication Publication Date Title
CN107748615B (en) Screen control method and device, storage medium and electronic equipment
US11200278B2 (en) Method and apparatus for determining background music of a video, terminal device and storage medium
US9479693B2 (en) Method and mobile terminal apparatus for displaying specialized visual guides for photography
US11317139B2 (en) Control method and apparatus
CN106575361B (en) Method for providing visual sound image and electronic equipment for implementing the method
CN111601039B (en) Video shooting method and device and electronic equipment
US10430456B2 (en) Automatic grouping based handling of similar photos
US11705120B2 (en) Electronic device for providing graphic data based on voice and operating method thereof
CN107870999B (en) Multimedia playing method, device, storage medium and electronic equipment
US10922479B2 (en) Method and electronic device for creating an electronic signature
TWI521963B (en) Electronic device and video tagging method
US11531702B2 (en) Electronic device for generating video comprising character and method thereof
CN111324352A (en) Code generation method of application page and related equipment
CN105871696B (en) Information sending and receiving method and mobile terminal
CN106879263A (en) A kind of image pickup method and mobile device
CN111077992B (en) Click-to-read method, electronic equipment and storage medium
WO2023186097A1 (en) Message output method and apparatus, and electronic device
CN107748642B (en) Method and device for adjusting picture, storage medium and electronic equipment
CN110851202A (en) Mobile terminal function page starting method and device, mobile terminal and storage medium
WO2022228301A1 (en) Document generation method and apparatus and electronic device
CN112367487B (en) Video recording method and electronic equipment
CN112383708B (en) Shooting method and device, electronic equipment and readable storage medium
CN108647097B (en) Text image processing method and device, storage medium and terminal
WO2016188227A1 (en) Intelligent terminal shortcut establishment method and device
CN109040823B (en) Bookmark display method and device

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant