CN109922366B - Equipment parameter adjusting method, device, equipment and medium - Google Patents

Equipment parameter adjusting method, device, equipment and medium Download PDF

Info

Publication number
CN109922366B
CN109922366B CN201910244012.1A CN201910244012A CN109922366B CN 109922366 B CN109922366 B CN 109922366B CN 201910244012 A CN201910244012 A CN 201910244012A CN 109922366 B CN109922366 B CN 109922366B
Authority
CN
China
Prior art keywords
resolution
video
actual
output resolution
initial output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910244012.1A
Other languages
Chinese (zh)
Other versions
CN109922366A (en
Inventor
吴不
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING SKYWORTH HIGHTONG DIGITAL TECHNOLOGY Co.,Ltd.
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
BEIJING SKYWORTH HIGHTONG DIGITAL TECHNOLOGY CO LTD
Shenzhen Skyworth Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING SKYWORTH HIGHTONG DIGITAL TECHNOLOGY CO LTD, Shenzhen Skyworth Digital Technology Co Ltd filed Critical BEIJING SKYWORTH HIGHTONG DIGITAL TECHNOLOGY CO LTD
Priority to CN201910244012.1A priority Critical patent/CN109922366B/en
Publication of CN109922366A publication Critical patent/CN109922366A/en
Application granted granted Critical
Publication of CN109922366B publication Critical patent/CN109922366B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for adjusting equipment parameters, wherein the method comprises the following steps: acquiring the actual resolution of a currently played video; acquiring the initial output resolution of video playing equipment, and matching the actual resolution with the initial output resolution when the initial output resolution is not less than a preset resolution threshold; and if the actual resolution is smaller than the initial output resolution, adjusting the initial output resolution to be the target output resolution to start a preset additional function of the video playing device, wherein the value of the target output resolution is not larger than the value of the actual resolution. According to the method provided by the embodiment of the invention, the value of the output resolution of the video playing equipment is adjusted when the user sets the high-definition output resolution and the currently played video is the non-high-definition video, so that the additional function can be used when the user sets the high-output resolution but the video resource is the non-high-resolution resource, and the user experience is further improved.

Description

Equipment parameter adjusting method, device, equipment and medium
Technical Field
The embodiment of the invention relates to the technical field of playing equipment, in particular to a method, a device, equipment and a medium for adjusting equipment parameters.
Background
With the development of digital televisions, higher resolution video programs have come along, and programs of 4K resolution (i.e., pixel resolution of 3840 × 2160 or 4096 × 2160), or even 8K resolution (i.e., pixel resolution of 7680 × 4320) have appeared. To better present the display effect of 4K and above resolution video, the user is required to set the video output of the television to the corresponding resolution. However, since the resource occupation of the system is also multiplied by the resolution of 4K or more, other additional functions occupying live broadcast resources, such as program predictive playing and picture-in-picture, cannot be used normally. In the prior art, in order to ensure that most system resources are used for decoding and outputting and displaying videos with resolutions of 4K and above, after a user sets a corresponding high resolution, additional functions occupying live broadcast resources are shielded, and only after the user recovers a low resolution, the use of the additional functions can be recovered.
In fact, the current 4K and above resolution resources are few, and most video resources are still videos with resolutions other than 4K and above, so most of the use scenes of users are still used and viewed on low resolution. Therefore, when the user sets the high output resolution, there are often situations where a low resolution video is played and the additional function cannot be used, resulting in poor user experience.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a medium for adjusting equipment parameters, so that when a user sets a high output resolution but a video resource is a non-high resolution resource, an additional function can be used, and further the user experience is improved.
In a first aspect, an embodiment of the present invention provides an apparatus parameter adjustment method, including:
acquiring the actual resolution of a currently played video;
acquiring an initial output resolution of video playing equipment, and matching the actual resolution with the initial output resolution when the initial output resolution is not less than a preset resolution threshold;
and if the actual resolution is smaller than the initial output resolution, adjusting the initial output resolution to a target output resolution to start a preset additional function of the video playing device, wherein the value of the target output resolution is not greater than the value of the actual resolution.
In a second aspect, an embodiment of the present invention further provides an apparatus for adjusting device parameters, including:
the actual resolution acquisition module is used for acquiring the actual resolution of the currently played video;
the resolution matching module is used for acquiring the initial output resolution of the video playing equipment and matching the actual resolution with the initial output resolution when the initial output resolution is not less than a preset resolution threshold;
and the resolution adjusting module is configured to adjust the initial output resolution to a target output resolution if the actual resolution is smaller than the initial output resolution, so as to start a preset playing function of the video playing device, where a value of the target output resolution is equal to a value of the actual resolution.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the device parameter adjustment method provided by any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the device parameter adjustment method according to any embodiment of the present invention.
The embodiment of the invention obtains the actual resolution of the currently played video; acquiring an initial output resolution of video playing equipment, and matching the actual resolution with the initial output resolution when the initial output resolution is not less than a preset resolution threshold; if the actual resolution is smaller than the initial output resolution, the initial output resolution is adjusted to a target output resolution to start a preset additional function of the video playing device, wherein the value of the target output resolution is not greater than the value of the actual resolution, so that the additional function can be used when a user sets a high output resolution but the video resource is a non-high resolution resource, and further user experience is improved.
Drawings
Fig. 1 is a flowchart of an apparatus parameter adjustment method according to an embodiment of the present invention;
fig. 2a is a flowchart of an apparatus parameter adjustment method according to a second embodiment of the present invention;
fig. 2b is a schematic structural diagram of an output resolution adaptive system based on a digital television according to a second embodiment of the present invention;
fig. 2c is a flowchart of another method for adjusting device parameters according to the second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus parameter adjustment device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus provided in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an apparatus parameter adjustment method according to an embodiment of the present invention. The present embodiment is applicable to the case when the parameters of the video output apparatus are adjusted, particularly to the case when the user sets the output resolution of the apparatus to be high resolution. The method may be performed by a device parameter adjusting apparatus, which may be implemented in software and/or hardware, for example, the device parameter adjusting apparatus may be configured in a device (e.g., a video playing device). As shown in fig. 1, the method specifically includes:
and S110, acquiring the actual resolution of the currently played video.
In this embodiment, in order to solve the technical problem in the prior art that other additional functions occupying live broadcast resources are unavailable after a user sets a high output resolution, by starting the resolution adaptive system, when it is detected that the video resolution is a non-set high output resolution, the output resolution is automatically switched to the current video resolution, so that the effect that in the use process of the user, if the watched current video is a low resolution video, other additional functions occupying live broadcast resources can still be used is achieved.
Optionally, when a video playing instruction or a video switching instruction is monitored, the actual resolution of the currently played video is obtained. In this embodiment, the monitoring of the video playing instruction or the video switching instruction may be performed through monitoring the preset interface.
In this embodiment, the actual resolution of the currently played video may be obtained through the playing parameters of the currently played video, or the actual resolution of the currently played video may be determined through the playing picture of the currently played video.
In an embodiment of the present invention, the obtaining an actual resolution of a currently playing video includes:
the method comprises the steps of obtaining a single-frame playing event of a currently played video through a preset notification interface, and determining the actual resolution of the currently played video according to the single-frame playing event.
Optionally, a single-frame playing event of the currently played video may be intercepted through a preset notification interface, and the actual resolution of the currently played video is determined according to a single-frame picture parameter included in the single-frame playing time. It can be understood that, when a video playing instruction or a video switching instruction is detected, at least one single-frame playing event of a currently playing video may be intercepted through the preset notification interface, and for each single-frame playing event, a single-frame picture parameter of the currently playing single-frame playing event is determined. Optionally, the first frame event of the currently played video may be intercepted through a preset notification interface.
In an embodiment of the present invention, the determining the actual resolution of the currently played video according to the single frame playing event includes:
analyzing the single-frame playing event to obtain the horizontal resolution and the vertical resolution of a single-frame picture corresponding to the single-frame playing event in the horizontal direction and the vertical resolution in the vertical direction, and determining the actual resolution according to the horizontal resolution and the vertical resolution.
In this embodiment, for each captured single frame playing event, the single frame event is analyzed to obtain the resolutions of the single frame image corresponding to the single frame event in the horizontal direction and the vertical direction, and finally the resolution of the captured single frame image is determined, and the determined resolution is used as the actual resolution of the currently played video.
Illustratively, if the horizontal resolution of the acquired single frame picture is 1024 and the vertical resolution is 768 in the intercepted single frame playing event, the resolution of the single frame picture is 1024 × 768, and the actual resolution of the currently played video is further determined to be 1024 × 768.
S120, obtaining an initial output resolution of the video playing device, and matching the actual resolution with the initial output resolution when the initial output resolution is not less than a preset resolution threshold.
In this embodiment, the initial output resolution of the video playing device may be an output resolution set by a user, and when the output resolution is not set by the user, the initial output resolution of the video playing device is an output resolution that is set by default when the video playing device leaves a factory.
Optionally, after the actual resolution of the currently played video is obtained, the initial output resolution of the video playing device is obtained, whether the initial output resolution is high resolution is determined, when the initial output resolution is not less than a preset resolution threshold, the initial output resolution is determined to be high resolution, and the output resolution adaptive function is started. In one embodiment of the present invention, the preset resolution threshold is 3840 × 2160 and/or 4096 × 2160. Currently, there are few video resources with a resolution of 4K and above, and therefore, the preset resolution threshold may be set to 4K resolution (3840 × 2160 or 4096 × 2160), but as the technology advances, the preset resolution threshold may be set to higher resolution.
In an embodiment of the present invention, the obtaining an initial output resolution of a video playback device includes: and acquiring the initial output resolution of the video playing equipment by calling a resolution acquisition interface. Optionally, the initial output resolution of the video playing device may be obtained by calling a preset resolution obtaining interface.
In this embodiment, the steps of acquiring the actual resolution of the currently played video and determining whether the output resolution of the video playing device is the high resolution are not limited. That is, the operation of obtaining the actual resolution of the currently played video in S110 may be performed first, and then the operation of determining whether the output resolution of the video playing device is high resolution in S120 may be performed; it is also possible to first perform the operation of determining whether the output resolution of the video playback device is high resolution in S120, and then perform the operation of acquiring the actual resolution of the currently played video in S110.
And when the initial output resolution of the video playing device is not less than the preset resolution threshold, matching the actual resolution with the initial output resolution to determine whether the actual resolution of the currently played video is the same as the initial output resolution of the video playing device. Illustratively, when the initial output resolution of the video playback device is 4096 × 2160 and the preset resolution threshold is 4096 × 2160, indicating that the high output resolution is set by the user, the actual resolution is matched with the initial output resolution to determine whether the currently played video is a high output resolution video.
And S130, if the actual resolution is smaller than the initial output resolution, adjusting the initial output resolution to a target output resolution to start a preset additional function of the video playing device.
In this embodiment, when the actual resolution is smaller than the initial output resolution, it indicates that the currently played video is not the high-output resolution video, that is, the resource occupation of the video resource of the currently played video to the video playing device does not affect other additional functions occupying the live broadcast resource, and the initial output resolution of the video playing device may be adjusted, so that the preset additional function of the video playing device can be normally used. In this embodiment, the initial output resolution of the video playing device may be adjusted to a target output resolution to start a preset additional function of the video playing device, where a value of the target output resolution is not greater than a value of the actual resolution.
Preferably, the value of the target output resolution is equal to the value of the actual resolution. The initial output resolution of the video playing device is adjusted to the target output resolution equal to the actual resolution, so that the use of other preset additional functions of the video playing device can be realized under the condition of ensuring that the video playing definition is not influenced. Optionally, the preset additional function includes at least one of a program predictive playing function and a picture-in-picture function.
When the actual resolution is not less than the initial output resolution, the currently played video is represented as a high-output resolution video, the resource occupation of the video resources of the currently played video on the video playing device can affect other additional functions occupying live broadcast resources, and the initial output resolution of the video playing device is not adjusted.
In this embodiment, the switching when the output resolution of the current video playing device is switched to the actual resolution of the currently played video is the switching under the resolution self-adaptation condition, and the judgment result of the next television resolution self-adaptation judgment module will not be affected. If the user sets the television resolution to be 4K, after the user performs channel switching operation, the video resolution is found to be 1080P50HZ, namely, the television resolution setting module is triggered to be set to be 1080P50 HZ; but when the user switches channels next time, as long as the user does not actively set the television resolution, the television resolution obtained by the television resolution learning module is still 4K.
The embodiment of the invention obtains the actual resolution of the currently played video; acquiring an initial output resolution of video playing equipment, and matching the actual resolution with the initial output resolution when the initial output resolution is not less than a preset resolution threshold; if the actual resolution is smaller than the initial output resolution, the initial output resolution is adjusted to a target output resolution to start a preset additional function of the video playing device, wherein the value of the target output resolution is not greater than the value of the actual resolution, so that the additional function can be used when a user sets a high output resolution but the video resource is a non-high resolution resource, and further user experience is improved.
On the basis of the above scheme, after the initial output resolution is adjusted to the target output resolution, the method further includes: restoring the target output resolution to the initial output resolution upon detection of a video switching event.
In this embodiment, after the output resolution adaptive function of the video playing device is started, when a video switching event is detected, the target output resolution of the video playing device is restored to the initial output resolution, so that the situation that the playing effect of other played videos is changed by the video playing device due to the adjustment of the output resolution of the currently played video is further avoided. For example, when the initial output resolution of the video playing device is 3840 × 2160 and the actual resolution of the currently played video is 1920 × 1080, the output resolution of the video playing device is adjusted to 1920 × 1080 in order to turn on other additional functions of the video playing device, and when the user needs to watch other video resources and perform video switching, the output resolution of the video playing device needs to be adjusted back to 3840 × 2160, so that the video playing device can play at the resolution of 3840 × 2160 when the resolution of other video resources is 3840 × 2160.
Example two
Fig. 2a is a flowchart of an apparatus parameter adjustment method according to a second embodiment of the present invention. The present embodiment provides a preferred embodiment based on the above-described embodiments. Optionally, the device parameter adjustment method provided in this embodiment may be executed by an output resolution adaptive system based on a digital television. Fig. 2b is a schematic structural diagram of an output resolution adaptive system based on a digital television according to a second embodiment of the present invention, and as shown in fig. 2b, the output resolution adaptive system based on a digital television includes a video first frame capturing module 210, a video resolution learning module 220, a television resolution learning module 230, a television resolution adaptive determination module 240, a resolution similarity and similarity determination module 250, and a television resolution setting module 260.
The first video frame capturing module 210 is configured to monitor a channel switching operation of a user, and when a video starts to be played, send a first video frame sent to a video decoder in an event form, where the first video frame carries information such as a width, a height, a frame rate, and the like of the video. The video resolution obtaining module 220 is configured to analyze information, such as width, height, frame rate, and the like, of a video carried by the video first frame event sent by the video first frame capturing module, so as to obtain a current resolution of the video. A tv resolution obtaining module 230, configured to obtain a current tv resolution set by the user, and if the current tv resolution is not set by the user, obtain a tv resolution that is set by default when the system leaves the factory. A television resolution self-adaptive judging module 240, configured to judge whether the resolution is 4K or higher according to the television resolution obtained by the television resolution obtaining module, and if not, terminate the judgment; and if so, sending the result to the resolution difference and identity judgment module. And a resolution difference and identity determining module 250, configured to determine whether the actual resolution of the current video is the same as the resolution set by the current television. If yes, stopping judging and not operating; and if not, sending the result to the television resolution setting module. The television resolution setting module 260 is configured to switch the resolution of the current television to the actual resolution of the current video, but the switching is performed under the resolution adaptive condition, and the determination result of the next television resolution adaptive determination module is not affected. If the user sets the television resolution to be 4K, after the user performs channel switching operation, the video resolution is found to be 1080P50HZ, namely, the television resolution setting module is triggered to be set to be 1080P50 HZ; but when the user switches channels next time, as long as the user does not actively set the television resolution, the television resolution obtained by the television resolution learning module is still 4K.
As shown in fig. 2a, the method comprises:
s210, capturing a first frame event of the current video.
In general, the first frame event may be known from a notification interface provided by a host chip Software Development Kit (SDK).
And S220, obtaining the actual resolution of the current video according to the information of the width, the height, the frame rate and the like of the video contained in the first frame event.
And obtaining information such as the width, the height, the frame rate and the like of the video according to the data packet returned by the first frame event, and obtaining the actual resolution of the current video according to the information.
And S230, judging whether the television resolution is set to be 4K or more by the user.
Judging whether the resolution of the television set by the user is set to be 4K or more by acquiring the output resolution set by the current television, and if so, jumping to S240; if not, the process goes to step S260 to wait for the next video switching operation and restart.
And S240, judging whether the actual resolution of the current video is the same as the resolution set by the current television or not.
Judging whether the actual resolution of the current video is the same as the resolution set by the current television or not, if so, indicating that the current video is a high-resolution video, skipping to S260, waiting for the next video switching operation, and restarting; if not, the current video is not the high-resolution video, and the process jumps to S250.
And S250, switching the resolution of the current television to the actual resolution of the current video.
And if the resolution of the current television is different from the actual resolution of the current video, switching the resolution of the current television to the actual resolution of the current video, which is equivalent to setting the television resolution as the actual resolution of the current video by the automatic help user. If the current video resolution is 1080P50HZ and the resolution of the tv setting is 4K, the resolution of the tv is switched to 1080P50HZ, at which resolution the user can resume using other additional functions occupying the live resources, such as program predictive playing, picture-in-picture. And proceeds to S260 to wait for the next video operation to be switched.
And S260, waiting for the next video switching operation.
Waiting for the next video switching operation, and when the video switching operation is detected, re-executing step S210.
Fig. 2c is a flowchart of another method for adjusting device parameters according to the second embodiment of the present invention. As shown in fig. 2c, the method comprises:
s301, the user performs channel switching operation.
S302, obtaining the actual resolution of the current video to be 1080P50HZ according to the information such as width, height, frame rate and the like provided by the first frame event of the current video.
And after the video is played, determining the actual resolution of the current video according to the high-width information of the video provided by the first frame event of the current video. If the video bandwidth provided by the first frame event is 1920, the height is 1080 and the frequency is 50HZ, the actual resolution of the current video is 1080P50 HZ.
And S303, judging that the resolution of the television set by the user is 4K according to the resolution setting value in the system setting.
The resolution setting value in the system setting is obtained by calling the interface, and if the resolution setting value in the system setting is 4096 × 2160, it is determined that the user has set the television resolution to 4K.
And S304, switching the resolution of the current television to 1080P50 HZ.
And the actual resolution is less than the television resolution set by the user, the current television resolution is switched to the actual resolution 108050 HZ.
S305, the user may use the additional function of occupying the live resources.
After switching the current tv resolution to 1080P50HZ, the user can use additional functions, such as program predictive playing, picture-in-picture, etc.
And S306, the user performs the channel switching operation again.
And after the user watches the current video for a period of time, switching the channel again.
And S307, obtaining the actual resolution of the current video to be 4K according to the information such as the width, the height, the frame rate and the like provided by the first frame event of the current video.
And determining the actual resolution of the switched current video to be 4K according to the first frame event of the switched video.
And S308, judging that the television resolution set by the user is still 4K according to the resolution setting value in the system setting.
And determining that the resolution of the television set by the user is still 4K according to the resolution setting value in the system setting.
S309, switching the resolution of the current television back to 4K.
The resolution of the television is switched back to 4K when the actual resolution of the video is 4K and the television resolution set by the user is also 4K.
S310, the user cannot use the additional function occupying the live resources at this time.
When the resolution of the television is 4K, the user cannot use the additional function of occupying the live broadcast resources.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an apparatus parameter adjusting device according to a third embodiment of the present invention. The device parameter adjusting apparatus may be implemented in software and/or hardware, for example, the device parameter adjusting apparatus may be configured in a device, as shown in fig. 3, and the apparatus includes: an actual resolution acquisition module 310, a resolution matching module 320, and a resolution adjustment module 330, wherein:
an actual resolution obtaining module 310, configured to obtain an actual resolution of a currently playing video;
the resolution matching module 320 is configured to obtain an initial output resolution of the video playing device, and match the actual resolution with the initial output resolution when the initial output resolution is not less than a preset resolution threshold;
a resolution adjusting module 330, configured to adjust the initial output resolution to a target output resolution if the actual resolution is smaller than the initial output resolution, so as to start a preset playing function of the video playing device, where a value of the target output resolution is equal to a value of the actual resolution.
The embodiment of the invention obtains the actual resolution of the currently played video through the actual resolution obtaining module; the resolution matching module acquires an initial output resolution of video playing equipment, and matches the actual resolution with the initial output resolution when the initial output resolution is not less than a preset resolution threshold; when the actual resolution is smaller than the initial output resolution, the resolution adjusting module adjusts the initial output resolution to a target output resolution to start a preset additional function of the video playing device, wherein the value of the target output resolution is not larger than the value of the actual resolution, so that the additional function can be used when a user sets a high output resolution but the video resource is a non-high resolution resource, and further user experience is improved.
On the basis of the above scheme, the resolution matching module includes an output resolution obtaining unit configured to:
and acquiring the initial output resolution of the video playing equipment by calling a resolution acquisition interface.
On the basis of the above scheme, the actual resolution obtaining module is specifically configured to:
the method comprises the steps of obtaining a single-frame playing event of a currently played video through a preset notification interface, and determining the actual resolution of the currently played video according to the single-frame playing event.
On the basis of the above scheme, the actual resolution obtaining module is specifically configured to:
analyzing the single-frame playing event to obtain the horizontal resolution and the vertical resolution of the single-frame image in the horizontal direction and the vertical direction corresponding to the single-frame playing event, and determining the actual resolution according to the horizontal resolution and the vertical resolution.
On the basis of the above scheme, the apparatus further includes an output resolution recovery unit configured to:
after adjusting the initial output resolution to a target output resolution, upon detecting a video switching event, restoring the target output resolution to the initial output resolution.
On the basis of the scheme, the preset resolution threshold is 4096 × 2160.
On the basis of the scheme, the preset additional function comprises at least one of a program predictive playing function and a picture-in-picture function.
The device parameter adjusting device provided by the embodiment of the invention can execute the device parameter adjusting method provided by any embodiment, and has corresponding functional modules and beneficial effects of the executing method.
Example four
Fig. 4 is a schematic structural diagram of an apparatus provided in the fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary device 412 suitable for use in implementing embodiments of the present invention. The device 412 shown in fig. 4 is only an example and should not impose any limitation on the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 4, device 412 is in the form of a general purpose computing device. The components of device 412 may include, but are not limited to: one or more processors 416, a system memory 428, and a bus 418 that couples the various system components (including the system memory 428 and the processors 416).
Bus 418 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and processor 416, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 412 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by device 412 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 428 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)430 and/or cache memory 432. The device 412 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage 434 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 418 by one or more data media interfaces. Memory 428 can include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 440 having a set (at least one) of program modules 442 may be stored, for instance, in memory 428, such program modules 442 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 442 generally perform the functions and/or methodologies of the described embodiments of the invention.
The device 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing device, display 424, etc.), with one or more devices that enable a user to interact with the device 412, and/or with any devices (e.g., network card, modem, etc.) that enable the device 412 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 422. Also, the device 412 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) through the network adapter 420. As shown, network adapter 420 communicates with the other modules of device 412 over bus 418. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the device 412, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 416 executes various functional applications and data processing by executing programs stored in the system memory 428, for example, implementing a device parameter adjustment method provided by the embodiment of the present invention, the method includes:
acquiring the actual resolution of a currently played video;
acquiring an initial output resolution of video playing equipment, and matching the actual resolution with the initial output resolution when the initial output resolution is not less than a preset resolution threshold;
and if the actual resolution is smaller than the initial output resolution, adjusting the initial output resolution to a target output resolution to start a preset additional function of the video playing device, wherein the value of the target output resolution is not greater than the value of the actual resolution.
Of course, those skilled in the art can understand that the processor may also implement the technical solution of the device parameter adjustment method provided in any embodiment of the present invention.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for adjusting device parameters, where the method includes:
acquiring the actual resolution of a currently played video;
acquiring an initial output resolution of video playing equipment, and matching the actual resolution with the initial output resolution when the initial output resolution is not less than a preset resolution threshold;
and if the actual resolution is smaller than the initial output resolution, adjusting the initial output resolution to a target output resolution to start a preset additional function of the video playing device, wherein the value of the target output resolution is not greater than the value of the actual resolution.
Of course, the computer program stored on the computer-readable storage medium provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the device parameter adjustment method provided by any embodiments of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An apparatus parameter adjustment method, comprising:
acquiring the actual resolution of a currently played video;
acquiring an initial output resolution of video playing equipment, and matching the actual resolution with the initial output resolution when the initial output resolution is not less than a preset resolution threshold;
and if the actual resolution is smaller than the initial output resolution, adjusting the initial output resolution to a target output resolution to start a preset additional function of the video playing device, wherein the value of the target output resolution is not greater than the value of the actual resolution.
2. The method of claim 1, wherein obtaining the initial output resolution of the video playback device comprises:
and acquiring the initial output resolution of the video playing equipment by calling a resolution acquisition interface.
3. The method of claim 1, wherein obtaining the actual resolution of the currently playing video comprises:
the method comprises the steps of obtaining a single-frame playing event of a currently played video through a preset notification interface, and determining the actual resolution of the currently played video according to the single-frame playing event.
4. The method of claim 3, wherein determining the actual resolution of the currently playing video according to the single frame playing event comprises:
analyzing the single-frame playing event to obtain the horizontal resolution and the vertical resolution of a single-frame picture corresponding to the single-frame playing event in the horizontal direction and the vertical resolution in the vertical direction, and determining the actual resolution according to the horizontal resolution and the vertical resolution.
5. The method of claim 1, further comprising, after adjusting the initial output resolution to a target output resolution:
restoring the target output resolution to the initial output resolution upon detection of a video switching event.
6. The method according to any of claims 1-5, wherein the preset resolution threshold is 3840 x 2160 and/or 4096 x 2160.
7. The method according to any one of claims 1-5, wherein the predetermined additional function comprises at least one of a program predictive playing function and a picture-in-picture function.
8. An apparatus parameter adjustment device, comprising:
the actual resolution acquisition module is used for acquiring the actual resolution of the currently played video;
the resolution matching module is used for acquiring the initial output resolution of the video playing equipment and matching the actual resolution with the initial output resolution when the initial output resolution is not less than a preset resolution threshold;
and the resolution adjusting module is configured to adjust the initial output resolution to a target output resolution if the actual resolution is smaller than the initial output resolution, so as to start a preset playing function of the video playing device, where a value of the target output resolution is equal to a value of the actual resolution.
9. A video playback device, characterized in that the device comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the device parameter adjustment method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the device parameter adjustment method according to any one of claims 1 to 7.
CN201910244012.1A 2019-03-28 2019-03-28 Equipment parameter adjusting method, device, equipment and medium Active CN109922366B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910244012.1A CN109922366B (en) 2019-03-28 2019-03-28 Equipment parameter adjusting method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910244012.1A CN109922366B (en) 2019-03-28 2019-03-28 Equipment parameter adjusting method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN109922366A CN109922366A (en) 2019-06-21
CN109922366B true CN109922366B (en) 2021-10-29

Family

ID=66967419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910244012.1A Active CN109922366B (en) 2019-03-28 2019-03-28 Equipment parameter adjusting method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN109922366B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110533801A (en) * 2019-07-12 2019-12-03 平安科技(深圳)有限公司 The access control system means of communication, device, electronic equipment and storage medium
CN112449241A (en) * 2019-08-29 2021-03-05 中兴通讯股份有限公司 Power consumption adjusting method and device and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094369A (en) * 2007-07-18 2007-12-26 四川长虹电器股份有限公司 Method for switching display modes of digital TV set
CN103716575A (en) * 2013-12-11 2014-04-09 乐视致新电子科技(天津)有限公司 Display device and display control method capable of adjusting definition
US9131098B2 (en) * 2012-10-04 2015-09-08 Samsung Electronics Co., Ltd. Content processing apparatus for processing high resolution content and method thereof
CN105100895A (en) * 2014-05-07 2015-11-25 深圳Tcl新技术有限公司 Video and screen resolution matching method and device with no video resolution information
CN105204801A (en) * 2015-08-31 2015-12-30 联想(北京)有限公司 Information processing method and electronic equipment
CN105872766A (en) * 2016-03-31 2016-08-17 乐视控股(北京)有限公司 Display control method and device
CN106231416A (en) * 2016-08-16 2016-12-14 北京小米移动软件有限公司 Method for processing video frequency and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964893B (en) * 2010-06-09 2012-09-05 杭州海康威视数字技术股份有限公司 Method for expanding multichannel decoding and multichannel intelligent video processing functions and device thereof
CN105100865B (en) * 2014-05-12 2018-04-13 深圳Tcl新技术有限公司 The control method and device of multi-channel image processor
KR102608997B1 (en) * 2016-08-01 2023-12-06 삼성전자주식회사 Screen controlling method and electronic device supporting the same
CN107155093B (en) * 2017-06-21 2020-10-23 普联技术有限公司 Video preview method, device and equipment
TWI722221B (en) * 2017-07-27 2021-03-21 優派國際股份有限公司 Method for adjusting output images and multi-picture display system
CN107623940A (en) * 2017-08-11 2018-01-23 京东方科技集团股份有限公司 Transmission method, device and the mobile device of display data
CN108924621B (en) * 2018-07-12 2019-10-29 深圳创维-Rgb电子有限公司 Display methods, device and television set, storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094369A (en) * 2007-07-18 2007-12-26 四川长虹电器股份有限公司 Method for switching display modes of digital TV set
US9131098B2 (en) * 2012-10-04 2015-09-08 Samsung Electronics Co., Ltd. Content processing apparatus for processing high resolution content and method thereof
CN103716575A (en) * 2013-12-11 2014-04-09 乐视致新电子科技(天津)有限公司 Display device and display control method capable of adjusting definition
CN105100895A (en) * 2014-05-07 2015-11-25 深圳Tcl新技术有限公司 Video and screen resolution matching method and device with no video resolution information
CN105204801A (en) * 2015-08-31 2015-12-30 联想(北京)有限公司 Information processing method and electronic equipment
CN105872766A (en) * 2016-03-31 2016-08-17 乐视控股(北京)有限公司 Display control method and device
CN106231416A (en) * 2016-08-16 2016-12-14 北京小米移动软件有限公司 Method for processing video frequency and device

Also Published As

Publication number Publication date
CN109922366A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
US9854232B2 (en) Systems and methods for picture quality monitoring
US7187415B2 (en) System for detecting aspect ratio and method thereof
US11317144B2 (en) Detection of mute and compensation therefor during media replacement event
CN109089131B (en) Screen recording live broadcast method, device, equipment and storage medium based on IOS system
US10560753B2 (en) Method and system for image alteration
US20060161854A1 (en) Method and apparatus for controlling operation of screen saver during reproduction of content
CN109922366B (en) Equipment parameter adjusting method, device, equipment and medium
CN110198475B (en) Video processing method, device, equipment, server and readable storage medium
CN111510755A (en) Audio and video switching method and device, computer equipment and readable storage medium
CN111147911A (en) Video clipping method and device, electronic equipment and storage medium
CN110913260A (en) Display control method, display control device and electronic equipment
CN112188294B (en) Signal source display method and device
US8385431B2 (en) Moving picture data decoding device
CN114710637A (en) Low-delay processing method, device, equipment and medium for WEB terminal monitoring video stream
US9369766B2 (en) Method and system for remote altering static video content in real time
CN109005455B (en) Video data processing method and device
CN114257831A (en) Access management system and method for multi-channel virtual video source
CN111093091A (en) Video processing method, server and system
EP3522525B1 (en) Method and apparatus for processing video playing
CN113709447B (en) Method and device for detecting playing performance of terminal equipment
CN114827675A (en) Video data processing method and device for application program
CN114025170A (en) Video playing method and device, computer equipment and computer readable storage medium
CN108156515B (en) Video playing method, smart television and computer readable storage medium
CN112135197A (en) Subtitle display method and device, storage medium and electronic equipment
US11908340B2 (en) Magnification enhancement of video for visually impaired viewers

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20211009

Address after: 4021, 4th floor, building 18, Laizhen Jiayuan, Haidian District, Beijing 100089

Applicant after: BEIJING SKYWORTH HIGHTONG DIGITAL TECHNOLOGY Co.,Ltd.

Applicant after: SHENZHEN SKYWORTH DIGITAL TECHNOLOGY Co.,Ltd.

Address before: 518057 A14 Floor, Chuangwei Building, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN SKYWORTH DIGITAL TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant