CN113918070B - Synchronous display method and device, readable storage medium and electronic equipment - Google Patents

Synchronous display method and device, readable storage medium and electronic equipment

Info

Publication number
CN113918070B
CN113918070B CN202111006795.3A CN202111006795A CN113918070B CN 113918070 B CN113918070 B CN 113918070B CN 202111006795 A CN202111006795 A CN 202111006795A CN 113918070 B CN113918070 B CN 113918070B
Authority
CN
China
Prior art keywords
display
content
display interface
interface
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111006795.3A
Other languages
Chinese (zh)
Other versions
CN113918070A (en
Inventor
时小婷
刘欢
廖璐璐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Publication of CN113918070A publication Critical patent/CN113918070A/en
Application granted granted Critical
Publication of CN113918070B publication Critical patent/CN113918070B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a synchronous display method, a synchronous display device, a readable storage medium and electronic equipment. The method comprises the following steps: determining target display content of the first display interface, wherein the target display content is selected from a second display interface synchronously displayed by the first display interface, and the selected display content is part of display content in the second display interface; and adjusting the size of the display area of the target display content in the first display interface. Therefore, the problem that the watching of the audience is influenced due to incomplete display content or reduced display content can be effectively solved, and the watching experience of the audience is improved.

Description

Synchronous display method and device, readable storage medium and electronic equipment
Technical Field
The present invention relates to the field of internet application technologies, and in particular, to a synchronous display method and apparatus, a readable storage medium, and an electronic device.
Background
With the development of computer and network technologies, a plurality of electronic devices connected in a communication manner can form a synchronous display system to synchronously display a document displayed by one of the electronic devices, that is, when a presenter in the synchronous display system browses a document in his own electronic device, other electronic devices in the synchronous display system can synchronously display the document being browsed by the presenter.
In the related art, the synchronous display mode may be implemented in an equal-scale display mode. The equal scale display means that the display content is scaled according to the same scaling, and then mapped to all electronic devices in the synchronous display system, that is, the scaling of the display content of all electronic devices in the synchronous display system is consistent. In this way, when the display is performed, since the screen sizes of the electronic devices in the synchronous display system are different, if the electronic devices are scaled according to the scaling ratio corresponding to the screen of the minimum size, a waste of screen space of a part of the electronic devices (for example, electronic devices having a screen size larger than the minimum size) is caused. If the electronic device is not scaled according to the scaling corresponding to the screen with the minimum size, the electronic device with the smaller screen size cannot completely display the display content, so that the display of the content is incomplete and the viewing of audiences is affected.
Disclosure of Invention
The invention aims to provide a synchronous display method, a synchronous display device, a readable storage medium and electronic equipment, so as to solve the problems in the related art.
To achieve the above object, a first aspect of the present invention provides a synchronous display method, the method comprising:
determining target display content of a first display interface, wherein the target display content is selected display content in a second display interface synchronously displayed by the first display interface, and the selected display content is part of display content in the second display interface;
and adjusting the size of a display area of the target display content in the first display interface.
Optionally, adjusting the size of the display area of the target display content in the first display interface includes:
according to the size of the target display content in the first display area of the first display interface and the size of the first display interface, the display area of the target display content in the first display interface is adjusted; the first display area is a display area of the target display content in the first display interface before the size of the display area of the target display content in the first display interface is adjusted.
Optionally, the size of the second display area of the target display content in the first display interface after adjustment is larger than the size of the first display area of the target display content in the first display interface before adjustment.
Optionally, adjusting the size of the display area of the target display content in the first display interface includes:
removing other display contents except the target display content in a first display interface; adjusting the size of the display area of the target display content in the first display interface according to the size of the first display area of the target display content in the first display interface and the size of the first display interface; or alternatively
Amplifying a first display area in a first display interface, and enabling moving contents around the target display contents in the first display interface to move in a corresponding direction until the size of the display area of the target display contents in the first display interface is equal to that of a second display area; the corresponding direction is a direction generated by taking the target display content as a starting point and the mobile content as an ending point for connection.
Optionally, adjusting the size of the display area of the target display content in the first display interface includes:
Calculating the length and the width of a second display area of the adjusted target display content in the first display interface, and adjusting the size of the display area of the target display content in the first display interface according to the length and the width of the second display area; or alternatively
And acquiring the calculated outline of the target display content in the second display area of the first display interface, and amplifying the target display content along the outline according to the transverse amplification proportion or the longitudinal amplification proportion.
Optionally, adjusting the size of the display area of the target display content in the first display interface includes:
acquiring the size of a first display area of the target display content on a first display interface;
clearing all display contents in the first display interface;
And calculating the size of a second display area of the target display content in the first display interface according to the size of the target display content in the first display area of the first display interface and the size of the first display interface, and redrawing the target display content according to the size of the second display area and displaying the target display content in the first display interface.
Optionally, redrawing the target display content according to the size of the second display area, and displaying the target display content in the first display interface, including:
Acquiring the length and the width of a second display area of the calculated target display content in the first display interface, and redrawing the target display content according to the acquired length and width; or alternatively
And acquiring coordinates of the adjusted target display content, and redrawing the target display content according to the acquired coordinates.
Optionally, the synchronous display method further includes:
and adjusting the second display area of the target display content to a preset area in the first display interface.
Optionally, the adjusting the second display area of the target display content to a preset area in the first display interface includes:
acquiring the center point coordinates of a second display area of the target display content in the first display interface;
And moving the second display area according to the offset between the center point coordinate and the center point coordinate of the preset area, so that the center point coordinate of the second display area coincides with the center point coordinate of the preset area.
Optionally, the preset area is a central area of the first display interface.
Optionally, under the condition that the target content is not displayed in the first display interface, the size of the area occupied by the selected display content in the second display interface after being scaled according to a preset scaling scale is recorded as the size of the first display area;
According to the size of the target display content in a first display area of a first display interface and the size of the first display interface, adjusting the display area of the target display content in the first display interface;
the preset scaling ratio is a ratio of the area of the first display interface to the area of the second display interface, or a ratio of the length of the first display interface to the length of the second display interface, or a ratio of the width of the first display interface to the width of the second display interface.
Optionally, the method is applied to a slave display device, the slave display device is connected with a master display device, and the slave display device is used for synchronously displaying display content in a display interface of the master display device; the first display interface is a display interface of the slave display device, and the second display interface is a display interface of the master display device.
Optionally, the slave display device receives a selection operation of the master display device; determining the display content corresponding to the selected operation as the target display content of the first display interface, wherein the display content corresponding to the selected operation is part of the display content in the display interface of the main display device;
and adjusting the size of a display area of the target display content in the first display interface.
Optionally, the determining the target display content of the first display interface includes:
receiving the identification information sent by the second display interface; the identification information is used for identifying the selected display content in the second display interface;
and determining the target display content of the first display interface according to the identification information.
Optionally, obtaining identification information for identifying the selected display content in the second display interface includes:
Responding to a selection instruction of the second display interface;
Acquiring an object in the second display interface according to the selection instruction;
and acquiring the identification information of the object.
Optionally, the determining the target display content of the first display interface includes:
Identifying whether ink marks appear on display contents in the first display interface;
and under the condition that ink marks appear in the display content in the first display interface, determining the target display content according to the position information of the ink marks in the first display interface.
Optionally, judging that the ink mark appears in the display content in the first display interface by acquiring an operation instruction for generating the ink mark on the second display interface; or alternatively
And judging that the ink marks appear in the display content in the first display interface by detecting an operation instruction of the ink marks appearing on the first display interface.
Optionally, when the operation instruction for generating ink on the second display interface is obtained and the ink on the display content in the first display interface is judged, the obtained operation instruction for generating ink on the second display interface is that the second display interface receives a frame selection operation; or the obtained operation instruction for generating ink marks on the second display interface is that the second display interface receives pressing operation on the display screen, the pressing operation lasts for a preset time, and a preset displacement amount is generated.
Optionally, when the pressing operation on the display screen is received through the second display interface and ink marks appear in the display content in the first display interface, judging whether the type of the ink marks is underlined or not;
in the case where the type of ink is judged to be underlined, the displacement amount continuously generated by the pressing operation is the ink position.
Optionally, under the condition that the ink appears in the display content in the first display interface through detecting the operation instruction of the ink appearing in the first display interface, the obtained operation instruction of the ink generated by the first display interface is the frame selection operation sent by the second display interface; or pressing operation of the display screen sent by the second display interface, wherein the pressing operation lasts for a preset time and generates a preset displacement amount.
Optionally, in the case that the ink mark appears in the display content in the first display interface by acquiring the pressing operation of the display screen sent by the second display interface, judging whether the type of the ink mark is underlined;
in the case where the type of ink is judged to be underlined, the displacement amount continuously generated by the pressing operation is the ink position.
Optionally, in the case that the ink is a frame, the display content corresponding to the ink position is content located in the frame and/or content located in a preset range around the frame;
in the case that the ink is an underline, the display content corresponding to the ink position is the content which is positioned above the underline and is adjacent to the underline;
Under the condition that the ink is the annotation, the display content corresponding to the ink position is the content corresponding to the annotation;
and under the condition that the ink is positioned on the picture, the display content corresponding to the ink position is the picture.
Optionally, before the determining the target display content of the first display interface, the method further includes:
and responding to the operation of a user, and switching the display mode of the first display interface to a mode suitable for the display content of the display part.
The second aspect of the present invention also provides a synchronous display device, the device comprising:
the determining module is used for determining target display content of a first display interface, wherein the target display content is selected display content in a second display interface synchronously displayed by the first display interface, and the selected display content is part of display content in the second display interface;
And the first adjusting module is used for adjusting the size of the display area of the target display content in the first display interface.
Optionally, the size of the display area of the target display content in the first display interface after adjustment is larger than the size of the display area of the target display content in the first display interface before adjustment.
Optionally, the first adjustment module is configured to: and adjusting the size of the display area of the target display content in the first display interface according to the size of the current display area of the target display content in the first display interface and the size of the first display interface.
Optionally, the apparatus further comprises:
and the second adjusting module is used for adjusting the display area of the target display content to a preset area in the first display interface.
Optionally, the second adjustment module includes:
The acquisition sub-module is used for acquiring the center point coordinates of the display area of the target display content in the first display interface;
And the moving submodule is used for moving the display area of the target display content in the first display interface according to the offset between the center point coordinate and the center point coordinate of the preset area, so that the center point coordinate of the display area of the target display content in the first display interface is overlapped with the center point coordinate of the preset area.
Optionally, the preset area is a central area of the first display interface.
Optionally, the apparatus is applied to a slave display device, the slave display device is connected with a master display device, and the slave display device is used for synchronously displaying display content in a display interface of the master display device; the first display interface is a display interface of the slave display device, and the second display interface is a display interface of the master display device.
Optionally, the determining module includes:
The receiving sub-module is used for receiving the identification information which is sent by the second display interface and used for identifying the selected display content in the second display interface;
And the first determining submodule is used for determining the target display content of the first display interface according to the identification information.
Optionally, the determining module includes:
the identification sub-module is used for identifying whether ink marks appear on the display content in the first display interface;
And the second determining submodule is used for determining the target display content according to the position information of the ink mark in the first display interface under the condition that the ink mark appears in the display content in the first display interface.
Optionally, the apparatus further comprises:
and the switching module is used for responding to the operation of a user and switching the display mode of the first display interface into a mode which can adapt to the display content of the display part.
Optionally, the target display content includes one or more of: pictures, text, shapes, charts, tables, ink, controls.
The third aspect of the present invention also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of the method provided by the first aspect of the present invention.
The fourth aspect of the present invention also provides an electronic device, including:
a memory having a computer program stored thereon;
a processor for executing said computer program in said memory for carrying out the steps of the method provided by the fourth aspect of the invention.
Through the technical scheme, the target display content of the first display interface can be determined first, and then the size of the display area of the target display content in the first display interface is adjusted. Therefore, the problem that in the related technology, the watching of the audience is influenced due to incomplete display content or reduced display content can be effectively solved, and the watching experience of the audience is improved. In addition, as the target display content displayed on the first display interface is the content which is being interpreted by the presenter at present, the content watched by the audience is ensured to be consistent with the content which is being interpreted by the presenter, and the requirement of synchronous display is met.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification, illustrate the invention and together with the description serve to explain, without limitation, the invention. In the drawings:
Fig. 1 is a schematic diagram illustrating a synchronous display scenario according to an example embodiment.
Fig. 2 is a schematic diagram illustrating another synchronized display scenario, according to an example embodiment.
Fig. 3 is a schematic diagram of a third synchronous display scenario, shown according to an example embodiment.
Fig. 4 is a flowchart illustrating a synchronous display method according to an exemplary embodiment.
Fig. 5 is a schematic diagram of a fourth synchronized display scenario, which is illustrated according to an exemplary embodiment.
Fig. 6 is a block diagram of a synchronous display device according to an exemplary embodiment.
Fig. 7 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
The present invention will be described in detail below with reference to specific embodiments shown in the drawings. The embodiments are not intended to limit the invention and structural, methodological, or functional modifications of the invention based on the embodiments are within the scope of the invention.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification 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 or all possible combinations of one or more of the associated listed items.
First, a synchronous display scene will be described.
Fig. 1 is a schematic diagram illustrating a synchronous display scenario according to an example embodiment. In one exemplary embodiment, as shown in FIG. 1, the synchronized display scene may include a slave display device 101 and a master display device 102. The slave display device 101 is connected to the master display device 102, and the slave display device 101 is configured to synchronously display the display content of the master display device 102 in the display interface. Wherein the slave display device 101 and the master display device 102 are directly or indirectly connected through a local network, the internet, or the like. The display interface of the master display device 102 is a second display interface, and the display interface of the slave display device 101 is a first display interface. The slave display device 101 and the master display device 102 may be the same terminal device or different terminal devices, and the hardware configuration may be the same or different, for example, but not limited to, a notebook computer, a smart phone, a tablet computer, a desktop computer, a smart speaker, a smart watch, etc. the slave display device 101 and the master display device 102 may be a notebook computer, a smart phone, a tablet computer, a smart watch, etc. In fig. 1, a notebook computer is taken as a master display device 102, and a smart phone is taken as a slave display device 101.
The master display device 102 is a device for sharing display content, that is, a device used by a presenter, and the slave display device 101 is a device for receiving and synchronously displaying display content shared by the master display device 102. In practical use, the master-slave relationship between two display devices is not fixed, and the slave display device may be switched to the master display device to share the display content, and the master display device may also be switched to receive the shared display content from the slave display device. Also, the number of slave display devices 101 may be one or more, and the present invention is not particularly limited thereto. It should be noted that, when the number of the slave display devices 101 is plural, each slave display device 101 may execute the synchronous display method provided by the present invention.
Fig. 2 is a schematic diagram illustrating another synchronized display scenario, according to an example embodiment. As shown in fig. 2, in another exemplary embodiment, the display screen of the display device 20 is divided into a first display interface 201 and a second display interface 202 in advance. The first display interface 201 is used for synchronously displaying display content on the second display interface 202.
Fig. 3 is a schematic diagram of a third synchronous display scenario, shown according to an example embodiment. As shown in fig. 3, the slave display device 101 is connected with the master display device 102 through a server 103, the master display device 102 transmits the shared display content to the server 103, and the slave display device 102 is used for synchronously downloading the content uploaded by the master display device 102 from the server, so that remote synchronous display of the master display device 102 and the slave display device 101 is realized. In some embodiments, the server 103 may be a stand-alone physical server, a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs, content Delivery Network), basic cloud computing services such as big data and artificial intelligence platforms, and the like. The slave display device 101, the master display device 102, and the server 103 may be directly or indirectly connected through wired or wireless communication, which is not limited in the embodiment of the present application.
In the following, a description will be given of a synchronous display method provided by the present application, and an execution subject of the method may be, for example, the slave display device 101 in one exemplary embodiment shown in fig. 1, or the display device 20 in another exemplary embodiment shown in fig. 2, or the server 103 in a third exemplary embodiment shown in fig. 3. Fig. 4 is a flowchart of a synchronous display method according to an embodiment of the present application. The following describes the synchronous display method by taking different application scenes as examples.
Step 301: and determining target display content of the first display interface.
The target display content is selected display content in a second display interface synchronously displayed in the first display interface, and the selected display content is part of display content in the second display interface.
Taking the implementation scenario shown in fig. 1 as an example, the execution subject of the method steps shown in fig. 4 may be the slave display device 101, the first display interface is a display interface of the slave display device 101, and the second display interface may be a display interface of the master display device 102 for performing an explanation operation by the presenter, that is, when the presenter performs the explanation operation in the second display interface, if a part of display contents in the second display interface is selected, the slave display device 101 determines, by acquiring the part of display contents selected by the second display interface, a corresponding display content (i.e., a target display content) in the first display interface, where a specific determination manner may be determined by using an image recognition manner, or may be determined based on information sent by the master display device 102 for identifying the selected content, which will be described later in detail. The determined target display content may be a part of the current display content in the first display interface, or may be a content to be displayed on the first display interface. The content to be displayed on the first display interface is content which is not displayed on the first display interface currently and can be displayed in a subsequent demonstration. The target display content may include, but is not limited to, one or more of the following: objects such as pictures, text, shapes, charts, tables, ink, controls, and the like.
It should be noted that in one exemplary embodiment, the first display interface may be from the entire display screen in the display device 101 (as shown in fig. 1 or 3). In another embodiment, the slave display screen in the display device 101 may be divided into different display windows, with the first display interface being only one of the display windows. For example, the display screen in the display device 101 is divided into an upper display interface and a lower display interface, wherein the upper display interface is denoted as a first display interface for synchronously displaying display content in the second display interface of the main display device 102, and the lower display interface may be used for displaying other content, such as a conversation box, a presenter head portrait, or a viewer head portrait.
In an exemplary embodiment of the present invention, the second display interface may also be the entire display screen of the main display device 102 (as shown in fig. 1), or one of a plurality of display windows in the main display device 102.
In one exemplary embodiment of the present invention, a selection operation of a master display device is received from a slave display device; and determining the display content corresponding to the selection operation as the target display content of the first display interface, wherein the display content corresponding to the selection operation is part of the display content in the display interface of the main display device. The display content corresponding to the selection operation can be a click object obtained by clicking the second display interface by a mouse; the object can be obtained from the second display interface through the frame selection operation; an object of the second display interface determined through voice operation; or the object of the second display interface determined by the shortcut key; or an object of the second display interface determined by an ink operation, etc. And are not limited herein.
Step 302: and adjusting the size of the display area of the target display content in the first display interface so as to adapt the target display content to the size of the first display interface.
The size of the target display content adapting to the first display interface is that the size of the target display content is adjusted, so that the length and/or the width of the target display content is equal to the difference value between the size of the first display interface and a preset interval, wherein the preset interval represents the interval between the adjusted boundary of the second display area and the boundary of the first display interface.
In one embodiment provided by the present invention, the target display content is the content that the presenter is speaking, that is, the target display content is the content that the viewer is currently focusing on, while the other content may be temporarily focusing on at the present moment, so the target display content may be highlighted in the first display interface from the display device 101. For example, the size of the display area of the target display content in the first display interface is adjusted in a manner of adapting to the size of the first display interface, so that the size of the second display area of the adjusted target display content in the first display interface is larger than the size of the first display area of the target display content in the first display interface before adjustment, the problem that in the related art, viewing of a viewer is affected due to incomplete display content or reduced display content can be effectively solved, and viewing experience of the viewer is improved.
For example, the display area of the target display content in the first display interface may be adjusted according to the size of the first display area of the target display content in the first display interface and the size of the first display interface, so as to adapt to the size of the first display interface. The first display area is a display area of the target display content in the first display interface before the size of the display area of the target display content in the first display interface is adjusted. Taking the implementation scenario shown in fig. 1 as an example for illustration, the slave display device 101 may determine the adjustment ratio of the display area of the target display content in the first display interface according to the size of the first display area of the target display content in the first display interface, the size of the first display interface, and the preset interval (the preset interval characterizes the interval between the adjusted second display area boundary and the first display interface boundary), and then adjust the size of the display area of the target display content in the first display interface according to the adjustment ratio. The size of the first display area can be obtained by acquiring an area composed of coordinates of the target display content. The method can also be obtained by obtaining the relative position of the target display content and the outer edge of the first display interface composition area, and in the embodiment provided by the invention, the outer edge is the area edge far away from the central coordinate of the first display interface. And will not be described in detail herein.
It should be noted that, if the current display content in the first display interface includes the target display content, the size of the area occupied by the target display content in the first display interface is recorded as the size of the first display area; and if the target display content is the display content which is not currently displayed in the first display interface, recording the size of the area occupied by the selected display content in the second display interface after scaling according to the preset scaling as the size of the first display area. The size of the area occupied by the selected display content in the second display interface can be obtained by adopting the calculation mode of the size of the first display area, and the preset scaling ratio is a preset scaling ratio for scaling the area occupied by the display content in the synchronous display process; the preset scale may be an equal scale; the scale of the display content may be scaled as a whole when the display content shared by the master display device 102 is currently displayed by the slave display device 101; when the preset scaling is a scaling in which the display content is scaled as a whole, the preset scaling may be obtained by calculating a ratio of screen lengths or widths of the slave display device 101 and the master display device 102; or may be obtained by calculating the ratio of the screen areas of the slave display device 101 and the master display device 102. The present invention is not particularly limited thereto.
By way of example, taking the implementation scenario shown in fig. 3 as an example, a description will be given of a manner of determining the size of the first display area of the target display content in a case where the target display content is the display content that is not currently displayed on the first display interface. As shown in fig. 3, the display contents shared by the master display device 102 are forwarded by the server 103 to the slave display device 101. If the selected content in the second display interface of the display device 102 is from the first rectangle to the third rectangle (wherein the leftmost rectangle in the second display interface is the first rectangle and the rightmost rectangle is the fourth rectangle), the display area of the target display content in the first display interface is adjusted according to the size of the target display content (the first rectangle to the third rectangle) in the first display area of the first display interface and the size of the first display interface so as to adapt to the size of the first display interface. The adjustment method will be described in detail later. At this time, the first display interface no longer displays the fourth rectangle. When the fourth rectangle is determined as the target display content in the subsequent presentation of the second display interface, since the content represented by the fourth rectangle is not currently displayed in the first display interface, the server 103 shown in fig. 3 may record the size of the area occupied by the selected fourth rectangle in the second display interface after scaling according to the preset scaling as the size of the first display area. Further, after determining the size of the target display content in the first display area of the first display interface in the above manner, the display area of the target display content in the first display interface may be adjusted according to the size of the target display content in the first display area of the first display interface and the size of the first display interface, so as to adapt to the size of the first display interface. The adjustment method will be described in detail later. In the embodiment provided by the invention, the fourth rectangle is continuously determined as the target display content in the subsequent demonstration of the second display interface, the fourth rectangle can be determined as the target display content in the second display interface in a mode of clicking by a touch pen, clicking by a mouse or selecting by a frame, the identification information of the fourth rectangle is sent to the server 103, after receiving the identification information of the fourth rectangle selected as the target display content sent by the main display device 102, the server 103 can firstly perform scaling processing on the received display content according to a preset scaling ratio, and send the display content after the scaling processing to the slave display device 101 for display. In an embodiment of the present invention, after receiving the identification information of the fourth rectangle selected as the target display content sent by the main display device 102, the server 103 may calculate the size of the target display content in the first display area of the first display interface according to the preset scaling, redraw the target display content according to the size of the target display content in the first display area of the first display interface, and send the redrawn target display content to the slave display device 101 for display.
Fig. 5 is a schematic diagram of a fourth synchronized display scenario, which is illustrated according to an exemplary embodiment. The fourth synchronous display scenario is a schematic diagram of one of the synchronous display scenarios shown in fig. 1, in which the master display device 102 selects the target display content, and the slave display device 101 adjusts the target display content on the first display interface according to the selected operation. The content within the dashed box in fig. 5 is the display content selected by the presenter in the second display interface of the primary display device 102. Assuming that the target display content is in a rectangle of 20 units x 20 units from the first display area in the first display interface of the display device 101, the target display content may be obtained by identifying an edge area of the target display content, or may be obtained by calculating coordinates of the target display content, or may be obtained by calculating a relative position of the target display content with respect to the first display interface. In the embodiment provided by the invention, the unit can set the size value according to the actual requirement. The first display interface is a rectangle of 400 units by 800 units, and in the embodiment corresponding to fig. 5, the size of the first display screen of the first device may be obtained through calculation of the vertex coordinates of the first display device, or may also be obtained directly through device parameters. The preset interval is the difference between the rectangular boundary of the display area of the adjusted target display content and each corresponding edge of the rectangular boundary of the first display interface, wherein the corresponding edge refers to the rectangular upper boundary of the display area of the adjusted target display content and the rectangular upper boundary of the first display interface; the corresponding side refers to the rectangular left boundary of the display area of the adjusted target display content and the rectangular left boundary of the first display interface. When the display area of the target display content is non-rectangular, the rectangular boundary of the display area of the target display content is the boundary of the minimum circumscribed rectangle of the display area of the target display content. In the embodiment corresponding to fig. 5, the preset interval may be set to 20 units, and then the size of the display area of the target display content in the first display interface is adjusted, so that the target display content is adapted to the size of the first display interface, including: acquiring a length 400 unit and a width 800 unit of a first display interface; acquiring a length 20 unit and a width 20 unit of a second display interface; and determining the adjustment proportion of the display area of the target display content in the first display interface according to the size of the first display area of the target display content in the first display interface, the size of the first display interface and a preset interval (the preset interval represents the interval between the adjusted second display area boundary and the first display interface boundary), and further adjusting the size of the display area of the target display content in the first display interface according to the adjustment proportion.
The display area has a lateral adjustment ratio of (400-20)/20=19 and a longitudinal adjustment ratio of (800-20)/20=39, and then the target display content is enlarged 19 times in the lateral direction and 39 times in the longitudinal direction. Thus, the target display content is enlarged in a mode of adapting to the first display interface, so that the audience can conveniently watch the content which is being explained by the demonstrator. In another exemplary embodiment provided by the present invention, the length and width of the target display content after adjustment may also be acquired, and the target display content may be redrawn according to the acquired length and width. When the target display content is of another shape than rectangular, the target display content may be enlarged along the shape outline at a lateral enlargement ratio or a longitudinal enlargement ratio. And the coordinates of the target display content after adjustment can be acquired, and the target display content is redrawn according to the acquired coordinates.
In another exemplary embodiment provided by the present invention, the target display content may be further adjusted according to a size equal to a scale of the first display interface. Assuming that the current display area of the target display content in the first display interface of the display device 101 is a rectangle of 20 units by 20 units, the first display interface is a rectangle of 400 units by 800 units, the preset interval is that the rectangular boundary of the display area of the adjusted target display content is different from the rectangular boundary of the first display interface by 20 units, the transverse adjustment ratio of the display area is (400-20)/20=19, the longitudinal adjustment ratio is (800-20)/20=39, the sizes of the transverse adjustment ratio and the longitudinal adjustment ratio are judged, a smaller value between the transverse adjustment ratio and the longitudinal adjustment ratio is taken, in this embodiment, the transverse adjustment ratio 19 of the display area is taken, and then the target display content is enlarged 19 times in the transverse direction and 19 times in the longitudinal direction. Thus, the target display content is enlarged in a mode of adapting to the first display interface, so that the audience can conveniently watch the content which is being explained by the demonstrator. In the embodiment provided by the invention, the target display content adaptive first display interface can be set according to specific requirements.
By adopting the technical scheme, the target display content of the first display interface is determined first, and then the size of the display area of the target display content in the first display interface is adjusted to adapt to the size of the first display interface. Therefore, the problem that in the related technology, the watching of the audience is influenced due to incomplete display content or reduced display content can be effectively solved, and the watching experience of the audience is improved. In addition, as the target display content displayed on the first display interface is the content which is being interpreted by the presenter at present, the content watched by the audience is ensured to be consistent with the content which is being interpreted by the presenter, and the requirement of synchronous display is met.
In order to facilitate a better understanding of the synchronous display method provided by the present invention, a complete embodiment of the method will be described below.
In one embodiment, the display modes of the first display interface of the slave display device 101 may include a mode capable of sharing the screen to display the entire content and a mode capable of adapting to display of the content by the display section. In this embodiment, in order to improve the flexibility of the synchronous display method, the slave display device 101 can switch the display mode of the first display interface to a mode capable of adapting to the display content of the display section in response to the operation of the user.
For example, a mode changeover switch for switching between a mode in which the shared screen displays the entire content and a mode in which the display section is adapted to display the content may be included in the first display interface. Thus, the user can switch the display mode of the first display interface to a mode suitable for the display content of the display portion by operating the mode switch.
Also by way of example, the slave display device 101 automatically pops up a window to remind the user of the slave display device 10 whether to switch the display mode to a mode suitable for displaying contents of the display section upon detecting the presence of ink in the first display interface, and switches the display mode of the first display interface to a mode suitable for displaying contents of the display section upon receiving an operation for characterizing confirmation of switching to a mode suitable for displaying contents of the display section entered by the user. The method for determining that ink is detected from the display device to be present in the first display interface is described in detail later.
It should be noted that, in practical application, the display mode of the first display interface may also be switched to a mode suitable for the display content of the display portion by other user operations, which will not be described here.
After switching the display mode of the first display interface to a mode adapted to display contents of the display section, the display device including the first display interface is able to perform the above-described step S301 and step S302. Further, in step S301, the manner of determining the target display content in the first display interface is not limited to the following two manners:
In the first manner, the presenter inputs a selection operation in the main display device 102, which may be an operation of clicking on a content being taught, or an operation of selecting a content being taught by means of a tool box (e.g., lasso, etc.), or a presenter moves a cursor to a content being taught, or the like. First, the main display device 102 determines identification information for identifying the selected display content in the second display interface in the case where a selection operation input by the presenter is detected. Wherein each content displayed in the main display device 102 has identification information for identifying the content. For example, the display content is a plurality of pictures, and each picture has unique identification information for identifying the picture. It is worth noting that in one exemplary embodiment, each portion of content in the primary display device 102 has identification information that uniquely identifies the portion of content. For example, each paragraph in a document has an identification information. For another example, when the display content is a plurality of pictures, a plurality of adjacent images have one piece of identification information, and so on.
In one embodiment of the present invention, the main display device 102 may determine the selected display content according to a selection operation input by the user by: the content located within the preset range of the click position is determined as the selected display content, or the position located within the frame or the content located within the preset range of the frame is determined as the selected content, or the content located within the preset range of the cursor position is determined as the selected content. For example, if the cursor position is located in a paragraph of the document, the paragraph in which the cursor position is located is the selected content; if the cursor position is located between different paragraphs, the previous paragraph and/or the next paragraph where the cursor is located is the selected content; similarly, if the cursor position is located in the position of the object such as a table, a text box, a chart or a picture, the whole table, the text box, the chart or the whole picture is the selected content, and so on. In practical application, the preset range can be set according to practical requirements, and the invention is not limited in particular.
Next, the master display device 102 or the second display interface transmits identification information for identifying the selected display content in the second display interface to the slave display device 101. The identification information is received from the display device 101, and after the identification information is received, the target display content in the first display interface is determined according to the identification information.
In the second manner, since the slave display device 101 synchronously displays the display contents in the display interface of the master display device 102, and the presenter will typically add ink to the content being interpreted, if the presenter adds ink to the content being interpreted in the master display device 102, the display contents on the first interface of the slave display device 101 may include ink, and the slave display device 101 may determine the target display contents based on the ink.
In one embodiment of the present invention, the image recognition manner may be used by the display device 101 to identify whether ink is present in the display content in the first display interface, and in the case where it is identified that ink is present in the display content in the first display interface, determine the target display content according to the position information of the ink in the first display interface. In one embodiment of the present invention, image features of various types of ink may be stored in advance, and image features of content displayed in the first display interface may be extracted in real time, where when the extracted image features match with image features of stored ink, ink appearing in the first display interface may be identified, which will not be described herein.
Illustratively, the slave display device 101 may consider that the presenter selected the display content in the master display device 102 upon recognizing that the display content in the first display interface appears to be ink. Accordingly, the ink position can be further recognized from the display device 101, and the display content corresponding to the ink position is taken as the target display content. And when the ink is a frame, the display content corresponding to the ink position is the content in the frame and/or the content in the preset range around the frame. In the case where the ink is underlined, the display content corresponding to the ink position is content located above and adjacent to the underline. And under the condition that the ink is the annotation, the display content corresponding to the ink position is the content corresponding to the annotation position. And under the condition that the ink is positioned on the picture, the display content corresponding to the ink position is the picture.
In one embodiment of the present invention, the detection of the presence of ink in the first display interface from the display device 101 may be determined by acquiring an operation instruction for generating ink in the second display interface, or the detection of the presence of ink in the first display interface from the display device 101 may be determined by detecting an operation instruction for generating ink in the first display interface. In the case that it is determined that ink is detected from the display device 101 to be present in the first display interface by acquiring an operation instruction for generating ink on the second display interface, the acquired operation instruction for generating ink on the second display interface may be a frame selection operation received for the second display interface; or the second display interface receives the pressing operation of the mouse, the finger and the like on the display screen, the pressing operation lasts for a preset time and generates a preset displacement, wherein the preset time and the preset displacement can be set according to actual requirements. In the case where a pressing operation of a mouse, a finger, or the like on the display screen is received through the second display interface, it is determined whether or not ink is underlined in the type of the ink in the first display interface detected from the display device 101, and in the case where the ink is underlined in the type of the ink, the displacement amount continuously generated by the pressing operation is the ink position. When the operation instruction of generating ink on the second display interface is acquired, the ink can be used as a frame, underlined, annotated, located on a picture and the like, and the display content corresponding to the ink position is identified, namely the selected display content in the second display interface is identified. Identification information for identifying the selected display content in the second display interface is then determined. Next, the slave display device 101 receives identification information for identifying the selected display content in the second display interface, which is transmitted from the master display device 102 or the second display interface, and determines the target display content in the first display interface according to the identification information. When the operation instruction of ink mark appears on the first display interface is detected, and the condition that ink mark exists in the first display interface detected by the display equipment 101 is judged, the obtained operation instruction of ink mark generation on the first display interface can be a frame selection operation sent by the obtained second display interface; or pressing operation of the display screen sent by the second display interface, wherein the pressing operation lasts for a preset time and generates a preset displacement amount. When the frame selection operation sent by the second display interface is obtained, the display content corresponding to the ink position can be identified under the condition that the ink is taken as a frame. When the pressing operation of the display screen sent by the second display interface is obtained, the pressing operation lasts for a preset time and generates a preset displacement amount, judging whether the type of the ink mark is an underline, and when the type of the ink mark is judged to be the underline, the displacement amount continuously generated by the pressing operation is the ink mark position.
For step S302, the manner of adjusting the target display content is not limited to the following three manners:
in a first mode, after determining the target display content, firstly, removing other contents except the target display content in the first display interface, only keeping the target display content, and then, adjusting the size of the display area of the target display content in the first display interface according to the size of the current display area of the target display content in the first display interface and the size of the first display interface.
In the second mode, after determining the target display content, the following operations are performed:
Acquiring the size of a current display area of the target display content on the first display interface;
clearing all display contents in the first display interface;
And calculating the size of a second display area of the target display content in the first display interface according to the size of the current display area of the target display content in the first display interface and the size of the first display interface, redrawing the target display content according to the size of the second display area, and displaying the target display content in the first display interface.
In a third mode, after determining the target display content, amplifying a first display area in a first display interface, so that moving content around the target display content in the first display interface moves in a corresponding direction until the size of the display area of the target display content in the first display interface is equal to that of a second display area; the corresponding direction is a direction generated by taking the target display content as a starting point and the mobile content as an ending point for connection. The mobile content is other display content except the target display content in the first display interface.
Specifically, the size of the target display content in the first display interface is directly adjusted, and as the size of the target display content becomes larger, the content on the left side of the target display content in the first display interface moves to the left side of the first display interface, the content on the right side of the target display content moves to the right side of the first display interface, the content on the upper side of the target display content moves to the upper side of the first display interface, and the content on the lower side of the target display content moves to the lower side of the first display interface until the size of the display area of the target display content in the first display interface is equal to the size of the second display area.
Alternatively, in another embodiment, it is contemplated that the current display area of the target display content in the first display interface may be located in a non-intermediate position of the first display interface (e.g., located relatively near the upper edge of the first display interface, near the lower edge of the first display interface, near the left edge of the first display interface, or near the right edge of the first display interface) and not be convenient for the viewer to view. Therefore, in this embodiment, after determining the target display content in the first display interface, the position of the current display area of the target display content in the first display interface may be adjusted, so as to adjust the display area of the target display content to a preset area in the first display interface. The preset area is any area in the first display interface.
In yet another embodiment, the preset area is an area convenient for the viewer to view, which may be a central area of the first display interface.
For example, the specific implementation of adjusting the display area of the target display content to the preset area in the first display interface may be: firstly, acquiring the center point coordinates of a display area of target display content in a first display interface; and then, according to the offset between the center point coordinates and the center point coordinates of the preset area, moving the display area of the target display content in the first display interface, so that the center point coordinates of the display area of the target display content in the first display interface are overlapped with the center point coordinates of the preset area.
For example, assuming that the center point coordinates of the display area of the target display content in the first display interface are (2, 4), the center point coordinates of the preset area are (4, 8), the display area of the target display content in the first display interface is shifted by 2 units along the positive X-axis direction of the coordinate axis, and shifted by 4 units along the positive Y-axis direction, the center point coordinates of the display area of the target display content in the first display interface are overlapped with the center point coordinates of the preset area.
It should be noted that, according to the offset between the center point coordinates of the display area of the target display content in the first display interface and the center point coordinates of the preset area, moving the display area of the target display content in the first display interface is only one possible implementation. In practical applications, other ways of adjusting the display area of the target display content to the preset area in the first display interface are also applicable to the present invention. For example, the display area of the target display content in the first display interface is moved according to the amount of offset between the boundary coordinates of the display area of the target display content in the first display interface and the boundary coordinates of the preset area.
By adopting the scheme, the display area of the target display content can be adjusted to the preset area in the first display interface, and the preset area is the central area of the first display interface, so that the target display content can be displayed at the position in the first display interface, which is easy for the audience to watch, and the convenience for the audience to watch is further improved.
In yet another embodiment, after determining the target display content on the first display interface, the display area of the target display content may be adjusted to a preset area on the first display interface, and then the size of the display area of the target display content on the first display interface is adjusted. The specific embodiment of adjusting the display area of the target display content to the preset area on the first display interface and the specific embodiment of adjusting the size of the display area of the target display content on the first display interface are described in the foregoing, and are not repeated herein.
Therefore, the target display content can be displayed maximally, and the target display content can be displayed in the central area of the first display interface, so that the viewing convenience of the audience is further improved, and the viewing experience of the audience is improved.
Based on the same inventive concept, the invention also provides a synchronous display device for implementing the synchronous display method provided by the embodiment of the method. Fig. 6 is a block diagram of a synchronous display apparatus according to an exemplary embodiment, which may be applied to a slave display device connected to a master display device for synchronously displaying display contents in a display interface of the master display device. As shown in fig. 6, the synchronous display device 500 may include:
a determining module 501, configured to determine a target display content of a first display interface, where the target display content is a selected display content in a second display interface that is synchronously displayed by the first display interface, and the selected display content is a part of display content in the second display interface;
the first adjustment module 502 is configured to adjust a size of a display area of the target display content in the first display interface.
Optionally, the size of the display area of the target display content in the first display interface after adjustment is larger than the size of the display area of the target display content in the first display interface before adjustment.
Optionally, the first adjustment module is configured to: and adjusting the size of the display area of the target display content in the first display interface according to the size of the current display area of the target display content in the first display interface and the size of the first display interface.
Optionally, the apparatus further comprises:
and the second adjusting module is used for adjusting the display area of the target display content to a preset area in the first display interface.
Optionally, the second adjustment module includes:
The acquisition sub-module is used for acquiring the center point coordinates of the display area of the target display content in the first display interface;
And the moving submodule is used for moving the display area of the target display content in the first display interface according to the offset between the center point coordinate and the center point coordinate of the preset area, so that the center point coordinate of the display area of the target display content in the first display interface is overlapped with the center point coordinate of the preset area.
Optionally, the preset area is a central area of the first display interface.
Optionally, the apparatus is applied to a slave display device, the slave display device is connected with a master display device, and the slave display device is used for synchronously displaying display content in a display interface of the master display device; the first display interface is a display interface of the slave display device, and the second display interface is a display interface of the master display device.
Optionally, the determining module includes:
The receiving sub-module is used for receiving the identification information which is sent by the second display interface and used for identifying the selected display content in the second display interface;
And the first determining submodule is used for determining the target display content of the first display interface according to the identification information.
Optionally, the determining module includes:
the identification sub-module is used for identifying whether ink marks appear on the display content in the first display interface;
And the second determining submodule is used for determining the target display content according to the position information of the ink mark in the first display interface under the condition that the ink mark appears in the display content in the first display interface.
Optionally, the apparatus further comprises:
And the switching module is used for responding to the operation of a user and switching the display mode of the first display interface into a mode suitable for the display content of the display part.
Optionally, the target display content includes one or more of: pictures, text, shapes, charts, tables, ink, controls.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Based on the same inventive concept, the present invention also provides an electronic device, which may be an electronic device having the first display interface described above, and which may be, for example, the slave display device 101 in fig. 1, or the display device 20 shown in fig. 2, or the server 103 shown in fig. 3. Referring to fig. 7, fig. 7 is a block diagram of an electronic device, according to an example embodiment. For example, the electronic device 600 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
As shown in fig. 7, the electronic device 600 may include: a processor 601, a memory 602. The electronic device 600 may also include one or more of a multimedia component 603, an input/output (I/O) interface 604, and a communication component 605.
The processor 601 is configured to control the overall operation of the electronic device 600 to perform all or part of the steps in the synchronous display method described above. The memory 602 is used to store various types of data to support operations at the electronic device 600, which may include, for example, instructions for any application or method operating on the electronic device 600, as well as application-related data such as content to be synchronously displayed, size of display area, size of first display interface, spacing of maximum display area boundary from first display interface boundary, and so forth. Accordingly, the processor 601 may adjust the size of the display area of the target display content in the first display interface using the content of the synchronous display in the memory 602, the size of the display area, the size of the first display interface, and the interval between the maximum display area boundary and the first display interface boundary. The Memory 602 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable programmable Read-Only Memory (ELECTRICALLY ERASABLE PROGRAMMABLE READ-Only Memory, EEPROM for short), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia component 603 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen, the audio component being for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in the memory 602 or transmitted through the communication component 605. The audio assembly further comprises at least one speaker for outputting audio signals. The I/O interface 604 provides an interface between the processor 601 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 605 is used for wired or wireless communication between the electronic device 600 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, near Field Communication (NFC) for short, 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or one or a combination of more of them, is not limited herein. The corresponding communication component 605 may thus comprise: wi-Fi module, bluetooth module, NFC module, etc.
In an exemplary embodiment, the electronic device 600 may be implemented by one or more Application-specific integrated circuits (ASIC), digital signal processors (DIGITAL SIGNAL Processor, DSP), digital signal processing devices (DIGITAL SIGNAL Processing Device, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field Programmable GATE ARRAY, FPGA), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described synchronous display method.
The electronic equipment provided by the invention can firstly determine the target display content of the first display interface, and then adjust the size of the display area of the target display content in the first display interface. Therefore, the problem that in the related technology, the watching of the audience is influenced due to incomplete display content or reduced display content can be effectively solved, and the watching experience of the audience is improved. In addition, as the target display content displayed on the first display interface is the content which is being interpreted by the presenter at present, the content watched by the audience is ensured to be consistent with the content which is being interpreted by the presenter, and the requirement of synchronous display is met.
In another exemplary embodiment, a computer readable storage medium is also provided, comprising program instructions which, when executed by a processor, implement the steps of the synchronized display method described above. For example, the computer readable storage medium may be the memory 602 including program instructions described above that are executable by the processor 601 of the electronic device 600 to perform the synchronous display method described above.
In another exemplary embodiment, a computer program product is also provided, comprising a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-described synchronized display method when executed by the programmable apparatus.
The preferred embodiments of the present invention have been described in detail above with reference to the accompanying drawings, but the present invention is not limited to the specific details of the above embodiments, and various simple modifications can be made to the technical solution of the present invention within the scope of the technical concept of the present invention, and all the simple modifications belong to the protection scope of the present invention.
In addition, the specific features described in the above embodiments may be combined in any suitable manner without contradiction. The various possible combinations of the invention are not described in detail in order to avoid unnecessary repetition.
Moreover, any combination of the various embodiments of the invention can be made without departing from the spirit of the invention, which should also be considered as disclosed herein.

Claims (25)

1. A method of synchronous display, the method comprising:
Determining target display content of a first display interface in an image recognition mode or based on identification information of the selected display content, wherein the target display content is selected display content in a second display interface synchronously displayed by the first display interface, and the selected display content is part of display content in the second display interface;
adjusting the size of a display area of the target display content in the first display interface;
the method for determining the target display content of the first display interface through the image recognition mode comprises the following steps: determining target display content according to the ink;
Wherein, the determining the target display content according to the ink comprises:
Identifying whether ink marks appear on display contents in the first display interface;
Determining the target display content according to the position information of the ink mark in the first display interface under the condition that the ink mark appears in the display content in the first display interface; the target display content corresponding to the ink is selected from the second display interface;
Determining identification information for identifying the target display content;
Determining the target display content of the first display interface according to the identification information;
Wherein determining the target display content of the first display interface based on the identification information of the selected display content includes:
Receiving the identification information sent by the second display interface;
Determining the target display content of the first display interface according to the identification information;
the identification information is used for uniquely identifying the selected display content in the second display interface;
The display content is an object in the document, and the identification information is used for identifying the complete object.
2. The synchronized display method of claim 1, wherein resizing the display area of the target display content in the first display interface comprises:
according to the size of the target display content in the first display area of the first display interface and the size of the first display interface, the display area of the target display content in the first display interface is adjusted; the first display area is a display area of the target display content in the first display interface before the size of the display area of the target display content in the first display interface is adjusted.
3. The synchronous display method according to claim 2, wherein:
The size of the second display area of the target display content in the first display interface after adjustment is larger than the size of the first display area of the target display content in the first display interface before adjustment.
4. The synchronized display method of claim 2, wherein resizing the display area of the target display content in the first display interface comprises:
removing other display contents except the target display content in a first display interface; adjusting the size of the display area of the target display content in the first display interface according to the size of the first display area of the target display content in the first display interface and the size of the first display interface; or alternatively
Amplifying a first display area in a first display interface, and enabling moving contents around the target display contents in the first display interface to move in a corresponding direction until the size of the display area of the target display contents in the first display interface is equal to that of a second display area; the corresponding direction is a direction generated by taking the target display content as a starting point and the mobile content as an ending point for connection.
5. The synchronized display method of claim 2, wherein resizing the display area of the target display content in the first display interface comprises:
Calculating the length and the width of a second display area of the adjusted target display content in the first display interface, and adjusting the size of the display area of the target display content in the first display interface according to the length and the width of the second display area; or alternatively
And acquiring the calculated outline of the target display content in the second display area of the first display interface, and amplifying the target display content along the outline according to the transverse amplification proportion or the longitudinal amplification proportion.
6. The synchronized display method of claim 2, wherein resizing the display area of the target display content in the first display interface comprises:
acquiring the size of a first display area of the target display content on a first display interface;
clearing all display contents in the first display interface;
And according to the size of the target display content in the first display area of the first display interface and the size of the first display interface, calculating the size of the target display content in the second display area of the first display interface, and redrawing the target display content according to the size of the second display area, and displaying the target display content in the first display interface.
7. The synchronized display method of claim 6, wherein the redrawing the target display content according to the size of the second display area, displayed on the first display interface, comprises:
Acquiring the length and the width of a second display area of the calculated target display content in the first display interface, and redrawing the target display content according to the acquired length and width; or alternatively
And acquiring coordinates of the adjusted target display content, and redrawing the target display content according to the acquired coordinates.
8. A synchronous display method according to claim 3, characterized in that the method further comprises:
and adjusting the second display area of the target display content to a preset area in the first display interface.
9. The method of claim 8, wherein adjusting the second display area of the target display content to the preset area in the first display interface comprises:
acquiring the center point coordinates of a second display area of the target display content in the first display interface;
And moving the second display area according to the offset between the center point coordinate and the center point coordinate of the preset area, so that the center point coordinate of the second display area coincides with the center point coordinate of the preset area.
10. The synchronized display method of claim 9, wherein the predetermined area is a center area of the first display interface.
11. The synchronous display method according to claim 1, wherein:
Under the condition that target content is not displayed in the first display interface, the size of the area occupied by the selected display content in the second display interface after being scaled according to a preset scaling scale is recorded as the size of the first display area;
According to the size of the target display content in a first display area of a first display interface and the size of the first display interface, adjusting the display area of the target display content in the first display interface;
the preset scaling ratio is a ratio of the area of the first display interface to the area of the second display interface, or a ratio of the length of the first display interface to the length of the second display interface, or a ratio of the width of the first display interface to the width of the second display interface.
12. The synchronous display method according to any one of claims 1 to 11, wherein the method is applied to a slave display device connected to a master display device, the slave display device being configured to synchronously display content in a display interface of the master display device; the first display interface is a display interface of the slave display device, and the second display interface is a display interface of the master display device.
13. The synchronized display method of claim 12, wherein:
The slave display device receives a selection operation of the master display device; determining the display content corresponding to the selected operation as the target display content of the first display interface, wherein the display content corresponding to the selected operation is part of the display content in the display interface of the main display device;
and adjusting the size of a display area of the target display content in the first display interface.
14. The synchronous display method according to any one of claims 1 to 11, wherein acquiring identification information for identifying the selected display content in the second display interface includes:
Responding to a selection instruction of the second display interface;
Acquiring an object in the second display interface according to the selection instruction;
and acquiring the identification information of the object.
15. The synchronous display method according to any one of claims 1 to 11, characterized in that:
judging that ink marks appear in display contents in the first display interface by acquiring an operation instruction for generating the ink marks on the second display interface; or alternatively
And judging that the ink marks appear in the display content in the first display interface by detecting an operation instruction of the ink marks appearing on the first display interface.
16. The synchronized display method of claim 15, wherein:
Under the condition that the ink mark appears in the display content in the first display interface is judged by acquiring an operation instruction for generating the ink mark on the second display interface, the acquired operation instruction for generating the ink mark on the second display interface is that the second display interface receives a frame selection operation; or the obtained operation instruction for generating ink marks on the second display interface is that the second display interface receives pressing operation on the display screen, the pressing operation lasts for a preset time, and a preset displacement amount is generated.
17. The synchronized display method of claim 16, wherein:
when the pressing operation on the display screen is received through the second display interface, judging whether the ink mark appears in the display content in the first display interface or not, and judging whether the type of the ink mark is underlined or not;
in the case where the type of ink is judged to be underlined, the displacement amount continuously generated by the pressing operation is the ink position.
18. The synchronized display method of claim 15, wherein:
Under the condition that the ink mark appears in the display content in the first display interface is judged by detecting the operation instruction of the ink mark appearing in the first display interface, the obtained operation instruction of the ink mark generated by the first display interface is the frame selection operation sent by the second display interface; or pressing operation of the display screen sent by the second display interface, wherein the pressing operation lasts for a preset time and generates a preset displacement amount.
19. The synchronized display method of claim 18, wherein:
Judging whether the type of the ink mark is underlined or not under the condition that the ink mark appears in the display content in the first display interface by acquiring the pressing operation of the display screen sent by the second display interface;
in the case where the type of ink is judged to be underlined, the displacement amount continuously generated by the pressing operation is the ink position.
20. The synchronous display method according to claim 17 or 19, characterized in that:
in the case that the ink is a frame, the display content corresponding to the ink position is the content positioned in the frame and/or the content positioned in a preset range around the frame;
in the case that the ink is an underline, the display content corresponding to the ink position is the content which is positioned above the underline and is adjacent to the underline;
Under the condition that the ink is the annotation, the display content corresponding to the ink position is the content corresponding to the annotation;
and under the condition that the ink is positioned on the picture, the display content corresponding to the ink position is the picture.
21. The synchronized display method of any one of claims 1-11, wherein prior to said determining target display content for the first display interface, the method further comprises:
and responding to the operation of a user, and switching the display mode of the first display interface to a mode suitable for the display content of the display part.
22. A synchronous display device, the device comprising:
the determining module is used for determining target display content of a first display interface in an image recognition mode or based on identification information of the selected display content, wherein the identification information is used for uniquely identifying the content in a second display interface, the target display content is selected display content in the second display interface synchronously displayed by the first display interface, and the selected display content is part of display content in the second display interface;
the first adjusting module is used for adjusting the size of the display area of the target display content in the first display interface;
The determining module is used for determining target display content of the first display interface in the following mode through image recognition: determining target display content according to the ink;
the determining module is used for determining target display content according to ink marks according to the following mode:
Identifying whether ink marks appear on display contents in the first display interface;
Determining the target display content according to the position information of the ink mark in the first display interface under the condition that the ink mark appears in the display content in the first display interface; the target display content corresponding to the ink is selected from the second display interface;
Determining identification information for identifying the target display content;
Determining the target display content of the first display interface according to the identification information;
The determining module is used for determining target display content of the first display interface based on the identification information of the selected display content in the following manner:
Receiving the identification information sent by the second display interface;
Determining the target display content of the first display interface according to the identification information;
the identification information is used for uniquely identifying the selected display content in the second display interface;
The display content is an object in the document, and the identification information is used for identifying the complete object.
23. The synchronous display device according to claim 22, wherein:
The size of the second display area of the target display content in the first display interface after adjustment is larger than the size of the first display area of the target display content in the first display interface before adjustment.
24. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any one of claims 1-21.
25. An electronic device, comprising:
a memory having a computer program stored thereon;
A processor for executing the computer program in the memory to implement the steps of the method of any one of claims 1-21.
CN202111006795.3A 2020-08-31 2021-08-30 Synchronous display method and device, readable storage medium and electronic equipment Active CN113918070B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010899587 2020-08-31
CN202010899587X 2020-08-31

Publications (2)

Publication Number Publication Date
CN113918070A CN113918070A (en) 2022-01-11
CN113918070B true CN113918070B (en) 2024-07-02

Family

ID=

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015165023A1 (en) * 2014-04-29 2015-11-05 华为技术有限公司 Screen sharing method, device and system
CN109508162A (en) * 2018-10-12 2019-03-22 福建星网视易信息系统有限公司 A kind of throwing screen display methods, system and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015165023A1 (en) * 2014-04-29 2015-11-05 华为技术有限公司 Screen sharing method, device and system
CN109508162A (en) * 2018-10-12 2019-03-22 福建星网视易信息系统有限公司 A kind of throwing screen display methods, system and storage medium

Similar Documents

Publication Publication Date Title
US20180232135A1 (en) Method for window displaying on a mobile terminal and mobile terminal
US20100045616A1 (en) Electronic device capable of showing page flip effect and method thereof
EP3163423B1 (en) Method and device for setting background of ui control
CN111866423A (en) Screen recording method for electronic terminal and corresponding equipment
US9509733B2 (en) Program, communication apparatus and control method
WO2018010440A1 (en) Projection picture adjusting method and apparatus, and projection terminal
CN112954193B (en) Shooting method, shooting device, electronic equipment and medium
CN110968364B (en) Method and device for adding shortcut plugins and intelligent device
CN106406651B (en) Method and device for dynamically amplifying and displaying video
CN110443772B (en) Picture processing method and device, computer equipment and storage medium
US20160300321A1 (en) Information processing apparatus, method for controlling information processing apparatus, and storage medium
US10298907B2 (en) Method and system for rendering documents with depth camera for telepresence
CN111124111A (en) Processing method and electronic equipment
CN112579244B (en) Method and system for capturing regional picture in remote desktop at mobile terminal
CN111913343B (en) Panoramic image display method and device
CN109766530B (en) Method and device for generating chart frame, storage medium and electronic equipment
CN113918070B (en) Synchronous display method and device, readable storage medium and electronic equipment
JP6579905B2 (en) Information processing apparatus, display control method for information processing apparatus, and program
US8970483B2 (en) Method and apparatus for determining input
CN115291778B (en) Display control method, display control device, electronic equipment and readable storage medium
CN115454365A (en) Picture processing method and device, electronic equipment and medium
CN103513926A (en) Dynamic tablecloth display method, novel video information display method and handheld mobile system
CN109085974B (en) Screen control method, system and terminal equipment
CN113918070A (en) Synchronous display method and device, readable storage medium and electronic equipment
KR20140127131A (en) Method for displaying image and an electronic device thereof

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant