WO2017088413A1 - 一种视频应用实现方法和装置 - Google Patents

一种视频应用实现方法和装置 Download PDF

Info

Publication number
WO2017088413A1
WO2017088413A1 PCT/CN2016/083728 CN2016083728W WO2017088413A1 WO 2017088413 A1 WO2017088413 A1 WO 2017088413A1 CN 2016083728 W CN2016083728 W CN 2016083728W WO 2017088413 A1 WO2017088413 A1 WO 2017088413A1
Authority
WO
WIPO (PCT)
Prior art keywords
video file
video
page
color value
brightness value
Prior art date
Application number
PCT/CN2016/083728
Other languages
English (en)
French (fr)
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 US15/120,156 priority Critical patent/US20180255367A1/en
Publication of WO2017088413A1 publication Critical patent/WO2017088413A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4854End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/738Presentation of query results
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/066Adjustment of display parameters for control of contrast
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0686Adjustment of display parameters with two or more screen areas displaying information with different brightness or colours
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2330/00Aspects of power supply; Aspects of display protection and defect management
    • G09G2330/02Details of power systems and of start or stop of display operation
    • G09G2330/021Power management, e.g. power saving
    • G09G2330/022Power management, e.g. power saving in absence of operation, e.g. no data being entered during a predetermined time
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/12Overlay of images, i.e. displayed pixel being the result of switching between the corresponding input pixels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/14Solving problems related to the presentation of information to be displayed
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2354/00Aspects of interface with display user
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/16Calculation or use of calculated indices related to luminance levels in display data
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed

Definitions

  • the present invention relates to the field of media communication technologies, and in particular to a video application implementation method and apparatus.
  • the object of the present invention is to provide a video application implementation method and apparatus, which solves the problem of glare when entering a video application and searching in a video file search page, which brings a sense of discomfort to the user.
  • an embodiment of the present invention provides a video application implementation method, where the method includes the following steps:
  • the brightness value of the video search page is set and displayed according to the obtained brightness value.
  • the method further includes:
  • the brightness value outside the play area in the video file play page is set and displayed.
  • a brightness value outside the play area in the video file play page is set and displayed.
  • the method further includes:
  • a video application implementation apparatus where the apparatus includes:
  • An instruction obtaining unit configured to acquire an instruction for clicking a video file search page in the video application
  • a brightness calculation unit configured to monitor a light intensity before the screen in a predetermined time, and calculate a brightness value of the video file search page according to the average value of the light intensity in the predetermined time;
  • a brightness adjusting unit configured to set and display a brightness value of the video search page according to the obtained brightness value.
  • the brightness adjustment unit is further configured to:
  • the brightness adjustment unit is further configured to: obtain an instruction to click a video file in the video search page, and jump to a play page of the video file;
  • the brightness value outside the play area in the video file play page is set and displayed.
  • the brightness adjusting unit is further configured to: monitor a brightness value of a playing area in the video file playing page within a predetermined time, and calculate a playing area in the video file playing page according to the brightness average value of the playing area in the predetermined time External brightness value;
  • a brightness value outside the play area in the video file play page is set and displayed.
  • the brightness adjustment unit is further configured to:
  • the brightness adjustment unit is further configured to monitor a light intensity before the screen during the playing of the video file
  • an apparatus including:
  • One or more processors are One or more processors;
  • a memory for storing operational instructions
  • the one or more processors are configured to retrieve an operational instruction from the memory and execute:
  • the brightness value of the video search page is set and displayed according to the obtained brightness value.
  • the video application implementation method and apparatus acquires an instruction of clicking a video file search page in a video application, and monitors the light intensity before the screen within a predetermined time, according to the predetermined time.
  • the light intensity average calculates the brightness value of the video file search page; according to the obtained brightness value, sets the brightness value of the video search page and displays.
  • the user enters the video application at night, and can automatically adjust the brightness value when searching in the video file search page, thereby avoiding the glare feeling; and does not affect the video file search page.
  • FIG. 1 is a schematic flowchart of a method for implementing a video application according to a first embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for implementing a video application according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a video application implementation apparatus according to an embodiment of the present invention.
  • the present invention realizes from the user's point of view that the user desires that the multimedia video application can implement automatic brightness adjustment on the video file search page. Therefore, the idea of the present invention is to set a function of triggering the light intensity before the screen is monitored on the multimedia video application, and the light intensity before the screen can be monitored within a predetermined time, and the brightness value of the video search page is set and displayed.
  • FIG. 1 is a schematic flowchart diagram of a method for implementing a video application according to a first embodiment of the present invention, where the video application implementation method includes:
  • Step 101 Acquire an instruction to click a video file search page in the video application.
  • the user can enter the video application and click on the video file search page.
  • the video application is used on a terminal device, and the video application implementation method described in the present invention can be applied to a mobile device, a PC, a television, and the like.
  • Step 102 Monitor the light intensity before the screen in a predetermined time, and calculate the brightness value of the video file search page according to the average value of the light intensity in the predetermined time.
  • the light intensity before the screen is monitored for a predetermined time.
  • the predetermined time may be preset according to actual needs, for example, a predetermined time of 3 seconds is set. Then, the light intensity in front of the screen during the preset time is monitored, and all the detected light intensities are averaged.
  • the light intensity and the intensity value having the lowest intensity value may be removed from all the detected light intensities before the average of all detected light intensities.
  • the difference between the light intensity and the average value is obtained according to the intensity of the front light of the screen when the monitoring is started, and the difference is the change of the brightness value of the search page of the video file. value.
  • the adjusted video file search page brightness value is calculated according to the difference and the video file search page brightness value at this time.
  • Step 103 Set a brightness value of the video search page according to the obtained brightness value and display it.
  • the brightness value of the video search page is directly adjusted to the brightness value and displayed.
  • the color value of the background in the current video search page may be obtained, and the color values of the text and the picture in the video search page are extracted. Then, it is determined whether the similarity between the color value of the text and the picture and the background color value exceeds a similar threshold set in advance, and if it is exceeded, the color value of the background is kept unchanged, and if not, the color value of the background is adjusted. , such that the similarity between the color value of the text and the picture and the background color value exceeds a similar threshold set in advance. Wherein, the similarity is the difference between the color value of the text and the picture and the background color value.
  • the similar threshold is set to 2
  • the background color value obtained is 15, and the extracted text color value is 16, the difference between the text color value and the background color value is 1, and the similar threshold is not exceeded. 2. Therefore, it is necessary to adjust the background color value such that the difference between the text color value and the background color value exceeds a similar threshold 2 set in advance.
  • the processing of the color value of the picture is the same as the processing of the color value of the text described above, and will not be described here.
  • the intensity of light in front of the screen is monitored during operation of the video search page. If it is detected that the light intensity at a certain moment is lower than the preset minimum intensity threshold, the screen saver is started. Then, it is judged whether there is an operation on the terminal device, and if there is an operation on the terminal device, the screen saver is turned off, and if it does not exist, the screen saver can be continued. It can be seen that after the preferred embodiment is carried out, it is possible to ensure the privacy of the viewer when the viewer deliberately blocks the screen and does not want to be informed of the screen content by others. Also, the screen saver adopts a manner of blocking the content of the video search page, such as black screen protection or using some pictures to block the content of the video search page.
  • an instruction to click a video file in the video search page may be acquired, and then jump to the play page of the video file.
  • the brightness value of the playing area in the video file playing page is extracted, and the brightness value outside the playing area of the video file playing page is set according to the brightness value of the playing area and displayed. That is to say, the brightness value outside the play area in the video file play page can be set to be the same as the brightness value of the play area.
  • the present invention can monitor the brightness value of the play area in the video file play page within a predetermined time during the playback of the video file in the play page, and calculate the brightness average value of the play area according to the predetermined time.
  • the brightness value outside the playback area of the video file playback page is set and displayed. That is to say, in the video file playing page, during the process of playing the video file, the brightness value outside the playing area can be dynamically adjusted according to the brightness value of the playing area, so that the brightness values outside the playing area and the playing area can be maintained. Consistent.
  • the color value of the background outside the playing area in the video search page may be performed on the video file playing page, and the color values of the text and the picture outside the playing area in the video search page are extracted. Then, it is judged whether the similarity between the color value of the text and the picture and the background color value exceeds a similar threshold set in advance, and if it is exceeded, the color value of the background is kept unchanged, and if not, the color value of the background is adjusted to make the color of the text and the picture The similarity of the value to the background color value exceeds a similar threshold set in advance. Thereby, the brightness value of the video file playing page is adjusted outside the playing area. After that, the text and pictures outside the playback area can be seen very clearly.
  • the intensity of light in front of the screen is monitored during the playback of the video file. If it is detected that the light intensity is lower than the preset minimum intensity threshold at a certain time, the video file currently being played is paused, and then the screen saver is started. Then, it is judged whether there is an operation on the terminal device. If there is an operation on the terminal device, the screen saver is closed, and the video file that is paused to be played is started. If it does not exist, continue with the screen saver.
  • the screen saver adopts a method capable of blocking the content of the video file, such as black screen protection or using some pictures to block the video file to play content.
  • the method implemented by the video application may specifically adopt the following steps:
  • Step 201 Acquire an instruction to click a video file search page in the video application.
  • Step 202 Monitor the light intensity before the screen within a predetermined time.
  • Step 203 Calculate a brightness value of the video file search page according to the average value of the light intensity in the predetermined time.
  • Step 204 Set a brightness value of the video search page according to the obtained brightness value and display it.
  • Step 205 Acquire a color value of a background in the current video search page, and extract a color value of the text and the picture in the video search page.
  • step 206 it is determined whether the similarity between the color value of the text and the picture and the background color value exceeds a similar threshold set in advance. If yes, step 207 is performed, and if it is not exceeded, step 208 is performed.
  • Step 207 Keep the color value of the background unchanged, and proceed to step 209.
  • Step 208 Adjust the color value of the background such that the similarity between the color value of the text and the picture and the background color value exceeds a similar threshold set in advance, and step 209 is performed.
  • Step 209 Determine whether to obtain an instruction to click on the video file in the video search page, if yes, proceed to step 210, and if not, exit the process.
  • step 210 a jump to the play page of the video file.
  • Step 211 Extract a brightness value of a play area in the video file play page.
  • Step 212 Set a brightness value outside the play area of the video file play page according to the brightness value of the play area and display the brightness value.
  • Step 213 Acquire a color value of a background outside the playing area of the current video file playing page, and extract a color value of the text and the picture outside the playing area of the video file playing page.
  • Step 214 Determine whether the similarity between the color value of the text and the picture and the background color value exceeds a similar threshold set in advance. If yes, execute step 215. If not, proceed to step 216.
  • Step 215 Keep the color value of the background unchanged, and proceed to step 217.
  • Step 216 adjusting the color value of the background such that the similarity between the color value of the text and the picture and the background color value exceeds a similar threshold set in advance, and step 217 is performed.
  • Step 217 During the playing of the video file, monitor the brightness value of the playing area in the video file playing page within a predetermined time.
  • Step 218 Calculate a brightness value outside the play area in the video file play page according to the brightness average value of the play area in the predetermined time.
  • Step 219 Set, according to the obtained brightness value, a brightness value outside the play area in the video file play page and display it.
  • the light intensity in front of the screen can be monitored. If the light intensity at a certain moment is detected to be lower than a preset minimum intensity threshold, the current pause is being played. The video file starts the screen saver. After that, it is judged whether there is an operation on the terminal device, if there is an operation on the terminal device, the screen saver is turned off, and if it does not exist, the screen saver is continued.
  • the light intensity in front of the screen can be monitored. If the light intensity at a certain moment is detected to be lower than the preset minimum intensity threshold, the currently playing video file is paused, and the screen saver is activated. program. After that, it is determined whether there is an operation on the terminal device, if there is an operation on the terminal device, the screen saver is closed, and the video file that is paused to be played is opened; if not, the screen saver is continued.
  • a video application implementation apparatus is further provided.
  • the video application implementation apparatus includes a sequence connection instruction acquisition unit 301, a brightness calculation unit 302, and a brightness adjustment unit. 303.
  • the instruction obtaining unit 301 is configured to acquire a click video.
  • the brightness calculation unit 302 is configured to monitor the light intensity before the screen in the predetermined time, and calculate the brightness value of the video file search page according to the average value of the light intensity in the predetermined time;
  • the brightness adjustment unit 303 uses The brightness value of the video search page is set and displayed according to the obtained brightness value.
  • the brightness adjustment unit 303 adjusts the brightness value of the video search page, the characters and pictures that appear in the page are unclear. Therefore, after the brightness adjustment unit 303 sets the brightness value of the video search page and displays it, the color value of the background in the current video search page can be acquired, and the color values of the text and the picture in the video search page are extracted. Then, it is determined whether the similarity between the color value of the text and the picture and the background color value exceeds a similar threshold set in advance, if it is exceeded, the color value of the background is kept unchanged; if not, the color of the background is adjusted The value causes the similarity between the color value of the text and the image and the background color value to exceed the similar threshold set in advance. Wherein, the similarity is the difference between the color value of the text and the picture and the background color value.
  • the brightness adjustment unit 303 monitors the light intensity before the screen during the operation of the video search page. If it is detected that the light intensity at a certain moment is lower than the preset minimum intensity threshold, the screen saver is started. Then, it is judged whether there is an operation on the terminal device. If it exists, the screen saver is closed for the operation of the terminal device; if not, the screen saver can be continued. It can be seen that after the preferred embodiment is carried out, it is possible to ensure the privacy of the viewer when the viewer deliberately blocks the screen and does not want to be informed of the screen content by others.
  • the brightness adjustment unit 303 may also acquire an instruction to click on a video file in the video search page, and then jump to the play page of the video file.
  • the brightness value of the playing area in the video file playing page is extracted, and the brightness value outside the playing area of the video file playing page is set according to the brightness value of the playing area and displayed. That is to say, the brightness value outside the play area in the video file play page can be set to be the same as the brightness value of the play area.
  • the playing of the video file in the playing page monitoring the brightness value of the playing area in the video file playing page within a predetermined time, and calculating the video file playing page according to the brightness average value of the playing area in the predetermined time.
  • the brightness value outside the playback area is set and displayed.
  • the brightness value outside the playing area can be dynamically adjusted according to the brightness value of the playing area, thereby enabling the playing area to be played. It is consistent with the brightness value outside the playback area. Therefore, after the implementation of the embodiment, when the video is viewed on the video file play page, since the brightness value outside the play area is always dynamic and consistent with the brightness value of the play area, not only the glare and the time when watching the video are ensured. Clear and effective to protect the eyes, the viewer's comfort is very high.
  • the brightness adjustment unit 303 can perform a color value of the background outside the play area in the video search page on the video file play page, and extract the color values of the text and the picture outside the play area in the video search page. Then, it is determined whether the similarity between the color value of the text and the picture and the background color value exceeds a similar threshold set in advance. If it is exceeded, the color value of the background is kept unchanged; if not, the color value of the background is adjusted to make the text and The similarity between the color value of the picture and the background color value exceeds a similar threshold set in advance. Therefore, after the video file playing page is adjusted with the brightness value outside the playing area, the characters and pictures outside the playing area can be seen very clearly.
  • the brightness adjustment unit 303 monitors the light intensity in front of the screen. If it is detected that the light intensity is lower than the preset minimum intensity threshold at a certain time, the video file currently being played is paused, and then the screen saver is started. Then, it is judged whether there is an operation on the terminal device. If there is an operation on the terminal device, the screen saver is closed, and the video file that is paused to be played is started. If it does not exist, continue with the screen saver.
  • the video application implementation device described in the present invention can be applied to mobile devices, PCs, televisions, and the like.
  • the specific implementation content of the video application implementation apparatus according to the present invention has been described in detail in the method for implementing the video application described above, and thus the duplicate content will not be described here.
  • the method and apparatus implemented by the video application provided by the present invention creatively solve the glare or unclear feeling when searching in the video file search page; and realize the diversity of the video application service.
  • the video application service is more targeted and personalized; at the same time, the privacy and security of the user are largely ensured; finally, the method and device implemented by the entire video application are simple, compact and easy. achieve.
  • an apparatus comprising: one or more processors;
  • a memory for storing operational instructions
  • the one or more processors are configured to retrieve an operational instruction from the memory and execute:
  • the brightness value of the video search page is set and displayed according to the obtained brightness value.
  • the processor is further configured to:
  • the method further includes:
  • the processor is further configured to:
  • the brightness value outside the play area in the video file play page is set and displayed.
  • the processor is further configured to:
  • a brightness value outside the play area in the video file play page is set and displayed.
  • the processor is further configured to:
  • the method further includes:
  • the processor is further configured to:
  • the device and the terminal device of the present disclosure may be various electronic terminal devices, such as a mobile phone, a personal digital assistant (PDA), a tablet computer (PAD), a smart TV, etc., and thus the protection scope of the present disclosure should not be It is limited to a specific type of device, terminal device.
  • PDA personal digital assistant
  • PAD tablet computer
  • smart TV smart TV
  • the method according to the present disclosure may also be implemented as a computer program executed by a CPU, which may be stored in a computer readable storage medium.
  • the above-described functions defined in the method of the present disclosure are performed when the computer program is executed by the CPU.
  • the method steps and apparatus unit described above may also be implemented with a controller and a computer readable storage medium for storing a computer program that causes the controller to implement the steps or unit functions described above.
  • non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash.
  • ROM read only memory
  • PROM programmable ROM
  • EPROM electrically programmable ROM
  • EEPROM electrically erasable programmable ROM
  • flash flash.
  • Volatile memory can include random access memory (RAM), which can act as external cache memory.
  • RAM can be obtained in a variety of forms, such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM) and direct Rambus RAM (DRRAM).
  • DRAM synchronous RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR SDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM Synchronous Link DRAM
  • DRRAM direct Rambus RAM
  • the storage device of the disclosed aspect is intended These include, but are not limited to, these and other suitable types of memory.
  • DSPs digital signal processors
  • ASIC dedicated An integrated circuit
  • FPGA field programmable gate array
  • a general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine.
  • the processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
  • a software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor, such that the processor can read information from or write information to the storage medium.
  • the storage medium can be integrated with a processor.
  • the processor and the storage medium can reside in an ASIC.
  • the ASIC can reside in the user terminal.
  • the processor and the storage medium may reside as discrete components in the user terminal.
  • the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted as one or more instructions or code on a computer readable medium.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
  • the computer readable medium May include RAM, ROM, EEPROM, CD-ROM or other optical disk storage devices, disk storage devices or other magnetic storage devices, or can be used to carry or store required program code in the form of instructions or data structures and can be used universally or Any other medium that is accessed by a special purpose computer or a general purpose or special purpose processor. Also, any connection is properly termed a computer-readable medium.
  • a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technology such as infrared, radio, and microwave is used to transmit software from a website, server, or other remote source
  • the coaxial line Cables, fiber optic cables, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are all included in the definition of the medium.
  • a magnetic disk and an optical disk include a compact disk (CD), a laser disk, an optical disk, a digital versatile disk (DVD), a floppy disk, a Blu-ray disk, in which a disk generally reproduces data magnetically, and the optical disk optically reproduces data using a laser. . Combinations of the above should also be included within the scope of computer readable media.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种视频应用实现方法和装置,获取点击视频应用中视频文件搜索页面的指令;监测预定时间内屏幕前的光线强度,根据所述预定时间内的光线强度平均值计算视频文件搜索页面的亮度值;根据得到的所述亮度值,设置视频搜索页面的亮度值并显示。因此,所述视频应用实现方法和装置解决了进入到视频应用,在视频文件搜索页面中进行搜索时,出现刺眼的感觉,给用户带来不适感的问题。

Description

一种视频应用实现方法和装置
本申请基于申请号为2015108354795,申请日为2015年11月25日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本发明涉及媒体传播技术领域,特别是指一种视频应用实现方法和装置。
背景技术
随着多媒体技术的蓬勃发展,视频应用技术被越来越多的用户所使用。如今,观看视频成为人们在闲暇时刻的重要消遣方式,无论是在家中、在乘坐交通工具的过程中等等很多场合,人们用终端设备观看视频。
而在现有技术中,用户在使用终端设备进入到视频应用,在视频文件搜索页面进行搜索的过程中,常常会出现在夜间由于视频文件搜索页面中的亮度太强,而导致有刺眼的感觉,给用户带来了很大的不适感。
发明内容
有鉴于此,本发明的目的在于提出一种视频应用实现方法和装置,解决了进入到视频应用,在视频文件搜索页面中进行搜索时,出现刺眼的感觉,给用户带来不适感的问题。
基于上述目的本发明实施例提供了一种视频应用实现方法,该方法包括步骤:
获取点击视频应用中视频文件搜索页面的指令;
监测预定时间内屏幕前的光线强度,根据所述预定时间内的光线强度平均值计算视频文件搜索页面的亮度值;
根据得到的所述亮度值,设置视频搜索页面的亮度值并显示。
可选地,所述设置视频搜索页面的亮度值并显示之后还包括:
获取当前视频搜索页面中背景的色彩值,并提取该视频搜索页面中文字和图片的色彩值;
判断所述文字和图片的色彩值与所述背景色彩值的相似度是否超出了预先设置的相似阈值,根据判断结果,保持所述背景的色彩值不变或者调节所述背景的色彩值使得所述文字和图片的色彩值与所述背景色彩值的相似度超出预先设置的相似阈值。
进一步地,所述设置视频搜索页面的亮度值并显示之后,获取点击视频搜索页面中视频文件的指令,跳转至该视频文件的播放页面;
提取视频文件播放页面中播放区域的亮度值;
根据该播放区域的亮度值,设置该视频文件播放页面中播放区域之外的亮度值并显示。
进一步地,在所述视频文件播放的过程中,监测预定时间内该视频文件播放页面中播放区域的亮度值,根据所述预定时间内播放区域的亮度平均值,计算视频文件播放页面中播放区域之外的亮度值;
根据得到的所述亮度值,设置该视频文件播放页面中播放区域之外的亮度值并显示。
进一步地,所述设置该视频文件播放页面中播放区域之外的亮度值并显示之后还包括:
获取当前视频文件播放页面中播放区域之外背景的色彩值,并提取该视频文件播放页面中播放区域之外文字和图片的色彩值;
判断所述文字和图片的色彩值与所述背景色彩值的相似度是否超出了预先设置的相似阈值,根据判断结果,保持所述背景的色彩值不变或者调节所述背景的色彩值使得所述文字和图片的色彩值与所述背景色彩值的相似度超出预先设置的相似阈值。
进一步地,在所述视频文件播放的过程中,监测屏幕前的光线强度;
如果监测到某一时刻光线强度低于预先设置的最低强度阈值,则暂停当前正在播放的视频文件,启动屏幕保护程序;
判断是否存在对终端设备的操作,若存在对终端设备的操作,则关闭屏幕保护程序,开启暂停播放的视频文件;若不存在则继续屏幕保护程序;
或者,在所述视频搜索页面进行搜索时,监测屏幕前的光线强度;
如果监测到某一时刻光线强度低于预先设置的最低强度阈值,则暂停当 前正在播放的视频文件,启动屏幕保护程序;
判断是否存在对终端设备的操作,若存在对终端设备的操作则关闭屏幕保护程序;若不存在则继续屏幕保护程序。
在本发明实施例的另一方面,还提供了一种视频应用实现装置,该装置包括:
指令获取单元,用于获取点击视频应用中视频文件搜索页面的指令;
亮度计算单元,用于监测预定时间内屏幕前的光线强度,根据所述预定时间内的光线强度平均值计算视频文件搜索页面的亮度值;
亮度调节单元,用于根据得到的所述亮度值,设置视频搜索页面的亮度值并显示。
可选地,所述亮度调节单元还用于,
获取当前视频搜索页面中背景的色彩值,并提取该视频搜索页面中文字和图片的色彩值;
判断所述文字和图片的色彩值与所述背景色彩值的相似度是否超出了预先设置的相似阈值,根据判断结果,保持所述背景的色彩值不变或者调节所述背景的色彩值使得所述文字和图片的色彩值与所述背景色彩值的相似度超出预先设置的相似阈值。
进一步地,所述亮度调节单元还用于,获取点击视频搜索页面中视频文件的指令,跳转至该视频文件的播放页面;
提取视频文件播放页面中播放区域的亮度值;
根据该播放区域的亮度值,设置该视频文件播放页面中播放区域之外的亮度值并显示。
进一步地,所述亮度调节单元还用于,监测预定时间内该视频文件播放页面中播放区域的亮度值,根据所述预定时间内播放区域的亮度平均值,计算视频文件播放页面中播放区域之外的亮度值;
根据得到的所述亮度值,设置该视频文件播放页面中播放区域之外的亮度值并显示。
进一步地,所述亮度调节单元还用于:
获取当前视频文件播放页面中播放区域之外背景的色彩值,并提取该视频文件播放页面中播放区域之外文字和图片的色彩值;
判断所述文字和图片的色彩值与所述背景色彩值的相似度是否超出了预先设置的相似阈值,根据判断结果,保持所述背景的色彩值不变或者调节所述背景的色彩值使得所述文字和图片的色彩值与所述背景色彩值的相似度超出预先设置的相似阈值。
进一步地,所述亮度调节单元还用于,在所述视频文件播放的过程中,监测屏幕前的光线强度;
如果监测到某一时刻光线强度低于预先设置的最低强度阈值,则暂停当前正在播放的视频文件,启动屏幕保护程序;
判断是否存在对终端设备的操作,若存在对终端设备的操作,则关闭屏幕保护程序,开启暂停播放的视频文件;若不存在则继续屏幕保护程序;
或者,在所述视频搜索页面进行搜索时,监测屏幕前的光线强度;
如果监测到某一时刻光线强度低于预先设置的最低强度阈值,则暂停当前正在播放的视频文件,启动屏幕保护程序;
判断是否存在对终端设备的操作,若存在对终端设备的操作则关闭屏幕保护程序;若不存在则继续屏幕保护程序。
本发明实施例的又一方面,还提供了一种装置,包括:
一个或多个处理器;以及
用于存储操作指令的存储器;
所述一个或多个处理器被配置为从所述存储器中获取操作指令并执行:
获取点击视频应用中视频文件搜索页面的指令;
监测预定时间内屏幕前的光线强度,根据所述预定时间内的光线强度平均值计算视频文件搜索页面的亮度值;
根据得到的所述亮度值,设置视频搜索页面的亮度值并显示。
从上面所述可以看出,本发明实施例提供的视频应用实现方法和装置,通过获取点击视频应用中视频文件搜索页面的指令;监测预定时间内屏幕前的光线强度,根据所述预定时间内的光线强度平均值计算视频文件搜索页面的亮度值;根据得到的所述亮度值,设置视频搜索页面的亮度值并显示。从而,实现了在夜间用户进入视频应用,在视频文件搜索页面中搜索时能够自动的调节亮度值,避免了刺眼的感觉;并且还不会影响视频文件搜索页面的 功能,因此大大优化了视频媒体的服务。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。
附图说明
为了更清楚地说明本公开的实施例,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明第一实施例中视频应用实现方法的流程示意图;
图2为本发明可参考实施例中视频应用实现方法的流程示意图;
图3为本发明实施例视频应用实现装置的结构示意图。
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明进一步详细说明。
根据多媒体视频应用的使用现状,用户在视频文件搜索页面进行搜索时,常常会因为该视频文件搜索页面的亮度过大或过小,导致用户刺眼或者观看费劲的不适感。为了解决这一问题,本发明从用户角度出发,体会到用户希望多媒体视频应用可以对视频文件搜索页面实现自动化的亮度调节。因此,本发明的思路是在多媒体视频应用上,设置触发监测屏幕前光线强度的功能,在预定时间内能够监测屏幕前的光线强度的情况,实现设置视频搜索页面的亮度值并显示。
参阅图1所示,为本发明第一实施例中视频应用实现方法的流程示意图,所述视频应用实现方法包括:
步骤101,获取点击视频应用中视频文件搜索页面的指令。
其中,用户可以进入视频应用,点击视频文件搜索页面。所述的视频应用是在终端设备上使用,而在本发明中所述的视频应用实现方法可以作用于手机、PC、电视等等终端设备上。
步骤102,监测预定时间内屏幕前的光线强度,根据所述预定时间内的光线强度平均值计算视频文件搜索页面的亮度值。
在实施例中,当步骤101获取点击视频应用中视频文件搜索页面的指令之后,会启动监测预定时间内屏幕前的光线强度。其中,所述的预定时间可以根据实际的需要,进行预先设置,例如设置3秒的预定时间。然后,监测在该预设时间内屏幕前的光线强度,将监测到的所有光线强度取平均值。可选地,在将监测到的所有光线强度取平均值之前,可以先在监测到的所有光线强度中去除强度值最高的光线强度和强度值最低的光线强度。
可选地,当获得了光线强度平均值之后,根据启动监测时的屏幕前光线强度,获得该光线强度与所述平均值之间差值,该差值就是该视频文件搜索页面亮度值的变化值。最后,根据该差值以及此时视频文件搜索页面亮度值,计算调整后的该视频文件搜索页面亮度值。
步骤103,根据得到的所述亮度值,设置视频搜索页面的亮度值并显示。
作为实施例,当步骤102获得调整后的该视频文件搜索页面亮度值之后,直接将视频搜索页面的亮度值调整至该亮度值并显示。
需要说明的是,在调整视频搜索页面的亮度值之后,会出现在该页面中的文字和图片不清楚了。这是由于在调整了亮度值之后,导致视频搜索页面中的文字和图片的色彩值与背景的色彩值非常接近。
可选地,在步骤103设置视频搜索页面的亮度值并显示之后,可以获取当前视频搜索页面中背景的色彩值,并提取该视频搜索页面中文字和图片的色彩值。然后,判断文字和图片的色彩值与背景色彩值的相似度是否超出了预先设置的一个相似阈值,若超出了则保持所述背景的色彩值不变,若没有超出,则调节背景的色彩值,使得文字和图片的色彩值与背景色彩值的相似度超出预先设置的相似阈值。其中,所述的相似度就是文字和图片的色彩值与背景色彩值之间的差值。
例如:预先设置的相似阈值为2,获取的背景色彩值为15,提取的文字色彩值为16,则文字色彩值与背景色彩值的差值即相似度为1,没有超出预先设置的相似阈值2,因此需要调整背景色彩值使得文字色彩值与背景色彩值的差值超过超出预先设置的相似阈值2。同样的,图片色彩值的处理过程与上面所述的文字色彩值的处理过程相同,在此不再说明。
值得说明的是,作为本发明一个优选地实施例,在视频搜索页面进行操作的过程中,监测屏幕前的光线强度。如果监测到某一时刻光线强度低于预先设置的最低强度阈值,则启动屏幕保护程序。之后判断是否存在对终端设备的操作,若存在对终端设备的操作则关闭屏幕保护程序,若不存在则继续屏幕保护程序即可。可以看出,在进行了该优选地实施例之后,可以实现当观看者刻意遮挡屏幕,不想被别人获知屏幕内容时能够保证观看者的隐私。还有,所述的屏幕保护程序采用能够遮挡住视频搜索页面内容的方式,例如黑屏保护或者利用一些图片遮挡住视频搜索页面的内容等等方式。
作为本发明的一个可选地实施例,所述视频应用实现方法在步骤103执行之后,还可以获取点击视频搜索页面中视频文件的指令,然后跳转至该视频文件的播放页面。再提取视频文件播放页面中播放区域的亮度值,根据该播放区域的亮度值,设置该视频文件播放页面中播放区域之外的亮度值并显示出来。也就是说,可以将该视频文件播放页面中播放区域之外的亮度值设置成与播放区域的亮度值相同。
作为另一个实施例,本发明可以在视频文件在播放页面播放的过程中,监测预定时间内该视频文件播放页面中播放区域的亮度值,根据所述预定时间内播放区域的亮度平均值,计算视频文件播放页面中播放区域之外的亮度值。然后根据该亮度值,设置该视频文件播放页面中播放区域之外的亮度值并显示。也就是说,在视频文件播放页面,播放该视频文件的过程中可以根据该播放区域的亮度值,动态调整播放区域之外的亮度值,从而能够使播放区域与播放区域之外的亮度值保持一致。因此,在该实施例实施之后,会使得在视频文件播放页面观看视频时,由于播放区域之外的亮度值永远动态的与播放区域的亮度值一致,不仅保证了观看视频时的不刺眼和不清楚,而且能够有效的保护到眼睛,观看者的舒适度非常高。
当然,可选地,在视频文件播放页面可以执行获取视频搜索页面中播放区域之外背景的色彩值,提取该视频搜索页面中播放区域之外文字和图片的色彩值。然后判断文字和图片的色彩值与背景色彩值的相似度是否超出了预先设置的相似阈值,若超出则保持背景的色彩值不变,若没有超出则调节背景的色彩值使得文字和图片的色彩值与背景色彩值的相似度超出预先设置的相似阈值。从而,实现了视频文件播放页面在调整了播放区域之外的亮度值 之后,在播放区域之外的文字和图片也能够看得非常清楚。
另外,值得说明的是,作为本发明一个优选地实施例,在视频文件播放的过程中,监测屏幕前的光线强度。如果监测到某一时刻光线强度低于预先设置的最低强度阈值,则暂停当前正在播放的视频文件,然后启动屏幕保护程序。之后判断是否存在对终端设备的操作,若存在对终端设备的操作,则关闭屏幕保护程序,开启暂停播放的视频文件。若不存在则继续屏幕保护程序即可。可以看出,在进行了该优选地实施例之后,可以实现当观看者刻意遮挡屏幕,不想被别人获知屏幕内容时能够保证视频文件播放页面的隐蔽性,从而保证了观看者的隐私,更加体现了视频应用服务用户时的创新性功能。还有,所述的屏幕保护程序采用能够遮挡住视频文件播放内容的方式,例如黑屏保护或者利用一些图片遮挡住视频文件播放内容等等方式。
作为一个可参考的实施例,参阅图2所示,所述视频应用实现的方法具体可采用如下步骤:
步骤201,获取点击视频应用中视频文件搜索页面的指令。
步骤202,监测预定时间内屏幕前的光线强度。
步骤203,根据所述预定时间内的光线强度平均值计算视频文件搜索页面的亮度值。
步骤204,根据得到的所述亮度值,设置视频搜索页面的亮度值并显示。
步骤205,获取当前视频搜索页面中背景的色彩值,并提取该视频搜索页面中文字和图片的色彩值。
步骤206,判断所述文字和图片的色彩值与所述背景色彩值的相似度是否超出了预先设置的相似阈值,若超出则执行步骤207,所没有超出则进行步骤208。
步骤207,保持所述背景的色彩值不变,进行步骤209。
步骤208,调节所述背景的色彩值使得所述文字和图片的色彩值与所述背景色彩值的相似度超出预先设置的相似阈值,进行步骤209。
步骤209,判断是否获取点击视频搜索页面中视频文件的指令,若有则进行步骤210,若没有则退出该流程。
步骤210,跳转至该视频文件的播放页面。
步骤211,提取视频文件播放页面中播放区域的亮度值。
步骤212,根据该播放区域的亮度值,设置该视频文件播放页面中播放区域之外的亮度值并显示。
步骤213,获取当前视频文件播放页面中播放区域之外背景的色彩值,并提取该视频文件播放页面中播放区域之外文字和图片的色彩值。
步骤214,判断所述文字和图片的色彩值与所述背景色彩值的相似度是否超出了预先设置的相似阈值,若超出则执行步骤215,若没有超出则进行步骤216。
步骤215,保持所述背景的色彩值不变,进行步骤217。
步骤216,调节所述背景的色彩值使得所述文字和图片的色彩值与所述背景色彩值的相似度超出预先设置的相似阈值,进行步骤217。
步骤217,在所述视频文件播放的过程中,监测预定时间内该视频文件播放页面中播放区域的亮度值。
步骤218,根据所述预定时间内播放区域的亮度平均值,计算视频文件播放页面中播放区域之外的亮度值。
步骤219,根据得到的所述亮度值,设置该视频文件播放页面中播放区域之外的亮度值并显示。
作为另一个可参考的实施例,在进行步骤201至步骤209的过程中,可以监测屏幕前的光线强度,如果监测到某一时刻光线强度低于预先设置的最低强度阈值,则暂停当前正在播放的视频文件,启动屏幕保护程序。之后,判断是否存在对终端设备的操作,若存在对终端设备的操作则关闭屏幕保护程序,若不存在则继续屏幕保护程序。
另外,在进行步骤210至步骤219的过程中,可以监测屏幕前的光线强度,如果监测到某一时刻光线强度低于预先设置的最低强度阈值,则暂停当前正在播放的视频文件,启动屏幕保护程序。之后,判断是否存在对终端设备的操作,若存在对终端设备的操作则关闭屏幕保护程序,开启暂停播放的视频文件;若不存在则继续屏幕保护程序。
在本发明的另一方面实施例,还提供了一种视频应用实现的装置,如图3所示,所述的视频应用实现装置包括依次连接指令获取单元301、亮度计算单元302和亮度调节单元303。其中,指令获取单元301用于获取点击视频 应用中视频文件搜索页面的指令;亮度计算单元302用于监测预定时间内屏幕前的光线强度,根据所述预定时间内的光线强度平均值计算视频文件搜索页面的亮度值;亮度调节单元303用于根据得到的所述亮度值,设置视频搜索页面的亮度值并显示。
作为本发明的另一个实施例,亮度调节单元303在调整视频搜索页面的亮度值之后,会出现在该页面中的文字和图片不清楚了。因此,亮度调节单元303设置视频搜索页面的亮度值并显示之后,可以获取当前视频搜索页面中背景的色彩值,并提取该视频搜索页面中文字和图片的色彩值。然后,判断文字和图片的色彩值与背景色彩值的相似度是否超出了预先设置的一个相似阈值,若超出了,则保持所述背景的色彩值不变;若没有超出,则调节背景的色彩值使得文字和图片的色彩值与背景色彩值的相似度超出预先设置的相似阈值。其中,所述的相似度就是文字和图片的色彩值与背景色彩值之间的差值。
可选地,亮度调节单元303在视频搜索页面进行操作的过程中,监测屏幕前的光线强度。如果监测到某一时刻光线强度低于预先设置的最低强度阈值,则启动屏幕保护程序。之后判断是否存在对终端设备的操作,若存在,对终端设备的操作则关闭屏幕保护程序;若不存在,则继续屏幕保护程序即可。可以看出,在进行了该优选地实施例之后,可以实现当观看者刻意遮挡屏幕,不想被别人获知屏幕内容时能够保证观看者的隐私。
作为又一可参考的实施例,亮度调节单元303还可以获取点击视频搜索页面中视频文件的指令,然后跳转至该视频文件的播放页面。再提取视频文件播放页面中播放区域的亮度值,根据该播放区域的亮度值,设置该视频文件播放页面中播放区域之外的亮度值并显示出来。也就是说,可以将该视频文件播放页面中播放区域之外的亮度值设置成与播放区域的亮度值相同。
可选地,在视频文件在播放页面播放的过程中,监测预定时间内该视频文件播放页面中播放区域的亮度值,根据所述预定时间内播放区域的亮度平均值,计算视频文件播放页面中播放区域之外的亮度值。然后根据该亮度值,设置该视频文件播放页面中播放区域之外的亮度值并显示。
也就是说,在视频文件播放页面,播放该视频文件的过程中可以根据该播放区域的亮度值,动态调整播放区域之外的亮度值,从而能够使播放区域 与播放区域之外的亮度值保持一致。因此,在该实施例实施之后,会使得在视频文件播放页面观看视频时,由于播放区域之外的亮度值永远动态的与播放区域的亮度值一致,不仅保证了观看视频时的不刺眼和不清楚,而且能够有效的保护到眼睛,观看者的舒适度非常高。
另外,亮度调节单元303在视频文件播放页面可以执行获取视频搜索页面中播放区域之外背景的色彩值,提取该视频搜索页面中播放区域之外文字和图片的色彩值。然后,判断文字和图片的色彩值与背景色彩值的相似度是否超出了预先设置的相似阈值,若超出,则保持背景的色彩值不变;若没有超出,则调节背景的色彩值使得文字和图片的色彩值与背景色彩值的相似度超出预先设置的相似阈值。从而,实现了视频文件播放页面在调整了播放区域之外的亮度值之后,在播放区域之外的文字和图片也能够看得非常清楚。
值得说明的是,作为本发明一个可选地实施例,在视频文件播放的过程中,亮度调节单元303监测屏幕前的光线强度。如果监测到某一时刻光线强度低于预先设置的最低强度阈值,则暂停当前正在播放的视频文件,然后启动屏幕保护程序。之后判断是否存在对终端设备的操作,若存在对终端设备的操作,则关闭屏幕保护程序,开启暂停播放的视频文件。若不存在则继续屏幕保护程序即可。
需要说明的是,在本发明中所述的视频应用实现装置可以作用于手机、PC、电视等等终端设备上。在本发明所述的视频应用实现装置的具体实施内容,在上面所述的视频应用实现的方法中已经详细说明了,故在此重复内容不再说明。
综上所述,本发明提供的视频应用实现的方法、装置,创造性地解决了在视频文件搜索页面中进行搜索时,出现刺眼或不清楚的感觉;并且,实现了视频应用服务的多样性,使得视频应用服务更具有针对性、个性化;与此同时,在很大程度上保证了用户的隐私,更具安全性;最后,整个所述的视频应用实现的方法和装置简便、紧凑,易于实现。
本发明实施例的又一方面,还提供了一种装置,所述装置的一个实施例,包括:一个或多个处理器;以及
用于存储操作指令的存储器;
所述一个或多个处理器被配置为从所述存储器中获取操作指令并执行:
获取点击视频应用中视频文件搜索页面的指令;
监测预定时间内屏幕前的光线强度,根据所述预定时间内的光线强度平均值计算视频文件搜索页面的亮度值;
根据得到的所述亮度值,设置视频搜索页面的亮度值并显示。
可选地,所述处理器还用于执行:
所述设置视频搜索页面的亮度值并显示之后还包括:
获取当前视频搜索页面中背景的色彩值,并提取该视频搜索页面中文字和图片的色彩值;
判断所述文字和图片的色彩值与所述背景色彩值的相似度是否超出了预先设置的相似阈值,根据判断结果,保持所述背景的色彩值不变或者调节所述背景的色彩值使得所述文字和图片的色彩值与所述背景色彩值的相似度超出预先设置的相似阈值。
可选地,所述处理器还用于执行:
所述设置视频搜索页面的亮度值并显示之后,获取点击视频搜索页面中视频文件的指令,跳转至该视频文件的播放页面;
提取视频文件播放页面中播放区域的亮度值;
根据该播放区域的亮度值,设置该视频文件播放页面中播放区域之外的亮度值并显示。
可选地,所述处理器还用于执行:
在所述视频文件播放的过程中,监测预定时间内该视频文件播放页面中播放区域的亮度值,根据所述预定时间内播放区域的亮度平均值,计算视频文件播放页面中播放区域之外的亮度值;
根据得到的所述亮度值,设置该视频文件播放页面中播放区域之外的亮度值并显示。
可选地,所述处理器还用于执行:
所述设置该视频文件播放页面中播放区域之外的亮度值并显示之后还包括:
获取当前视频文件播放页面中播放区域之外背景的色彩值,并提取该视频文件播放页面中播放区域之外文字和图片的色彩值;
判断所述文字和图片的色彩值与所述背景色彩值的相似度是否超出了预先设置的相似阈值,根据判断结果,保持所述背景的色彩值不变或者调节所 述背景的色彩值使得所述文字和图片的色彩值与所述背景色彩值的相似度超出预先设置的相似阈值。
可选地,所述处理器还用于执行:
在所述视频文件播放的过程中,监测屏幕前的光线强度;
如果监测到某一时刻光线强度低于预先设置的最低强度阈值,则暂停当前正在播放的视频文件,启动屏幕保护程序;
判断是否存在对终端设备的操作,若存在对终端设备的操作则关闭屏幕保护程序,开启暂停播放的视频文件;若不存在则继续屏幕保护程序;
或者,在所述视频搜索页面进行搜索时,监测屏幕前的光线强度;
如果监测到某一时刻光线强度低于预先设置的最低强度阈值,则暂停当前正在播放的视频文件,启动屏幕保护程序;
判断是否存在对终端设备的操作,若存在对终端设备的操作则关闭屏幕保护程序;若不存在则继续屏幕保护程序。
此外,典型地,本公开所述的装置、终端设备可为各种电子终端设备,例如手机、个人数字助理(PDA)、平板电脑(PAD)、智能电视等,因此本公开的保护范围不应限定为某种特定类型的装置、终端设备。
此外,根据本公开的方法还可以被实现为由CPU执行的计算机程序,该计算机程序可以存储在计算机可读存储介质中。在该计算机程序被CPU执行时,执行本公开的方法中限定的上述功能。
此外,上述方法步骤以及装置单元也可以利用控制器以及用于存储使得控制器实现上述步骤或单元功能的计算机程序的计算机可读存储介质实现。
此外,应该明白的是,本文所述的计算机可读存储介质(例如,存储器)可以是易失性存储器或非易失性存储器,或者可以包括易失性存储器和非易失性存储器两者。作为例子而非限制性的,非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦写可编程ROM(EEPROM)或快闪存储器。易失性存储器可以包括随机存取存储器(RAM),该RAM可以充当外部高速缓存存储器。作为例子而非限制性的,RAM可以以多种形式获得,比如同步RAM(DRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据速率SDRAM(DDR SDRAM)、增强SDRAM(ESDRAM)、同步链路DRAM(SLDRAM)以及直接RambusRAM(DRRAM)。所公开的方面的存储设备意在 包括但不限于这些和其它合适类型的存储器。
本领域技术人员还将明白的是,结合这里的公开所描述的各种示例性逻辑块、模块、电路和算法步骤可以被实现为电子硬件、计算机软件或两者的组合。为了清楚地说明硬件和软件的这种可互换性,已经就各种示意性组件、方块、模块、电路和步骤的功能对其进行了一般性的描述。这种功能是被实现为软件还是被实现为硬件取决于具体应用以及施加给整个装置的设计约束。本领域技术人员可以针对每种具体应用以各种方式来实现所述的功能,但是这种实现决定不应被解释为导致脱离本公开的范围。
结合这里的公开所描述的各种示例性逻辑块、模块和电路可以利用被设计成用于执行这里所述功能的下列部件来实现或执行:通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或其它可编程逻辑器件、分立门或晶体管逻辑、分立的硬件组件或者这些部件的任何组合。通用处理器可以是微处理器,但是可替换地,处理器可以是任何传统处理器、控制器、微控制器或状态机。处理器也可以被实现为计算设备的组合,例如,DSP和微处理器的组合、多个微处理器、一个或多个微处理器结合DSP核、或任何其它这种配置。
结合这里的公开所描述的方法或算法的步骤可以直接包含在硬件中、由处理器执行的软件模块中或这两者的组合中。软件模块可以驻留在RAM存储器、快闪存储器、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动盘、CD-ROM、或本领域已知的任何其它形式的存储介质中。示例性的存储介质被耦合到处理器,使得处理器能够从该存储介质中读取信息或向该存储介质写入信息。在一个替换方案中,所述存储介质可以与处理器集成在一起。处理器和存储介质可以驻留在ASIC中。ASIC可以驻留在用户终端中。在一个替换方案中,处理器和存储介质可以作为分立组件驻留在用户终端中。
在一个或多个示例性设计中,所述功能可以在硬件、软件、固件或其任意组合中实现。如果在软件中实现,则可以将所述功能作为一个或多个指令或代码存储在计算机可读介质上或通过计算机可读介质来传送。计算机可读介质包括计算机存储介质和通信介质,该通信介质包括有助于将计算机程序从一个位置传送到另一个位置的任何介质。存储介质可以是能够被通用或专用计算机访问的任何可用介质。作为例子而非限制性的,该计算机可读介质 可以包括RAM、ROM、EEPROM、CD-ROM或其它光盘存储设备、磁盘存储设备或其它磁性存储设备,或者是可以用于携带或存储形式为指令或数据结构的所需程序代码并且能够被通用或专用计算机或者通用或专用处理器访问的任何其它介质。此外,任何连接都可以适当地称为计算机可读介质。例如,如果使用同轴线缆、光纤线缆、双绞线、数字用户线路(DSL)或诸如红外线、无线电和微波的无线技术来从网站、服务器或其它远程源发送软件,则上述同轴线缆、光纤线缆、双绞线、DSL或诸如红外先、无线电和微波的无线技术均包括在介质的定义。如这里所使用的,磁盘和光盘包括压缩盘(CD)、激光盘、光盘、数字多功能盘(DVD)、软盘、蓝光盘,其中磁盘通常磁性地再现数据,而光盘利用激光光学地再现数据。上述内容的组合也应当包括在计算机可读介质的范围内。
公开的示例性实施例,但是应当注公开的示例性实施例,但是应当注意,在不背离权利要求限定的本公开的范围的前提下,可以进行多种改变和修改。根据这里描述的公开实施例的方法权利要求的功能、步骤和/或动作不需以任何特定顺序执行。此外,尽管本公开的元素可以以个体形式描述或要求,但是也可以设想多个,除非明确限制为单数。
应当理解的是,在本文中使用的,除非上下文清楚地支持例外情况,单数形式“一个”(“a”、“an”、“the”)旨在也包括复数形式。还应当理解的是,在本文中使用的“和/或”是指包括一个或者一个以上相关联地列出的项目的任意和所有可能组合。
上述本公开实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
所属领域的普通技术人员应当理解:以上所述仅为本发明的具体实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (13)

  1. 一种视频应用实现方法,包括步骤:
    获取点击视频应用中视频文件搜索页面的指令;
    监测预定时间内屏幕前的光线强度,根据所述预定时间内的光线强度平均值计算视频文件搜索页面的亮度值;
    根据得到的所述亮度值,设置视频搜索页面的亮度值并显示。
  2. 根据权利要求1所述的方法,其中,所述设置视频搜索页面的亮度值并显示之后还包括:
    获取当前视频搜索页面中背景的色彩值,并提取该视频搜索页面中文字和图片的色彩值;
    判断所述文字和图片的色彩值与所述背景色彩值的相似度是否超出了预先设置的相似阈值,根据判断结果,保持所述背景的色彩值不变或者调节所述背景的色彩值使得所述文字和图片的色彩值与所述背景色彩值的相似度超出预先设置的相似阈值。
  3. 根据权利要求1或2所述的方法,其中,所述设置视频搜索页面的亮度值并显示之后,获取点击视频搜索页面中视频文件的指令,跳转至该视频文件的播放页面;
    提取视频文件播放页面中播放区域的亮度值;
    根据该播放区域的亮度值,设置该视频文件播放页面中播放区域之外的亮度值并显示。
  4. 根据权利要求3所述的方法,其中,在所述视频文件播放的过程中,监测预定时间内该视频文件播放页面中播放区域的亮度值,根据所述预定时间内播放区域的亮度平均值,计算视频文件播放页面中播放区域之外的亮度值;
    根据得到的所述亮度值,设置该视频文件播放页面中播放区域之外的亮度值并显示。
  5. 根据权利要求4所述的方法,其中,所述设置该视频文件播放页面中播放区域之外的亮度值并显示之后还包括:
    获取当前视频文件播放页面中播放区域之外背景的色彩值,并提取该视频文件播放页面中播放区域之外文字和图片的色彩值;
    判断所述文字和图片的色彩值与所述背景色彩值的相似度是否超出了预先设置的相似阈值,根据判断结果,保持所述背景的色彩值不变或者调节所述背景的色彩值使得所述文字和图片的色彩值与所述背景色彩值的相似度超出预先设置的相似阈值。
  6. 根据权利要求4所述的方法,其中,在所述视频文件播放的过程中,监测屏幕前的光线强度;
    如果监测到某一时刻光线强度低于预先设置的最低强度阈值,则暂停当前正在播放的视频文件,启动屏幕保护程序;
    判断是否存在对终端设备的操作,若存在对终端设备的操作则关闭屏幕保护程序,开启暂停播放的视频文件;若不存在则继续屏幕保护程序;
    或者,在所述视频搜索页面进行搜索时,监测屏幕前的光线强度;
    如果监测到某一时刻光线强度低于预先设置的最低强度阈值,则暂停当前正在播放的视频文件,启动屏幕保护程序;
    判断是否存在对终端设备的操作,若存在对终端设备的操作则关闭屏幕保护程序;若不存在则继续屏幕保护程序。
  7. 一种视频应用实现的装置,包括:
    指令获取单元,用于获取点击视频应用中视频文件搜索页面的指令;
    亮度计算单元,用于监测预定时间内屏幕前的光线强度,根据所述预定时间内的光线强度平均值计算视频文件搜索页面的亮度值;
    亮度调节单元,用于根据得到的所述亮度值,设置视频搜索页面的亮度值并显示。
  8. 根据权利要求7所述的装置,其中,所述亮度调节单元还用于,获取当前视频搜索页面中背景的色彩值,并提取该视频搜索页面中文字和图片的色彩值;
    判断所述文字和图片的色彩值与所述背景色彩值的相似度是否超出了预先设置的相似阈值,根据判断结果,保持所述背景的色彩值不变或者调节所述背景的色彩值使得所述文字和图片的色彩值与所述背景色彩值的相似度超出预先设置的相似阈值。
  9. 根据权利要求7或8所述的装置,其中,所述亮度调节单元还用于,获取点击视频搜索页面中视频文件的指令,跳转至该视频文件的播放页面;
    提取视频文件播放页面中播放区域的亮度值;
    根据该播放区域的亮度值,设置该视频文件播放页面中播放区域之外的亮度值并显示。
  10. 根据权利要求9所述的装置,其中,所述亮度调节单元还用于,监测预定时间内该视频文件播放页面中播放区域的亮度值,根据所述预定时间内播放区域的亮度平均值,计算视频文件播放页面中播放区域之外的亮度值;
    根据得到的所述亮度值,设置该视频文件播放页面中播放区域之外的亮度值并显示。
  11. 根据权利要求10所述的装置,其中,所述亮度调节单元还用于:
    获取当前视频文件播放页面中播放区域之外背景的色彩值,并提取该视频文件播放页面中播放区域之外文字和图片的色彩值;
    判断所述文字和图片的色彩值与所述背景色彩值的相似度是否超出了预先设置的相似阈值,根据判断结果,保持所述背景的色彩值不变或者调节所述背景的色彩值使得所述文字和图片的色彩值与所述背景色彩值的相似度超出预先设置的相似阈值。
  12. 根据权利要求10所述的装置,其中,所述亮度调节单元还用于,在所述视频文件播放的过程中,监测屏幕前的光线强度;
    如果监测到某一时刻光线强度低于预先设置的最低强度阈值,则暂停当前正在播放的视频文件,启动屏幕保护程序;
    判断是否存在对终端设备的操作,若存在对终端设备的操作,则关闭屏幕保护程序,开启暂停播放的视频文件;若不存在则继续屏幕保护程序;
    或者,在所述视频搜索页面进行搜索时,监测屏幕前的光线强度;
    如果监测到某一时刻光线强度低于预先设置的最低强度阈值,则暂停当前正在播放的视频文件,启动屏幕保护程序;
    判断是否存在对终端设备的操作,若存在对终端设备的操作则关闭屏幕保护程序;若不存在则继续屏幕保护程序。
  13. 一种装置,包括:
    一个或多个处理器;以及
    用于存储操作指令的存储器;
    所述一个或多个处理器被配置为从所述存储器中获取操作指令并执行:
    获取点击视频应用中视频文件搜索页面的指令;
    监测预定时间内屏幕前的光线强度,根据所述预定时间内的光线强度平均值计算视频文件搜索页面的亮度值;
    根据得到的所述亮度值,设置视频搜索页面的亮度值并显示。
PCT/CN2016/083728 2015-11-25 2016-05-27 一种视频应用实现方法和装置 WO2017088413A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/120,156 US20180255367A1 (en) 2015-11-25 2016-05-27 Method and device for implementing a video application

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510835479.5 2015-11-25
CN201510835479.5A CN105657569A (zh) 2015-11-25 2015-11-25 一种不刺眼的视频应用实现方法和系统

Publications (1)

Publication Number Publication Date
WO2017088413A1 true WO2017088413A1 (zh) 2017-06-01

Family

ID=56481836

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/083728 WO2017088413A1 (zh) 2015-11-25 2016-05-27 一种视频应用实现方法和装置

Country Status (3)

Country Link
US (1) US20180255367A1 (zh)
CN (1) CN105657569A (zh)
WO (1) WO2017088413A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107820134A (zh) * 2017-11-14 2018-03-20 国家电网公司 一种视频应用的控制方法和装置
CN110225177B (zh) * 2018-03-01 2022-03-15 阿里巴巴(中国)有限公司 一种界面调节方法、计算机存储介质及终端设备
CN108399060B (zh) * 2018-03-12 2021-02-26 宁波大学 一种移动智能终端视频切换方法
CN109698913B (zh) * 2018-12-29 2020-12-04 深圳市道通智能航空技术有限公司 一种图像显示方法、装置和电子设备
US11134039B1 (en) * 2019-10-18 2021-09-28 Twitter, Inc. Dynamically controlling messaging platform client-side and server-side behavior
CN111352604B (zh) * 2020-02-13 2022-11-15 支付宝(杭州)信息技术有限公司 屏幕亮度调节方法、装置及计算机可读存储介质
CN113395599B (zh) * 2020-12-03 2024-07-23 腾讯科技(深圳)有限公司 一种视频处理方法、装置、电子设备及介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163216A (zh) * 2010-11-24 2011-08-24 广州市动景计算机科技有限公司 图片显示方法和装置
CN103281436A (zh) * 2013-04-27 2013-09-04 深圳市金立通信设备有限公司 一种调节移动终端屏幕亮度的方法及移动终端
CN103309578A (zh) * 2013-06-25 2013-09-18 北京小米科技有限责任公司 显示页面的方法及终端
US20150046505A1 (en) * 2013-08-07 2015-02-12 Beijing Lenovo Software Ltd. Information processing method and electronic device
CN104462312A (zh) * 2014-11-28 2015-03-25 北京奇虎科技有限公司 网页显示方法和浏览器客户端
CN104795054A (zh) * 2015-05-13 2015-07-22 上海斐讯数据通信技术有限公司 一种亮度自动调节方法及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100419847C (zh) * 2005-03-25 2008-09-17 联想(北京)有限公司 一种显示设备及显示方法
JP2009223040A (ja) * 2008-03-17 2009-10-01 Seiko Epson Corp 画像表示装置及び画像表示方法
CN103903539A (zh) * 2012-12-24 2014-07-02 联想(北京)有限公司 一种屏幕亮度调节方法及系统
CN104423909A (zh) * 2013-08-26 2015-03-18 联想(北京)有限公司 一种信息处理方法及电子设备
CN104735247A (zh) * 2015-03-11 2015-06-24 广东欧珀移动通信有限公司 调节移动终端屏幕亮度的方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163216A (zh) * 2010-11-24 2011-08-24 广州市动景计算机科技有限公司 图片显示方法和装置
CN103281436A (zh) * 2013-04-27 2013-09-04 深圳市金立通信设备有限公司 一种调节移动终端屏幕亮度的方法及移动终端
CN103309578A (zh) * 2013-06-25 2013-09-18 北京小米科技有限责任公司 显示页面的方法及终端
US20150046505A1 (en) * 2013-08-07 2015-02-12 Beijing Lenovo Software Ltd. Information processing method and electronic device
CN104462312A (zh) * 2014-11-28 2015-03-25 北京奇虎科技有限公司 网页显示方法和浏览器客户端
CN104795054A (zh) * 2015-05-13 2015-07-22 上海斐讯数据通信技术有限公司 一种亮度自动调节方法及系统

Also Published As

Publication number Publication date
US20180255367A1 (en) 2018-09-06
CN105657569A (zh) 2016-06-08

Similar Documents

Publication Publication Date Title
WO2017088413A1 (zh) 一种视频应用实现方法和装置
US10360360B2 (en) Systems and methods for controlling output of content based on human recognition data detection
WO2020015454A1 (zh) 推荐内容显示方法、装置、终端及计算机可读存储介质
US9344760B2 (en) Information processing apparatus, information processing method, and program
US10667007B2 (en) Automated video content display control using eye detection
US20180033378A1 (en) Method and device for adjusting refresh rate
WO2017049799A1 (zh) 音频播放控制方法和装置
CN106941624B (zh) 网络视频试看的处理方法和装置
JP5894706B2 (ja) メディア再生方法および装置
US20240276060A1 (en) Methods, systems, and media for managing mirroring sessions of media content
US10380420B2 (en) Electronic device and screen adjusting method based on condition of user's eye
US20180253274A1 (en) Method for Muting and Electronic Device
US9083937B1 (en) Cameras and image processing methods for respecting recording restrictions
US20150332065A1 (en) Method and apparatus for controlling a browser
WO2020088090A1 (zh) 延迟控制方法、延迟控制装置、终端设备以及存储介质
JP2017515435A (ja) 再生制御方法、再生制御装置、コンピュータプログラム及びコンピュータ読み取り可能な記憶媒体
US20150281783A1 (en) Audio/video system with viewer-state based recommendations and methods for use therewith
TWI571860B (zh) 字體調整系統及方法
US10110647B2 (en) Method and apparatus for altering bandwidth consumption
US20170164446A1 (en) Method and electronic device for adjusting display brightness of screen
US9958935B2 (en) Methods and systems for facilitating remote control by a wearable computer system of an application being executed by a media content processing device
WO2016179883A1 (zh) 终端屏幕显示画面的旋转方法及装置
CN105828165B (zh) 一种获取字幕的方法及终端
US20160071550A1 (en) Video system for embedding excitement data and methods for use therewith
US20150097918A1 (en) Display apparatus and method for preventing divulgence of image information thereof

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 15120156

Country of ref document: US

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

Ref document number: 16867641

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: 16867641

Country of ref document: EP

Kind code of ref document: A1