Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in the present description and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Furthermore, the terms "first," "second," "third," and the like in the description of the present specification and in the appended claims, are used for distinguishing between descriptions and not necessarily for indicating or implying a relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
It should be understood that, the sequence number of each step in this embodiment does not mean the execution sequence, and the execution sequence of each process should be determined by its function and internal logic, and should not limit the implementation process of the embodiment of the present application in any way.
With the development of display technology, users have increasingly demanded display functions, such as a gamma adjustment function, a low blue light function, a signal selection function, and a voice prompt function of a display. With the development of displays, these functions are correspondingly added to the current displays, and the function adjustment modes are the same as those of common functions, and are all adjusted by an OSD mode, which results in more and more adjustment items of rectangular menus popped up by the display, deeper and deeper levels, and for users who do not use the display frequently, the functions of the multifunctional display are adjusted, the operation is more complicated, and the efficiency is low when the user adjusts the multifunctional display step by step in comparison with the specification.
In order to solve the above problems, the present application provides a method for displaying a hint video, by acquiring a video extraction instruction input by a user, analyzing the video extraction instruction, determining a hint video corresponding to each sub-video extraction instruction, where the video extraction instruction includes a plurality of sub-video extraction instructions, each sub-video extraction instruction corresponds to a hint video, and the hint video may be understood as a hint video of an adjustment operation required by the user when performing adjustment of a display function, after determining the hint video corresponding to each sub-video extraction instruction, extracting the corresponding hint video to perform stitching, so as to obtain a complete stitched hint video, and displaying the stitched hint video in the display. The method for displaying the prompt video on the display can assist the user in adjusting the functions of the display.
In order to illustrate the technical scheme of the application, the following description is given by specific examples.
Referring to fig. 1, a flowchart of a method for displaying a hint video according to an embodiment of the present application is shown. As shown in fig. 1, the hint video display method may include the steps of:
Step 101, obtaining a video extraction instruction input by a user.
In the embodiment of the application, the video extraction instruction comprises a plurality of sub-video extraction instructions, each sub-video extraction instruction corresponds to a prompt video, a user can input the video extraction instruction through a keyboard key or a mouse key, for example, the user presses a preset key corresponding to the prompt video, the terminal equipment correspondingly generates a sub-video extraction instruction, and the video extraction instruction generated based on the plurality of sub-video extraction instructions continuously input by the user can be acquired in a preset time period.
In one possible implementation, obtaining a video extraction instruction input by a user includes:
monitoring keys of a keyboard by adopting a keyboard hook, wherein the keyboard is connected with terminal equipment;
After at least one preset key is monitored to be pressed, controlling a display to display a help interface corresponding to the preset key, wherein the help interface comprises a plurality of function adjustment marks;
and acquiring a video extraction instruction input by a user based on the target identifier.
In the embodiment of the application, the keyboard hook is used for monitoring the keyboard keys, judging whether the preset keys in the keyboard keys are pressed or not, and after at least one preset key is monitored to be pressed, for example, after F10 key is monitored to be pressed, the display is used for displaying the help interface corresponding to the preset keys according to the corresponding relation between the preset keys and the help interface. The target identity is an identity of a function adjustment selected by the user at the help interface.
In an exemplary embodiment, assuming that the F10 key is detected to be pressed, the help interface displayed on the display screen is a help interface for adjusting functions, for example, the help interface for adjusting functions shown in fig. 2, where brightness adjustment help, contrast adjustment help, volume adjustment help, color saturation adjustment help, and the like are all identifiers for adjusting functions, at this time, if the user clicks any one of the identifiers, the terminal device may obtain a video extraction instruction input by the user based on the target identifier, and if the user continuously clicks two identifiers, namely, the brightness adjustment help identifier and the color temperature adjustment help identifier, in a preset period of time, the video extraction instruction obtained by the terminal device will include two sub video extraction instructions.
Step 102, analyzing the video extraction instructions, determining the prompt video corresponding to each sub-video extraction instruction and extracting the corresponding prompt video.
In the embodiment of the application, the corresponding relation between the sub-video extraction instruction and the prompt video is stored in the terminal equipment, so that after the video extraction instruction is analyzed to obtain each sub-video extraction instruction, the prompt video corresponding to each sub-video extraction instruction can be determined, and each prompt video can be extracted according to the corresponding relation.
In one possible implementation manner, analyzing the video extraction instruction, determining a prompt video corresponding to each sub-video extraction instruction, and extracting the corresponding prompt video, including:
Analyzing the video extraction instructions to obtain video extraction identifiers included in each sub-video extraction instruction;
and extracting prompt videos corresponding to each video extraction identifier from the video packet based on each video extraction identifier.
In the embodiment of the application, the sub-video extraction instruction comprises a video extraction identifier, and the identifier can refer to the name of the corresponding prompt video, such as brightness adjustment help, low blue help and the like. After the video extraction instructions are analyzed to obtain a plurality of sub-video extraction instructions, video extraction identifiers included in the sub-videos can be correspondingly obtained, according to the video extraction identifiers, prompt videos corresponding to the video extraction identifiers can be extracted from video packets of the terminal equipment, for example, the video extraction identifiers are brightness adjustment aids, and then the prompt videos named the brightness adjustment aids can be extracted from the video packets of the terminal equipment.
When the prompt video is extracted according to the plurality of sub-video extraction instructions, the corresponding prompt video can be extracted in sequence according to the time of the acquired sub-video extraction instructions.
For example, the user clicks the brightness adjustment help, the color temperature adjustment help and the gamma adjustment help in the function adjustment help interface, and the terminal device may sequentially extract the prompt videos corresponding to the brightness adjustment help, the color temperature adjustment help and the gamma adjustment help according to the acquisition time of the three video extraction identifiers.
And 103, splicing the extracted prompt videos to obtain spliced prompt videos, and displaying the spliced prompt videos in a display.
In the embodiment of the application, since the terminal equipment extracts the plurality of prompt videos according to the plurality of sub-video extraction instructions, if the plurality of prompt videos are sequentially played to the user, the method is complicated and the user experience is poor. Therefore, the method and the device splice the extracted plurality of prompt videos to obtain a spliced prompt video, wherein the spliced prompt video is one video, and no segmentation exists.
After the spliced prompt video is obtained, the spliced prompt video can be displayed in a display, and a user can take the spliced prompt video as a reference to adjust the functions of the display.
In one possible implementation manner, the extracted prompting videos are spliced to obtain spliced prompting videos, which includes:
And splicing the extracted prompt videos corresponding to each sub-video extraction instruction according to the time sequence of the plurality of sub-video extraction instructions input by the user to obtain spliced prompt videos.
In the embodiment of the application, the extracted prompt videos can be spliced according to the time sequence of a plurality of sub-video extraction instructions input by a user.
It should be understood that the splicing mode is an optimal splicing mode, and the corresponding spliced video can be obtained through free splicing, which is not limited by the application.
Summarizing, in one possible implementation, the hint video display method further includes:
generating a first reminding instruction according to the display time of the display and a first using time threshold;
Generating a second reminding instruction according to the audio use time of the display and a second use time threshold;
After the first reminding instruction or the second reminding instruction is acquired, the reminding instruction is analyzed, a corresponding health reminding video is acquired, and the corresponding health reminding video is displayed on a display to remind a user of using the display healthily.
In the embodiment of the application, the health reminding video comprises an eye health reminding video and an ear health reminding video, wherein a corresponding relation exists between the first reminding instruction and the eye health reminding video, and a corresponding relation exists between the second reminding health instruction and the ear health reminding video.
When the display time of the display is longer than a first use time threshold, the terminal equipment generates a first reminding instruction, analyzes the first reminding instruction, extracts an eye health reminding video from the terminal equipment through the corresponding relation between the first reminding instruction and the eye health reminding video, and displays the eye health reminding video on the display for reminding a user of paying attention to eye health.
When the audio service time of the display is longer than a second service time threshold, the terminal equipment generates a second reminding instruction, analyzes the second reminding instruction, extracts the ear health reminding video from the terminal equipment through the corresponding relation between the second reminding instruction and the ear health reminding video, and displays the ear health reminding video on the display, so that a user is reminded of paying attention to the health of the ear, and the influence on the hearing under the environment with high volume for a long time is avoided.
It should be appreciated that the first and second usage time thresholds may be set autonomously by the user, as the application is not limited in this regard.
In the embodiment of the application, firstly, a video extraction instruction input by a user can be acquired, the video extraction instruction comprises a plurality of sub-video extraction instructions, each sub-video extraction instruction corresponds to a prompt video, wherein the prompt video can be understood as an adjustment operation prompt video required by the user when the display function is adjusted, after the video extraction instruction is acquired, the video extraction instruction is analyzed, the prompt video corresponding to each sub-video extraction instruction is determined, the corresponding prompt video is extracted, and because the video extraction instruction corresponds to a plurality of prompt videos, the extracted prompt videos are required to be spliced to obtain a complete spliced prompt video, and the spliced prompt video is displayed in a display. The method for displaying the prompt video on the display can assist the user in adjusting the functions of the display.
Referring to fig. 3, a flow chart of a method for displaying a hint video according to a second embodiment of the present application is shown. As shown in fig. 3, the hint video display method may include the steps of:
Step 301, according to the audio voice packet selected by the user, acquiring a video extraction instruction input by the user based on the audio voice packet and the target identifier.
In the embodiment of the application, the user can select the audio voice package based on the language selection help interface displayed by the display, and if the user selects the audio language package corresponding to one language, the video extraction instruction comprises the audio voice package corresponding to the prompt video and a plurality of sub-video extraction instructions.
The audio voice packet is a voice packet corresponding to one language, and after the user selects, the terminal device can acquire the voice packet selected by the user from the voice packet downloading platform.
Illustratively, the language selection help interface is shown in FIG. 4, which includes languages of various countries, it being understood that the languages shown in FIG. 4 are by way of example only and not by way of limitation.
Step 302, parsing the video extraction instruction to obtain an audio voice packet and a plurality of sub-video extraction instructions selected by the user.
In the embodiment of the present application, each sub-video extraction instruction corresponds to a target identifier, each target identifier corresponds to a prompt video, and the target identifier may be understood as an identifier corresponding to an adjustment function selected by a user based on the adjustment function help interface, for example, brightness adjustment help of the adjustment function help interface.
Step 303, extracting the prompt video corresponding to the target identifier from the video packet based on the corresponding target identifier.
In the embodiment of the application, the corresponding relation between the target identifier and the prompt video is stored in the terminal equipment, and the identifier can refer to the name of the corresponding prompt video, such as brightness adjustment help, low blue light help and the like. According to the corresponding relation between the target mark and the prompt video, the prompt video corresponding to the target mark can be extracted from the video package of the terminal equipment, for example, the target mark is brightness adjustment help, and then the prompt video named brightness adjustment help can be extracted from the video package of the terminal equipment.
Step 304, based on the audio voice packet selected by the user, updating the extracted audio data of the prompt video to the audio data corresponding to the audio voice packet.
In the embodiment of the application, because the voice packets corresponding to the audio in the prompting video stored in the terminal equipment are all default voice packets, according to the difference of the voice packets selected by each user, the audio data of the extracted video needs to be updated, for example, when the prompting video describes the help of brightness adjustment, the prompting video is described by the default voice packets (for example, voice packets corresponding to Chinese Mandarin), namely, the brightness of the display screen is measured by Chinese Mandarin description, the brightness is increased when the "+" key display of the small keyboard is pressed, and the brightness is reduced when the "-" key display of the small keyboard is pressed. When the user selects the Sichuan voice packet, the original audio data needs to be updated to be the brightness of the Sichuan version, the luminous intensity of the screen of the display is measured, the brightness is increased when the "+" key display of the small keyboard is pressed, and the brightness is reduced when the "-" key display of the small keyboard is pressed.
Step 305, determining the prompt video after updating the audio data as the prompt video corresponding to the sub-video extraction instruction, and extracting the prompt video after updating the audio data.
In the embodiment of the application, the prompt video after updating the audio data can be determined to be the prompt video corresponding to the sub-video extraction instruction, and then the prompt video after updating is spliced based on the prompt video after updating.
And 306, splicing the extracted prompt videos to obtain spliced prompt videos, and displaying the spliced prompt videos in a display.
In the embodiment of the application, the spliced prompt video can be displayed in a display, and the spliced video can help a user to perform function adjustment.
The step 306 of this embodiment is the same as the step 103 of the previous embodiment, and can be referred to each other, and the description of this embodiment is omitted here.
Compared with the first embodiment, the embodiment of the application increases the voice packet corresponding to the language selected by the user, updates the audio data in the spliced prompt video based on the selected voice packet, supports global multilingual, and can more conveniently perform the function adjustment of the display based on the language selected by the user.
Referring to fig. 5, a schematic structural diagram of a prompt video display device according to a third embodiment of the present application is shown, and for convenience of explanation, only a portion related to the embodiment of the present application is shown.
The prompting video display device specifically comprises the following modules:
the instruction obtaining module 501 is configured to obtain a video extraction instruction input by a user, where the video extraction instruction includes a plurality of sub-video extraction instructions, and each sub-video extraction instruction corresponds to a prompt video;
the instruction parsing module 502 is configured to parse the video extraction instructions, determine a hint video corresponding to each sub-video extraction instruction, and extract a corresponding hint video;
the video display module 503 is configured to splice the extracted prompt videos to obtain spliced prompt videos, and display the spliced prompt videos in a display to assist a user in adjusting functions of the display.
In the embodiment of the present application, the instruction parsing module 502 may specifically include the following sub-modules:
The identification extraction sub-module is used for analyzing the video extraction instructions to obtain video extraction identifications included in each sub-video extraction instruction;
And the first video extraction sub-module is used for extracting prompt videos corresponding to each video extraction identifier from the video packet based on each video extraction identifier.
In an embodiment of the present application, the instruction acquisition module 501 may specifically include the following sub-modules:
The monitoring sub-module is used for monitoring keys of a keyboard by adopting a keyboard hook, and the keyboard is connected with the terminal equipment;
the control sub-module is used for controlling the display to display a help interface corresponding to the preset key after at least one preset key is monitored to be pressed, and the help interface comprises a plurality of function adjustment marks;
the first instruction acquisition sub-module is used for acquiring a video extraction instruction input by a user based on a target identifier, wherein the target identifier is an identifier of function adjustment selected by the user on the help interface.
In the embodiment of the application, the video extraction instruction further comprises an audio voice packet corresponding to the prompt video, and the instruction acquisition module specifically further comprises the following sub-modules:
the second instruction acquisition sub-module is used for acquiring a video extraction instruction input by a user based on the audio voice packet and target identifiers according to the audio voice packet selected by the user, wherein the audio voice packet is a voice packet corresponding to a language, and each target identifier corresponds to a prompt video.
In the embodiment of the present application, in the case where the video extraction instruction further includes an audio voice packet corresponding to the prompt video, the instruction parsing module 502 may specifically further include a sub-module,
The analysis sub-module is used for analyzing the video extraction instruction to obtain an audio voice packet selected by a user and a plurality of sub-video extraction instructions, wherein each sub-video extraction instruction comprises a corresponding target identifier;
the second video extraction sub-module is used for extracting the prompt video corresponding to the target identifier from the video packet based on the corresponding target identifier;
the audio updating sub-module is used for updating the extracted audio data of the prompt video into the audio data corresponding to the audio voice packet based on the audio voice packet selected by the user;
the video updating sub-module is used for determining the prompt video after updating the audio data as the prompt video corresponding to the sub-video extraction instruction and extracting the prompt video after updating the audio data.
In the embodiment of the present application, the video display module 503 may specifically include the following sub-modules:
and the splicing sub-module is used for splicing the prompting videos corresponding to each extracted sub-video extraction instruction according to the time sequence of the plurality of sub-video extraction instructions input by the user, so as to obtain spliced prompting videos.
In the embodiment of the present application, the prompting video display device may further include the following modules:
The first reminding instruction generation module is used for generating a first reminding instruction according to the display time of the display and a first use time threshold;
the second reminding instruction production module is used for generating a second reminding instruction according to the audio use time of the display and a second use time threshold;
the reminding video acquisition module is used for analyzing the reminding instruction after the first reminding instruction or the second reminding instruction is acquired, acquiring a corresponding health reminding video and displaying the corresponding health reminding video on the display to remind a user of using the display healthily.
The prompt video display device provided by the embodiment of the application can be applied to the foregoing method embodiment, and details of the description of the foregoing method embodiment are referred to and are not repeated herein.
Fig. 6 is a schematic structural diagram of a terminal device according to a fourth embodiment of the present application. As shown in fig. 6, the terminal device 600 of this embodiment includes at least one processor 610 (only one is shown in fig. 6), a memory 620, and a computer program 621 stored in the memory 620 and executable on the at least one processor 610, the steps in the above-described hint video display method embodiment being implemented when the processor 610 executes the computer program 621.
The terminal device 600 may be a desktop computer, a notebook, a palm computer, or the like. The terminal device may include, but is not limited to, a processor 610, a memory 620. It will be appreciated by those skilled in the art that fig. 6 is merely an example of a terminal device 600 and is not limiting of the terminal device 600, and may include more or fewer components than shown, or may combine certain components, or different components, such as may also include input-output devices, network access devices, etc.
The Processor 610 may be a central processing unit (Central Processing Unit, CPU), the Processor 610 may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL processors, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 620 may in some embodiments be an internal storage unit of the terminal device 600, such as a hard disk or a memory of the terminal device 600. The memory 620 may also be an external storage device of the terminal device 600 in other embodiments, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the terminal device 600. Further, the memory 620 may also include both an internal storage unit and an external storage device of the terminal device 600. The memory 620 is used to store an operating system, application programs, boot loader (BootLoader), data, and other programs, such as program code of the computer program. The memory 620 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
The present application may also be implemented by a computer program product for implementing all or part of the steps of the above embodiments of the method, when the computer program product is run on a terminal device, for enabling the terminal device to execute the steps of the above embodiments of the method.
The above embodiments are only for illustrating the technical solution of the present application, and are not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications and substitutions can be made to the technical solutions described in the foregoing embodiments or equivalent substitutions can be made to some technical features thereof, and these modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.