CN113535645B - Display method and device of shared document, electronic equipment and storage medium - Google Patents

Display method and device of shared document, electronic equipment and storage medium Download PDF

Info

Publication number
CN113535645B
CN113535645B CN202110267749.2A CN202110267749A CN113535645B CN 113535645 B CN113535645 B CN 113535645B CN 202110267749 A CN202110267749 A CN 202110267749A CN 113535645 B CN113535645 B CN 113535645B
Authority
CN
China
Prior art keywords
shared
document
window
size
client
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
CN202110267749.2A
Other languages
Chinese (zh)
Other versions
CN113535645A (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 Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202110267749.2A priority Critical patent/CN113535645B/en
Publication of CN113535645A publication Critical patent/CN113535645A/en
Application granted granted Critical
Publication of CN113535645B publication Critical patent/CN113535645B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the disclosure discloses a method, a device, electronic equipment and a storage medium for displaying a shared document, wherein the method comprises the following steps: responding to the sharing instruction, and determining the display window sizes of the sharing end and the shared end; determining a standard window size according to a preset standard determining mode; generating a document scaling message according to the display window size and the standard window size based on a preset scaling rule; and sending the document scaling message to the client corresponding to the document scaling message, so that the shared terminal displays the shared document content based on the document scaling message and is not more than the shared document content displayed by the shared terminal based on the document scaling message. According to the display window size of each end and the standard window size based on the preset scaling rule, the document scaling information of each end is determined, so that document content displayed by the sharing end can be realized and can be displayed on the shared end, and the sharing experience of a user is improved.

Description

Display method and device of shared document, electronic equipment and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a method and a device for displaying a shared document, electronic equipment and a storage medium.
Background
With the continuous development of the internet and communication technology, the demand for remote collaboration is increasing. Currently, when a plurality of cooperators access a shared document simultaneously, inconsistent document contents displayed by each cooperator may occur due to different display window sizes of the cooperators, which affects the sharing experience of users.
Disclosure of Invention
The embodiment of the disclosure provides a display method, a device, electronic equipment and a storage medium for a shared document, which can ensure that document contents displayed by a shared terminal can be completely displayed on the shared terminal, and improve the sharing experience of users.
In a first aspect, an embodiment of the present disclosure provides a method for displaying a shared document, including:
responding to a sharing instruction, and determining the display window size of a client corresponding to the sharing instruction; the client comprises a shared end and a shared end;
determining a standard window size according to a preset standard determining mode;
generating a document scaling message according to the display window size and the standard window size based on a preset scaling rule;
and sending the document scaling message to a client corresponding to the document scaling message, so that the shared end displays the shared document content based on the document scaling message, and the shared end displays no more shared document content based on the document scaling message.
In a second aspect, an embodiment of the present disclosure further provides a display apparatus for sharing a document, including:
the client size determining module is used for responding to the sharing instruction and determining the display window size of the client corresponding to the sharing instruction; the client comprises a shared end and a shared end;
the standard size determining module is used for determining a standard window size according to a preset standard determining mode;
the scaling message determining module is used for generating a document scaling message according to the display window size and the standard window size based on a preset scaling rule;
and the sending module is used for sending the document scaling message to a client corresponding to the document scaling message, so that the shared terminal can display the shared document content based on the document scaling message and the shared terminal can display no more shared document content based on the document scaling message.
In a third aspect, embodiments of the present disclosure further provide an electronic device, including:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement a method of presentation of a shared document as described in any of the embodiments of the present disclosure.
In a fourth aspect, the disclosed embodiments also provide a storage medium containing computer-executable instructions that, when executed by a computer processor, are used to perform a method of presentation of a shared document as described in any of the disclosed embodiments.
According to the technical scheme, the display window size of the client corresponding to the sharing instruction is determined in response to the sharing instruction; the client comprises a shared end and a shared end; determining a standard window size according to a preset standard determining mode; generating a document scaling message according to the display window size and the standard window size based on a preset scaling rule; and sending the document scaling message to the client corresponding to the document scaling message, so that the shared terminal displays the shared document content based on the document scaling message and is not more than the shared document content displayed by the shared terminal based on the document scaling message.
The server respectively determines the document scaling information of each client according to the display window size of each client and the standard window size based on the preset scaling rule, so that when each client displays the shared document based on the respective document scaling information, the document content displayed by the sharing end can be completely displayed on the shared end, and the sharing experience of a user is improved.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a flowchart of a method for displaying a shared document according to an embodiment of the disclosure;
fig. 2 is a flow chart of a method for displaying a shared document according to a second embodiment of the disclosure;
FIG. 3 is a schematic diagram of window sizes in a method for displaying a shared document according to a second embodiment of the disclosure;
fig. 4 is a flow chart of a method for displaying a shared document according to a third embodiment of the disclosure;
fig. 5 is a schematic structural diagram of a display device for sharing documents according to a fourth embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
Example 1
Fig. 1 is a schematic flow chart of a method for displaying a shared document according to an embodiment of the present disclosure, where the embodiment of the present disclosure is applicable to a case of displaying a shared document, and is particularly applicable to a case of scaling and displaying a shared document when display window sizes of a shared end and a shared end are different. The method may be performed by a presentation device of the shared document, which may be implemented in software and/or hardware, which may be configured in an electronic device, e.g. in a server, e.g. a communication server.
As shown in fig. 1, the method for displaying a shared document provided in this embodiment includes:
s110, responding to the sharing instruction, and determining the display window size of the client corresponding to the sharing instruction.
In the display method provided by the embodiment of the disclosure, the shared document may be shared in the following manner: determining the position information of the shared document and the shared end in response to the sharing instruction; and sending the position information of the shared document to the shared terminal so that the shared terminal requests the content of the shared document according to the position information of the shared document and displays the content.
The document sharing step may include, for example: firstly, monitoring a sharing instruction triggered by any client in a communication range; the communication range may be considered as a range formed by clients participating in communication. For example, in some remote collaboration scenarios, the communication scope may be understood as a scope made up of multiple clients accessing the same shared document over a period of time. Alternatively, in a multimedia conference scenario, all or part of the participating clients of the multimedia conference constitute a communication range.
Next, location information of the shared document, such as a uniform resource locator (uniform resource locator, URL), may be determined according to the sharing instruction, and a sharing range within the communication range may be determined; the shared document can be a document containing at least one element of words, graphics, images, audio, video and the like, and the document format can be Word, excel, PPT or html and the like; the shared scope may be considered as a shared scope formed by clients having rights to display shared documents in the communication scope.
Finally, the URL of the shared document may be sent to clients within the sharing scope so that the clients within the sharing scope may access the URL to the information sharing server to request the file content of the shared document and present. Wherein the information sharing server may include a server for storing the shared document.
Through the steps, the client side triggering the sharing instruction can share the documents among other client sides in the sharing range. In the document sharing process, the client side triggering the sharing instruction can also demonstrate the sharing document, such as page turning, editing, labeling or highlighting, and other client sides can follow the demonstration to present the sharing document. In addition, the client triggering the sharing instruction can transfer the demonstration authority to other clients, so that the authorized client can demonstrate the sharing document, and multi-terminal collaboration of the sharing document is realized.
For convenience of description, in the embodiments of the present disclosure, a client that currently demonstrates a shared document may be referred to as a shared client, and other clients within a sharing range except the shared client may be referred to as shared clients. By the sharing mode, the shared end can display the content of the shared document at the same time with the shared end. In a specific embodiment, the sharing manner of the shared document may be performed by a communication server. The communication server may include a background server for performing communication between clients, such as a Video Conference (VC) server, among others.
In addition, although information sharing can be realized on the basis of multimedia data communication by using the conventional screen sharing technology, various problems such as network delay, video decompression distortion and the like are easy to occur in the intercepted screen data transmission process due to high requirements of the screen sharing technology on network and video compression, and the situations of unsmooth and unclear sharing pictures are easy to cause. The sharing method related to the embodiment of the disclosure can realize high-fidelity and fluent information sharing.
In the process of sharing the document, the display window sizes of the shared document are different between the shared terminal and the shared terminal, but the document display proportion is the same as the alignment standard (such as first row content alignment, last row content alignment, left alignment or right alignment, and the like), so that the problem that the document content displayed by the shared terminal is not completely displayed on the shared terminal easily occurs. The user of the shared terminal does not see the document content currently shared by the user of the shared terminal, which greatly reduces the sharing experience of the user. And this problem is particularly common when the display window size of the sharing end is large. The display method of the shared document can overcome the defects, can ensure that the document content displayed by the shared terminal can be completely displayed on the shared terminal, and improves the sharing experience of users.
In the embodiment of the disclosure, the client corresponding to the sharing instruction may include a sharing end and a shared end of the sharing document in the sharing process. When receiving a sharing instruction sent by a sharing end, a server can determine the sharing end and the shared end according to a sharing end identifier and a shared end identifier carried in the sharing instruction; the acquisition request may then be sent to the shared and shared ends to obtain presentation window sizes for the shared and shared ends.
Correspondingly, when the shared end and the shared end receive the acquisition request, the display window sizes preset by the user can be fed back to the server, so that the server directly acquires the display window sizes of the shared end and the shared end; the relevant parameters can also be fed back to the server, so that the server can indirectly determine the display window sizes of the shared end and the shared end according to the relevant parameters, which is not exhaustive.
S120, determining a standard window size according to a preset standard determining mode.
In the disclosed embodiments, the standard determination mode may be considered as a mode for determining a standard window size, and may include, but is not limited to, a fixed value mode and an adaptation target client mode. Wherein the standard size window may be used to define a standard range of document content that the shared document may exhibit in the original, un-scaled state.
The standard determining mode can be configured by a server, and after the server configures the standard determining mode, a preset standard determining mode can be applied to each document sharing process. In addition, the standard determination mode can be configured by a client with mode configuration authority in the current sharing range in the current document sharing process, and the standard determination mode configured by the client can be used in the current document sharing process. It will be appreciated that the so-called "preset" procedure of the standard determination mode is emphasized not to limit the standard determination mode to be set before the start of the sharing operation. In practical applications, the setting of the standard determination mode may be performed at any feasible time, for example, before, after, or at the same time as triggering the sharing operation.
In some alternative implementations, when the standard determination mode is configured by the server, the server may pre-automate the configuration of the standard determination mode used by the current sharing process. For example, the server may determine the expected configuration duty cycle of the mode according to each preset standard, and the actual configuration duty cycle of each standard mode in the service period (such as one day, one week or one month), and set the standard mode used by the current sharing process. The expected configuration proportion can be dynamically adjusted according to the satisfaction degree of the display effect of each mode fed back by the user, so that the standard determination mode with higher user satisfaction degree occupies higher configuration proportion, and user experience is improved.
Illustratively, it is assumed that the standard determination modes configurable in the server include a fixed value mode and an adaptation target client mode, and that the desired configuration ratio of the two modes is 2:1. When the server receives the sharing instruction, assuming that the actual configuration ratio of the two modes in the current service period is 1:1, the actual configuration proportion of the fixed value mode can be determined, and the actual configuration proportion is less than the expected configuration proportion, so that the standard determination mode used in the current sharing process can be configured into the fixed value mode.
Accordingly, the server may determine the standard size window based on a standard determination mode configured for the current sharing process. The display window size of each client is favorably realized by determining the standard window size, and the display window size is aligned with the standard window size so as to realize reasonable scaling of the shared document to be displayed in each client, thereby ensuring that the document content displayed by the shared terminal can be completely displayed on the shared terminal.
In some optional implementations, if the preset standard determination mode is a fixed value mode, determining the standard window size according to the preset standard determination mode includes: and taking the preset window size as the standard window size according to the fixed value mode.
In these alternative implementations, the preset window size may be that a user presets a fixed window size with better display effect according to an empirical value or an experimental value, for example, 1200 pixels×675 pixels. And the preset window size can be dynamically optimized according to the satisfaction degree of the display effect fed back by the user in the sharing process based on the fixed value mode.
In some optional implementations, if the predetermined standard determination mode is the adaptive target client mode, determining the standard window size according to the predetermined standard determination mode includes: determining a target client from clients corresponding to the sharing instruction according to the adaptive target client mode; and taking the display window size of the target client as the standard window size.
The adaptation target client mode may include at least one sub-mode, such as adapting to a shared end, adapting to a minimum size end of the shared ends, adapting to a maximum size end of the shared ends, adapting to a client with a size in a communication range or a shared range located in a middle value, which is not exhaustive herein.
Accordingly, the target client may be determined from the clients corresponding to the sharing instruction according to the preset sub-mode. For example, when the preset sub-mode is adaptive to the sharing end, the sharing end may be determined as the target client; when the preset sub-mode is a shared terminal with the smallest size, the shared terminal with the smallest display window size in the shared terminal can be determined as a target client; when the preset sub-mode is a mode of adapting to the client with the size at the intermediate value in the communication range, the client corresponding to the display window size with the size at the intermediate value in the shared end and the shared end can be determined to be the target client. For each sub-mode, reference may be made to the above examples, and the corresponding client is selected as the target client, which is not exhaustive herein.
In these alternative implementations, by taking the display window size of the target client as the standard window size, it is beneficial to adaptively determine the optimal standard window size for each sharing process, and the display effect of the shared document can be further improved.
S130, generating a document scaling message according to the display window size and the standard window size based on a preset scaling rule.
In the embodiment of the disclosure, the preset scaling rule may include a rule that enables the shared document content displayed by the sharing end to be no more than the shared document content displayed by the sharing end. The shared document content displayed by the shared end is not more than the shared document content displayed by the shared end, and it can be understood that under the same alignment standard, the range of the shared document content displayed in the shared end display window is not more than the range of the shared document content displayed in the shared end display window.
According to the method, the document scaling messages of the shared end and the shared end are respectively determined according to the display window sizes of the shared end and the standard window sizes based on the preset scaling rule, so that when the shared end and the shared end display the shared document based on the respective document scaling messages, the document content displayed by the shared end can be displayed on the shared end, and the sharing experience of a user is improved.
And S140, sending the document scaling message to a client corresponding to the document scaling message, so that the shared content of the shared document displayed by the shared terminal based on the document scaling message is not more than the shared content of the shared document displayed by the shared terminal based on the document scaling message.
The server can send the document scaling information of the same client to the corresponding clients respectively, namely, send the document scaling information of the sharing end to the sharing end, and send the document scaling information of each shared end to the corresponding shared end. Correspondingly, each client can scale the requested shared document according to the received document scaling message, and display the scaled shared document in the display window.
In some optional implementations, the client is real-time communication software, and the real-time communication software includes at least one of instant messaging software, multimedia conferencing software, live video software, and group chat interaction software.
In these alternative implementations, the document sharing may be performed by using real-time communication software such as instant communication software, multimedia conference software, live video software, and group chat interaction software, so as to implement information sharing in various application scenarios such as instant communication, multimedia conference, live video, or group chat interaction. And when the document sharing is carried out in each scene, the display method provided by the embodiment of the disclosure can be utilized to display the shared document, so that when the shared terminal and the shared terminal display the shared document based on respective document scaling messages, the document content displayed by the shared terminal can be completely displayed on the shared terminal, thereby improving the sharing experience of users.
According to the technical scheme, the display window size of the client corresponding to the sharing instruction is determined in response to the sharing instruction; the client comprises a shared end and a shared end; determining a standard window size according to a preset standard determining mode; generating a document scaling message according to the display window size and the standard window size based on a preset scaling rule; and sending the document scaling message to the client corresponding to the document scaling message, so that the shared terminal displays the shared document content based on the document scaling message and is not more than the shared document content displayed by the shared terminal based on the document scaling message.
The server respectively determines the document scaling information of each client according to the display window size of each client and the standard window size based on the preset scaling rule, so that when each client displays the shared document based on the respective document scaling information, the document content displayed by the sharing end can be completely displayed on the shared end, and the sharing experience of a user is improved.
Example two
The embodiments of the present disclosure may be combined with each of the alternatives in the method for displaying a shared document provided in the above embodiments. The method for displaying the shared document provided by the embodiment describes the step of determining the document scaling message in detail. By determining the scaling message of the shared terminal according to the larger value of the window width ratio and the window height ratio and determining the scaling message of the shared terminal according to the smaller value of the window width ratio and the window height ratio, the content of the shared document displayed by the shared terminal can be ensured to be not more than the content of the shared document corresponding to the standard window and not less than the content of the shared document displayed by the shared terminal, so that the document content displayed by the shared terminal can be realized and the document content displayed by the shared terminal can be completely displayed by the shared terminal.
Fig. 2 is a flowchart of a method for displaying a shared document according to a second embodiment of the disclosure.
As shown in fig. 2, the method for displaying a shared document provided in this embodiment includes:
s210, responding to the sharing instruction, and determining the display window size of the client corresponding to the sharing instruction.
In this embodiment, the client includes a shared end and a shared end.
S220, determining a standard window size according to a preset standard determining mode.
S230, determining the window width ratio according to the window width size in the display window size and the window width size in the standard window size.
S240, determining the window height ratio according to the window height size in the display window size and the window height size in the standard window size.
The display window size and the standard window size can both comprise a window width size and a window height size.
Exemplary, fig. 3 is a schematic diagram of each window size in a method for displaying a shared document according to a second embodiment of the disclosure.
In fig. 3, a solid line box may represent a presentation window size of a client, a dotted line box may represent a standard window size, and in each window size, a size in an x-axis direction may be taken as a window width size, and a size in a y-axis direction may be taken as a window height size. The window width size in the display window size of the sharing end (P end) can be represented by p.width, and the window height size in the display window size can be represented by p.height; the window width size in the display window size of the shared terminal (F terminal) can be represented by f.width, and the window height size in the display window size can be represented by f.height; in the standard window width dimensions, the window width dimensions may be expressed in s.width and the window height dimensions may be expressed in s.height.
For the sharing end, the window width ratio can pass through the formula V pw Width/s.width determination, window height ratio can be determined by formula V ph =p.height/s.height determination; for the shared end, the window width ratio can pass through formula V fw Width/s.width determination, window height ratio can be determined by formula V fh =f.height/s.height determination.
In addition, for each client, the step S230 and the step S240 of determining the window width ratio and the window height ratio do not have a strict timing relationship, for example, the window width ratio may be calculated first, the window height ratio may be calculated first, and the window width ratio and the window height ratio may be calculated simultaneously.
S251, if the client is a sharing end, generating a document scaling message of the sharing end according to a larger value of the window width ratio and the window height ratio.
For the sharing end, the larger value of the window width ratio and the window height ratio can be used as the document scaling parameter of the sharing end, and the document scaling message of the sharing end can be generated according to the document scaling parameter of the sharing end.
S252, if the client is the shared terminal, generating a document scaling message of the shared terminal according to the smaller value of the window width ratio and the window height ratio.
For the shared end, the smaller value of the window width ratio and the window height ratio can be used as the document scaling parameter of the shared end, and the document scaling message of the shared end can be generated according to the document scaling parameter of the shared end.
The display window size of the P end can be smaller than or equal to the display window size of the F end, and can also be larger than the display window size of the F end. Referring to fig. 3, assuming that the number of P-ends and F-ends is 1, wherein (a) illustrates a case where the display window size of the P-end is larger than that of the F-end; (b) The figure shows the case where the display window size at the P-terminal is larger than the display window ruler at the F-terminal.
Either the case shown in fig. 3 (a) or the case shown in fig. 3 (b), the P-terminal can be determined according to the larger value max (V pw ,V ph ) Determining a document scaling parameter; for the F end, the smaller value min (V fw ,V fh ) A document scaling parameter is determined.
Referring to FIG. 3 (a), suppose V pw 1.5, V ph 1.4, V fw Is 0.9, V fh 0.8.
Aiming at the P end, a larger value of 1.5 can be used as a document scaling parameter, so that when the P end enlarges and displays a shared document by using 1.5, compared with a standard window, the display window has partial content which is not displayed in the y-axis direction, thereby realizing the shared document content displayed by the shared end and not more than the shared document content displayed by the standard window;
aiming at the F end, a smaller value of 0.8 can be used as a document scaling parameter, so that when the F end utilizes 0.8 to shrink and display a shared document, the display window displays more contents in the x-axis direction compared with the standard window, and the shared document content displayed by the shared end is realized and is not less than the shared document content displayed by the standard window;
Therefore, the shared document content displayed by the sharing end can be realized, and the shared document content displayed by the sharing end is not more than the shared document content displayed by the sharing end, namely, the document content displayed by the sharing end can be completely displayed on the shared end, so that the sharing experience of a user is improved.
Referring to FIG. 3 (b), suppose V pw Is 0.9, V ph Is 0.8, V fw 1.5, V fh 1.4.
Aiming at the P end, a larger value of 0.9 can be used as a document scaling parameter, so that when the P end utilizes 0.9 to shrink and display a shared document, the display window has partial content which is not displayed in the y-axis direction compared with the standard window, and the shared document content displayed by the sharing end is realized and is not more than the shared document content displayed by the standard window;
for the F end, a smaller value of 1.4 can be used as a document scaling parameter, so that when the F end enlarges and displays a shared document by using 1.4, the display window displays more contents in the x-axis direction compared with the standard window, and the shared document content displayed by the shared end is realized and is not less than the shared document content displayed by the standard window;
therefore, the shared document content displayed by the sharing end can be realized, and the shared document content displayed by the sharing end is not more than the shared document content displayed by the sharing end, namely, the document content displayed by the sharing end can be completely displayed on the shared end, so that the sharing experience of a user is improved.
In addition, in order to enable clients with fewer sharing ranges to perform scaling adjustment, a document scaling message can be further determined according to a larger value of the window width ratio and the window height ratio of 1 for the P-end, so that the sharing end can only zoom in and out; and the document scaling message can be further determined according to the smaller value of the window width ratio and the window height ratio of 1 for the F terminal, so that the shared terminal can be only reduced and not enlarged.
And S260, sending the document scaling message to the client corresponding to the document scaling message, so that the shared terminal displays the shared document content based on the document scaling message, and the shared document content displayed by the shared terminal based on the document scaling message is not more than the shared document content.
According to the technical scheme of the embodiment of the disclosure, the determining step of the document scaling message is described in detail. By determining the scaling message of the shared terminal according to the larger value of the window width ratio and the window height ratio and determining the scaling message of the shared terminal according to the smaller value of the window width ratio and the window height ratio, the content of the shared document displayed by the shared terminal can be ensured to be not more than the content of the shared document corresponding to the standard window and not less than the content of the shared document displayed by the shared terminal, so that the document content displayed by the shared terminal can be realized and the document content displayed by the shared terminal can be completely displayed by the shared terminal. In addition, the method for displaying the shared document provided by the embodiment of the present disclosure belongs to the same disclosure concept as the method for displaying the shared document provided by the above embodiment, technical details which are not described in detail in the present embodiment may be referred to the above embodiment, and the same technical features have the same beneficial effects in the present embodiment as in the above embodiment.
Example III
The embodiments of the present disclosure may be combined with each of the alternatives in the method for displaying a shared document provided in the above embodiments. The method for displaying the shared document provided by the embodiment describes the step of determining the display window size in detail, and can determine the optimal display window size based on the resolution of each client by requesting the resolution parameter of each client. In addition, the adaptive scaling of the shared document is further described, and by sending the adaptive scaling instruction to each client, the client can adaptively scale the displayed shared document according to the size change of the display window.
Fig. 4 is a flowchart of a method for displaying a shared document according to a third embodiment of the present disclosure.
As shown in fig. 4, the method for displaying a shared document provided in this embodiment includes:
s410, responding to the sharing instruction, and requesting the resolution parameter from the client corresponding to the sharing instruction.
In this embodiment, the client includes a shared end and a shared end.
When receiving a sharing instruction sent by a sharing end, a server can determine the sharing end and the shared end according to a sharing end identifier and a shared end identifier carried in the sharing instruction; the resolution parameters may then be requested from the shared and shared ends to obtain the resolution parameters of the shared and shared ends. Where the resolution parameter may be considered as the pixel size of the display screen.
S420, responding to resolution parameters fed back by the client, and determining the display window size of the client.
In this embodiment, when the shared end and the shared end receive the request, the resolution parameters of the device to which the shared end and the shared end belong may be obtained and fed back to the server, so that the server determines the display window size corresponding to each resolution parameter according to a preset resolution-window matching relationship.
In addition, the server may request the device identifier from the shared end and the shared end, and may determine the resolution parameters of the devices to which the shared end and the shared end belong according to the received device identifier, so as to determine the display window size, which is not exhaustive in the step of determining the display window size.
Through requesting the resolution parameters of each client, the optimal display window size can be determined based on the resolution of each client, so that the display effect of the client is further improved, and the user experience is improved.
S430, determining a standard window size according to a preset standard determination mode.
S440, generating a document scaling message according to the display window size and the standard window size based on a preset scaling rule.
S451, sending the display window size to a client corresponding to the display window size, so that the client renders the display window according to the display window size and displays the shared document in the display window.
S452, the document scaling message is sent to the client corresponding to the document scaling message, so that the shared terminal displays the shared document content based on the document scaling message, and the shared document content displayed by the shared terminal based on the document scaling message is not more than the shared document content.
In this embodiment, step S451 and step S452 do not have a strict timing relationship, for example, the server may send the display window size first and then send the document scaling message; for another example, the server may send the document scaling message first and then send the display window size; also for example, the server may send the document scaling message and the presentation window size simultaneously.
The server sends the determined optimal display window size of each client and the document scaling message to the corresponding client, so that the client can render the display window according to the display window size; scaling the requested shared document according to the received document scaling message; and displaying the scaled shared document in a display window to realize display of the shared document.
In some optional implementations, the method for displaying the shared document further includes: and sending the self-adaptive scaling instruction to the client so that the client responds to the self-adaptive scaling instruction and performs scaling adjustment on the shared document according to the size adjustment operation when receiving the size adjustment operation of the display window.
In these alternative implementations, the resizing operation of the presentation window may include, but is not limited to, operations to change the size of the presentation window such as pulling the window up, pushing the window down, toggling across and across the screen, and so on. Wherein, the adaptive scaling instruction can include adaptive scaling code, wherein the client can adaptively determine the document scaling parameters based on the adaptive scaling code to perform scaling adjustment of the shared document according to the adaptively adjusted scaling parameters.
By sending the self-adaptive scaling instruction to each client, when each client receives the size adjustment operation of the display window, the self-adaptive scaling code carried in the self-adaptive scaling instruction can be utilized to redetermine the document scaling parameters so as to carry out the scaling adjustment of the size of the display window after the self-adaptive scaling instruction is adapted to the shared document in the display window, thereby further improving the user experience.
According to the technical scheme, the determining step of the display window size is optimized, and the optimal display window size can be determined based on the resolution of each client by requesting the resolution parameter of each client. In addition, the self-adaptive scaling of the shared document is optimized, and the client can adaptively scale the displayed shared document according to the size change of the display window by sending the self-adaptive scaling instruction to each client. The method for displaying a shared document provided in the embodiment of the present disclosure belongs to the same disclosure concept as the method for displaying a shared document provided in the above embodiment, technical details which are not described in detail in the present embodiment may be referred to the above embodiment, and the same technical features have the same beneficial effects in the present embodiment and the above embodiment.
Example IV
Fig. 5 is a schematic structural diagram of a display device for sharing documents according to a fourth embodiment of the present disclosure. The display device for the shared document is suitable for the situation of displaying the shared document, and is particularly suitable for the situation that the display window sizes of the shared terminal and the shared terminal are different, and the shared document is displayed in a zooming mode.
As shown in fig. 5, the presentation apparatus of the shared document includes:
a client size determining module 510, configured to determine, in response to the sharing instruction, a display window size of a client corresponding to the sharing instruction; the client comprises a shared end and a shared end;
a standard size determining module 520, configured to determine a standard window size according to a preset standard determining mode;
a scaling message determining module 530, configured to generate a document scaling message according to the display window size and the standard window size based on a preset scaling rule;
the sending module 540 is configured to send the document scaling message to the client corresponding to the document scaling message, so that the shared terminal displays no more shared document content based on the document scaling message than the shared document content displayed by the shared terminal based on the document scaling message.
In some alternative implementations, the display device for sharing the document further includes:
the sharing module is used for responding to the sharing instruction and determining the position information of the shared document and the shared end; and sending the position information of the shared document to the shared terminal so that the shared terminal requests the content of the shared document according to the position information of the shared document and displays the content.
In some alternative implementations, the scaling message determination module includes:
the window width ratio determining unit is used for determining a window width ratio according to the window width size in the display window size and the window width size in the standard window size;
a window height ratio determining unit for determining a window height ratio according to the window height size in the display window size and the window height size in the standard window size;
the scaling message determining unit is used for generating a document scaling message of the sharing end according to a larger value in the window width ratio and the window height ratio if the client is the sharing end; if the client is the shared terminal, generating a document scaling message of the shared terminal according to the smaller value of the window width ratio and the window height ratio.
In some optional implementations, if the preset standard determination mode is a fixed value mode, the standard size determination module is specifically configured to:
And taking the preset window size as the standard window size according to the fixed value mode.
In some optional implementations, if the preset standard determining mode is the adaptive target client mode, the standard size determining module is specifically configured to:
determining a target client from clients corresponding to the sharing instruction according to the adaptive target client mode;
and taking the display window size of the target client as the standard window size.
In some alternative implementations, the client size determination module is specifically configured to:
requesting a resolution parameter from a client corresponding to the sharing instruction;
responding to resolution parameters fed back by the client, and determining the display window size of the client;
correspondingly, the sending module is further configured to: and sending the display window size to a client corresponding to the display window size, so that the client renders the display window according to the display window size, and displays the shared document in the display window.
In some alternative implementations, the sending module is further configured to: and sending the self-adaptive scaling instruction to the client so that the client responds to the self-adaptive scaling instruction and performs scaling adjustment on the shared document according to the size adjustment operation when receiving the size adjustment operation of the display window.
In some optional implementations, the client is real-time communication software, and the real-time communication software includes at least one of instant messaging software, multimedia conferencing software, live video software, and group chat interaction software.
The display device for the shared document provided by the embodiment of the disclosure can execute the display method for the shared document provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that each unit and module included in the above apparatus are only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for convenience of distinguishing from each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
Example five
Referring now to fig. 6, a schematic diagram of an electronic device (e.g., a terminal device or server in fig. 6) 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 6 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 6, the electronic apparatus 600 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 601 that may perform various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) 602 or a program loaded from a storage device 606 into a random access Memory (Random Access Memory, RAM) 603. In the RAM603, various programs and data required for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
In general, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 shows an electronic device 600 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 609, or from storage means 606, or from ROM 602. When executed by the processing device 601, the computer program performs the functions defined above in the presentation method of the shared document of the embodiment of the present disclosure.
The electronic device provided by the embodiment of the present disclosure and the method for displaying a shared document provided by the foregoing embodiment belong to the same disclosure concept, and technical details not described in detail in the present embodiment may be referred to the foregoing embodiment, and the present embodiment has the same beneficial effects as the foregoing embodiment.
Example six
The embodiment of the present disclosure provides a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the method for presenting a shared document provided by the above embodiment.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-Only Memory (ROM), an erasable programmable read-Only Memory (EPROM) or FLASH Memory (FLASH), an optical fiber, a portable compact disc read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (Hyper Text Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to:
responding to the sharing instruction, and determining the display window size of the client corresponding to the sharing instruction; the client comprises a shared end and a shared end;
determining a standard window size according to a preset standard determining mode;
generating a document scaling message according to the display window size and the standard window size based on a preset scaling rule;
And sending the document scaling message to the client corresponding to the document scaling message, so that the shared terminal displays the shared document content based on the document scaling message and is not more than the shared document content displayed by the shared terminal based on the document scaling message.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Where the names of the units, modules do not constitute a limitation of the units, modules themselves in some cases, for example, the zoom message determination module may also be described as a "document zoom message determination module".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a field programmable gate array (Field Programmable Gate Array, FPGA), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a special standard product (Application Specific Standard Parts, ASSP), a System On Chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a presentation method of a shared document, the method comprising:
responding to a sharing instruction, and determining the display window size of a client corresponding to the sharing instruction; the client comprises a shared end and a shared end;
determining a standard window size according to a preset standard determining mode;
generating a document scaling message according to the display window size and the standard window size based on a preset scaling rule;
and sending the document scaling message to a client corresponding to the document scaling message, so that the shared end displays the shared document content based on the document scaling message, and the shared end displays no more shared document content based on the document scaling message.
According to one or more embodiments of the present disclosure, there is provided a method for presenting a shared document [ example two ], further comprising:
in some alternative implementations, in response to the sharing instruction, determining location information and shared ends of the shared document;
and sending the position information of the shared document to the shared terminal so that the shared terminal requests the content of the shared document according to the position information of the shared document and displays the content.
According to one or more embodiments of the present disclosure, there is provided a method for presenting a shared document [ example three ], further comprising:
in some optional implementations, the generating the document scaling message based on the preset scaling rule according to the presentation window size and the standard window size includes:
determining a window width ratio according to the window width size in the display window sizes and the window width size in the standard window sizes;
determining a window height ratio according to the window height size in the display window size and the window height size in the standard window size;
if the client is a sharing end, generating a document scaling message of the sharing end according to a larger value in the window width ratio and the window height ratio;
and if the client is the shared terminal, generating a document scaling message of the shared terminal according to the smaller value of the window width ratio and the window height ratio.
According to one or more embodiments of the present disclosure, there is provided a method for presenting a shared document [ example four ], further comprising:
in some optional implementations, if the preset standard determination mode is a fixed value mode, determining the standard window size according to the preset standard determination mode includes:
And taking the preset window size as the standard window size according to the fixed value mode.
According to one or more embodiments of the present disclosure, there is provided a method for presenting a shared document [ example five ], further comprising:
in some optional implementations, if the predetermined standard determining mode is the adaptive target client mode, determining the standard window size according to the predetermined standard determining mode includes:
determining a target client from clients corresponding to the sharing instruction according to the adaptive target client mode;
and taking the display window size of the target client as a standard window size.
According to one or more embodiments of the present disclosure, there is provided a method for presenting a shared document [ example six ], further including:
in some optional implementations, the determining a presentation window size of the client corresponding to the sharing instruction includes:
requesting a resolution parameter from a client corresponding to the sharing instruction;
determining the display window size of the client in response to the resolution parameters fed back by the client;
correspondingly, the method for displaying the shared document further comprises the following steps:
and sending the display window size to a client corresponding to the display window size, so that the client renders the display window according to the display window size, and displays the shared document in the display window.
According to one or more embodiments of the present disclosure, there is provided a method for presenting a shared document [ example seventh ], further comprising:
in some optional implementations, the method for displaying the shared document further includes:
and sending the self-adaptive scaling instruction to the client so that the client responds to the self-adaptive scaling instruction and performs scaling adjustment on the shared document according to the size adjustment operation when receiving the size adjustment operation of the display window.
According to one or more embodiments of the present disclosure, there is provided a method for presenting a shared document [ example eight ], further comprising:
in some optional implementations, the client is real-time communication software, and the real-time communication software includes at least one of instant messaging software, multimedia conferencing software, live video software, and group chat interaction software.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (12)

1. A method for displaying a shared document, comprising:
responding to a sharing instruction, and determining the display window size of a client corresponding to the sharing instruction; the client comprises a shared end and a shared end;
Determining a standard window size according to a preset standard determining mode;
generating a document scaling message according to the display window size and the standard window size based on a preset scaling rule;
sending the document scaling message to a client corresponding to the document scaling message, so that the shared end displays shared document content based on the document scaling message, and the shared end displays no more shared document content based on the document scaling message;
wherein the shared document is shared by:
monitoring the sharing instruction triggered by any client in a communication range, wherein the communication range consists of clients participating in communication;
determining position information of the shared document according to the sharing instruction, wherein the position information comprises a uniform resource locator;
determining a sharing range in the communication range, wherein the sharing range is composed of clients with the authority of displaying the shared document in the communication range;
transmitting the position information of the shared document to a client in the shared range, so that the client in the shared range accesses the position information to an information sharing server to request the file content of the shared document and display, wherein the information sharing server comprises a server for storing the shared document;
The generating a document scaling message based on a preset scaling rule according to the display window size and the standard window size includes:
determining a window width ratio according to the window width size in the display window sizes and the window width size in the standard window sizes;
determining a window height ratio according to the window height size in the display window size and the window height size in the standard window size;
if the client is a sharing end, generating a document scaling message of the sharing end according to a larger value in the window width ratio and the window height ratio;
and if the client is the shared terminal, generating a document scaling message of the shared terminal according to the smaller value of the window width ratio and the window height ratio.
2. The method as recited in claim 1, further comprising:
determining the position information of the shared document and the shared end in response to the sharing instruction;
and sending the position information of the shared document to the shared terminal so that the shared terminal requests the content of the shared document according to the position information of the shared document and displays the content.
3. The method according to claim 1, wherein if the predetermined standard determination mode is a fixed value mode, the determining the standard window size according to the predetermined standard determination mode includes:
And taking the preset window size as the standard window size according to the fixed value mode.
4. The method according to claim 1, wherein if the predetermined standard determination mode is the adaptive target client mode, determining the standard window size according to the predetermined standard determination mode includes:
determining a target client from clients corresponding to the sharing instruction according to the adaptive target client mode;
and taking the display window size of the target client as a standard window size.
5. The method of claim 1, wherein the determining the presentation window size of the client corresponding to the sharing instruction comprises:
requesting a resolution parameter from a client corresponding to the sharing instruction;
determining the display window size of the client in response to the resolution parameters fed back by the client;
correspondingly, the method for displaying the shared document further comprises the following steps:
and sending the display window size to a client corresponding to the display window size, so that the client renders the display window according to the display window size, and displays the shared document in the display window.
6. The method of claim 1, wherein the method of displaying the shared document further comprises:
and sending the self-adaptive scaling instruction to the client so that the client responds to the self-adaptive scaling instruction and performs scaling adjustment on the shared document according to the size adjustment operation when receiving the size adjustment operation of the display window.
7. The method of any of claims 1-6, wherein the client is real-time communication software and the real-time communication software includes at least one of instant messaging software, multimedia conferencing software, live video software, and group chat interaction software.
8. A method for displaying a shared document, comprising:
responding to a sharing instruction, and determining the display window size of a client corresponding to the sharing instruction; the client comprises a shared end and a shared end;
determining a standard window size according to a preset standard determining mode;
generating a document scaling message according to the display window size and the standard window size based on a preset scaling rule;
sending the document scaling message to a client corresponding to the document scaling message, so that the shared end displays shared document content based on the document scaling message, and the shared end displays no more shared document content based on the document scaling message;
The generating a document scaling message based on a preset scaling rule according to the display window size and the standard window size includes:
determining a window width ratio according to the window width size in the display window sizes and the window width size in the standard window sizes;
determining a window height ratio according to the window height size in the display window size and the window height size in the standard window size;
if the client is a sharing end, generating a document scaling message of the sharing end according to a larger value in the window width ratio and the window height ratio;
and if the client is the shared terminal, generating a document scaling message of the shared terminal according to the smaller value of the window width ratio and the window height ratio.
9. A display device for a shared document, comprising:
the client size determining module is used for responding to the sharing instruction and determining the display window size of the client corresponding to the sharing instruction; the client comprises a shared end and a shared end;
the standard size determining module is used for determining a standard window size according to a preset standard determining mode;
the scaling message determining module is used for generating a document scaling message according to the display window size and the standard window size based on a preset scaling rule;
The sending module is used for sending the document scaling message to a client corresponding to the document scaling message, so that the shared terminal can display the shared document content based on the document scaling message and the shared terminal can display the shared document content based on the document scaling message;
the monitoring module is used for monitoring the sharing instruction triggered by any client in a communication range, wherein the communication range consists of clients participating in communication; determining position information of the shared document according to the sharing instruction, wherein the position information comprises a uniform resource locator; determining a sharing range in the communication range, wherein the sharing range is composed of clients with the authority of displaying the shared document in the communication range; transmitting the position information of the shared document to a client in the shared range, so that the client in the shared range accesses the position information to an information sharing server to request the file content of the shared document and display, wherein the information sharing server comprises a server for storing the shared document;
the scaling message determination module includes:
the window width ratio determining unit is used for determining a window width ratio according to the window width size in the display window size and the window width size in the standard window size;
A window height ratio determining unit for determining a window height ratio according to the window height size in the display window size and the window height size in the standard window size;
the scaling message determining unit is used for generating a document scaling message of the sharing end according to a larger value in the window width ratio and the window height ratio if the client is the sharing end; if the client is the shared terminal, generating a document scaling message of the shared terminal according to the smaller value of the window width ratio and the window height ratio.
10. A display device for a shared document, comprising:
the client size determining module is used for responding to the sharing instruction and determining the display window size of the client corresponding to the sharing instruction; the client comprises a shared end and a shared end;
the standard size determining module is used for determining a standard window size according to a preset standard determining mode;
the scaling message determining module is used for generating a document scaling message according to the display window size and the standard window size based on a preset scaling rule;
the sending module is used for sending the document scaling message to a client corresponding to the document scaling message, so that the shared terminal can display the shared document content based on the document scaling message and the shared terminal can display the shared document content based on the document scaling message;
The scaling message determination module includes:
the window width ratio determining unit is used for determining a window width ratio according to the window width size in the display window size and the window width size in the standard window size;
a window height ratio determining unit for determining a window height ratio according to the window height size in the display window size and the window height size in the standard window size;
the scaling message determining unit is used for generating a document scaling message of the sharing end according to a larger value in the window width ratio and the window height ratio if the client is the sharing end; if the client is the shared terminal, generating a document scaling message of the shared terminal according to the smaller value of the window width ratio and the window height ratio.
11. An electronic device, the electronic device comprising:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of presentation of a shared document as claimed in any one of claims 1 to 8.
12. A storage medium containing computer executable instructions for performing the presentation method of a shared document as claimed in any one of claims 1 to 8 when executed by a computer processor.
CN202110267749.2A 2021-03-11 2021-03-11 Display method and device of shared document, electronic equipment and storage medium Active CN113535645B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110267749.2A CN113535645B (en) 2021-03-11 2021-03-11 Display method and device of shared document, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110267749.2A CN113535645B (en) 2021-03-11 2021-03-11 Display method and device of shared document, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113535645A CN113535645A (en) 2021-10-22
CN113535645B true CN113535645B (en) 2023-08-18

Family

ID=78094491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110267749.2A Active CN113535645B (en) 2021-03-11 2021-03-11 Display method and device of shared document, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113535645B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114064593B (en) * 2021-11-12 2024-03-01 北京字跳网络技术有限公司 Document sharing method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335445A (en) * 2014-08-13 2016-02-17 北大方正集团有限公司 Layout display method and device
CN111049868A (en) * 2018-10-15 2020-04-21 北京仁光科技有限公司 Data interaction system and data interaction method
CN111930330A (en) * 2020-09-17 2020-11-13 北京联想协同科技有限公司 Method, device and system for synchronizing shared views
CN112181568A (en) * 2020-09-27 2021-01-05 上海连尚网络科技有限公司 Locally adapting screen method and apparatus
CN112468863A (en) * 2020-11-24 2021-03-09 北京字节跳动网络技术有限公司 Screen projection control method and device and electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200293493A1 (en) * 2019-03-15 2020-09-17 Microsoft Technology Licensing, Llc Enabling User Interaction with Shared Content During a Virtual Meeting

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335445A (en) * 2014-08-13 2016-02-17 北大方正集团有限公司 Layout display method and device
CN111049868A (en) * 2018-10-15 2020-04-21 北京仁光科技有限公司 Data interaction system and data interaction method
CN111930330A (en) * 2020-09-17 2020-11-13 北京联想协同科技有限公司 Method, device and system for synchronizing shared views
CN112181568A (en) * 2020-09-27 2021-01-05 上海连尚网络科技有限公司 Locally adapting screen method and apparatus
CN112468863A (en) * 2020-11-24 2021-03-09 北京字节跳动网络技术有限公司 Screen projection control method and device and electronic device

Also Published As

Publication number Publication date
CN113535645A (en) 2021-10-22

Similar Documents

Publication Publication Date Title
US20150117513A1 (en) Bandwidth reduction system and method
CN112272226B (en) Picture loading method and device and readable storage medium
US10860280B2 (en) Display method and device
CN114584736B (en) Sharing method and device based on video conference, electronic equipment and computer medium
CN111459364B (en) Icon updating method and device and electronic equipment
CN112383787B (en) Live broadcast room creating method and device, electronic equipment and storage medium
CN112291502B (en) Information interaction method, device and system and electronic equipment
CN111581560B (en) Page display method and device, electronic equipment and storage medium
WO2023000888A1 (en) Cloud application implementing method and apparatus, electronic device, and storage medium
CN115600629B (en) Vehicle information two-dimensional code generation method, electronic device and computer readable medium
CN110852946A (en) Picture display method and device and electronic equipment
CN112053286B (en) Image processing method, device, electronic equipment and readable medium
CN112965673A (en) Content printing method, device, equipment and storage medium
CN113535645B (en) Display method and device of shared document, electronic equipment and storage medium
WO2024082933A1 (en) Video processing method and apparatus, and electronic device and storage medium
CN111258582B (en) Window rendering method and device, computer equipment and storage medium
CN115529485B (en) Live video processing method, device, equipment and medium
CN113542336A (en) Information switching sharing method and device, electronic equipment and storage medium
CN114125485B (en) Image processing method, device, equipment and medium
CN114285956A (en) Video sharing circuit, method and device and electronic equipment
CN114092362A (en) Panoramic picture loading method and device
CN112417276A (en) Paging data acquisition method and device, electronic equipment and computer readable storage medium
CN112312224A (en) Information display method and device and electronic equipment
CN112040328A (en) Data interaction method and device and electronic equipment
CN111258670B (en) Method and device for managing component data, electronic equipment and storage medium

Legal Events

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