WO2019041324A1 - Shooting frame rate selection method for terminal, terminal, and computer readable storage medium - Google Patents

Shooting frame rate selection method for terminal, terminal, and computer readable storage medium Download PDF

Info

Publication number
WO2019041324A1
WO2019041324A1 PCT/CN2017/100274 CN2017100274W WO2019041324A1 WO 2019041324 A1 WO2019041324 A1 WO 2019041324A1 CN 2017100274 W CN2017100274 W CN 2017100274W WO 2019041324 A1 WO2019041324 A1 WO 2019041324A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame rate
terminal
application
target application
preset
Prior art date
Application number
PCT/CN2017/100274
Other languages
French (fr)
Chinese (zh)
Inventor
缪威
Original Assignee
深圳传音通讯有限公司
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 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/100274 priority Critical patent/WO2019041324A1/en
Priority to CN201780096516.2A priority patent/CN111406399B/en
Publication of WO2019041324A1 publication Critical patent/WO2019041324A1/en

Links

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/725Cordless telephones

Definitions

  • the present invention relates to the field of imaging technologies, and in particular, to a terminal shooting frame rate selection method, a terminal, and a computer readable storage medium.
  • the main object of the present invention is to provide a method for selecting a frame rate of a terminal, which aims to solve the technical problem of overexposure or darkness caused by a third-party application that does not match the actual required frame rate.
  • the present invention provides a method for selecting a frame rate of a terminal, the method comprising:
  • the frame rate used by the terminal for current shooting is a preset frame rate.
  • the step of the frame rate used by the terminal for the current shooting is a preset frame rate, where:
  • the frame rate used by the terminal for current shooting is a preset dynamic frame rate.
  • the step of the frame rate used by the terminal for the current shooting to be the preset frame rate includes:
  • the step of acquiring a blacklist preset by the terminal includes:
  • the frame rate used by the current shooting is a frame rate set by the target application
  • the step of acquiring the blacklist preset by the terminal is performed.
  • the step of not including the feature code of the exempt application when the target application includes:
  • the preset frame rate is selected as the frame rate used by the terminal for the current shooting
  • the step of acquiring the blacklist preset by the terminal is performed.
  • the step of detecting whether the target application includes the signature of the application to be repaired comprises:
  • the target application does not include the feature code of the to-be-repaired application, outputting a prompt prompting whether the preview is normal;
  • the signature of the target application is stored in the preset blacklist.
  • the step of detecting whether the target application includes the signature of the application to be repaired comprises:
  • the step of storing the feature code of the target application into the preset blacklist includes:
  • the step of obtaining the blacklist preset by the terminal is performed.
  • the present invention further provides a terminal, the terminal comprising: a memory, a processor, and a terminal shooting frame rate selection program stored on the memory and operable on the processor, the terminal shooting
  • the step of the frame rate selection method as described above is implemented when the frame rate selection program is executed by the processor.
  • the present invention further provides a computer readable storage medium, wherein the computer readable storage medium stores a terminal shooting frame rate selection program, and the terminal shooting frame rate selection program is processed.
  • the step of implementing the terminal shooting frame rate selection method as described above is implemented when the device is executed.
  • the application that does not match the frame rate and the terminal exposure table is recorded in the blacklist, and each time the processor executes the third-party application to invoke the camera, it is determined whether the third-party application is the blacklist and the terminal does not If the third-party application is a pending application, the processor calls the camera and selects the preset frame rate of the terminal to shoot, which can be avoided when the processor executes the third-party application to invoke the camera.
  • the set frame rate is not matched with the terminal, resulting in the final image being overexposed or dimmed to ensure the user experience.
  • FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a first embodiment of a method for selecting a frame rate of a terminal according to the present invention
  • FIG. 3 is a schematic flowchart diagram of a second embodiment of a method for selecting a frame rate of a terminal according to the present invention.
  • FIG. 4 is a schematic flowchart diagram of a sixth embodiment of a method for selecting a frame rate of a terminal according to the present invention.
  • FIG. 5 is a schematic diagram of a conventional implementation of a seventh embodiment of a method for selecting a frame rate of a terminal according to the present invention
  • FIG. 6 is a schematic flowchart diagram of a seventh embodiment of a method for selecting a frame rate of a terminal according to the present invention.
  • FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention.
  • the terminal in the embodiment of the present invention may be a mobile terminal, such as a PC, a smart phone, a tablet computer, an e-book reader, and an MP3 (Moving Picture Experts). Group Audio Layer III, motion picture expert compression standard audio layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio layer 3) Players, portable computers and other portable terminal devices with display functions, can also be fixed terminals.
  • a mobile terminal such as a PC, a smart phone, a tablet computer, an e-book reader, and an MP3 (Moving Picture Experts). Group Audio Layer III, motion picture expert compression standard audio layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio layer 3) Players, portable computers and other portable terminal devices with display functions, can also be fixed terminals.
  • the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the terminal may further include a camera, RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more.
  • sensors such as light sensors, motion sensors, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display according to the brightness of the ambient light, and the proximity sensor may turn off the display and/or the backlight when the terminal moves to the ear.
  • the gravity acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the terminal can be used to identify the attitude of the terminal (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the terminal can also be equipped with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • attitude of the terminal such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tapping
  • the terminal can also be equipped with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a terminal shooting frame rate selection program.
  • the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
  • the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client;
  • the processor 1001 can be used to call the terminal shooting frame rate selection program stored in the memory 1005 and perform the following operations:
  • the frame rate used by the terminal for current shooting is a preset frame rate.
  • the step of the frame rate used by the terminal for the current shooting is a preset frame rate, including:
  • the frame rate used by the terminal for current shooting is a preset dynamic frame rate.
  • the processor 1001 may be configured to call a terminal shooting frame rate selection program stored in the memory 1005, and further perform the following operations:
  • the step of the frame rate currently used by the terminal for the preset frame rate is:
  • the processor 1001 may be configured to call a terminal shooting frame rate selection program stored in the memory 1005, and further perform the following operations:
  • the step of obtaining the blacklist preset by the terminal includes:
  • the frame rate used by the current shooting is a frame rate set by the target application
  • the step of acquiring the blacklist preset by the terminal is performed.
  • the processor 1001 may be configured to call a terminal shooting frame rate selection program stored in the memory 1005, and further perform the following operations:
  • the step of not including the feature code of the exempt application when the target application includes:
  • the preset frame rate is selected as the frame rate used by the terminal for the current shooting
  • the step of acquiring the blacklist preset by the terminal is performed.
  • the processor 1001 may be configured to call a terminal shooting frame rate selection program stored in the memory 1005, and further perform the following operations:
  • the step of detecting whether the target application includes the feature code of the application to be repaired includes:
  • the target application does not include the feature code of the to-be-repaired application, outputting a prompt prompting whether the preview is normal;
  • the signature of the target application is stored in the preset blacklist.
  • the processor 1001 may be configured to call a terminal shooting frame rate selection program stored in the memory 1005, and further perform the following operations:
  • the step of detecting whether the target application includes the feature code of the application to be repaired includes:
  • the processor 1001 may be configured to call a terminal shooting frame rate selection program stored in the memory 1005, and further perform the following operations:
  • the method After the step of storing the feature code of the target application into the preset blacklist, the method includes:
  • the step of obtaining the blacklist preset by the terminal is performed.
  • the method for selecting a frame rate of the terminal includes:
  • Step S10 Obtain a blacklist preset by the terminal, where the blacklist includes a feature code of the application to be repaired;
  • the frame rate set by the third-party application does not match the exposure meter built into the terminal, which may cause overexposure or darkness of the image.
  • the application calls the camera, the corresponding operation can be performed according to the blacklist to avoid technical problems such as overexposure or darkness caused by the third-party application frame rate and the terminal not being matched.
  • the blacklist in this embodiment may be in various forms, such as a table, or data stored at a specific address, or all data having a certain special mark.
  • the specific content of the blacklist (the signature of the third-party application) may be added by manually collecting application information, or may be automatically added by the terminal during the running process according to user feedback or data fed back by the third-party application.
  • the application to be repaired refers to an application whose feature code is recorded on the blacklist.
  • the signature refers to a unique identifier that represents a third-party application, and can be the package name of the application, or it can be a digital signature or other digital code.
  • Step S11 detecting whether the feature code of the application to be repaired is included in the target application
  • Step S12 If the target application includes the feature code of the application to be repaired, the frame rate used by the terminal for current shooting is a preset frame rate.
  • the target application refers to the application that the terminal is currently running that needs to call the camera.
  • the step of detecting the feature code of the application to be repaired in the target application may be: acquiring the feature code of the target application, and searching whether the feature code of the target application is stored in the blacklist. If the feature code of the target application is stored in the blacklist, the target application includes the feature code in the blacklist, that is, the feature code of the application to be repaired.
  • the target application includes the signature of the application to be repaired, the target application is a to-be-repaired application in the blacklist, and the frame rate set by the third-party application is not matched with the exposure table in the terminal, in order to avoid the final imaging. Exposing or dimming, the terminal can call the preset frame rate in the terminal.
  • the target application is not a pending application, and may be directly captured at a frame rate set by the target application, following a conventional bottom layer obeying upper layer application instruction setting, or The next step of judging is performed to ensure that if the frame rate set by the target application is not matched with the terminal, the terminal can select an appropriate frame rate to ensure the clarity of the final imaging, which is not obscured but does not expose, thereby ensuring a better user experience. .
  • the application that does not match the frame rate and the terminal exposure table is recorded in the blacklist, and each time the processor executes the third-party application to invoke the camera, it is determined whether the third-party application is the blacklist and the terminal does not If the third-party application is a pending application, the processor calls the camera and selects the preset frame rate of the terminal to shoot, which can be avoided when the processor executes the third-party application to invoke the camera.
  • the set frame rate is not matched with the terminal, resulting in the final image being overexposed or dimmed to ensure the user experience.
  • the preset frame rate in this embodiment is a frame rate set by the terminal manufacturer, and the preset frame rate may be a fixed frame rate or a dynamic frame rate, or may be: a fixed frame rate in a specific case, and another The specific case is the dynamic frame rate.
  • the preset frame rate should be the frame rate matched with the terminal exposure meter, and the frame rate can be used to obtain a clear imaging effect when the terminal is currently in the environment.
  • step S12 the method includes:
  • Step S13 Acquire a target frame rate corresponding to the light intensity of the environment in which the terminal is located, and store the target frame rate as a preset frame rate.
  • a built-in exposure meter is stored in the terminal that can be used to calculate the amount of light in the scene and set the camera shutter speed and aperture value to provide the best photo illumination or “exposure”.
  • the target frame rate corresponding to the illumination may be determined according to the light intensity of the environment in which the terminal is located, and the target frame rate may be a dynamic frame rate or a fixed frame rate, and the target frame rate ensures that the camera on the terminal has the most suitable exposure time. To ensure that the terminal camera takes pictures that are not too dark.
  • the target frame rate is stored as a preset frame rate in the terminal for later use.
  • the step of the present embodiment (that is, the step of determining the target frame rate based on the ambient light intensity) should be completed before step S12, and can be performed simultaneously with step S10 or step S11, or before or after step S10 or step S11.
  • the target frame rate is determined according to the light intensity of the environment in which the terminal is located, and the target frame rate is set to the preset frame rate of the terminal. After the target application is determined to be a blacklisted application to be repaired, the preset frame rate is selected. Shooting can take a picture that is normal, but not exposed to darkness.
  • step S12 may include:
  • Step S14 If the target application includes the feature code of the application to be repaired, the frame rate used by the terminal for current shooting is a preset dynamic frame rate.
  • the target application when it is detected that the target application includes the feature code of the to-be-repaired application, determining that the target application is a pending application to be recorded in the blacklist, the frame rate of the target application and the exposure table in the terminal If it is not matched, the actual frame rate used by the processor when executing the target application call camera should be the dynamic frame rate preset in the terminal.
  • the terminal may preset the fixed frame rate and the dynamic frame rate at the same time. In this embodiment, the preset dynamic frame rate is determined to be more suitable for environmental changes.
  • the preset dynamic frame rate may be 5-30 frames, or may be a dynamic frame rate determined according to ambient lighting or a scenario in which the terminal is located.
  • This embodiment may be combined with the previous embodiment (ie, step S13), or may not be combined.
  • the combined solution may be obtained according to the above specific description, and will not be described again due to repetition.
  • the captured frame rate of the captured terminal selects a dynamic frame rate preset by the terminal, which can be more adapted to environmental changes, adapts to shooting requirements in different situations, and ensures the environment. When you change, you can still take a clearer, less exposed, less dark image.
  • the method includes:
  • Step S20 Obtain a whitelist preset by the terminal, where the whitelist includes a feature code of the exemption application;
  • Step S21 it is determined whether the target application contains the feature code of the exempt application, and if so, step S22 is performed, if the target application does not include the feature code of the exempt application, step S10 is performed;
  • Step S22 the frame rate used by the current shooting is the frame rate set by the target application
  • a whitelist in addition to setting a blacklist, can also be set at the same time.
  • the whitelist stores the "no problem" application, that is, the application matching the exposure table in the terminal. This embodiment is called an exemption application. If the signature in the target application is recorded in the whitelist, the frame of the target application can be determined. The rate is suitable. When the target application invokes the camera, the frame rate required by the target application can be directly selected without continuing the subsequent "blacklist judgment", saving steps, saving memory resources, and faster. Get the shooting frame rate and shoot as soon as possible to ensure that users can use the shooting function as soon as possible to enhance the user experience.
  • the preset white list is factory-set by the terminal, and records the set frame rate and the application signature of the terminal exposure table. You can first determine the “no problem” application through market research by manual or technical means, and save all “no problem” applications as an exempt application.
  • the processor executes the third-party application and invokes the camera, it is first determined whether the third-party application includes the feature code of the exempt application, in other words, determining whether the feature code of the third-party application is the feature of the exempt application. code. If the signature of the third-party application can be found in the whitelist, the third-party application is an exempt application, and the set frame rate of the third-party application can be directly adopted; if the signature of the third-party application is not whitelisted Found in , the third-party application is not an exempt application. If the third-party application is not the unchecked application, the step of obtaining the blacklist preset by the terminal, that is, the step S10, is performed.
  • the whitelist determination before the third-party application is a blacklisted application to be repaired by setting the whitelist determination before the third-party application is a blacklisted application to be repaired, some third-party applications that have been determined to be associated with the terminal exposure table may be selected, and the whitelists are directly selected.
  • the third-party application of the stored third-party application sets the frame rate, saves the operation and memory resources, and the other whitelists do not record the application, and the steps of obtaining the blacklist of the terminal preset are performed, and the determination of whether the application is to be repaired by the blacklist is performed.
  • the step S21 includes:
  • Step S30 if the terminal is currently in the mandatory default frame rate mode, selecting a preset frame rate is a frame rate used by the terminal for current shooting;
  • Step S31 if the terminal is not currently in the mandatory default frame rate mode, step S10 is performed.
  • the method further includes the step of determining whether the third-party application is a blacklist-supplied application, that is, performing the step of acquiring the blacklist preset by the terminal, that is, step S10.
  • Whether the terminal is currently in the mandatory default frame rate mode may determine whether the target application is an exempt application, or any time after the camera is invoked, such as after acquiring the white list preset by the terminal, or After determining that the target application does not include the feature code of the unchecked application stored in the whitelist, that is, the target application is not the unchecked application in the whitelist, it starts to determine the frame rate mode in which the current terminal is located. Whether the setting is in the mandatory default frame rate mode may be set by the terminal, or may be set by the user.
  • the current frame rate mode of the terminal is determined. If the terminal is currently in the mandatory default frame rate mode, after determining the white list, the frame rate for the current shooting may be determined.
  • the current shooting frame rate can be determined as soon as possible, which is convenient for the user to use the shooting function as soon as possible, which is beneficial for the user to have a better experience in the speed of the terminal shooting function; if the terminal is not currently in the mandatory default frame rate mode, it is determined that the target application does not belong to After the exemption application in the whitelist, it is necessary to further determine whether the target application is a blacklisted application for repair, which can more accurately determine whether the frame rate set by the third-party application matches the terminal, and special shooting for the third-party application loading.
  • the compatibility of the functions is higher, and the connection between the terminal and the third-party application is facilitated, thereby indirectly improving the user experience.
  • the method includes:
  • Step S40 If the target application does not include the feature code of the application to be repaired, output a prompt box for whether the preview is normal;
  • Step S41 If a selection instruction that is not normal for the preview input by the user is received, the feature code of the target application is stored in the preset blacklist.
  • Detecting whether the target application includes the signature of the application to be repaired that is, detecting whether the target application is a blacklisted application to be repaired. If the target application does not include the signature of the application to be repaired in the blacklist, the target application is not the application to be repaired. Although the target application is not a pending application in the blacklist, there is a possibility that the blacklist may be missed, possibly because there is no statistics in place, or the target application is a new application. At this time, if it is shot according to the frame rate set by the target application, it may have appeared. Exposure or darkness and other previews are not normal.
  • the target application when it is detected that the target application does not include the feature code of the application to be repaired in the blacklist, first use the frame rate set by the target application to preview, and output whether the preview is normal or not.
  • the user judges whether the current preview has an abnormal phenomenon such as overexposure or darkness, and the user inputs a selection instruction that the preview is normal. If the preview is normal, the target application may be applied if the whitelist is set.
  • the feature code is stored in the whitelist, or in the case where the whitelist is not set, the target application can also be marked so that the next time the device is determined to be not in the blacklist, the frame rate set according to the target application is directly applied. Shooting.
  • the signature of the target application should be stored in a preset blacklist, so that the processor can directly use the terminal preset when the processor next executes the target application to invoke the camera. Frame rate shooting.
  • the selection prompt box for outputting whether the preview is normal is determined, and the user determines whether the preview is normal. If the user inputs a selection instruction that is not normal, the user The feature code of the target application is stored in the blacklist, and the data collected in the previous period is insufficient, so that some applications that are not recorded on the blacklist and those that are not compatible with the terminal are added to the blacklist for subsequent use. When the terminal executes the unsuitable application, the appropriate frame rate can be selected according to the blacklist.
  • the method includes:
  • Step S50 If the target application does not include the feature code of the application to be repaired, obtain a frame rate of the target application.
  • Step S51 Obtain a target frame rate corresponding to the light intensity of the environment in which the terminal is located, and determine whether the frame rate of the target application is consistent with the target frame rate.
  • Step S52 if it is determined that the frame rate of the target application does not match the target frame rate, storing the feature code of the target application into the preset blacklist.
  • the target application After obtaining the blacklist preset by the terminal, detecting whether the target application includes the feature code of the application to be repaired, and determining that the target application does not include the feature code of the application to be repaired, the target application may be directly compared.
  • the frame rate of the target application is directly obtained, and the corresponding target frame rate is determined according to the light intensity of the environment in which the terminal is currently located.
  • the target frame rate can be obtained according to the prior art, and after obtaining the two frame rates. Directly judge the consistency of the two.
  • judging whether the two frame rates are consistent does not mean that the two frame rates are the same, for example, they are all 15 frames, and may also be coincident.
  • the target frame rate is 15 frames to 20 frames of the dynamic frame rate
  • the target application frame is The rate is 18 frames, or the target frame rate is 17 frames, and the target application's frame rate is 15 frames to 19 frames.
  • the frame rate of the target application may be directly used for shooting. If there is a white list, the target frame rate may be stored in the white list if there is no white list. A special flag can be additionally set so that the terminal does not need to perform a "blacklist" judgment when the target application is used next time, saving steps and speeding up the determination of the frame rate. If the target frame rate does not match the frame rate set by the target application, the feature code of the target application is stored in the preset blacklist.
  • the target frame rate is determined according to the ambient light intensity of the terminal, and it is determined whether the target frame rate is consistent with the frame rate set by the target application. If not, the feature code of the target application may be stored in the preset blacklist. In order to use the target application for the next time, the first time the "blacklist" judgment can be made, the frame rate is directly determined as the preset frame rate of the terminal, and the step of determining the frame rate is saved, and the frame rate is determined as early as possible. At the same time as shooting at the appropriate frame rate, users can use the shooting function as soon as possible to enhance the user experience.
  • the method includes:
  • step S60 step S10 is performed.
  • the frame rate set by the target application may be directly used for shooting, or the frame rate preset by the terminal may be directly used for shooting.
  • the frame rate set by the target application may be directly determined to be the frame rate used by the current shooting; if the preview of the user input is received.
  • the abnormal selection instruction is performed after the feature code of the target application is stored in the preset blacklist, and the step of acquiring the blacklist preset by the terminal is performed (FIG. 4).
  • step S52 can be derived.
  • the third application that is not recorded in the blacklist is subjected to the second judgment, and the feature code of the third-party application that satisfies certain conditions is blacklisted, and the entire program is returned to the blacklist for judgment because the target application Whether the application for blacklist storage is mature and already exists, it can be called relatively easily, and no more steps can be taken to determine a more suitable frame rate for shooting (if not returning the "blacklist" judgment, then this may be The second shot will use the inappropriate frame rate for shooting, resulting in over-exposed or dark images, affecting the user experience), making full use of existing memory resources to ensure a better shooting experience for users.
  • the solution is based on Google Android Software architecture implementation, related code writing involves hal layer, framework layer, Applications layer.
  • FIG. 5 is a schematic diagram of a conventional technology implementation
  • FIG. 6 is a schematic flowchart of the embodiment.
  • the specific implementation of this embodiment firstly, the application that sets the fixed frame rate to cause the preview to be black (three-way apk in the figure) is counted, and the package names of the apks are counted, and the package names are combined into a blacklist.
  • the package name and the frame rate set by the package are obtained, and the obtained package name is compared with the package name in the blacklist. If the obtained package name belongs to the package name in the blacklist, the terminal is selected.
  • the preset frame rate (which can be 5-30 frames) is used as the current shooting frame rate. This can avoid the problem that the three-party apk sets a fixed frame rate and causes the preview to be black.
  • the preview is performed.
  • the frame rate that matches the ambient light intensity of the terminal, which is the preset frame rate of the terminal.
  • the default frame rate in the hal layer config file configuration table may be the same as or different from the terminal preset frame rate, and the default frame rate refers to the shooting frame rate when the three-party apk does not set the frame rate.
  • Other parts are prior art and will not be described again.
  • an embodiment of the present invention further provides a computer readable storage medium, where the terminal readable frame rate selection program is stored, and when the terminal shooting frame rate selection program is executed by the processor, the implementation is implemented as described above.
  • the specific embodiment of the computer readable storage medium of the present invention is substantially the same as the embodiment of the method for selecting a frame rate of the terminal, and is not described herein.
  • the fourth embodiment and the fifth embodiment may be combined in a priority setting manner, that is, a selection instruction that may be a normal or not preview of the user input is prior to the frame rate set by the target application and corresponds to the light intensity of the environment in which the terminal is located. Whether the target frame rate is consistent or vice versa, the latter being prioritized over the former is an alternative embodiment of the present invention.
  • the frame rate of the target application and the frame rate set by the target application have the same meaning;
  • the "blacklist” judgment refers to determining whether the target application includes the feature code of the application to be repaired in the blacklist;
  • white list The judgment refers to determining whether the target application includes the feature code of the exempt application in the whitelist.
  • the terms “comprising,” “comprising,” or “includes” or “includes” are intended to include a non-exclusive inclusion, such that a process, method, article, or system that includes a plurality of elements includes not only those elements but also other items not specifically listed Elements, or elements that are inherent to such a process, method, item, or system. An element defined by the phrase “comprising a " does not exclude the presence of additional equivalent elements in a process, method, article, or system that includes the element, without further limitation.
  • portions of the technical solution of the present invention that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Studio Devices (AREA)

Abstract

Disclosed in the present invention are a shooting frame rate selection method for a terminal, the terminal, and a computer readable storage medium. The method comprises: obtaining a blacklist preset in a terminal, the blacklist comprising a feature code of an application to be modified; detecting whether a target application contains the feature code of the application to be modified; and if the target application contains the feature code of the application to be modified, using a frame rate used in the current shooting of the terminal as a preset frame rate. The present invention can ensure that all third-party applications in the terminal can capture a clear picture that is not overexposed and is not excessively dark, thereby ensuring user experience.

Description

终端拍摄帧率选择方法、终端及计算机可读存储介质  Terminal shooting frame rate selection method, terminal and computer readable storage medium
技术领域Technical field
本发明涉及拍摄技术领域,尤其涉及一种终端拍摄帧率选择方法、终端及计算机可读存储介质。The present invention relates to the field of imaging technologies, and in particular, to a terminal shooting frame rate selection method, a terminal, and a computer readable storage medium.
背景技术Background technique
随着智能手机行业的迅猛发展,人们对拍摄的需求也日益增长,促进了很多拍摄类第三方应用的发展。不同手机,有不同的曝光表设置,同样的帧率,对于有着不同曝光表设置的手机来说,曝光时间是不同的,导致成像的效果也不同。因而,拍摄类第三方应用与各手机间如何适配以保证良好的成像效果成为亟待解决的技术问题。With the rapid development of the smart phone industry, people's demand for shooting is also growing, which has promoted the development of many third-party applications for shooting. Different mobile phones have different exposure meter settings, the same frame rate. For mobile phones with different exposure meter settings, the exposure time is different, resulting in different imaging effects. Therefore, how to adapt the shooting type third-party application to each mobile phone to ensure good imaging effect becomes a technical problem to be solved.
很多拍摄类第三方应用为与主流手机或主流平台保存同步,会设置与主流手机或平台适应的帧率,如固定帧率30帧。存在一些手机,依据其曝光表确定当前所处环境对应的帧率可能并不是30帧,则因为手机底层服从应用端的需求,所以虽然实际需求不是30帧,但该手机只能以30帧拍摄,导致最后成像过曝或者偏暗,影响用户体验。Many third-party applications for shooting are synchronized with mainstream mobile phones or mainstream platforms, and will set a frame rate that is compatible with mainstream mobile phones or platforms, such as a fixed frame rate of 30 frames. There are some mobile phones, according to their exposure table to determine the current frame rate corresponding to the environment may not be 30 frames, because the bottom of the phone obeys the needs of the application, so although the actual demand is not 30 frames, but the phone can only shoot at 30 frames, Causes the final imaging to be overexposed or dimmed, affecting the user experience.
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solutions of the present invention, and does not constitute an admission that the above is prior art.
发明内容Summary of the invention
本发明的主要目的在于提供一种终端拍摄帧率选择方法,旨在解决第三方应用与实际需求帧率不符导致的成像过曝或偏暗的技术问题。The main object of the present invention is to provide a method for selecting a frame rate of a terminal, which aims to solve the technical problem of overexposure or darkness caused by a third-party application that does not match the actual required frame rate.
为实现上述目的,本发明提供一种终端拍摄帧率选择方法,所述方法包括:To achieve the above object, the present invention provides a method for selecting a frame rate of a terminal, the method comprising:
获取终端预置的黑名单,所述黑名单中包括待修应用的特征码;Obtaining a blacklist of the terminal preset, where the blacklist includes a feature code of the application to be repaired;
检测目标应用中是否包含所述待修应用的特征码;Detecting whether the target application includes the feature code of the application to be repaired;
若所述目标应用中包含所述待修应用的特征码,则终端当前拍摄使用的帧率为预置帧率。 If the target application includes the feature code of the application to be repaired, the frame rate used by the terminal for current shooting is a preset frame rate.
在一种可选的实施方式中,所述若所述目标应用中包含所述待修应用的特征码,则终端当前拍摄使用的帧率为预置帧率的步骤包括:In an optional implementation manner, if the target application includes the feature code of the to-be-repaired application, the step of the frame rate used by the terminal for the current shooting is a preset frame rate, where:
若所述目标应用中包含所述待修应用的特征码,则终端当前拍摄使用的帧率为预置的动态帧率。If the target application includes the feature code of the application to be repaired, the frame rate used by the terminal for current shooting is a preset dynamic frame rate.
在一种可选的实施方式中,所述若所述目标应用中包含所述待修应用的特征码,则终端当前拍摄使用的帧率为预置帧率的步骤之前包括:In an optional implementation manner, if the target application includes the feature code of the to-be-repaired application, the step of the frame rate used by the terminal for the current shooting to be the preset frame rate includes:
获取终端所处环境的光强对应的目标帧率,将该目标帧率存储为预置帧率。Obtain a target frame rate corresponding to the light intensity of the environment in which the terminal is located, and store the target frame rate as a preset frame rate.
在一种可选的实施方式中,所述获取终端预置的黑名单的步骤之前包括:In an optional implementation manner, the step of acquiring a blacklist preset by the terminal includes:
获取终端预置的白名单,所述白名单包括免检应用的特征码;Obtaining a white list preset by the terminal, where the white list includes a feature code of the exempt application;
判断目标应用中是否包含所述免检应用的特征码;Determining whether the target application includes the feature code of the exempt application;
若所述目标应用中包含所述免检应用的特征码,则当前拍摄使用的帧率为所述目标应用设置的帧率;If the target application includes the feature code of the exempt application, the frame rate used by the current shooting is a frame rate set by the target application;
若所述目标应用中不包含所述免检应用的特征码,则执行所述获取终端预置的黑名单的步骤。If the target application does not include the feature code of the exempt application, the step of acquiring the blacklist preset by the terminal is performed.
在一种可选的实施方式中,所述若所述目标应用中不包含所述免检应用的特征码的步骤之后包括:In an optional implementation manner, the step of not including the feature code of the exempt application when the target application includes:
若终端当前处于强制默认帧率模式,选择预置帧率为终端当前拍摄使用的帧率;If the terminal is currently in the mandatory default frame rate mode, the preset frame rate is selected as the frame rate used by the terminal for the current shooting;
若终端当前不处于强制默认帧率模式,则执行所述获取终端预置的黑名单的步骤。If the terminal is not currently in the mandatory default frame rate mode, the step of acquiring the blacklist preset by the terminal is performed.
在一种可选的实施方式中,所述检测目标应用中是否包含所述待修应用的特征码的步骤之后包括:In an optional implementation manner, the step of detecting whether the target application includes the signature of the application to be repaired comprises:
若所述目标应用中不包含所述待修应用的特征码,则输出预览是否正常的选择提示框;If the target application does not include the feature code of the to-be-repaired application, outputting a prompt prompting whether the preview is normal;
若接收到用户输入的预览不正常的选择指令,则将所述目标应用的特征码存入所述预置的黑名单。If a selection instruction that the user input is not normal is received, the signature of the target application is stored in the preset blacklist.
在一种可选的实施方式中,所述检测目标应用中是否包含所述待修应用的特征码的步骤之后包括:In an optional implementation manner, the step of detecting whether the target application includes the signature of the application to be repaired comprises:
若所述目标应用中不包含所述待修应用的特征码,则获取目标应用的帧率;Obtaining a frame rate of the target application if the target application does not include the feature code of the to-be-applied application;
获取终端所处环境的光强对应的目标帧率,判断所述目标应用的帧率与该目标帧率是否一致;Obtaining a target frame rate corresponding to the light intensity of the environment in which the terminal is located, and determining whether the frame rate of the target application is consistent with the target frame rate;
若判定所述目标应用的帧率与该目标帧率不一致,则将所述目标应用的特征码存入所述预置的黑名单。If it is determined that the frame rate of the target application does not match the target frame rate, storing the feature code of the target application into the preset blacklist.
在一种可选的实施方式中,所述将所述目标应用的特征码存入所述预置的黑名单的步骤之后包括:In an optional implementation manner, the step of storing the feature code of the target application into the preset blacklist includes:
执行所述获取终端预置的黑名单的步骤。The step of obtaining the blacklist preset by the terminal is performed.
为实现上述目的,本发明还提供一种终端,所述终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的终端拍摄帧率选择程序,所述终端拍摄帧率选择程序被所述处理器执行时实现如上述终端拍摄帧率选择方法的步骤。In order to achieve the above object, the present invention further provides a terminal, the terminal comprising: a memory, a processor, and a terminal shooting frame rate selection program stored on the memory and operable on the processor, the terminal shooting The step of the frame rate selection method as described above is implemented when the frame rate selection program is executed by the processor.
此外,为实现上述目的,本发明还提供一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有终端拍摄帧率选择程序,所述终端拍摄帧率选择程序被处理器执行时实现如上述终端拍摄帧率选择方法的步骤。 In addition, in order to achieve the above object, the present invention further provides a computer readable storage medium, wherein the computer readable storage medium stores a terminal shooting frame rate selection program, and the terminal shooting frame rate selection program is processed. The step of implementing the terminal shooting frame rate selection method as described above is implemented when the device is executed.
本实施例通过将帧率与终端曝光表不配套的应用记录在黑名单中,在每次处理器执行第三方应用调用摄像头时,判断该第三方应用是否为所述黑名单记录的与终端不配套的待修应用,如果该第三方应用是待修应用,则处理器调用摄像头,选择终端的预置帧率进行拍摄,可以在处理器执行第三方应用调用摄像头时,避免因为该第三方应用设置的帧率与终端不配套导致最后成像过曝或者偏暗,保障用户体验。In this embodiment, the application that does not match the frame rate and the terminal exposure table is recorded in the blacklist, and each time the processor executes the third-party application to invoke the camera, it is determined whether the third-party application is the blacklist and the terminal does not If the third-party application is a pending application, the processor calls the camera and selects the preset frame rate of the terminal to shoot, which can be avoided when the processor executes the third-party application to invoke the camera. The set frame rate is not matched with the terminal, resulting in the final image being overexposed or dimmed to ensure the user experience.
附图说明DRAWINGS
图1是本发明实施例方案涉及的硬件运行环境的终端结构示意图;1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention;
图2为本发明终端拍摄帧率选择方法第一实施例的流程示意图;2 is a schematic flowchart of a first embodiment of a method for selecting a frame rate of a terminal according to the present invention;
图3为本发明终端拍摄帧率选择方法第二实施例的流程示意图;3 is a schematic flowchart diagram of a second embodiment of a method for selecting a frame rate of a terminal according to the present invention;
图4为本发明终端拍摄帧率选择方法第六实施例的一个流程示意图;4 is a schematic flowchart diagram of a sixth embodiment of a method for selecting a frame rate of a terminal according to the present invention;
图5为本发明终端拍摄帧率选择方法第七实施例涉及的常规技术实现示意图;FIG. 5 is a schematic diagram of a conventional implementation of a seventh embodiment of a method for selecting a frame rate of a terminal according to the present invention; FIG.
图6为本发明终端拍摄帧率选择方法第七实施例的流程示意图。FIG. 6 is a schematic flowchart diagram of a seventh embodiment of a method for selecting a frame rate of a terminal according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
如图1所示,图1是本发明实施例方案涉及的硬件运行环境的终端结构示意图。As shown in FIG. 1, FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention.
本发明实施例终端可以为移动终端,如可以是PC,也可以是智能手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面3)播放器、便携计算机等具有显示功能的可移动式终端设备,也可以为固定终端。The terminal in the embodiment of the present invention may be a mobile terminal, such as a PC, a smart phone, a tablet computer, an e-book reader, and an MP3 (Moving Picture Experts). Group Audio Layer III, motion picture expert compression standard audio layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio layer 3) Players, portable computers and other portable terminal devices with display functions, can also be fixed terminals.
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to implement connection communication between these components. The user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage. The memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
可选地,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在终端移动到耳边时,关闭显示屏和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;当然,终端还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Optionally, the terminal may further include a camera, RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more. Among them, sensors such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display according to the brightness of the ambient light, and the proximity sensor may turn off the display and/or the backlight when the terminal moves to the ear. . As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the terminal (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the terminal can also be equipped with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及终端拍摄帧率选择程序。As shown in FIG. 1, a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a terminal shooting frame rate selection program.
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的终端拍摄帧率选择程序,并执行以下操作:In the terminal shown in FIG. 1, the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server; the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client; and the processor 1001 can be used to call the terminal shooting frame rate selection program stored in the memory 1005 and perform the following operations:
获取终端预置的黑名单,所述黑名单中包括待修应用的特征码;Obtaining a blacklist of the terminal preset, where the blacklist includes a feature code of the application to be repaired;
检测目标应用中是否包含所述待修应用的特征码;Detecting whether the target application includes the feature code of the application to be repaired;
若所述目标应用中包含所述待修应用的特征码,则终端当前拍摄使用的帧率为预置帧率。 If the target application includes the feature code of the application to be repaired, the frame rate used by the terminal for current shooting is a preset frame rate.
所述若所述目标应用中包含所述待修应用的特征码,则终端当前拍摄使用的帧率为预置帧率的步骤包括:If the target application includes the feature code of the application to be repaired, the step of the frame rate used by the terminal for the current shooting is a preset frame rate, including:
若所述目标应用中包含所述待修应用的特征码,则终端当前拍摄使用的帧率为预置的动态帧率。If the target application includes the feature code of the application to be repaired, the frame rate used by the terminal for current shooting is a preset dynamic frame rate.
进一步地,处理器1001可以用于调用存储器1005中存储的终端拍摄帧率选择程序,还执行以下操作:Further, the processor 1001 may be configured to call a terminal shooting frame rate selection program stored in the memory 1005, and further perform the following operations:
所述若所述目标应用中包含所述待修应用的特征码,则终端当前拍摄使用的帧率为预置帧率的步骤之前包括:If the target application includes the feature code of the to-be-repaired application, the step of the frame rate currently used by the terminal for the preset frame rate is:
获取终端所处环境的光强对应的目标帧率,将该目标帧率存储为预置帧率。Obtain a target frame rate corresponding to the light intensity of the environment in which the terminal is located, and store the target frame rate as a preset frame rate.
进一步地,处理器1001可以用于调用存储器1005中存储的终端拍摄帧率选择程序,还执行以下操作:Further, the processor 1001 may be configured to call a terminal shooting frame rate selection program stored in the memory 1005, and further perform the following operations:
所述获取终端预置的黑名单的步骤之前包括:The step of obtaining the blacklist preset by the terminal includes:
获取终端预置的白名单,所述白名单包括免检应用的特征码;Obtaining a white list preset by the terminal, where the white list includes a feature code of the exempt application;
判断目标应用中是否包含所述免检应用的特征码;Determining whether the target application includes the feature code of the exempt application;
若所述目标应用中包含所述免检应用的特征码,则当前拍摄使用的帧率为所述目标应用设置的帧率;If the target application includes the feature code of the exempt application, the frame rate used by the current shooting is a frame rate set by the target application;
若所述目标应用中不包含所述免检应用的特征码,则执行所述获取终端预置的黑名单的步骤。If the target application does not include the feature code of the exempt application, the step of acquiring the blacklist preset by the terminal is performed.
进一步地,处理器1001可以用于调用存储器1005中存储的终端拍摄帧率选择程序,还执行以下操作:Further, the processor 1001 may be configured to call a terminal shooting frame rate selection program stored in the memory 1005, and further perform the following operations:
所述若所述目标应用中不包含所述免检应用的特征码的步骤之后包括:The step of not including the feature code of the exempt application when the target application includes:
若终端当前处于强制默认帧率模式,选择预置帧率为终端当前拍摄使用的帧率;If the terminal is currently in the mandatory default frame rate mode, the preset frame rate is selected as the frame rate used by the terminal for the current shooting;
若终端当前不处于强制默认帧率模式,则执行所述获取终端预置的黑名单的步骤。If the terminal is not currently in the mandatory default frame rate mode, the step of acquiring the blacklist preset by the terminal is performed.
进一步地,处理器1001可以用于调用存储器1005中存储的终端拍摄帧率选择程序,还执行以下操作:Further, the processor 1001 may be configured to call a terminal shooting frame rate selection program stored in the memory 1005, and further perform the following operations:
所述检测目标应用中是否包含所述待修应用的特征码的步骤之后包括:The step of detecting whether the target application includes the feature code of the application to be repaired includes:
若所述目标应用中不包含所述待修应用的特征码,则输出预览是否正常的选择提示框;If the target application does not include the feature code of the to-be-repaired application, outputting a prompt prompting whether the preview is normal;
若接收到用户输入的预览不正常的选择指令,则将所述目标应用的特征码存入所述预置的黑名单。If a selection instruction that the user input is not normal is received, the signature of the target application is stored in the preset blacklist.
进一步地,处理器1001可以用于调用存储器1005中存储的终端拍摄帧率选择程序,还执行以下操作:Further, the processor 1001 may be configured to call a terminal shooting frame rate selection program stored in the memory 1005, and further perform the following operations:
所述检测目标应用中是否包含所述待修应用的特征码的步骤之后包括:The step of detecting whether the target application includes the feature code of the application to be repaired includes:
若所述目标应用中不包含所述待修应用的特征码,则获取目标应用的帧率;Obtaining a frame rate of the target application if the target application does not include the feature code of the to-be-applied application;
获取终端所处环境的光强对应的目标帧率,判断所述目标应用的帧率与该目标帧率是否一致;Obtaining a target frame rate corresponding to the light intensity of the environment in which the terminal is located, and determining whether the frame rate of the target application is consistent with the target frame rate;
若判定所述目标应用的帧率与该目标帧率不一致,则将所述目标应用的特征码存入所述预置的黑名单。If it is determined that the frame rate of the target application does not match the target frame rate, storing the feature code of the target application into the preset blacklist.
进一步地,处理器1001可以用于调用存储器1005中存储的终端拍摄帧率选择程序,还执行以下操作:Further, the processor 1001 may be configured to call a terminal shooting frame rate selection program stored in the memory 1005, and further perform the following operations:
所述将所述目标应用的特征码存入所述预置的黑名单的步骤之后包括:After the step of storing the feature code of the target application into the preset blacklist, the method includes:
执行所述获取终端预置的黑名单的步骤。The step of obtaining the blacklist preset by the terminal is performed.
参照图2,在本发明终端拍摄帧率选择方法第一实施例中,所述终端拍摄帧率选择方法包括: Referring to FIG. 2, in the first embodiment of the method for selecting a frame rate of the terminal of the present invention, the method for selecting a frame rate of the terminal includes:
步骤S10,获取终端预置的黑名单,所述黑名单中包括待修应用的特征码;Step S10: Obtain a blacklist preset by the terminal, where the blacklist includes a feature code of the application to be repaired;
第三方应用设置的帧率与终端内置的曝光表不配套可能导致成像的过曝或偏暗。对于这一类第三方应用,可以先通过人工或技术手段的市场调查,收集这类“有问题”的第三方应用,将其特征码存入终端预置的黑名单,以便终端在执行第三方应用程序调用摄像头时,可根据黑名单执行相应操作,以规避第三方应用帧率与终端不配套导致的成像过曝或偏暗等技术问题。The frame rate set by the third-party application does not match the exposure meter built into the terminal, which may cause overexposure or darkness of the image. For this type of third-party application, you can first collect such "problematic" third-party applications through manual or technical market research, and store their signatures in the terminal's preset blacklist so that the terminal can execute third parties. When the application calls the camera, the corresponding operation can be performed according to the blacklist to avoid technical problems such as overexposure or darkness caused by the third-party application frame rate and the terminal not being matched.
本实施例中的黑名单的形式可以有多种,如表,或者存储于特定地址的数据,或者所有具有某种特殊标记的数据。该黑名单的具体内容(第三方应用的特征码)可以由人工收集应用信息添加,也可由终端在运行过程中,根据用户反馈或者第三方应用反馈的数据自动添加。The blacklist in this embodiment may be in various forms, such as a table, or data stored at a specific address, or all data having a certain special mark. The specific content of the blacklist (the signature of the third-party application) may be added by manually collecting application information, or may be automatically added by the terminal during the running process according to user feedback or data fed back by the third-party application.
待修应用指其特征码被记载在黑名单上的应用。特征码指代表第三方应用的唯一标识,可以是应用的包名,也可以是数字签名或者其他数字码。 The application to be repaired refers to an application whose feature code is recorded on the blacklist. The signature refers to a unique identifier that represents a third-party application, and can be the package name of the application, or it can be a digital signature or other digital code.
步骤S11,检测目标应用中是否包含所述待修应用的特征码;Step S11, detecting whether the feature code of the application to be repaired is included in the target application;
步骤S12,若所述目标应用中包含所述待修应用的特征码,则终端当前拍摄使用的帧率为预置帧率。 Step S12: If the target application includes the feature code of the application to be repaired, the frame rate used by the terminal for current shooting is a preset frame rate.
目标应用指终端当前运行的需要调用摄像头的应用程序。The target application refers to the application that the terminal is currently running that needs to call the camera.
本实施例中的检测目标应用中是否包含所述待修应用的特征码这一步骤,具体实现上,可以是:获取目标应用的特征码,查找黑名单中是否存储有该目标应用的特征码,若黑名单中存储了该目标应用的特征码,即目标应用中包含所述黑名单中的特征码,即所述待修应用的特征码。In the embodiment, the step of detecting the feature code of the application to be repaired in the target application may be: acquiring the feature code of the target application, and searching whether the feature code of the target application is stored in the blacklist. If the feature code of the target application is stored in the blacklist, the target application includes the feature code in the blacklist, that is, the feature code of the application to be repaired.
如果所述目标应用中包含所述待修应用的特征码,则目标应用为黑名单中的待修应用,则第三方应用设置的帧率与终端中的曝光表不配套,为了避免最后成像过曝或偏暗,终端可调用终端中的预置帧率。If the target application includes the signature of the application to be repaired, the target application is a to-be-repaired application in the blacklist, and the frame rate set by the third-party application is not matched with the exposure table in the terminal, in order to avoid the final imaging. Exposing or dimming, the terminal can call the preset frame rate in the terminal.
如果所述目标应用的特征码,没有存储在黑名单中,则所述目标应用不是待修应用,可直接使用该目标应用设置的帧率拍摄,遵循常规的底层服从上层应用指令的设置,或者进行下一步判断步骤,以保证若该目标应用设置的帧率与终端不配套时,终端可以选择合适的帧率拍摄,以保证最后成像的清晰性,不偏暗不过曝,保证较好的用户体验。If the signature of the target application is not stored in the blacklist, the target application is not a pending application, and may be directly captured at a frame rate set by the target application, following a conventional bottom layer obeying upper layer application instruction setting, or The next step of judging is performed to ensure that if the frame rate set by the target application is not matched with the terminal, the terminal can select an appropriate frame rate to ensure the clarity of the final imaging, which is not obscured but does not expose, thereby ensuring a better user experience. .
本实施例通过将帧率与终端曝光表不配套的应用记录在黑名单中,在每次处理器执行第三方应用调用摄像头时,判断该第三方应用是否为所述黑名单记录的与终端不配套的待修应用,如果该第三方应用是待修应用,则处理器调用摄像头,选择终端的预置帧率进行拍摄,可以在处理器执行第三方应用调用摄像头时,避免因为该第三方应用设置的帧率与终端不配套导致最后成像过曝或者偏暗,保障用户体验。In this embodiment, the application that does not match the frame rate and the terminal exposure table is recorded in the blacklist, and each time the processor executes the third-party application to invoke the camera, it is determined whether the third-party application is the blacklist and the terminal does not If the third-party application is a pending application, the processor calls the camera and selects the preset frame rate of the terminal to shoot, which can be avoided when the processor executes the third-party application to invoke the camera. The set frame rate is not matched with the terminal, resulting in the final image being overexposed or dimmed to ensure the user experience.
本实施例中的预置帧率为终端厂商出厂设置的帧率,该预置帧率可以为固定帧率,也可为动态帧率,也可为:特定情况下为固定帧率、另一特定情况为动态帧率。该预置帧率应当是与终端曝光表配套的帧率,使用该帧率在终端当前所处环境下拍摄可以获得较为清晰地成像效果。The preset frame rate in this embodiment is a frame rate set by the terminal manufacturer, and the preset frame rate may be a fixed frame rate or a dynamic frame rate, or may be: a fixed frame rate in a specific case, and another The specific case is the dynamic frame rate. The preset frame rate should be the frame rate matched with the terminal exposure meter, and the frame rate can be used to obtain a clear imaging effect when the terminal is currently in the environment.
具体地,步骤S12之前包括:Specifically, before step S12, the method includes:
步骤S13,获取终端所处环境的光强对应的目标帧率,将该目标帧率存储为预置帧率。Step S13: Acquire a target frame rate corresponding to the light intensity of the environment in which the terminal is located, and store the target frame rate as a preset frame rate.
终端中存储有内置的曝光表,可用于计算场景中的光线量并设定相机快门速度和光圈值,以便提供最好的照片照明或“曝光”。光照越强,曝光时间越短,帧率也越大。根据终端所处环境的光强可确定光照对应的目标帧率,该目标帧率可为动态帧率,也可为固定帧率,该目标帧率可保证终端上的摄像头具有最合适的曝光时间,保证终端摄像头拍摄出不过曝也不偏暗的图片。将该目标帧率作为预置帧率存储在终端,以待后续使用。A built-in exposure meter is stored in the terminal that can be used to calculate the amount of light in the scene and set the camera shutter speed and aperture value to provide the best photo illumination or “exposure”. The stronger the illumination, the shorter the exposure time and the higher the frame rate. The target frame rate corresponding to the illumination may be determined according to the light intensity of the environment in which the terminal is located, and the target frame rate may be a dynamic frame rate or a fixed frame rate, and the target frame rate ensures that the camera on the terminal has the most suitable exposure time. To ensure that the terminal camera takes pictures that are not too dark. The target frame rate is stored as a preset frame rate in the terminal for later use.
本实施例的步骤(即根据环境光强确定目标帧率这一步骤)在步骤S12之前即应完成,可与步骤S10或者步骤S11同时进行,或在步骤S10或者步骤S11之前或者之后进行。The step of the present embodiment (that is, the step of determining the target frame rate based on the ambient light intensity) should be completed before step S12, and can be performed simultaneously with step S10 or step S11, or before or after step S10 or step S11.
本实施例通过根据终端所处环境的光强确定目标帧率,将该目标帧率设置为终端预置帧率,在之后判断目标应用为黑名单记录的待修应用后,选择预置帧率进行拍摄可拍摄出比较正常,不过曝不偏暗的图像。In this embodiment, the target frame rate is determined according to the light intensity of the environment in which the terminal is located, and the target frame rate is set to the preset frame rate of the terminal. After the target application is determined to be a blacklisted application to be repaired, the preset frame rate is selected. Shooting can take a picture that is normal, but not exposed to darkness.
进一步地,步骤S12可包括:Further, step S12 may include:
步骤S14,若所述目标应用中包含所述待修应用的特征码,则终端当前拍摄使用的帧率为预置的动态帧率。Step S14: If the target application includes the feature code of the application to be repaired, the frame rate used by the terminal for current shooting is a preset dynamic frame rate.
在一种实施方式中,当检测到目标应用中包含所述待修应用的特征码,确定该目标应用为黑名单中有记录的待修应用,该目标应用的帧率与终端中的曝光表不配套,处理器在执行目标应用调用摄像头时,实际使用的帧率应该为终端中预置的动态帧率。终端可能同时预置固定帧率和动态帧率,本实施例确定选择预置的动态帧率,可更加适应环境变化。所述预置的动态帧率可以为5-30帧,也可为根据环境光照或者终端所处场景确定的动态帧率。In an embodiment, when it is detected that the target application includes the feature code of the to-be-repaired application, determining that the target application is a pending application to be recorded in the blacklist, the frame rate of the target application and the exposure table in the terminal If it is not matched, the actual frame rate used by the processor when executing the target application call camera should be the dynamic frame rate preset in the terminal. The terminal may preset the fixed frame rate and the dynamic frame rate at the same time. In this embodiment, the preset dynamic frame rate is determined to be more suitable for environmental changes. The preset dynamic frame rate may be 5-30 frames, or may be a dynamic frame rate determined according to ambient lighting or a scenario in which the terminal is located.
本实施例可与上一实施例(即步骤S13)组合,也可不组合,组合的方案可根据上述具体描述获得,因重复故不再赘述。This embodiment may be combined with the previous embodiment (ie, step S13), or may not be combined. The combined solution may be obtained according to the above specific description, and will not be described again due to repetition.
本实施例中,在目标应用为黑名单记录的待修应用时,拍摄的终端拍摄帧率选择终端预置的动态帧率,可更加适应环境变化,适应不同情形下的拍摄需求,确保在环境变化时仍旧可拍摄出较清晰地、不过曝、不偏暗的图像。In this embodiment, when the target application is a blacklisted application to be repaired, the captured frame rate of the captured terminal selects a dynamic frame rate preset by the terminal, which can be more adapted to environmental changes, adapts to shooting requirements in different situations, and ensures the environment. When you change, you can still take a clearer, less exposed, less dark image.
进一步地,参照图3,在本发明终端拍摄帧率选择方法的第二实施例中,基于第一实施例,步骤S10之前包括:Further, referring to FIG. 3, in the second embodiment of the method for selecting a frame rate of the terminal of the present invention, based on the first embodiment, before step S10, the method includes:
步骤S20,获取终端预置的白名单,所述白名单包括免检应用的特征码;Step S20: Obtain a whitelist preset by the terminal, where the whitelist includes a feature code of the exemption application;
步骤S21,判断目标应用中是否包含所述免检应用的特征码,若是,则执行步骤S22,若目标应用中不包含所述免检应用的特征码,则执行步骤S10;Step S21, it is determined whether the target application contains the feature code of the exempt application, and if so, step S22 is performed, if the target application does not include the feature code of the exempt application, step S10 is performed;
步骤S22,当前拍摄使用的帧率为所述目标应用设置的帧率;Step S22, the frame rate used by the current shooting is the frame rate set by the target application;
在一种可选的实施方式中,除了设置黑名单,还可以同时设置白名单。该白名单存储“没问题”的应用,即与终端中曝光表配套的应用,本实施例称之为免检应用,若目标应用中的特征码记录在白名单中,可确定该目标应用的帧率是合适的,在执行该目标应用调用摄像头时,直接选择该目标应用要求的帧率即可,而无需继续后续的“黑名单判断”,节省了步骤,节约了内存资源,还可更快获得拍摄帧率,尽快进行拍摄,保障用户可尽快使用拍摄功能,提升用户体验。In an optional implementation manner, in addition to setting a blacklist, a whitelist can also be set at the same time. The whitelist stores the "no problem" application, that is, the application matching the exposure table in the terminal. This embodiment is called an exemption application. If the signature in the target application is recorded in the whitelist, the frame of the target application can be determined. The rate is suitable. When the target application invokes the camera, the frame rate required by the target application can be directly selected without continuing the subsequent "blacklist judgment", saving steps, saving memory resources, and faster. Get the shooting frame rate and shoot as soon as possible to ensure that users can use the shooting function as soon as possible to enhance the user experience.
预置的白名单由终端出厂设置,记录了设置的帧率与终端曝光表配套的应用的特征码。可以先通过人工或技术手段的市场调查,确定“没问题”的应用,将所有“没问题”的应用作为免检应用存入白名单。The preset white list is factory-set by the terminal, and records the set frame rate and the application signature of the terminal exposure table. You can first determine the “no problem” application through market research by manual or technical means, and save all “no problem” applications as an exempt application.
在处理器执行第三方应用,调用摄像头时,先判断该第三方应用中是否包含所述免检应用的特征码,换而言之,判断该第三方应用的特征码是否为所述免检应用的特征码。如果该第三方应用的特征码在白名单中可以找到,则该第三方应用为免检应用,该第三方应用的设置的帧率可直接采用;若该第三方应用的特征码不可以在白名单中找到,则该第三方应用不是免检应用。若第三方应用不是免检应用,需要进一步判断该第三方应用是否为黑名单中的待修应用,执行所述获取终端预置的黑名单的步骤,即步骤S10。When the processor executes the third-party application and invokes the camera, it is first determined whether the third-party application includes the feature code of the exempt application, in other words, determining whether the feature code of the third-party application is the feature of the exempt application. code. If the signature of the third-party application can be found in the whitelist, the third-party application is an exempt application, and the set frame rate of the third-party application can be directly adopted; if the signature of the third-party application is not whitelisted Found in , the third-party application is not an exempt application. If the third-party application is not the unchecked application, the step of obtaining the blacklist preset by the terminal, that is, the step S10, is performed.
本实施例通过在第三方应用是否为黑名单记录的待修应用这一判断之前设置白名单的判断,可将某些已确定与终端曝光表配套的第三方应用选出来,直接选择这些白名单存储的第三方应用设置的帧率拍摄,节约操作及内存资源,其他白名单没有记录的应用,执行获取终端预置的黑名单的步骤,进行是否为黑名单记录的待修应用的判断。In this embodiment, by setting the whitelist determination before the third-party application is a blacklisted application to be repaired, some third-party applications that have been determined to be associated with the terminal exposure table may be selected, and the whitelists are directly selected. The third-party application of the stored third-party application sets the frame rate, saves the operation and memory resources, and the other whitelists do not record the application, and the steps of obtaining the blacklist of the terminal preset are performed, and the determination of whether the application is to be repaired by the blacklist is performed.
进一步地,在本发明第三实施例中,基于第一实施例或者第二实施例,步骤S21中若所述目标应用中不包含所述免检应用的特征码的步骤之后包括:Further, in the third embodiment of the present invention, after the step of not including the feature code of the exempt application in the target application, the step S21 includes:
步骤S30,若终端当前处于强制默认帧率模式,选择预置帧率为终端当前拍摄使用的帧率;Step S30, if the terminal is currently in the mandatory default frame rate mode, selecting a preset frame rate is a frame rate used by the terminal for current shooting;
步骤S31,若终端当前不处于强制默认帧率模式,则执行步骤S10。Step S31, if the terminal is not currently in the mandatory default frame rate mode, step S10 is performed.
在一种可选的实施方式中,存在两种模式解决第三方应用设置的帧率与终端曝光表不配套导致的过曝或偏暗的技术问题。其一为只判断白名单的方式,本实施例称之为强制默认帧率模式,即判断第三方应用中是否包含白名单存储的免检应用的特征码,若判断出第三方应用中不包含白名单存储的免检应用的特征码,即该第三方应用不是白名单存储的免检应用,则直接选择终端的预置帧率进行拍摄;其二为白名单与黑名单配套的方式,即在判断出第三方应用不是白名单存储的免检应用后,还需继续判断该第三方应用是否为黑名单存储的待修应用,即执行所述获取终端预置的黑名单的步骤,即步骤S10。In an optional implementation manner, there are two modes to solve the technical problem of overexposure or darkness caused by the frame rate of the third party application setting and the terminal exposure table not being matched. The first one is a method for judging only the whitelist. This embodiment is called a mandatory default frame rate mode, that is, whether the third-party application includes the feature code of the exemption application stored in the whitelist, and if it is determined that the third-party application does not include white, The feature code of the exemption application stored in the list, that is, the exemption application of the third-party application that is not whitelist storage, directly selects the preset frame rate of the terminal for shooting; the second is the method of matching the whitelist and the blacklist, that is, judging After the third-party application is not the unlicensed application of the whitelist storage, the method further includes the step of determining whether the third-party application is a blacklist-supplied application, that is, performing the step of acquiring the blacklist preset by the terminal, that is, step S10.
判断目标应用中是否包含白名单中免检应用的特征码,在确定目标应用中包含所述免检应用的特征码,即该目标应用为免检应用后,当前拍摄使用的帧率为该目标应用设置的帧率。若目标应用中,不包含所述免检应用的特征码,则根据终端当前所处模式的不同执行不同操作。Determining whether the target application includes the signature of the exempt application in the whitelist, and determining the signature of the exempt application in the target application, that is, after the target application is the exempt application, the frame rate used by the current shooting is set by the target application. Frame rate. If the target application does not include the signature of the exempt application, different operations are performed according to the mode in which the terminal is currently located.
终端当前是否处于强制默认帧率模式的判断可在处理器执行目标应用程序,调用摄像头之后的任意时刻,如在获取终端预置的白名单这一步骤之后,判断目标应用是否为免检应用,或者在判断出目标应用不包含白名单中存储的免检应用的特征码,即目标应用并非白名单中的免检应用后,开始判断当前终端所处的帧率模式。所述是否处于强制默认帧率模式的设置可由终端出厂设置,也可由用户设置。Whether the terminal is currently in the mandatory default frame rate mode may determine whether the target application is an exempt application, or any time after the camera is invoked, such as after acquiring the white list preset by the terminal, or After determining that the target application does not include the feature code of the unchecked application stored in the whitelist, that is, the target application is not the unchecked application in the whitelist, it starts to determine the frame rate mode in which the current terminal is located. Whether the setting is in the mandatory default frame rate mode may be set by the terminal, or may be set by the user.
本实施例通过设置强制默认帧率模式,判断终端当前的帧率模式,若终端当前处于强制默认帧率模式,则在判断完白名单后,即可确定当前拍摄用的帧率,这一方式可尽快确定当前拍摄帧率,可方便用户尽快使用拍摄功能,有利于用户在终端拍摄功能的快捷性方面有较优体验;若终端当前不处于强制默认帧率模式,则在判定目标应用不属于白名单中的免检应用后,还需进一步确定该目标应用是否为黑名单记录的待修应用,可更准确地判断第三方应用设置的帧率与终端是否配套,对于第三方应用加载的特殊拍摄功能的兼容性更高,便于终端与第三方应用的对接,间接提升用户的使用体验。In this embodiment, by setting a mandatory default frame rate mode, the current frame rate mode of the terminal is determined. If the terminal is currently in the mandatory default frame rate mode, after determining the white list, the frame rate for the current shooting may be determined. The current shooting frame rate can be determined as soon as possible, which is convenient for the user to use the shooting function as soon as possible, which is beneficial for the user to have a better experience in the speed of the terminal shooting function; if the terminal is not currently in the mandatory default frame rate mode, it is determined that the target application does not belong to After the exemption application in the whitelist, it is necessary to further determine whether the target application is a blacklisted application for repair, which can more accurately determine whether the frame rate set by the third-party application matches the terminal, and special shooting for the third-party application loading. The compatibility of the functions is higher, and the connection between the terminal and the third-party application is facilitated, thereby indirectly improving the user experience.
进一步地,在本发明终端拍摄帧率选择方法的第四实施例中,基于第一实施例或者第二实施例或者第三实施例,步骤S11之后包括:Further, in the fourth embodiment of the method for selecting a frame rate of the terminal of the present invention, based on the first embodiment or the second embodiment or the third embodiment, after step S11, the method includes:
步骤S40,若所述目标应用中不包含所述待修应用的特征码,则输出预览是否正常的选择提示框;Step S40: If the target application does not include the feature code of the application to be repaired, output a prompt box for whether the preview is normal;
步骤S41,若接收到用户输入的预览不正常的选择指令,则将所述目标应用的特征码存入所述预置的黑名单。Step S41: If a selection instruction that is not normal for the preview input by the user is received, the feature code of the target application is stored in the preset blacklist.
检测目标应用中是否包含所述待修应用的特征码,即检测该目标应用是否为黑名单记录的待修应用。若该目标应用不包含黑名单中待修应用的特征码,则该目标应用不是待修应用。虽然目标应用不是黑名单中的待修应用,但是黑名单存在漏记的可能,可能因为没有统计到位,或者目标应用是新应用,此时,若是根据目标应用设置的帧率拍摄,可能出现过曝或偏暗等预览不正常的现象。Detecting whether the target application includes the signature of the application to be repaired, that is, detecting whether the target application is a blacklisted application to be repaired. If the target application does not include the signature of the application to be repaired in the blacklist, the target application is not the application to be repaired. Although the target application is not a pending application in the blacklist, there is a possibility that the blacklist may be missed, possibly because there is no statistics in place, or the target application is a new application. At this time, if it is shot according to the frame rate set by the target application, it may have appeared. Exposure or darkness and other previews are not normal.
为了解决上述问题,在本实施例中,当检测到目标应用中不包含所述黑名单中待修应用的特征码时,首先使用目标应用设置的帧率进行预览,并输出预览是否正常的选择提示框,由用户判断当前预览是否出现过曝或者偏暗等不正常的现象,由用户输入预览是否正常的选择指令,如果预览正常,则在设置了白名单的情况下,可以将该目标应用的特征码存入白名单,或者在没有设置白名单的情况下,也可以标记该目标应用以便下一次在判断其不为黑名单中的待修应用后,直接根据该目标应用设置的帧率拍摄。如果用户预览不正常,输入了预览不正常的选择指令,则应将该目标应用的特征码存入预置的黑名单,以便处理器下一次执行该目标应用调用摄像头时,直接使用终端预置的帧率拍摄。本实施例中的特征可与上述所有实施例中的特征任意组合。In order to solve the above problem, in the embodiment, when it is detected that the target application does not include the feature code of the application to be repaired in the blacklist, first use the frame rate set by the target application to preview, and output whether the preview is normal or not. In the prompt box, the user judges whether the current preview has an abnormal phenomenon such as overexposure or darkness, and the user inputs a selection instruction that the preview is normal. If the preview is normal, the target application may be applied if the whitelist is set. The feature code is stored in the whitelist, or in the case where the whitelist is not set, the target application can also be marked so that the next time the device is determined to be not in the blacklist, the frame rate set according to the target application is directly applied. Shooting. If the user preview is not normal, and a selection instruction with an abnormal preview is input, the signature of the target application should be stored in a preset blacklist, so that the processor can directly use the terminal preset when the processor next executes the target application to invoke the camera. Frame rate shooting. Features in this embodiment can be arbitrarily combined with features in all of the above embodiments.
本实施例通过在判定目标应用中不包含所述待修应用的特征码后,输出预览是否正常的选择提示框,由用户判断预览是否正常,若用户输入预览不正常的选择指令,则将该目标应用的特征码存入黑名单,可将前期收集资料不充分导致没有记录在黑名单上的某些与终端不配套的应用或者新出现的与终端不配套的应用补充进黑名单,以便后续终端执行所述不配套的应用时,可根据黑名单选择合适的帧率。In this embodiment, after determining that the target application does not include the feature code of the application to be repaired, the selection prompt box for outputting whether the preview is normal is determined, and the user determines whether the preview is normal. If the user inputs a selection instruction that is not normal, the user The feature code of the target application is stored in the blacklist, and the data collected in the previous period is insufficient, so that some applications that are not recorded on the blacklist and those that are not compatible with the terminal are added to the blacklist for subsequent use. When the terminal executes the unsuitable application, the appropriate frame rate can be selected according to the blacklist.
进一步地,在本发明终端拍摄帧率选择方法的第五实施例中,基于第一实施例或者第二实施例或者第三实施例,步骤S11之后包括:Further, in the fifth embodiment of the method for selecting a frame rate of the terminal of the present invention, based on the first embodiment or the second embodiment or the third embodiment, after step S11, the method includes:
步骤S50,若所述目标应用中不包含所述待修应用的特征码,则获取目标应用的帧率;Step S50: If the target application does not include the feature code of the application to be repaired, obtain a frame rate of the target application.
步骤S51,获取终端所处环境的光强对应的目标帧率,判断所述目标应用的帧率与该目标帧率是否一致;Step S51: Obtain a target frame rate corresponding to the light intensity of the environment in which the terminal is located, and determine whether the frame rate of the target application is consistent with the target frame rate.
步骤S52,若判定所述目标应用的帧率与该目标帧率不一致,则将所述目标应用的特征码存入所述预置的黑名单。Step S52, if it is determined that the frame rate of the target application does not match the target frame rate, storing the feature code of the target application into the preset blacklist.
在获取终端预置的黑名单,检测目标应用中是否包含所述待修应用的特征码后,判断出所述目标应用中不包含所述待修应用的特征码,则可直接比较目标应用的帧率与终端当前拍摄所需的帧率。本实施例中,直接获取目标应用的帧率,并根据终端当前所处环境的光强确定对应的目标帧率,目标帧率的获得可根据现有技术实现,在获得上述两个帧率后,直接对二者的一致性进行判断。这里的判断上述两个帧率是否一致并非仅指两个帧率是否相同,如都为15帧,也可以是重合,例如,目标帧率为动态帧率15帧至20帧,目标应用的帧率为18帧,或者目标帧率为17帧,目标应用的帧率为动态帧率15帧至19帧。After obtaining the blacklist preset by the terminal, detecting whether the target application includes the feature code of the application to be repaired, and determining that the target application does not include the feature code of the application to be repaired, the target application may be directly compared. The frame rate and the frame rate required for the current shooting of the terminal. In this embodiment, the frame rate of the target application is directly obtained, and the corresponding target frame rate is determined according to the light intensity of the environment in which the terminal is currently located. The target frame rate can be obtained according to the prior art, and after obtaining the two frame rates. Directly judge the consistency of the two. Here, judging whether the two frame rates are consistent does not mean that the two frame rates are the same, for example, they are all 15 frames, and may also be coincident. For example, the target frame rate is 15 frames to 20 frames of the dynamic frame rate, and the target application frame is The rate is 18 frames, or the target frame rate is 17 frames, and the target application's frame rate is 15 frames to 19 frames.
如果判断结果为目标帧率与目标应用设置的帧率一致,则可直接使用目标应用的帧率进行拍摄,若存在白名单,可将该目标帧率存储在白名单中,若不存在白名单,可另外设置特殊标记使得终端在下一次使用目标应用时,无需进行“黑名单”判断,节省步骤,加快帧率的确定。若目标帧率与目标应用设置的帧率不一致,则将该目标应用的特征码存入所述预置的黑名单。If the result of the judgment is that the target frame rate is consistent with the frame rate set by the target application, the frame rate of the target application may be directly used for shooting. If there is a white list, the target frame rate may be stored in the white list if there is no white list. A special flag can be additionally set so that the terminal does not need to perform a "blacklist" judgment when the target application is used next time, saving steps and speeding up the determination of the frame rate. If the target frame rate does not match the frame rate set by the target application, the feature code of the target application is stored in the preset blacklist.
本实施例根据终端所处环境光强确定目标帧率,判断目标帧率与目标应用设置的帧率是否一致,若不一致,可将该目标应用的特征码存入所述预置的黑名单,以便下一次终端使用该目标应用时,可在第一次的“黑名单”判断时,直接确定帧率为终端的预置帧率,节省确定帧率的步骤,尽早确定帧率,保证在可以使用合适的帧率拍摄的同时,用户可尽快使用拍摄功能,提升用户体验。In this embodiment, the target frame rate is determined according to the ambient light intensity of the terminal, and it is determined whether the target frame rate is consistent with the frame rate set by the target application. If not, the feature code of the target application may be stored in the preset blacklist. In order to use the target application for the next time, the first time the "blacklist" judgment can be made, the frame rate is directly determined as the preset frame rate of the terminal, and the step of determining the frame rate is saved, and the frame rate is determined as early as possible. At the same time as shooting at the appropriate frame rate, users can use the shooting function as soon as possible to enhance the user experience.
进一步地,基于第四实施例或第五实施例,本发明第六实施例中,步骤S41或者步骤S52之后包括:Further, based on the fourth embodiment or the fifth embodiment, in the sixth embodiment of the present invention, after step S41 or step S52, the method includes:
步骤S60,执行步骤S10。In step S60, step S10 is performed.
在将预览不正常的目标应用的特征码存入所述预置的黑名单之后或者同时,可直接使用该目标应用设置的帧率进行拍摄,或者直接使用终端预置的帧率进行拍摄。After the feature code of the target application whose preview is not normal is stored in the preset blacklist or at the same time, the frame rate set by the target application may be directly used for shooting, or the frame rate preset by the terminal may be directly used for shooting.
本实施例中,若是步骤S41之后,具体地,在接收到用户输入的预览正常的选择指令后,可直接确定目标应用设置的帧率为当前拍摄使用的帧率;若接收到用户输入的预览不正常的选择指令,在将目标应用的特征码存入所述预置的黑名单之后,执行获取终端预置的黑名单的步骤(如图4)。In this embodiment, after step S41, specifically, after receiving the selection instruction of the normal input by the user, the frame rate set by the target application may be directly determined to be the frame rate used by the current shooting; if the preview of the user input is received The abnormal selection instruction is performed after the feature code of the target application is stored in the preset blacklist, and the step of acquiring the blacklist preset by the terminal is performed (FIG. 4).
同理可推导出步骤S52之后的步骤。Similarly, the steps after step S52 can be derived.
本实施例通过将没有在黑名单中记录的第三方应用进行二次判断,并将满足一定条件的第三方应用的特征码存在黑名单后,将整个程序返回到黑名单的判断,因为目标应用是否为黑名单存储的应用这一判断较为成熟,且已经存在,可较为轻易调用,不需额外的步骤即可确定更合适的帧率进行拍摄(如果不返回“黑名单”判断,则可能本次拍摄就要使用不合适的帧率进行拍摄,导致过曝或偏暗的图像,影响用户体验),充分利用现有内存资源,保证用户较好的拍摄体验。In this embodiment, the third application that is not recorded in the blacklist is subjected to the second judgment, and the feature code of the third-party application that satisfies certain conditions is blacklisted, and the entire program is returned to the blacklist for judgment because the target application Whether the application for blacklist storage is mature and already exists, it can be called relatively easily, and no more steps can be taken to determine a more suitable frame rate for shooting (if not returning the "blacklist" judgment, then this may be The second shot will use the inappropriate frame rate for shooting, resulting in over-exposed or dark images, affecting the user experience), making full use of existing memory resources to ensure a better shooting experience for users.
为便于理解本方案,参照图5和图6,现提出第七实施例。To facilitate understanding of the present solution, referring to Figures 5 and 6, a seventh embodiment will now be presented.
在第七实施例中,本方案基于Google Android 软件架构实施,相关代码编写涉及hal层、framework层、Applications层。In the seventh embodiment, the solution is based on Google Android Software architecture implementation, related code writing involves hal layer, framework layer, Applications layer.
如图5为常规技术实现相关附图,图6为本实施例流程示意图。FIG. 5 is a schematic diagram of a conventional technology implementation, and FIG. 6 is a schematic flowchart of the embodiment.
本实施例的具体实现:首先统计出设置固定帧率导致预览偏黑的应用(图中为三方apk),统计这些apk的包名,将所述包名组成一个黑名单。The specific implementation of this embodiment: firstly, the application that sets the fixed frame rate to cause the preview to be black (three-way apk in the figure) is counted, and the package names of the apks are counted, and the package names are combined into a blacklist.
在framework层,执行三方apk程序时,获取包名和其设定的帧率,将获取的包名和黑名单中的包名做比较,若获取的包名属于黑名单中的包名,则选择终端的预置帧率(可为5-30帧)作为当前的拍摄帧率。这样可以规避掉三方apk设置固定帧率导致预览偏黑的问题。In the framework layer, when the three-party apk program is executed, the package name and the frame rate set by the package are obtained, and the obtained package name is compared with the package name in the blacklist. If the obtained package name belongs to the package name in the blacklist, the terminal is selected. The preset frame rate (which can be 5-30 frames) is used as the current shooting frame rate. This can avoid the problem that the three-party apk sets a fixed frame rate and causes the preview to be black.
本实施例中,因为apk设置了固定帧率,而该帧率对应的曝光时间与终端内置的曝光表的设置不配套,因为apk帧率不是动态的,无法根据实际光线情况而变化,所以预览偏黑,为了保证最后成像不偏黑,应选择与终端曝光表配套的、与终端所处环境光强适配的帧率,即终端的预置帧率。In this embodiment, since the apk sets a fixed frame rate, and the exposure time corresponding to the frame rate is not matched with the setting of the exposure table built in the terminal, since the apk frame rate is not dynamic and cannot be changed according to actual light conditions, the preview is performed. To be black, in order to ensure that the final imaging is not black, you should select the frame rate that matches the ambient light intensity of the terminal, which is the preset frame rate of the terminal.
图5或图6中的,hal层config文件配置表中的默认帧率可以跟终端预置帧率相同,也可不同,该默认帧率指三方apk没有设置帧率时的拍摄帧率。其他部分均为现有技术,故不再赘述。In FIG. 5 or FIG. 6, the default frame rate in the hal layer config file configuration table may be the same as or different from the terminal preset frame rate, and the default frame rate refers to the shooting frame rate when the three-party apk does not set the frame rate. Other parts are prior art and will not be described again.
此外,本发明实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有终端拍摄帧率选择程序,所述终端拍摄帧率选择程序被处理器执行时实现如上述实施例所述的步骤。因本发明计算机可读存储介质的具体实施例同上述终端拍摄帧率选择方法的各个实施例基本相同,在此不做赘述。In addition, an embodiment of the present invention further provides a computer readable storage medium, where the terminal readable frame rate selection program is stored, and when the terminal shooting frame rate selection program is executed by the processor, the implementation is implemented as described above. The steps described in the examples. The specific embodiment of the computer readable storage medium of the present invention is substantially the same as the embodiment of the method for selecting a frame rate of the terminal, and is not described herein.
上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。其中第四实施例和第五实施例可采取优先级设置的方式结合,即可以是用户输入的预览正常与否的选择指令优先于目标应用设置的帧率与终端所处环境的光强对应的目标帧率是否一致,也可以相反,后者优先于前者,都为本发明的可选实施例。All of the above optional technical solutions may be combined to form an optional embodiment of the present disclosure, and will not be further described herein. The fourth embodiment and the fifth embodiment may be combined in a priority setting manner, that is, a selection instruction that may be a normal or not preview of the user input is prior to the frame rate set by the target application and corresponds to the light intensity of the environment in which the terminal is located. Whether the target frame rate is consistent or vice versa, the latter being prioritized over the former is an alternative embodiment of the present invention.
需要说明的是,在本文中,目标应用的帧率和目标应用设置的帧率含义等同;“黑名单”判断指判断目标应用中是否包含黑名单中待修应用的特征码;“白名单”判断指判断目标应用中是否包含白名单中免检应用的特征码。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, in this paper, the frame rate of the target application and the frame rate set by the target application have the same meaning; the "blacklist" judgment refers to determining whether the target application includes the feature code of the application to be repaired in the blacklist; "white list" The judgment refers to determining whether the target application includes the feature code of the exempt application in the whitelist. The terms "comprising," "comprising," or "includes" or "includes" are intended to include a non-exclusive inclusion, such that a process, method, article, or system that includes a plurality of elements includes not only those elements but also other items not specifically listed Elements, or elements that are inherent to such a process, method, item, or system. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in a process, method, article, or system that includes the element, without further limitation.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, portions of the technical solution of the present invention that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (10)

  1. 一种终端拍摄帧率选择方法,其特征在于,所述终端拍摄帧率选择方法包括: A terminal shooting frame rate selection method, wherein the terminal shooting frame rate selection method comprises:
    获取终端预置的黑名单,所述黑名单中包括待修应用的特征码;Obtaining a blacklist of the terminal preset, where the blacklist includes a feature code of the application to be repaired;
    检测目标应用中是否包含所述待修应用的特征码;Detecting whether the target application includes the feature code of the application to be repaired;
    若所述目标应用中包含所述待修应用的特征码,则终端当前拍摄使用的帧率为预置帧率。 If the target application includes the feature code of the application to be repaired, the frame rate used by the terminal for current shooting is a preset frame rate.
  2. 如权利要求1所述的终端拍摄帧率选择方法,其特征在于,所述若所述目标应用中包含所述待修应用的特征码,则终端当前拍摄使用的帧率为预置帧率的步骤包括:The terminal shooting frame rate selection method according to claim 1, wherein if the target application includes the feature code of the application to be repaired, the frame rate currently used by the terminal is a preset frame rate. The steps include:
    若所述目标应用中包含所述待修应用的特征码,则终端当前拍摄使用的帧率为预置的动态帧率。If the target application includes the feature code of the application to be repaired, the frame rate used by the terminal for current shooting is a preset dynamic frame rate.
  3. 如权利要求1所述的终端拍摄帧率选择方法,其特征在于,所述若所述目标应用中包含所述待修应用的特征码,则终端当前拍摄使用的帧率为预置帧率的步骤之前包括:The terminal shooting frame rate selection method according to claim 1, wherein if the target application includes the feature code of the application to be repaired, the frame rate currently used by the terminal is a preset frame rate. Before the steps include:
    获取终端所处环境的光照对应的目标帧率,将该目标帧率存储为预置帧率。Obtaining a target frame rate corresponding to the illumination of the environment in which the terminal is located, and storing the target frame rate as a preset frame rate.
  4. 如权利要求1所述的终端拍摄帧率选择方法,其特征在于,所述获取终端预置的黑名单的步骤之前包括:The method for selecting a frame rate of a terminal according to claim 1, wherein the step of acquiring a blacklist preset by the terminal comprises:
    获取终端预置的白名单,所述白名单包括免检应用的特征码;Obtaining a white list preset by the terminal, where the white list includes a feature code of the exempt application;
    判断所述目标应用中是否包含所述免检应用的特征码;Determining whether the target application includes a feature code of the exempt application;
    若所述目标应用中不包含所述免检应用的特征码,则执行所述获取终端预置的黑名单的步骤。If the target application does not include the feature code of the exempt application, the step of acquiring the blacklist preset by the terminal is performed.
  5. 如权利要求4所述的终端拍摄帧率选择方法,其特征在于,所述若所述目标应用中不包含所述免检应用的特征码的步骤之后包括:The terminal shooting frame rate selection method according to claim 4, wherein the step of not including the feature code of the exempt application when the target application comprises:
    若终端当前处于强制默认帧率模式,选择预置帧率为终端当前拍摄使用的帧率;If the terminal is currently in the mandatory default frame rate mode, the preset frame rate is selected as the frame rate used by the terminal for the current shooting;
    若终端当前不处于强制默认帧率模式,则执行所述获取终端预置的黑名单的步骤。If the terminal is not currently in the mandatory default frame rate mode, the step of acquiring the blacklist preset by the terminal is performed.
  6. 如权利要求1所述的终端拍摄帧率选择方法,其特征在于,所述检测目标应用中是否包含所述待修应用的特征码的步骤之后包括:The terminal shooting frame rate selection method according to claim 1, wherein the step of detecting whether the target application includes the feature code of the application to be repaired comprises:
    若所述目标应用中不包含所述待修应用的特征码,则输出预览是否正常的选择提示框;If the target application does not include the feature code of the to-be-repaired application, outputting a prompt prompting whether the preview is normal;
    若接收到用户输入的预览不正常的选择指令,则将所述目标应用的特征码存入所述预置的黑名单。If a selection instruction that the user input is not normal is received, the signature of the target application is stored in the preset blacklist.
  7. 如权利要求1所述的终端拍摄帧率选择方法,其特征在于,所述检测目标应用中是否包含所述待修应用的特征码的步骤之后包括:The terminal shooting frame rate selection method according to claim 1, wherein the step of detecting whether the target application includes the feature code of the application to be repaired comprises:
    若所述目标应用中不包含所述待修应用的特征码,则获取目标应用的帧率;Obtaining a frame rate of the target application if the target application does not include the feature code of the to-be-applied application;
    获取终端所处环境的光照对应的目标帧率,判断所述目标应用的帧率与该目标帧率是否一致;Obtaining a target frame rate corresponding to the illumination of the environment in which the terminal is located, and determining whether a frame rate of the target application is consistent with the target frame rate;
    若判定所述目标应用的帧率与该目标帧率不一致,则将所述目标应用的特征码存入所述预置的黑名单。If it is determined that the frame rate of the target application does not match the target frame rate, storing the feature code of the target application into the preset blacklist.
  8. 如权利要求6所述的终端拍摄帧率选择方法,其特征在于,所述将所述目标应用的特征码存入所述预置的黑名单的步骤之后包括:The terminal shooting frame rate selection method according to claim 6, wherein the step of storing the feature code of the target application into the preset blacklist comprises:
    执行所述获取终端预置的黑名单的步骤。The step of obtaining the blacklist preset by the terminal is performed.
  9. 一种终端,其特征在于,所述终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的终端拍摄帧率选择程序,所述终端拍摄帧率选择程序被所述处理器执行时实现如权利要求1所述的方法的步骤。A terminal, comprising: a memory, a processor, and a terminal shooting frame rate selection program stored on the memory and operable on the processor, wherein the terminal shooting frame rate selection program is The processor implements the steps of the method of claim 1 when executed.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有终端拍摄帧率选择程序,所述终端拍摄帧率选择程序被处理器执行时实现如权利要求1所述的终端拍摄帧率选择方法的步骤。 A computer readable storage medium, wherein the computer readable storage medium stores a terminal shooting frame rate selection program, and the terminal shooting frame rate selection program is executed by a processor to implement the method of claim 1. The step of the terminal shooting frame rate selection method.
PCT/CN2017/100274 2017-09-01 2017-09-01 Shooting frame rate selection method for terminal, terminal, and computer readable storage medium WO2019041324A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/100274 WO2019041324A1 (en) 2017-09-01 2017-09-01 Shooting frame rate selection method for terminal, terminal, and computer readable storage medium
CN201780096516.2A CN111406399B (en) 2017-09-01 2017-09-01 Terminal shooting frame rate selection method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/100274 WO2019041324A1 (en) 2017-09-01 2017-09-01 Shooting frame rate selection method for terminal, terminal, and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2019041324A1 true WO2019041324A1 (en) 2019-03-07

Family

ID=65524642

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100274 WO2019041324A1 (en) 2017-09-01 2017-09-01 Shooting frame rate selection method for terminal, terminal, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN111406399B (en)
WO (1) WO2019041324A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113919382A (en) * 2021-04-29 2022-01-11 荣耀终端有限公司 Code scanning method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114390190B (en) * 2020-10-22 2023-10-31 海信视像科技股份有限公司 Display equipment and method for monitoring application to start camera

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094272A (en) * 2014-05-14 2015-11-25 中兴通讯股份有限公司 Regulating method and regulating device for hardware refresh rate of terminal
WO2015180690A1 (en) * 2014-05-30 2015-12-03 北京奇虎科技有限公司 Method and device for reading verification information
CN105242973A (en) * 2015-11-10 2016-01-13 上海斐讯数据通信技术有限公司 Internal memory optimization method of Android system
CN106201551A (en) * 2016-07-22 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of application program exits method and device
CN106412276A (en) * 2016-09-26 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Method for adjusting terminal parameters and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140034574A (en) * 2012-09-12 2014-03-20 삼성전자주식회사 Method and apparatus for displaying camera preview screen in a portable terminal
US9392215B2 (en) * 2014-03-25 2016-07-12 Robert C. Weisgerber Method for correcting corrupted frames during conversion of motion pictures photographed at a low frame rate, for exhibition at a higher frame rate
CN105739936B (en) * 2016-01-26 2019-01-29 Oppo广东移动通信有限公司 A kind of user terminal control method and user terminal
CN106933361A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of display control method of mobile terminal, device and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094272A (en) * 2014-05-14 2015-11-25 中兴通讯股份有限公司 Regulating method and regulating device for hardware refresh rate of terminal
WO2015180690A1 (en) * 2014-05-30 2015-12-03 北京奇虎科技有限公司 Method and device for reading verification information
CN105242973A (en) * 2015-11-10 2016-01-13 上海斐讯数据通信技术有限公司 Internal memory optimization method of Android system
CN106201551A (en) * 2016-07-22 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of application program exits method and device
CN106412276A (en) * 2016-09-26 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Method for adjusting terminal parameters and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113919382A (en) * 2021-04-29 2022-01-11 荣耀终端有限公司 Code scanning method and device

Also Published As

Publication number Publication date
CN111406399A (en) 2020-07-10
CN111406399B (en) 2022-04-08

Similar Documents

Publication Publication Date Title
WO2018169273A1 (en) Method for providing different indicator for image based on shooting mode and electronic device thereof
WO2020171583A1 (en) Electronic device for stabilizing image and method for operating same
WO2017018683A1 (en) User terminal apparatus and controlling method thereof
WO2016032292A1 (en) Photographing method and electronic device
WO2015102317A1 (en) Image processing apparatus and method
WO2020162709A1 (en) Electronic device for providing graphic data based on voice and operating method thereof
WO2015126060A1 (en) Electronic device and method for processing image
WO2017142278A1 (en) Apparatus and method for providing dynamic panorama function
WO2013118988A1 (en) Method and apparatus for interoperably performing services and system supporting the same
EP3326360A1 (en) Image capturing apparatus and method of operating the same
WO2013122394A1 (en) Data processing apparatus and method using a camera
WO2018040444A1 (en) Dual-camera image capturing control method, image capturing control device, and terminal
EP3195601A1 (en) Method of providing visual sound image and electronic device implementing the same
WO2017078423A1 (en) Electronic device and method for controlling display thereof
WO2017026644A1 (en) Method and device for generating video content
WO2017057960A1 (en) Electronic device and method for controlling the same
WO2018040269A1 (en) Image processing method and terminal
WO2015126180A1 (en) Method for creating a content and electronic device thereof
WO2019039861A1 (en) Electronic device and method for providing content associated with camera function from electronic device
WO2019071548A1 (en) Terminal photograph capturing control method, mobile terminal, and readable storage medium
WO2021066565A1 (en) Image processing method and electronic device supporting the same
WO2018145597A1 (en) Mobile terminal-based screen light-supplementing photographing method and system, and mobile terminal
WO2020062615A1 (en) Gamma value adjustment method and apparatus for display panel, and display device
WO2019041324A1 (en) Shooting frame rate selection method for terminal, terminal, and computer readable storage medium
WO2015199430A1 (en) Method and apparatus for managing data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17923639

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17923639

Country of ref document: EP

Kind code of ref document: A1