CN111836107A - Video call window display method and device - Google Patents
Video call window display method and device Download PDFInfo
- Publication number
- CN111836107A CN111836107A CN201910310307.4A CN201910310307A CN111836107A CN 111836107 A CN111836107 A CN 111836107A CN 201910310307 A CN201910310307 A CN 201910310307A CN 111836107 A CN111836107 A CN 111836107A
- Authority
- CN
- China
- Prior art keywords
- window
- video call
- size
- web
- area
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000012790 confirmation Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 230000003068 static effect Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000000903 blocking effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4438—Window management, e.g. event handling following interaction with the user interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation 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
- H04N21/4314—Generation 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 for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
- H04N7/147—Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals
Abstract
The embodiment of the invention provides a method and equipment for displaying a video call window, and relates to the field of video calls. According to the embodiment of the invention, the position of the display sub-area for displaying the video call window can be adjusted according to the size of the Web window, so that the problems of mutual shielding and covering of the video call windows are avoided. The method comprises the following steps: acquiring a size parameter of a Web window; dividing n display sub-areas with preset sizes in the Web window according to the size parameter of the Web window; and respectively displaying the video call windows in corresponding display sub-areas of the n display sub-areas with preset sizes. The invention is applied to video call.
Description
Technical Field
The invention relates to the field of video calls, in particular to a method and equipment for displaying a video call window.
Background
With the development of internet technology, more and more people start to use video calls to replace traditional phones so as to achieve better communication effect.
At present, when terminal equipment sends or receives multi-channel video calls, the condition that video call windows are mutually shielded or covered can occur, and the use experience of a client is influenced.
Disclosure of Invention
The embodiment of the invention provides a method and equipment for displaying a video call window, which can adjust the position of a display sub-area for displaying the video call window according to the size of a Web window and avoid the problems of mutual shielding and covering of the video call windows.
In a first aspect, the present invention provides a method for displaying a video call window, including: acquiring a size parameter of a Web window; dividing n display sub-areas with preset sizes in the Web window according to the size parameter of the Web window; and respectively displaying the video call windows in corresponding display sub-areas of the n display sub-areas with preset sizes.
In a second aspect, an embodiment of the present invention provides a video call window display device, including: the acquisition unit is used for acquiring the size parameter of the Web window; the area dividing unit is used for dividing n display sub-areas with preset sizes in the Web window according to the size parameter of the Web window after the size parameter of the Web window is acquired by the acquiring unit; and the display unit is used for respectively displaying the video call windows in the display subareas corresponding to the display subareas with the n preset sizes after the area dividing unit divides the display subareas with the n preset sizes in the Web window.
In a third aspect, an embodiment of the present invention provides another video call window display device, including: a processor, a memory, a bus, and a communication interface; the memory is used for storing computer execution instructions, the processor is connected with the memory through a bus, and when the video call window display device runs, the processor executes the computer execution instructions stored in the memory, so that the video call window display device executes the video call window display method provided by the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium, which includes instructions that, when executed on a video call window display device, cause the video call window display device to execute the video call window display method provided in the first aspect.
According to the method and the device for displaying the video call window, provided by the embodiment of the invention, the size parameter of the Web window is obtained, n display sub-areas with preset sizes are divided in the Web window according to the difference of the size parameter of the Web window, and then the video call windows are respectively displayed in the corresponding display sub-areas, so that the effect that a plurality of video call windows can be displayed in the respective display sub-areas without mutual influence in various scenes with different Web window sizes is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a schematic flowchart of a video call window display method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a Web window according to an embodiment of the present invention;
fig. 3 is a second schematic structural diagram of a Web window according to an embodiment of the present invention;
fig. 4 is a third schematic structural diagram of a Web window according to an embodiment of the present invention;
fig. 5 is a fourth schematic structural diagram of a Web window according to an embodiment of the present invention;
fig. 6 is a fifth schematic structural diagram of a Web window according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a video call window display device according to an embodiment of the present invention;
fig. 8 is a second schematic structural diagram of a video call window display device according to an embodiment of the present invention;
fig. 9 is a third schematic structural diagram of a video call window display device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. The character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship.
First, the inventive concept of the present invention is introduced: currently, when a multi-party video call is initiated or received on an electronic device, multiple video call windows are generally required to be displayed in the same Web window. In order to avoid the occurrence of blocking between the video call windows, one way is to display the video call windows at preset positions of the Web windows according to a preset placement method, for example, a first video call window is displayed at the upper right corner of the Web window, a second video call window is displayed at the upper left corner of the Web window, then a third video call window is displayed at the lower right corner, a fourth video call window is displayed at the lower left corner, and so on. Although the problem of window occlusion can be avoided to a certain extent by the processing method, when the video call software runs on different electronic devices, due to the reasons that the screens of the different electronic devices are different in size, the Web windows are different in size, and the like, the problem that the video call windows are occluded with each other still can occur.
In view of the above problems, an embodiment of the present invention provides a method for displaying a video call window, where before displaying a plurality of video call windows, a size parameter of a Web window is obtained, and then n display sub-areas with preset sizes are divided in the Web window according to the size parameter of the Web window, and the plurality of video call windows are respectively displayed in corresponding display sub-areas. In this way, since the plurality of screen call windows have display sub-regions which do not interfere with each other, the problem of mutual occlusion does not occur. In addition, because the display sub-area is divided according to the size parameter of the Web window when the display sub-area is divided, the method and the device can be suitable for electronic equipment with various screen specifications and Web windows with different sizes.
The first embodiment is as follows:
based on the above inventive concept, as shown in fig. 1, the method for displaying a video call window according to the embodiment of the present invention specifically includes:
s101, acquiring a size parameter of the Web window.
The size parameter of the Web window specifically includes information such as width and height of the Web window.
S102, dividing n display sub-areas with preset sizes in the Web window according to the size parameter of the Web window.
For example, if the resolution of the video call window is determined to be 352 × 288 pixels, the size of the Web window is 1920 × 1080 pixels. The number of video call windows that the Web window can accommodate can be calculated:
the number of columns of video call windows that the Web window can accommodate at most: 1920/352 obtaining 5 from the integer; the number of lines of the video call window which can be accommodated by the Web window at most: 1080/288 is an integer of 3. Therefore, the number of the video call windows that can be accommodated by the Web window is 3 × 5 to 15.
Specifically, in an implementation manner of the embodiment of the present invention, the calculated resolution of the video call window may be used as the preset size of the display sub-area, as shown in the above example. In another implementation, the preset size of the display sub-region may also be determined by a user setting, for example, the user may set each display sub-region for displaying the video call window to be 320 × 240.
In one implementation, it is contemplated that some non-occluded areas may also be included in the Web window of the video call application. Such as a menu interface of a Web window. Covering these non-occluded areas should also be avoided when dividing the display sub-area. Therefore, in the embodiments of the present invention:
the size parameters of the Web window specifically include: the size of the Web window, and the size and position of the non-occluded area in the Web window.
Fig. 2 is a schematic structural diagram of a Web window according to an embodiment of the present invention. The upper side and the left side of the Web window respectively comprise two regions which can not be blocked, namely a region A and a region B. Wherein, the width of the Web window is windows width, and the height is windows height; the area A is arranged on the upper side of the Web window, the width of the area A is extraWidth-1, and the height of the area A is extraHeight-1; the area A is on the left side of the Web window, and the area B has a width of extraWidth-2 and a height of extraHeight-2.
Further, step S102 specifically includes:
and S1021, determining a target area for displaying the video call window in the Web window according to the size of the Web window and the size and position of the area which can not be blocked in the Web window.
Continuing with the example of fig. 2, after determining the size of the Web window and the size and position of the non-occluded area in the Web window, the remaining display area in the Web window may be determined, and the remaining display area may be used as a target area for displaying the video call window in the Web window. In addition, a region of a preset shape and size may be divided from the remaining display region to display the target region of the video call window.
Specifically, in order to make the display interface clearer, more beautiful and convenient for operation, in the embodiment of the present invention, the step S1021 specifically includes:
and determining the maximum rectangular area except the non-shelterable area in the Web window according to the size of the Web window and the size and the position of the non-shelterable area in the Web window.
Specifically, as shown in fig. 2, after determining the non-occluded areas (area a, area B) in the Web window, the largest rectangular area is found out in the remaining display areas, such as the area in the dashed-line box in fig. 2.
And S1022, dividing the target area for displaying the video call window into display sub-areas according to a preset size, and generating n display sub-areas with preset sizes.
Specifically, in view that the sizes of the determined target areas for displaying the video call windows may be different in different Web windows, in order to utilize the Web windows more efficiently, in this embodiment of the present invention, step S1022 specifically includes:
and S1022a, calculating the line number of the display sub-area according to the height of the target area and the height of the display sub-area.
Specifically, the line number rowMax of the display sub-area is equal to the height H1 of the target area ÷ the height H2 of the display sub-area, and is an integer.
S1022b, calculating the number of columns of the display sub-region according to the width of the target region and the width of the display sub-region.
Specifically, the number of columns colMax of display sub-areas is equal to the width W1 of the target area divided by the width W2 of the display sub-areas, and is an integer.
S1022c, generating n display sub-regions with preset sizes in the target region according to the calculated number of rows of the display sub-regions and the calculated number of columns of the display sub-regions.
Specifically, as shown in fig. 2, if it is finally determined that the number of rows and the number of columns of the display sub-regions in the maximum rectangular region are 2, 2 × 2 display sub-regions with a preset size are generated in the maximum rectangular region.
In addition, the height and width of the display sub-region are often not integer multiples of the height and width of the target region, which results in excess display space. Therefore, in an implementation manner, in order to facilitate viewing and operation by a user, the method provided by the embodiment of the present invention further includes:
the spacing distance between every two adjacent display sub-areas in the display sub-areas with the n preset sizes and the spacing distance between the display sub-areas on the edges and the target area are consistent.
Specifically, as shown in fig. 2, the horizontal intervals between adjacent video call windows and between the video call window and the maximum rectangular area are both x, and the vertical intervals are both y.
S103, displaying the video call windows in corresponding display sub-areas of the n display sub-areas with preset sizes respectively.
Specifically, in the embodiment of the invention, the operation habit of the user is combined, and the video call window is placed at the lower right corner of the window, so that the use of the user is more convenient. Therefore, in one implementation, step S103 specifically includes: and preferentially displaying the video call windows in a display sub-area at the lower right corner of the n display sub-areas with preset sizes.
Furthermore, the method provided by the embodiment of the present invention further includes: and when the video call window is newly added, displaying the newly added video call window in the remaining display sub-areas in a mode of firstly leftwards and then upwards.
Illustratively, as shown in fig. 3-5, when the first video call window is created, it is displayed in the display sub-area D in the lower right corner (as shown in fig. 3). Then, when a second video call window needs to be added, the video call window is displayed in the display sub-area C at the lower left corner (as shown in fig. 4). And then, when a third video call window needs to be newly added, displaying the video call window in the display sub-region B at the lower right corner (as shown in fig. 5), and so on.
In an implementation manner, as shown in fig. 1, the method provided by the embodiment of the present invention further includes:
and S104, acquiring a window closing instruction.
A window closing instruction to close one or more target video call windows of the plurality of video call windows.
And S105, closing one or more target video call windows according to the window closing instruction, and sequentially shifting the rest windows rightward or downward until the positions of the one or more target video call windows are covered.
Illustratively, as shown in fig. 5, assume that there are 3 video call windows currently being displayed. At this time, a window closing instruction is acquired, and the video call window displayed in the display sub-area D needs to be closed. As shown in fig. 6, the video call window displayed in the display sub-region C is sequentially shifted to the display sub-region D, and the video call window displayed in the display sub-region B is shifted to the display sub-region C.
According to the method and the device for displaying the video call window, provided by the embodiment of the invention, the size parameter of the Web window is obtained, n display sub-areas with preset sizes are divided in the Web window according to the difference of the size parameter of the Web window, and then the video call windows are respectively displayed in the corresponding display sub-areas, so that the effect that a plurality of video call windows can be displayed in the respective display sub-areas without mutual influence in various scenes with different Web window sizes is realized.
Example two:
the embodiment of the invention provides video call window display equipment, which is used for executing the video call window display method provided by the embodiment one. Fig. 7 is a schematic diagram of a possible structure of a video call window display device according to an embodiment of the present invention. Specifically, the video call window display device 20 includes: an acquisition unit 201, an area division unit 202, and a display unit 203. Wherein:
an acquisition unit 201 configured to acquire a size parameter of a Web window;
a region dividing unit 202, configured to, after the obtaining unit 201 obtains the size parameter of the Web window, divide n display sub-regions of a preset size in the Web window according to the size parameter of the Web window;
a display unit 203, configured to display the plurality of video call windows in the display sub-regions corresponding to the n display sub-regions of the preset size, respectively, after the region dividing unit 202 divides the n display sub-regions of the preset size in the Web window.
Optionally, the size parameter of the Web window specifically includes: the size of the Web window, and the size and the position of an area which cannot be blocked in the Web window;
the area dividing unit 202 specifically includes an area confirming subunit 2021 and a dividing subunit 2022:
the area confirmation subunit 2021 is configured to determine, according to the size of the Web window and the size and the position of the non-shelterable area in the Web window, a target area in the Web window for displaying the video call window;
the dividing subunit 2022 is configured to divide the target area for displaying the video call window into display sub-areas according to a preset size, and generate n display sub-areas with a preset size.
Optionally, the area confirmation subunit 2021 is specifically configured to determine, according to the size of the Web window and the size and the position of the non-shielding area in the Web window, a maximum rectangular area in the Web window except the non-shielding area.
Optionally, the display unit 203 is specifically configured to preferentially display the multiple video call windows in a display sub-region at the lower right corner of the n display sub-regions of a preset size; and when the video call window is newly added, the newly added video call window is displayed in the remaining display sub-areas in a mode of firstly turning left and then turning up.
Optionally, the obtaining unit 201 is further configured to obtain a window closing instruction; a window closing instruction for closing one or more target video call windows of the plurality of video call windows;
the display unit 203 is further configured to close the one or more target video call windows according to the window closing instruction after the acquiring unit 201 acquires the window closing instruction, and shift the remaining windows sequentially to the right or downward until the position of covering the one or more target video call windows.
The functions and effects of the modules in the video call window display device provided in the embodiment of the present invention may refer to the corresponding description contents in the video call window display method in the above-mentioned embodiment, and are not described herein again.
It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In the case of an integrated unit, fig. 8 shows a schematic diagram of a possible structure of the video call window display device according to the above-described embodiment. The video call window display device 30 includes: a processing module 301, a communication module 302 and a storage module 303. The processing module 301 is used to control and manage the actions of the video call window display device 30, for example, the processing module 301 is used to support the video call window display device 30 to execute the processes S101-S105 in fig. 1. The communication module 302 is used to support communication of the video call window display device 30 with other entities. The storage module 303 is used to store program codes and data of the video call window display device.
The processing module 301 may be a processor or a controller, such as a Central Processing Unit (CPU), a general-purpose processor, a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like. The communication module 302 may be a transceiver, a transceiving circuit or a communication interface, etc. The storage module 303 may be a memory.
When the processing module 301 is the processor shown in fig. 9, the communication module 302 is the transceiver shown in fig. 9, and the storage module 303 is the memory shown in fig. 9, the video call window display device according to the embodiment of the present invention may be the video call window display device 40 as follows.
Referring to fig. 9, the video call window display apparatus 40 includes: a processor 401, a transceiver 402, a memory 403, and a bus 404.
The processor 401, the transceiver 402 and the memory 403 are connected to each other through a bus 404; the bus 404 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The Memory 403 may be a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), magnetic Disc storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
The memory 402 is used for storing application program codes for implementing the present invention, and is controlled by the processor 401. The transceiver 402 is configured to receive content input by an external device, and the processor 401 is configured to execute application program codes stored in the memory 403, thereby implementing a video call window display method provided in an embodiment of the present invention.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the invention are all or partially effected when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optics, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or can comprise one or more data storage devices, such as a server, a data center, etc., that can be integrated with the medium. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A method for displaying a video call window, comprising:
acquiring a size parameter of a Web window;
dividing n display sub-areas with preset sizes in the Web window according to the size parameter of the Web window;
and respectively displaying a plurality of video call windows in corresponding display sub-areas of the n display sub-areas with preset sizes.
2. The method for displaying the video call window according to claim 1, wherein the step of displaying the plurality of video call windows in the display sub-regions corresponding to the n display sub-regions with the preset size respectively comprises:
preferentially displaying the video call windows in a display sub-area at the lower right corner of the n display sub-areas with preset sizes;
and when the video call window is newly added, displaying the newly added video call window in the remaining display sub-areas in a mode of firstly leftwards and then upwards.
3. The video call window display method according to claim 1,
the size parameter of the Web window specifically includes: the size of the Web window, and the size and the position of an area which cannot be blocked in the Web window;
the dividing n display sub-regions with preset sizes in the Web window according to the size parameter of the Web window specifically includes:
determining a target area for displaying a video call window in the Web window according to the size of the Web window and the size and the position of the area which can not be blocked in the Web window;
and dividing the target area for displaying the video call window into display sub-areas according to the preset size to generate the n display sub-areas with the preset size.
4. The video call window display method according to claim 3,
the determining a target area for displaying a video call window in the Web window according to the size of the Web window and the size and the position of the non-shelterable area in the Web window specifically includes:
and determining the maximum rectangular area except the non-shelterable area in the Web window according to the size of the Web window and the size and the position of the non-shelterable area in the Web window.
5. The video call window display method according to claim 1, further comprising:
acquiring a window closing instruction; the window closing instruction is used for closing one or more target video call windows in the plurality of video call windows;
and closing the one or more target video call windows according to the window closing instruction, and sequentially shifting the rest windows rightward or downward until the positions of the one or more target video call windows are covered.
6. A video call window display device, comprising:
the acquisition unit is used for acquiring the size parameter of the Web window;
the area dividing unit is used for dividing n display sub-areas with preset sizes in the Web window according to the size parameter of the Web window after the size parameter of the Web window is acquired by the acquiring unit;
and the display unit is used for displaying the plurality of video call windows in the display subareas corresponding to the n display subareas with the preset size respectively after the area dividing unit divides the n display subareas with the preset size in the Web window.
7. The video call window display apparatus of claim 6,
the display unit is specifically configured to preferentially display the video call windows in a display sub-region at a lower right corner of the n display sub-regions of a preset size; and when the video call window is newly added, the newly added video call window is displayed in the remaining display sub-areas in a mode of firstly turning left and then turning up.
8. The video call window display apparatus of claim 6,
the size parameter of the Web window specifically includes: the size of the Web window, and the size and the position of an area which cannot be blocked in the Web window;
the area dividing unit specifically comprises an area confirming subunit and a dividing subunit:
the area confirmation subunit is configured to determine, according to the size of the Web window and the size and the position of the non-shelterable area in the Web window, a target area in the Web window for displaying the video call window;
the dividing subunit is configured to divide the target area for displaying the video call window into display sub-areas according to the preset size, and generate the n display sub-areas with the preset size.
9. The video call window display apparatus of claim 8,
the area confirmation subunit is specifically configured to determine, according to the size of the Web window and the size and the position of the non-shelterable area in the Web window, a maximum rectangular area in the Web window, excluding the non-shelterable area.
10. The video call window display apparatus of claim 6,
the acquiring unit is further used for acquiring a window closing instruction; the window closing instruction is used for closing one or more target video call windows in the plurality of video call windows;
the display unit is further configured to close the one or more target video call windows according to the window closing instruction after the obtaining unit obtains the window closing instruction, and shift the remaining windows sequentially to the right or downward until the positions of the one or more target video call windows are covered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910310307.4A CN111836107A (en) | 2019-04-17 | 2019-04-17 | Video call window display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910310307.4A CN111836107A (en) | 2019-04-17 | 2019-04-17 | Video call window display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111836107A true CN111836107A (en) | 2020-10-27 |
Family
ID=72915699
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910310307.4A Pending CN111836107A (en) | 2019-04-17 | 2019-04-17 | Video call window display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111836107A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090031247A1 (en) * | 2007-07-26 | 2009-01-29 | Walter Wolfgang E | Active Tiled User Interface |
CN103780864A (en) * | 2012-10-18 | 2014-05-07 | 腾讯科技(深圳)有限公司 | Video conversation interface display method and apparatus |
CN104657034A (en) * | 2013-11-15 | 2015-05-27 | 永明科技顾问股份有限公司 | Dynamic window layout adjusting system and method |
CN105786304A (en) * | 2014-12-24 | 2016-07-20 | 阿里巴巴集团控股有限公司 | Information display method and device in instant messaging |
-
2019
- 2019-04-17 CN CN201910310307.4A patent/CN111836107A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090031247A1 (en) * | 2007-07-26 | 2009-01-29 | Walter Wolfgang E | Active Tiled User Interface |
CN103780864A (en) * | 2012-10-18 | 2014-05-07 | 腾讯科技(深圳)有限公司 | Video conversation interface display method and apparatus |
CN104657034A (en) * | 2013-11-15 | 2015-05-27 | 永明科技顾问股份有限公司 | Dynamic window layout adjusting system and method |
CN105786304A (en) * | 2014-12-24 | 2016-07-20 | 阿里巴巴集团控股有限公司 | Information display method and device in instant messaging |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9542070B2 (en) | Method and apparatus for providing an interactive user interface | |
CN109783181A (en) | Screen is adapted to display methods, electronic equipment and computer storage medium | |
CN107463400B (en) | Hot updating method of mobile application and terminal equipment | |
CN107391117B (en) | Split screen processing method and device for light application and electronic device | |
CN106980510B (en) | Window self-adaption method and device of player | |
CN109324722B (en) | Method, device and equipment for adding nodes of thought guide graph and storage medium | |
KR102121905B1 (en) | Method and apparatus for setting background of ui control, and terminal | |
CN111767002B (en) | Page display method, device, equipment and storage medium | |
CN104679391B (en) | The icon display method and device of intelligent watch | |
CN106909393B (en) | Display adjustment method of input method panel and mobile terminal | |
CN103702032A (en) | Image processing method, device and terminal equipment | |
KR102317013B1 (en) | Object management and visualization using computing devices | |
CN110866208B (en) | Page response type layout method, device and equipment | |
CN107122104B (en) | Data display method and device | |
US20150339277A1 (en) | Systems and methods for programming behavior of a website to respond to capabilities of different devices | |
CN108647069B (en) | Interface display method and device, storage medium and electronic device | |
CN111698548B (en) | Video playing method and device | |
CN111836107A (en) | Video call window display method and device | |
CN109491565B (en) | Method and equipment for displaying component information of object in three-dimensional scene | |
CN106960460B (en) | Animation processing method, device and equipment | |
CN114356264A (en) | Signal generation method, device, equipment and readable storage medium | |
US20160339340A1 (en) | Method and apparatus for performing interaction in chessboard interface | |
CN108762756B (en) | Application program display method and device | |
CN108363525B (en) | Method and device for responding to user gesture operation in webpage and terminal equipment | |
CN110473146B (en) | Remote sensing image display method and device, storage medium and computer 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 |