CN111726688A - Method and device for self-adapting screen projection picture in network teaching - Google Patents

Method and device for self-adapting screen projection picture in network teaching Download PDF

Info

Publication number
CN111726688A
CN111726688A CN202010628635.1A CN202010628635A CN111726688A CN 111726688 A CN111726688 A CN 111726688A CN 202010628635 A CN202010628635 A CN 202010628635A CN 111726688 A CN111726688 A CN 111726688A
Authority
CN
China
Prior art keywords
screen
playing
source
video
network teaching
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.)
Pending
Application number
CN202010628635.1A
Other languages
Chinese (zh)
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.)
Shenzhen Eaglesoul Technology Co Ltd
Original Assignee
Shenzhen Eaglesoul 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 Shenzhen Eaglesoul Technology Co Ltd filed Critical Shenzhen Eaglesoul Technology Co Ltd
Priority to CN202010628635.1A priority Critical patent/CN111726688A/en
Publication of CN111726688A publication Critical patent/CN111726688A/en
Priority to PCT/CN2020/138437 priority patent/WO2022001027A1/en
Pending legal-status Critical Current

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/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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B5/00Electrically-operated educational appliances
    • G09B5/02Electrically-operated educational appliances with visual presentation of the material to be studied, e.g. using film strip
    • 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/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA

Abstract

The disclosure relates to a method and a device for self-adapting a screen projection picture in network teaching, electronic equipment and a storage medium. Wherein, the method comprises the following steps: detecting the size of a screen source video projected by the network teaching, comparing the size with the display size of the playing equipment, and generating a first judgment result; if the first preset condition is met, detecting an actual playing area of a video picture of the screen projection source of the network teaching according to a preset detection method, and generating a second judgment result; and if the actual playing area meets the second preset condition, acquiring the size of the actual playing area of the video picture of the screen projection source for the network teaching, and expanding the actual playing area of the video picture of the screen projection source for the network teaching in an equal proportion manner to the display size of the playing equipment so as to adaptively adjust the display size of the playing equipment according to the actual playing area of the video picture of the screen projection source for the network teaching for playing. According to the method and the device, the self-adaptive playing equipment is realized through detection of the screen projection pictures in the network teaching, the problem that the display content is too small when multiple pictures are applied is solved, and the user experience is improved.

Description

Method and device for self-adapting screen projection picture in network teaching
Technical Field
The disclosure relates to the field of internet, in particular to a method and a device for screen projection self-adaption in network teaching, electronic equipment and a computer readable storage medium.
Background
In network teaching, the current teaching content is often required to be pushed to another playing device for display in a screen projection mode, and generally, the other playing device is a television, a projector and other devices, so that more users can watch the network teaching content conveniently and simultaneously, and the use of the users is facilitated.
However, when a user watches a prerecorded network teaching video by using a mobile phone, the transverse screen content can only be displayed in the middle of the mobile phone under the condition of vertical screen of the mobile phone, and when the transverse screen content is pushed to a transverse screen device such as a television for playing again, the pseudo transverse screen content displayed on the mobile phone can only be pushed to form a transverse screen sleeved with a vertical screen, and the vertical screen plays a picture-in-picture of a transverse screen picture.
Accordingly, there is a need for one or more methods to address the above-mentioned problems.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of the present disclosure is to provide a method, an apparatus, an electronic device, and a computer-readable storage medium for screen projection adaptation in network teaching, which overcome one or more of the problems due to the limitations and disadvantages of the related art, at least to some extent.
According to one aspect of the disclosure, a method for adapting a screen projection screen in network teaching is provided, which includes:
detecting the size of a screen source video projected by the network teaching, comparing the size with the display size of the playing equipment, and generating a first judgment result;
if the first judgment result meets the first preset condition, detecting an actual playing area of a video picture of a screen source of the network teaching projection according to a preset detection method to generate a second judgment result;
and if the second judgment result is that the second preset condition is met, acquiring the size of the actual playing area of the screen source video picture of the network teaching screen projection, and proportionally expanding the actual playing area of the screen source video picture of the network teaching screen projection to the display size of the playing equipment so as to adaptively adjust the display size of the playing equipment according to the actual playing area of the screen source video picture of the network teaching screen projection for playing.
In an exemplary embodiment of the present disclosure, after detecting a video size of a screen projection source of the network teaching, comparing the video size with a display size of a playing device, and generating a first determination result, the method further includes:
detecting whether the size ratio of the video of the screen projection source of the network teaching is greater than 1, if so, judging that the video source is played on a transverse screen, and if not, judging that the video source is played on a vertical screen;
detecting whether the display size ratio of the playing equipment is greater than 1, if so, judging the playing equipment to be transverse screen playing equipment, and if not, judging the playing equipment to be vertical screen playing equipment;
when the network teaching screen projection source is a horizontal screen playing video source and the playing device is a vertical screen playing device, or the network teaching screen projection source is a vertical screen playing video source and the playing device is a horizontal screen playing device, determining that the first judgment result meets a first preset condition.
In an exemplary embodiment of the disclosure, the detecting an actual playing area of a video picture of a screen projection source for network teaching according to a preset detection method, and generating a second judgment result further includes:
when the video picture of the online teaching screen projection source is a horizontal screen video source, detecting whether a vertical screen playing area specified by the video picture of the online teaching screen projection source is an active area or not, and whether a vertical screen playing area specified by the video picture of the online teaching screen projection source is a static area or not, and if so, determining that a second judgment result meets a second preset condition;
when the video picture of the screen projection source for the network teaching is a vertical screen video source, detecting whether a horizontal screen playing area specified by the video picture of the screen projection source for the network teaching is an active area or not, and meanwhile, whether a horizontal screen playing area specified by the video picture of the screen projection source for the network teaching is a static area or not, and if so, determining that a second judgment result meets a second preset condition.
In an exemplary embodiment of the present disclosure, the preset portrait playing area ratio is one or more of 9:19, 9:16, 9:18.5, and 10: 16.
In an exemplary embodiment of the present disclosure, the preset landscape play area ratio is one or more of 4:3, 16:9, 16:10, 21: 9.
In an exemplary embodiment of the present disclosure, the method further comprises:
and the judgment condition of the static area is that the picture change rate of the video appointed area is smaller than a preset value in a preset time interval.
In an exemplary embodiment of the disclosure, the scaling up the actual playing area of the video frame of the online education screen projection source to the display size of the playing device further includes:
and according to the actual playing area of the video picture of the screen projection source for the network teaching, cutting a video source of an active area of the video picture of the screen projection source for the network teaching, and expanding the video source to the display size of the playing equipment in an equal proportion so as to finish the self-adaptive playing of the actual playing area of the video picture of the screen projection source for the network teaching on the playing equipment.
In one aspect of the present disclosure, an apparatus for adapting a screen projection screen in network teaching is provided, including:
the first judgment result generation module is used for detecting the size of the screen source video projected by the network teaching, comparing the size with the display size of the playing equipment and generating a first judgment result;
the second judgment result generation module is used for detecting the actual playing area of the video picture of the screen projection source of the network teaching according to a preset detection method to generate a second judgment result if the first judgment result meets the first preset condition;
and the self-adaptive playing module is used for acquiring the size of the actual playing area of the screen source video picture projected by the network teaching if the second judgment result is that the second preset condition is met, and proportionally expanding the actual playing area of the screen source video picture projected by the network teaching to the display size of the playing equipment so as to adaptively adjust the display size of the playing equipment according to the actual playing area of the screen source video picture projected by the network teaching for playing.
In one aspect of the present disclosure, there is provided an electronic device including:
a processor; and
a memory having computer readable instructions stored thereon which, when executed by the processor, implement a method according to any of the above.
In an aspect of the disclosure, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the method according to any one of the above.
The method for self-adapting the screen projection picture in the network teaching in the exemplary embodiment of the disclosure comprises the following steps: detecting the size of a screen source video projected by the network teaching, comparing the size with the display size of the playing equipment, and generating a first judgment result; if the first preset condition is met, detecting an actual playing area of a video picture of the screen projection source of the network teaching according to a preset detection method, and generating a second judgment result; and if the actual playing area meets the second preset condition, acquiring the size of the actual playing area of the video picture of the screen projection source for the network teaching, and expanding the actual playing area of the video picture of the screen projection source for the network teaching in an equal proportion manner to the display size of the playing equipment so as to adaptively adjust the display size of the playing equipment according to the actual playing area of the video picture of the screen projection source for the network teaching for playing. According to the method and the device, the self-adaptive playing equipment is realized through detection of the screen projection pictures in the network teaching, the problem that the display content is too small when multiple pictures are applied is solved, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The above and other features and advantages of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
FIG. 1 shows a flowchart of a method for screen projection adaptation in network tutoring according to an example embodiment of the present disclosure;
FIG. 2 is a schematic block diagram of an apparatus for screen projection adaptation in network teaching according to an exemplary embodiment of the present disclosure;
FIG. 3 schematically illustrates a block diagram of an electronic device according to an exemplary embodiment of the present disclosure; and
fig. 4 schematically illustrates a schematic diagram of a computer-readable storage medium according to an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the embodiments of the disclosure can be practiced without one or more of the specific details, or with other methods, components, materials, devices, steps, and so forth. In other instances, well-known structures, methods, devices, implementations, materials, or operations are not shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in the form of software, or in one or more software-hardened modules, or in different networks and/or processor devices and/or microcontroller devices.
In the exemplary embodiment, firstly, a method for adapting a screen projection screen in network teaching is provided; referring to fig. 1, the method for adapting a screen projection screen in network teaching may include the following steps:
step S110, detecting the size of a screen source video projected by the network teaching, comparing the size with the display size of the playing equipment, and generating a first judgment result;
step S120, if the first judgment result is yes, detecting an actual playing area of a video picture of a screen source of the network teaching projection according to a preset method, and generating a second judgment result;
step S130, if the second judgment result is yes, acquiring the size of the actual playing area of the video picture of the screen projection source for the network teaching, and proportionally expanding the actual playing area of the video picture of the screen projection source for the network teaching to the display size of the playing device, so that the actual playing area of the video picture of the screen projection source for the network teaching completes the display size playing of the self-adaptive playing device.
The method for adapting the screen projection screen in the network teaching in the exemplary embodiment of the disclosure comprises the following steps: detecting the size of a screen source video projected by the network teaching, comparing the size with the display size of the playing equipment, and generating a first judgment result; if the first preset condition is met, detecting an actual playing area of a video picture of the screen projection source of the network teaching according to a preset detection method, and generating a second judgment result; and if the actual playing area meets the second preset condition, acquiring the size of the actual playing area of the video picture of the screen projection source for the network teaching, and expanding the actual playing area of the video picture of the screen projection source for the network teaching in an equal proportion manner to the display size of the playing equipment so as to adaptively adjust the display size of the playing equipment according to the actual playing area of the video picture of the screen projection source for the network teaching for playing. According to the method and the device, the self-adaptive playing equipment is realized through detection of the screen projection pictures in the network teaching, the problem that the display content is too small when multiple pictures are applied is solved, and the user experience is improved.
Next, a method for adapting a screen projection screen in web teaching in the present exemplary embodiment will be further described.
In step S110, the size of the video of the online education screen projection source may be detected, and compared with the display size of the playing device, so as to generate a first determination result.
In an embodiment of this example, the detecting a video size of a screen projection source of the network teaching, comparing the video size with a display size of a playing device, and generating a first determination result further includes:
detecting whether the size ratio of the video of the screen projection source of the network teaching is greater than 1, if so, judging that the video source is played on a transverse screen, and if not, judging that the video source is played on a vertical screen;
detecting whether the display size ratio of the playing equipment is greater than 1, if so, judging the playing equipment to be transverse screen playing equipment, and if not, judging the playing equipment to be vertical screen playing equipment;
when the network teaching screen projection source is a horizontal screen playing video source and the playing device is a vertical screen playing device, or the network teaching screen projection source is a vertical screen playing video source and the playing device is a horizontal screen playing device, a first judgment result is generated as yes.
In the embodiment of the present example, first, the picture size of the network teaching video source is detected, for example, if the common video source is the network teaching video source of the downloaded jittering video, the picture size of the video source is generally 9:19, and the video source is determined as a vertical screen device, and the playing device is, for example, a television, the picture size of the video source is 16:9, and the video source is determined as a horizontal screen device, which are not consistent, so that the first determination result is determined as "yes".
In step S120, if the first determination result is yes, the actual playing area of the screen source video frame for the online teaching is detected according to a preset method, and a second determination result is generated.
In an embodiment of the present invention, the detecting, according to a preset method, an actual playing area of a video picture of a screen projection source for network teaching further includes:
when the video picture of the screen projection source for the network teaching is a transverse screen video source, detecting whether a vertical screen playing area specified by the video picture of the screen projection source for the network teaching is an active area or not, and meanwhile, whether a vertical screen playing area specified by the video picture of the screen projection source for the network teaching is a static area or not, and if so, identifying and cutting the video picture of the screen projection source for the network teaching according to a preset vertical screen playing area proportion;
in the embodiment of the present example, the preset portrait playing area ratio is one or more of 9:19, 9:16, 9:18.5, and 10: 16.
In the embodiment of the present example, the preset landscape play area ratio is one or more of 4:3, 16:9, 16:10, and 21: 9.
In an embodiment of the present example, the method further comprises:
and the judgment condition of the static area is that the picture change rate of the video appointed area is smaller than a preset value in a preset time interval.
In the embodiment of the present example, taking the above example as an example, when the playing video source of the network teaching is a jittering video, although the horizontal screen area of the 4:3 area in a section of the middle area of the screen is directly played when the playing video is the vertical screen of the mobile phone, the whole video source is the vertical screen video of 9: 19. When the network teaching video source is pushed to a television for playing, the first judgment result is judged to be yes, then the network teaching video source is detected, the horizontal screen area of the 4:3 area in the middle section of the 9:19 vertical screen video of the video source is automatically identified, the cutting and editing of the video are completed, the 4:3 area is expanded to the 16:9 area of the television in an equal proportion mode for playing, meanwhile, video stream playing processing conditions are generated, and the subsequent video is automatically and timely cut.
The video cutting means that the playing area of the active area is positioned, the video source file is divided into video streams in a rectangular mode through the source file, and the video source file of the active area is regenerated to serve as a file to be played.
In step S130, if the second determination result is yes, the size of the actual playing area of the screen source video picture for the network teaching is collected, and the actual playing area of the screen source video picture for the network teaching is expanded to the display size of the playing device in an equal proportion, so that the actual playing area of the screen source video picture for the network teaching completes the display size playing of the adaptive playing device.
In this exemplary embodiment, the scaling up the actual playing area of the video frame of the online education screen projection source to the display size of the playing device further includes:
and according to the actual playing area of the video picture of the screen projection source for the network teaching, cutting a video source of an active area of the video picture of the screen projection source for the network teaching, and expanding the video source to the display size of the playing equipment in an equal proportion so as to finish the self-adaptive playing of the actual playing area of the video picture of the screen projection source for the network teaching on the playing equipment.
In the embodiment of the example, after the cutting processing of the video source playing area is completed, a video stream processing logic is generated, the video stream processing logic is automatically run while real-time detection is performed, and the processing and the self-adaption playing of the video in the network teaching video source activity area on the playing device are completed based on the self-adaption logic. Meanwhile, the strategy of the video completing self-adaptation and the video source can be correspondingly stored for calling when the video is played again.
It should be noted that although the various steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
In addition, in the present exemplary embodiment, an apparatus for adapting a screen projection screen in network teaching is also provided. Referring to fig. 2, the apparatus 200 for adapting a screen projection in network teaching may include: a first judgment result generating module 210, a second judgment result generating module 220, and an adaptive playing module 230. Wherein:
the first judgment result generation module 210 is configured to detect a size of a screen source video projected by the network teaching, compare the size with a display size of the playing device, and generate a first judgment result;
a second judgment result generation module 220, configured to detect, when the first judgment result is yes, an actual playing area of a video picture of a screen projection source of the network teaching according to a preset method, and generate a second judgment result;
the adaptive playing module 230 is configured to, if the second determination result is yes, acquire a size of an actual playing area of the screen source video picture projected by the network teaching, and proportionally expand the actual playing area of the screen source video picture projected by the network teaching to a display size of a playing device, so that the actual playing area of the screen source video picture projected by the network teaching completes playing of the display size of the adaptive playing device.
The specific details of the screen projection image self-adaptive device module in each network teaching are already described in detail in the corresponding screen projection image self-adaptive method in the network teaching, and therefore, the details are not repeated here.
It should be noted that although several modules or units of the device 200 for screen projection adaptation in network teaching are mentioned in the above detailed description, such division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 300 according to such an embodiment of the invention is described below with reference to fig. 3. The electronic device 300 shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 3, electronic device 300 is embodied in the form of a general purpose computing device. The components of electronic device 300 may include, but are not limited to: the at least one processing unit 310, the at least one memory unit 320, a bus 330 connecting different system components (including the memory unit 320 and the processing unit 310), and a display unit 340.
Wherein the storage unit stores program code that is executable by the processing unit 310 to cause the processing unit 310 to perform steps according to various exemplary embodiments of the present invention as described in the above section "exemplary method" of the present specification. For example, the processing unit 310 may perform steps S110 to S130 as shown in fig. 1.
The storage unit 320 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)3201 and/or a cache memory unit 3202, and may further include a read only memory unit (ROM) 3203.
The storage unit 320 may also include a program/utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 330 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 300 may also communicate with one or more external devices 370 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 300, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 300 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 350. Also, the electronic device 300 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) via the network adapter 360. As shown, network adapter 360 communicates with the other modules of electronic device 300 via bus 330. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 300, 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.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above-mentioned "exemplary methods" section of the present description, when said program product is run on the terminal device.
Referring to fig. 4, a program product 400 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a 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.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A 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 readable storage medium include: an electrical connection having one or more wires, a portable disk, 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.
A computer readable signal medium may include a propagated data signal with 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 readable signal medium may also be any readable medium that is not a 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 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.
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, 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 computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (10)

1. A method for adaptively adjusting a screen projection picture in network teaching is characterized by comprising the following steps:
detecting the size of a screen source video projected by the network teaching, comparing the size with the display size of the playing equipment, and generating a first judgment result;
if the first judgment result meets the first preset condition, detecting an actual playing area of a video picture of a screen source of the network teaching projection according to a preset detection method to generate a second judgment result;
and if the second judgment result is that the second preset condition is met, acquiring the size of the actual playing area of the screen source video picture of the network teaching screen projection, and proportionally expanding the actual playing area of the screen source video picture of the network teaching screen projection to the display size of the playing equipment so as to adaptively adjust the display size of the playing equipment according to the actual playing area of the screen source video picture of the network teaching screen projection for playing.
2. The method of claim 1, wherein the detecting the video size of the screen projection source of the network teaching, comparing the video size with the display size of the playing device, and generating a first determination result, the method further comprises:
detecting whether the size ratio of the video of the screen projection source of the network teaching is greater than 1, if so, judging that the video source is played on a transverse screen, and if not, judging that the video source is played on a vertical screen;
detecting whether the display size ratio of the playing equipment is greater than 1, if so, judging the playing equipment to be transverse screen playing equipment, and if not, judging the playing equipment to be vertical screen playing equipment;
when the network teaching screen projection source is a horizontal screen playing video source and the playing device is a vertical screen playing device, or the network teaching screen projection source is a vertical screen playing video source and the playing device is a horizontal screen playing device, determining that the first judgment result meets a first preset condition.
3. The method as claimed in claim 1, wherein the detecting the actual playing area of the video frame of the online education screen-casting source according to the preset detection method and generating the second judgment result further comprises:
when the video picture of the online teaching screen projection source is a horizontal screen video source, detecting whether a vertical screen playing area specified by the video picture of the online teaching screen projection source is an active area or not, and whether a vertical screen playing area specified by the video picture of the online teaching screen projection source is a static area or not, and if so, determining that a second judgment result meets a second preset condition;
when the video picture of the screen projection source for the network teaching is a vertical screen video source, detecting whether a horizontal screen playing area specified by the video picture of the screen projection source for the network teaching is an active area or not, and meanwhile, whether a horizontal screen playing area specified by the video picture of the screen projection source for the network teaching is a static area or not, and if so, determining that a second judgment result meets a second preset condition.
4. The method of claim 3, wherein the preset portrait playback area ratio is one or more of 9:19, 9:16, 9:18.5, and 10: 16.
5. The method of claim 3, wherein the preset landscape play area ratio is one or more of 4:3, 16:9, 16:10, 21: 9.
6. The method of claim 3, wherein the method further comprises:
and the judgment condition of the static area is that the picture change rate of the video appointed area is smaller than a preset value in a preset time interval.
7. The method of claim 1, wherein the scaling up the real playing area of the network instructional screen projection source video picture to the playing device display size further comprises:
and according to the actual playing area of the video picture of the screen projection source for the network teaching, cutting a video source of an active area of the video picture of the screen projection source for the network teaching, and expanding the video source to the display size of the playing equipment in an equal proportion so as to finish the self-adaptive playing of the actual playing area of the video picture of the screen projection source for the network teaching on the playing equipment.
8. An apparatus for adapting a screen projection screen in network teaching, the apparatus comprising:
the first judgment result generation module is used for detecting the size of the screen source video projected by the network teaching, comparing the size with the display size of the playing equipment and generating a first judgment result;
the second judgment result generation module is used for detecting the actual playing area of the video picture of the screen projection source of the network teaching according to a preset detection method to generate a second judgment result if the first judgment result meets the first preset condition;
and the self-adaptive playing module is used for acquiring the size of the actual playing area of the screen source video picture projected by the network teaching if the second judgment result is that the second preset condition is met, and proportionally expanding the actual playing area of the screen source video picture projected by the network teaching to the display size of the playing equipment so as to adaptively adjust the display size of the playing equipment according to the actual playing area of the screen source video picture projected by the network teaching for playing.
9. An electronic device, comprising:
a processor; and
a memory having computer readable instructions stored thereon which, when executed by the processor, implement the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202010628635.1A 2020-07-02 2020-07-02 Method and device for self-adapting screen projection picture in network teaching Pending CN111726688A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010628635.1A CN111726688A (en) 2020-07-02 2020-07-02 Method and device for self-adapting screen projection picture in network teaching
PCT/CN2020/138437 WO2022001027A1 (en) 2020-07-02 2020-12-22 Projection screen picture self-adaption method and apparatus in network teaching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010628635.1A CN111726688A (en) 2020-07-02 2020-07-02 Method and device for self-adapting screen projection picture in network teaching

Publications (1)

Publication Number Publication Date
CN111726688A true CN111726688A (en) 2020-09-29

Family

ID=72571360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010628635.1A Pending CN111726688A (en) 2020-07-02 2020-07-02 Method and device for self-adapting screen projection picture in network teaching

Country Status (2)

Country Link
CN (1) CN111726688A (en)
WO (1) WO2022001027A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112383820A (en) * 2020-11-09 2021-02-19 深圳康佳电子科技有限公司 Method for identifying horizontal and vertical screens of screen projection equipment, storage medium and terminal equipment
CN112565839A (en) * 2020-11-23 2021-03-26 青岛海信传媒网络技术有限公司 Display method and display device of screen projection image
CN112887768A (en) * 2021-01-12 2021-06-01 京东方科技集团股份有限公司 Screen projection display method and device, electronic equipment and storage medium
WO2022001027A1 (en) * 2020-07-02 2022-01-06 深圳市鹰硕技术有限公司 Projection screen picture self-adaption method and apparatus in network teaching

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134641B (en) * 2022-07-05 2023-10-27 北京字跳网络技术有限公司 Screen projection method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454407A (en) * 2016-10-25 2017-02-22 广州华多网络科技有限公司 Video live broadcast method and device
CN107707954A (en) * 2017-10-27 2018-02-16 北京小米移动软件有限公司 Video broadcasting method and device
WO2019039348A1 (en) * 2017-08-21 2019-02-28 株式会社東海理化電機製作所 Vehicle visual confirmation device
CN110505512A (en) * 2019-07-09 2019-11-26 咪咕视讯科技有限公司 Played in full screen method, terminal device and computer readable storage medium
CN111147911A (en) * 2019-12-27 2020-05-12 北京达佳互联信息技术有限公司 Video clipping method and device, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105263049B (en) * 2015-10-28 2019-10-29 努比亚技术有限公司 A kind of video Scissoring device, method and mobile terminal based on frame coordinate
JP2019129466A (en) * 2018-01-26 2019-08-01 キヤノン株式会社 Video display device
CN110189378B (en) * 2019-05-23 2022-03-04 北京奇艺世纪科技有限公司 Video processing method and device and electronic equipment
CN110691259B (en) * 2019-11-08 2022-04-22 北京奇艺世纪科技有限公司 Video playing method, system, device, electronic equipment and storage medium
CN111726688A (en) * 2020-07-02 2020-09-29 深圳市鹰硕技术有限公司 Method and device for self-adapting screen projection picture in network teaching

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454407A (en) * 2016-10-25 2017-02-22 广州华多网络科技有限公司 Video live broadcast method and device
WO2019039348A1 (en) * 2017-08-21 2019-02-28 株式会社東海理化電機製作所 Vehicle visual confirmation device
CN107707954A (en) * 2017-10-27 2018-02-16 北京小米移动软件有限公司 Video broadcasting method and device
CN110505512A (en) * 2019-07-09 2019-11-26 咪咕视讯科技有限公司 Played in full screen method, terminal device and computer readable storage medium
CN111147911A (en) * 2019-12-27 2020-05-12 北京达佳互联信息技术有限公司 Video clipping method and device, electronic equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022001027A1 (en) * 2020-07-02 2022-01-06 深圳市鹰硕技术有限公司 Projection screen picture self-adaption method and apparatus in network teaching
CN112383820A (en) * 2020-11-09 2021-02-19 深圳康佳电子科技有限公司 Method for identifying horizontal and vertical screens of screen projection equipment, storage medium and terminal equipment
CN112565839A (en) * 2020-11-23 2021-03-26 青岛海信传媒网络技术有限公司 Display method and display device of screen projection image
CN112887768A (en) * 2021-01-12 2021-06-01 京东方科技集团股份有限公司 Screen projection display method and device, electronic equipment and storage medium
CN112887768B (en) * 2021-01-12 2023-06-16 京东方科技集团股份有限公司 Screen projection display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2022001027A1 (en) 2022-01-06

Similar Documents

Publication Publication Date Title
CN111726688A (en) Method and device for self-adapting screen projection picture in network teaching
CN109658932B (en) Equipment control method, device, equipment and medium
CN112231021B (en) Method and device for guiding new functions of software
CN107333164B (en) Image data processing method and device
CN111629253A (en) Video processing method and device, computer readable storage medium and electronic equipment
CN108427589B (en) Data processing method and electronic equipment
CN113055624B (en) Course playback method, server, client and electronic equipment
CN110706675A (en) Information display method and device
US20210400330A1 (en) Information interaction method and device, electronic apparatus, and computer readable storage medium
CN112992171B (en) Display device and control method for eliminating echo received by microphone
US20240127856A1 (en) Audio processing method and apparatus, and electronic device and storage medium
CN108549859B (en) Multi-screen interactive network teaching method and device
CN110728129B (en) Method, device, medium and equipment for typesetting text content in picture
CN114339363B (en) Picture switching processing method and device, computer equipment and storage medium
CN113422980B (en) Video data processing method and device, electronic equipment and storage medium
CN106598245B (en) Multi-user interaction control method and device based on virtual reality
CN111787391A (en) Information card display method, device, equipment and storage medium
CN107680038B (en) Picture processing method, medium and related device
CN112714331B (en) Information prompting method and device, storage medium and electronic equipment
CN111314777B (en) Video generation method and device, computer storage medium and electronic equipment
US11087129B2 (en) Interactive virtual simulation system
CN113225617A (en) Playing video processing method and device and electronic equipment
CN111507870A (en) Lecture display method, system, equipment and storage medium based on online education
US20210227288A1 (en) Source apparatus and control method therefor
CN111158822A (en) Display interface control method and device, storage medium and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200929

RJ01 Rejection of invention patent application after publication