CN113242173B - Screen sharing method, device and system and instant messaging server - Google Patents

Screen sharing method, device and system and instant messaging server Download PDF

Info

Publication number
CN113242173B
CN113242173B CN202110506181.5A CN202110506181A CN113242173B CN 113242173 B CN113242173 B CN 113242173B CN 202110506181 A CN202110506181 A CN 202110506181A CN 113242173 B CN113242173 B CN 113242173B
Authority
CN
China
Prior art keywords
screen
throwing
request
receiving end
sending end
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
CN202110506181.5A
Other languages
Chinese (zh)
Other versions
CN113242173A (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.)
Shenzhen Yixiang Technology Co ltd
Original Assignee
Shenzhen Yixiang Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yixiang Technology Co ltd filed Critical Shenzhen Yixiang Technology Co ltd
Priority to CN202110506181.5A priority Critical patent/CN113242173B/en
Publication of CN113242173A publication Critical patent/CN113242173A/en
Application granted granted Critical
Publication of CN113242173B publication Critical patent/CN113242173B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/401Support for services or applications wherein the services involve a main real-time session and one or more additional parallel real-time or time sensitive sessions, e.g. white board sharing or spawning of a subconference
    • H04L65/4015Support for services or applications wherein the services involve a main real-time session and one or more additional parallel real-time or time sensitive sessions, e.g. white board sharing or spawning of a subconference where at least one of the additional parallel sessions is real time or time sensitive, e.g. white board sharing, collaboration or spawning of a subconference
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of screen sharing, in particular to a screen sharing method, device and system and an instant messaging server, wherein the method comprises the steps of establishing instant messaging with a screen throwing receiving end and a screen throwing sending end based on instant messaging service; obtaining a sharing request from a screen throwing sending end, wherein the sharing request comprises a screen throwing request or a screen sharing request; transmitting a screen throwing request or a screen sharing request to a screen throwing receiving end; acquiring feedback information generated by a screen throwing receiving end according to a screen throwing request or a screen sharing request; after the resource negotiation is carried out between the screen throwing sending end and the screen throwing receiving end, the screen throwing sending end sends the content corresponding to the screen throwing request to the screen throwing receiving end or the screen throwing receiving end sends the content corresponding to the screen sharing request to the screen throwing sending end. By adopting the technical scheme, the connection is established through the instant messaging service, the connection is convenient, the user does not need to install appointed screen-throwing software, and the screen throwing can be realized only by a common browser, so that the use is convenient.

Description

Screen sharing method, device and system and instant messaging server
Technical Field
The invention relates to the technical field of screen sharing, in particular to a screen sharing method, device and system and an instant messaging server.
Background
At present, when the organization and the organization are in a meeting, meeting contents, including sound contents, picture contents and the like, are frequently required to be played through a playing device, so that a speaker can clearly clarify the subject matter of the meeting, the participant can understand the meeting more easily, and the meeting efficiency is further effectively improved.
In the prior art, special screen projection software or hardware is generally used for screen projection processing, and when a user uses the screen projection processing, the user needs to use a physical cable to connect the projected equipment with the display equipment, so that the screen projection processing is inconvenient. Moreover, due to network isolation, it is difficult for a visitor at a different place to play the content of the visitor client by using a playing device at the conference, or specified non-universal screen-throwing software needs to be installed, so that the visitor can throw a screen onto a display device used at the conference.
Therefore, the screen sharing method in the prior art is inconvenient.
Disclosure of Invention
Accordingly, the present invention is directed to a method, apparatus, system and instant messaging server for sharing a screen, so as to solve the problem that the conventional screen sharing method is inconvenient.
In order to achieve the above purpose, the invention adopts the following technical scheme:
a screen sharing method is applied to an instant messaging server, and the method comprises the following steps:
based on the instant messaging service, establishing instant messaging with a screen throwing receiving end and a screen throwing sending end;
obtaining a sharing request from the screen throwing sending end, wherein the sharing request comprises a screen throwing request or a screen sharing request;
the screen throwing request or the screen sharing request is sent to the screen throwing receiving end;
acquiring feedback information generated by the screen throwing receiving end according to the screen throwing request or the screen sharing request;
and if the feedback information comprises agreeing to share, notifying the screen sending end and the screen receiving end to carry out resource negotiation, so that after the resource negotiation is successful, the screen sending end sends the content corresponding to the screen sending request to the screen receiving end, or the screen receiving end sends the content corresponding to the screen sharing request to the screen sending end.
Further, the method for sharing the screen, based on the instant messaging service, establishes instant messaging with a screen-throwing receiving end and a screen-throwing sending end, includes:
acquiring a first connection request from the screen-throwing receiving end; wherein, the first connection request is sent by the screen throwing receiving terminal based on the instant communication service;
establishing a first connection with the screen throwing receiving end according to the first connection request;
storing the first connection into a preset room and generating room information;
receiving a second connection request from the screen throwing sending end; the second connection request is generated by the screen projection sending end based on the room information;
establishing a second connection with the screen throwing sending end according to the second connection request;
and storing the second connection into the preset room, and establishing instant communication with the screen-throwing receiving end and the screen-throwing sending end.
Further, the method for sharing a screen described above, before receiving the second connection request from the screen sending end, further includes:
and sending the room information to the screen projection receiving end so that the screen projection receiving end outputs the room information, and a user inputs the output room information to the screen projection sending end.
Further, in the above screen sharing method, the establishing a second connection with the screen sending end based on the second connection request includes:
and checking the second connection request, and if the second connection request is checked successfully, establishing second connection with the screen-throwing transmitting end.
Further, the method for sharing a screen described above, after storing the second connection in the preset room, further includes:
and sending the online prompt of the screen-throwing sending end to other equipment in the preset room.
Further, in the screen sharing method, if the feedback information includes agreement to share, notifying the screen sending end and the screen receiving end to perform resource negotiation, so that after the resource negotiation is successful, the screen sending end sends a control instruction to the screen receiving end, and the screen receiving end executes the control instruction; the control instruction is generated according to a screen throwing instruction input into the screen throwing sending end by a user.
Further, in the above screen sharing method, the instant messaging service includes WebRTC service.
On the other hand, the invention also provides a sharing device of the screen, which is applied to the instant messaging server, and the device comprises:
the building module is used for building instant messaging with the screen throwing receiving end and the screen throwing sending end based on the instant messaging service;
the acquisition module is used for acquiring a sharing request from the screen throwing sending end, wherein the sharing request comprises a screen throwing request or a screen sharing request;
the sending module is used for sending the screen throwing request or the screen sharing request to the screen throwing receiving end;
the acquisition module is further used for acquiring feedback information generated by the screen throwing receiving end according to the screen throwing request or the screen sharing request;
and the notification module is used for notifying the screen-throwing sending end and the screen-throwing receiving end to carry out resource negotiation if the feedback information comprises sharing agreement, so that after the resource negotiation is successful, the screen-throwing sending end sends the content corresponding to the screen-throwing request to the screen-throwing receiving end, or the screen-throwing receiving end sends the content corresponding to the screen sharing request to the screen-throwing sending end.
In another aspect, the present invention further provides an instant messaging server, including a processor and a memory, where the processor is connected to the memory:
the processor is used for calling and executing the program stored in the memory;
the memory is configured to store the program, where the program is at least configured to execute the screen sharing method described in any one of the above.
On the other hand, the invention also provides a screen sharing system, which comprises a screen receiving end, a screen sending end and the instant messaging server;
the communication server, the screen projection receiving end and the screen projection transmitting end are communicated through a wireless network;
the communication server is independently arranged, or the communication server and the screen throwing receiving end are integrated.
The method comprises the steps of establishing instant messaging with a screen throwing receiving end and a screen throwing sending end based on instant messaging service; obtaining a sharing request from a screen throwing sending end, wherein the sharing request comprises a screen throwing request or a screen sharing request; transmitting a screen throwing request or a screen sharing request to a screen throwing receiving end; acquiring feedback information generated by a screen throwing receiving end according to a screen throwing request or a screen sharing request; if the feedback information includes agreement to share, performing resource negotiation with the screen-throwing sending end and the screen-throwing receiving end, so that after the resource negotiation is successful, the screen-throwing sending end sends the content corresponding to the screen-throwing request to the screen-throwing receiving end, or the screen-throwing receiving end sends the content corresponding to the screen-sharing request to the screen-throwing sending end. By adopting the technical scheme of the invention, the connection is established through the instant messaging service, the user does not need to use a physical cable, the connection is convenient, the user does not need to install appointed screen throwing software, the screen throwing can be realized only by a common browser, and the use is convenient.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a screen sharing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a sharing device according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an embodiment of an instant messaging server according to the present invention;
fig. 4 is a schematic structural diagram of a sharing system of the screen according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, based on the examples herein, which are within the scope of the invention as defined by the claims, will be within the scope of the invention as defined by the claims.
FIG. 1 is a flowchart of a screen sharing method according to an embodiment of the present invention.
The embodiment provides a screen sharing method which is applied to an instant messaging server. As shown in fig. 1, the method for sharing a screen in this embodiment may include the following steps:
s11, based on the instant communication service, establishing instant communication with the screen throwing receiving end and the screen throwing sending end.
Specifically, the instant messaging server can establish instant messaging of the screen projection receiving end and the screen projection sending end based on the instant messaging service. The screen projection transmitting end is a device for transmitting video and audio, and the screen projection receiving end is a device for playing the video and the audio.
In some alternative embodiments, the instant messaging server may be integrated with the screen-casting receiving end, i.e., the instant messaging server is built in the screen-casting receiving end; alternatively, the instant messaging server may be configured as an independent internet server, which is not limited in this embodiment.
In some alternative embodiments, the system for projecting the screen in the projecting sending end may be independent software, or may be a web page of a browser, which is not limited in this embodiment.
In some alternative embodiments, the screen projection receiving end may directly communicate with the screen projection sending end, may directly or indirectly communicate with the instant messaging server, or may directly or indirectly communicate with the internet.
In some alternative embodiments, the instant messaging service includes WebRTC service. WebRTC implements web-based video conferencing, and the standard is the whatwwg protocol, with the aim of providing simple javascript through a browser to reach instant messaging (Real-Time Communications (RTC)) capability.
In some alternative embodiments, the instant messaging server can establish instant messaging of instant messaging with the screen throwing receiving end and the screen throwing sending end by the following steps:
step one, acquiring a first connection request from a screen throwing receiving end; wherein, the first connection request is sent by the screen throwing receiving terminal based on the instant messaging service;
step two, establishing a first connection with a screen throwing receiving end according to a first connection request;
step three, storing the first connection into a preset room, and generating room information;
step four, receiving a second connection request from the screen-switching transmitting end; the second connection request is generated by the screen sending end based on room information;
step five, establishing a second connection with the screen throwing sending end according to the second connection request;
and step six, storing the second connection into a preset room, and establishing instant messaging with the screen throwing receiving end and the screen throwing sending end.
Specifically, when the screen-throwing receiving terminal operates, the communication service which can be used by the screen-throwing receiving terminal can be automatically detected, and the appropriate instant communication service is comprehensively judged and connected according to the selection and the available condition of the user. In some alternative embodiments, all available communication services may be output, with the end-use communication service selected by the user. In other embodiments, the most suitable communication service may be selected automatically from all available communication services, where the most suitable communication service includes a communication service with a strongest signal or a communication service with a highest communication speed, and the embodiment is not limited.
In this embodiment, a first connection request from the screen-throwing receiving end may be obtained. The first connection request is sent by the screen-throwing receiving end based on the instant messaging service, namely the first connection request is sent by the screen-throwing receiving end based on the finally determined messaging service.
According to the first connection request, a first connection with the screen-throwing receiving end is established, and the survival condition of the first connection can be detected at fixed time. And storing the first connection into a preset room to generate room information. Other devices may enter the preset room through room information.
In some alternative embodiments, the room information may be sent to the screen capturing end, so that the screen capturing end outputs the room information, and the user inputs the output room information to the screen capturing end.
Specifically, after the room information is sent to the screen-throwing receiving end, the screen-throwing receiving end sorts the room information, the display equipment of the screen-throwing receiving end can output the sorted room information, after the user obtains the room information through the display equipment, the room information is input to the screen-throwing sending end, and the screen-throwing sending end generates a second connection request based on the room information. Specifically, the screen sending end may send the room information as a part of the second connection request to the instant messaging server.
In some alternative embodiments, the projection screen receiving end may include a plurality of display devices.
And acquiring a second connection request, and establishing second connection between the instant messaging server and the screen throwing sending end. In some alternative embodiments, the second connection with the screen-cast sender may be established by:
and checking the second connection request, and if the second connection request is checked successfully, establishing second connection with the screen throwing sending end.
Specifically, the second connection request may be checked, and the check rule may refer to the prior art, which is not described in detail in this embodiment. If the verification is successful, a second connection between the instant messaging server and the screen throwing sending end is established. If the verification fails, no connection is established.
And storing the second connection into the preset room, and establishing instant communication with the screen throwing receiving end and the screen throwing sending end.
Based on the connection mode, a user does not need to directly access an internal network of the conference, and can realize screen projection only by accessing the Internet or a hot spot of the display equipment.
In some alternative embodiments, after storing the second connection in the preset room, the method may further include the steps of:
and sending an online prompt of the screen-throwing sending end to other equipment in the preset room.
Specifically, the online reminder may be sent to other devices in the preset room, for example, a screen-throwing receiving end, other screen-throwing sending ends, and the like, to inform other users that the screen-throwing sending end is online. Other devices in the room can output the online reminding in the form of sound or display the online reminding through a display screen, and the embodiment is not limited.
S12, obtaining a sharing request from the screen throwing sending end.
After the instant communication server establishes instant communication with the screen throwing receiving end and the screen throwing sending end, the sharing request from the screen throwing sending end can be obtained.
In some alternative embodiments, the sharing request includes a screen-cast request. The screen projection request refers to that the screen projection sending end requests to project the content of the screen projection sending end to the screen projection receiving end, and the screen projection request can be understood as forward screen projection.
In some other alternative embodiments, the sharing request includes a screen sharing request. The screen sharing request refers to that the screen sending end requests to display the content displayed by the screen receiving end, and can be understood as a screen mirror image of the screen receiving end.
S13, sending the screen throwing request or the screen sharing request to a screen throwing receiving end.
In this embodiment, after obtaining the screen-throwing request or the screen sharing request, the screen-throwing request or the screen sharing request is forwarded to the screen-throwing receiving end.
S14, acquiring feedback information generated by the screen throwing receiving end according to the screen throwing request or the screen sharing request.
After the screen throwing receiving end obtains the screen throwing request or the screen sharing request, the screen throwing request or the screen sharing request can be displayed through the display device, a user determines whether to agree with the screen throwing or the screen sharing through the screen throwing request or the screen sharing request displayed by the display device, and determines operation, and the screen throwing receiving end obtains operation information input by the user and sends the operation information to the instant messaging server as feedback information.
Or, the user may set in advance, and after the screen-throwing receiving end obtains the screen-throwing request or the screen sharing request, feedback information is automatically sent, for example, if the IP address of the screen-throwing sending end is an IP address meeting the requirement, the feedback information may include approval for sharing, and if the IP address of the screen-throwing sending end is an IP address not meeting the requirement, the feedback information may include disapproval for sharing.
In this embodiment, feedback information generated by the screen throwing receiving end according to the screen throwing request or the screen sharing request is obtained.
And S15, if the feedback information comprises agreeing to share, notifying the screen sending end and the screen receiving end to carry out resource negotiation, so that after the resource negotiation is successful, the screen sending end sends the content corresponding to the screen request to the screen receiving end, or the screen receiving end sends the content corresponding to the screen sharing request to the screen sending end.
If the feedback information comprises agreeing to share, after obtaining permission, notifying the screen sending end and the screen receiving end to carry out resource negotiation. For example, negotiating available network and system resources.
After the resource negotiation is successful, if the sharing request comprises a screen projection request, the screen projection sending end sends the content corresponding to the screen projection request to the screen projection receiving end, and the display equipment in the screen projection receiving end can play the content.
After the resource negotiation is successful, if the sharing request includes a screen sharing request, the screen sending receiving end encodes the content corresponding to the screen sharing request and sends the encoded content to the screen sending end, and the display device of the screen sending receiving end can also continue to play the content corresponding to the sharing request.
The screen sharing method of the embodiment comprises the steps of establishing instant messaging with a screen throwing receiving end and a screen throwing sending end based on instant messaging service; obtaining a sharing request from a screen throwing sending end, wherein the sharing request comprises a screen throwing request or a screen sharing request; transmitting a screen throwing request or a screen sharing request to a screen throwing receiving end; acquiring feedback information generated by a screen throwing receiving end according to a screen throwing request or a screen sharing request; if the feedback information comprises agreeing to share, notifying the screen sending end and the screen receiving end to carry out resource negotiation, so that after the resource negotiation is successful, the screen sending end sends the content corresponding to the screen request to the screen receiving end, or the screen receiving end sends the content corresponding to the screen sharing request to the screen sending end. By adopting the technical scheme of the embodiment, the connection is established through the instant messaging service, a user does not need to use a physical cable, the connection is convenient, the user does not need to install appointed screen throwing software, and the screen throwing can be realized only by a common browser, so that the use is convenient.
In some optional embodiments, if the feedback information includes agreeing to share, notifying the screen sending end and the screen receiving end to perform resource negotiation, so that after the resource negotiation is successful, the method further includes the following steps:
the screen throwing sending end sends the control instruction to the screen throwing receiving end, and the screen throwing receiving end executes the control instruction; the control instruction is generated according to a screen throwing instruction input into the screen throwing sending end by a user.
Specifically, if a user of the screen-throwing transmitting end wants to control the screen-throwing receiving end, the screen-throwing transmitting end can edit the screen-throwing instruction, the screen-throwing transmitting end converts the screen-throwing instruction to generate a control instruction, then the control instruction is transmitted to the screen-throwing receiving end, the screen-throwing receiving end receives the control instruction and then translates and converts the control instruction, the control instruction is input to an operating system where the screen-throwing receiving end is located in a simulation mode, and the control instruction is executed, for example, control instructions such as page turning, fast forwarding and fast rewinding are executed. The user can remotely control the display device in real time to control the screen-throwing receiving end.
Based on a general inventive concept, the invention also provides a device for sharing the screen, which is used for realizing the method embodiment.
Fig. 2 is a schematic structural diagram of a sharing device of a screen according to an embodiment of the invention.
As shown in fig. 2, the sharing device of the screen of the present embodiment includes:
the establishing module 21 is configured to establish instant messaging with the screen throwing receiving end and the screen throwing sending end based on the instant messaging service;
the obtaining module 22 is configured to obtain a sharing request from the screen-throwing sending end, where the sharing request includes a screen-throwing request or a screen sharing request;
a sending module 23, configured to send a screen-throwing request or a screen sharing request to a screen-throwing receiving end;
the obtaining module 22 is further configured to obtain feedback information generated by the screen throwing receiving end according to the screen throwing request or the screen sharing request;
and the notification module 24 is configured to notify the screen sending end and the screen receiving end to perform resource negotiation if the feedback information includes agreement to share, so that after the resource negotiation is successful, the screen sending end sends the content corresponding to the screen request to the screen receiving end, or the screen receiving end sends the content corresponding to the screen sharing request to the screen sending end.
In the screen sharing device of the embodiment, the establishing module 21 establishes instant messaging with the screen throwing receiving end and the screen throwing sending end based on instant messaging service; the obtaining module 22 obtains a sharing request from the screen sending end, wherein the sharing request comprises a screen throwing request or a screen sharing request; a transmitting module 23 for transmitting the screen-throwing request or the screen sharing request to the screen-throwing receiving end; the acquisition module 22 acquires feedback information generated by the screen throwing receiving end according to the screen throwing request or the screen sharing request; if the feedback information includes agreeing to share, the notification module 24 notifies the screen sending end and the screen receiving end to perform resource negotiation, so that after the resource negotiation is successful, the screen sending end sends the content corresponding to the screen request to the screen receiving end, or the screen receiving end sends the content corresponding to the screen sharing request to the screen sending end. By adopting the technical scheme of the embodiment, the connection is established through the instant messaging service, a user does not need to use a physical cable, the connection is convenient, the user does not need to install appointed screen throwing software, and the screen throwing can be realized only by a common browser, so that the use is convenient.
In some alternative embodiments, the establishing module 21 is specifically configured to obtain the first connection request from the screen-throwing receiving end; wherein, the first connection request is sent by the screen throwing receiving terminal based on the instant messaging service; establishing a first connection with a screen throwing receiving end according to a first connection request; storing the first connection into a preset room, and generating room information; receiving a second connection request from a screen-switching transmitting end; the second connection request is generated by the screen sending end based on room information; establishing a second connection with the screen throwing sending end according to the second connection request; and storing the second connection into a preset room, and establishing instant communication with the screen throwing receiving end and the screen throwing sending end.
In some alternative embodiments, before receiving the second connection request from the screen sending end, the establishing module 21 is specifically configured to send the room information to the screen receiving end, so that the screen receiving end outputs the room information, and the user inputs the output room information to the screen sending end.
In some alternative embodiments, the establishing module 21 is specifically configured to check the second connection request, and if the check is successful, establish the second connection with the screen sending end.
In some alternative embodiments, after the second connection is stored in the preset room, the establishing module 21 is specifically configured to send an online reminder of the screen-throwing sending end to other devices in the preset room.
In some optional embodiments, the notification module 24 is specifically configured to notify the screen sending end and the screen receiving end to perform resource negotiation if the feedback information includes agreement to share, so that after the resource negotiation is successful, the screen sending end sends a control instruction to the screen receiving end, and the screen receiving end executes the control instruction; the control instruction is generated according to a screen throwing instruction input into the screen throwing sending end by a user.
In some alternative embodiments, the instant messaging service includes WebRTC service.
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 a general inventive concept, the invention also provides an instant messaging server for implementing the method embodiment.
Fig. 3 is a schematic structural diagram of an instant messaging server according to an embodiment of the present invention.
As shown in fig. 3, the instant messaging server of the present embodiment includes a processor 31 and a memory 32, where the processor 31 is connected to the memory 32. Wherein the processor 31 is used for calling and executing the program stored in the memory 32; the memory 32 is used to store a program for executing at least the screen sharing method in the above embodiment. By adopting the technical scheme of the embodiment, the connection is established through the instant messaging service, a user does not need to use a physical cable, the connection is convenient, the user does not need to install appointed screen throwing software, and the screen throwing can be realized only by a common browser, so that the use is convenient.
Based on a general inventive concept, the invention also provides a screen sharing system, which comprises a screen receiving end 41, a screen sending end 42 and the instant messaging server 43 in the above embodiment.
Fig. 4 is a schematic structural diagram of a sharing system of the screen according to an embodiment of the invention.
The communication server 43, the screen projection receiving end 41 and the screen projection transmitting end 42 communicate through a wireless network; the communication server 43 is independently provided, or the communication server 43 is integrally provided with the screen-throwing receiving terminal 41.
The screen receiving end 41 is further provided with one, two or more display devices for displaying the contents of the screen.
It is to be understood that the same or similar parts in the above embodiments may be referred to each other, and that in some embodiments, the same or similar parts in other embodiments may be referred to.
It should be noted that in the description of the present invention, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present invention, unless otherwise indicated, the meaning of "plurality" means at least two.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.

Claims (8)

1. The screen sharing method is characterized by being applied to an instant messaging server, and comprises the following steps:
based on the instant messaging service, establishing instant messaging with a screen throwing receiving end and a screen throwing sending end;
the screen throwing sending end accesses the instant messaging server through a web browser and sends out a sharing request; the sharing request comprises a screen throwing request or a screen sharing request;
obtaining a sharing request from the screen throwing sending end according to the instant messaging service;
the screen throwing request or the screen sharing request is sent to the screen throwing receiving end;
acquiring feedback information generated by the screen throwing receiving end according to the screen throwing request or the screen sharing request;
if the feedback information comprises agreeing to share, notifying the screen sending end and the screen receiving end to carry out resource negotiation, so that after the resource negotiation is successful, the screen sending end sends the content corresponding to the screen sending request to the screen receiving end, or the screen receiving end sends the content corresponding to the screen sharing request to the screen sending end;
the method for establishing the instant messaging with the screen throwing receiving end and the screen throwing sending end based on the instant messaging service comprises the following steps:
acquiring a first connection request from the screen-throwing receiving end; wherein, the first connection request is sent by the screen throwing receiving terminal based on the instant communication service;
establishing a first connection with the screen throwing receiving end according to the first connection request;
storing the first connection into a preset room and generating room information;
receiving a second connection request from the screen throwing sending end; the second connection request is generated by the screen projection sending end based on the room information;
establishing a second connection with the screen throwing sending end according to the second connection request;
storing the second connection into the preset room, and establishing instant communication with the screen-throwing receiving end and the screen-throwing sending end;
before receiving the second connection request from the screen-throwing sending end, the method further comprises:
and sending the room information to the screen projection receiving end so that the screen projection receiving end outputs the room information, and a user inputs the output room information to the screen projection sending end.
2. The method for sharing a screen according to claim 1, wherein the establishing a second connection with the screen sending end based on the second connection request includes:
and checking the second connection request, and if the second connection request is checked successfully, establishing second connection with the screen-throwing transmitting end.
3. The method of sharing a screen according to claim 1, further comprising, after storing the second connection in the preset room:
and sending the online prompt of the screen-throwing sending end to other equipment in the preset room.
4. The screen sharing method according to claim 1, wherein if the feedback information includes agreement to share, notifying the screen sending end and the screen receiving end to perform resource negotiation, so that after the resource negotiation is successful, the screen sending end sends a control instruction to the screen receiving end, and the screen receiving end executes the control instruction; the control instruction is generated according to a screen throwing instruction input into the screen throwing sending end by a user.
5. The screen sharing method of claim 1, wherein the instant messaging service comprises WebRTC service.
6. The utility model provides a sharing device of screen, its characterized in that is applied to instant messaging server, said device includes:
the building module is used for building instant messaging with the screen throwing receiving end and the screen throwing sending end based on the instant messaging service;
the screen throwing sending end accesses the instant messaging server through a web browser and sends out a sharing request; the sharing request comprises a screen throwing request or a screen sharing request;
the acquisition module is used for acquiring a sharing request from the screen throwing sending end according to the instant messaging service;
the sending module is used for sending the screen throwing request or the screen sharing request to the screen throwing receiving end;
the acquisition module is further used for acquiring feedback information generated by the screen throwing receiving end according to the screen throwing request or the screen sharing request;
the notification module is used for notifying the screen-throwing sending end and the screen-throwing receiving end to carry out resource negotiation if the feedback information comprises sharing agreement, so that after the resource negotiation is successful, the screen-throwing sending end sends the content corresponding to the screen-throwing request to the screen-throwing receiving end, or the screen-throwing receiving end sends the content corresponding to the screen sharing request to the screen-throwing sending end;
the method for establishing the instant messaging with the screen throwing receiving end and the screen throwing sending end based on the instant messaging service comprises the following steps:
acquiring a first connection request from the screen-throwing receiving end; wherein, the first connection request is sent by the screen throwing receiving terminal based on the instant communication service;
establishing a first connection with the screen throwing receiving end according to the first connection request;
storing the first connection into a preset room and generating room information;
receiving a second connection request from the screen throwing sending end; the second connection request is generated by the screen projection sending end based on the room information;
establishing a second connection with the screen throwing sending end according to the second connection request;
storing the second connection into the preset room, and establishing instant communication with the screen-throwing receiving end and the screen-throwing sending end;
before receiving the second connection request from the screen-throwing sending end, the method further comprises:
and sending the room information to the screen projection receiving end so that the screen projection receiving end outputs the room information, and a user inputs the output room information to the screen projection sending end.
7. The instant messaging server is characterized by comprising a processor and a memory, wherein the processor is connected with the memory:
the processor is used for calling and executing the program stored in the memory;
the memory is configured to store the program, and the program is configured to at least perform the screen sharing method according to any one of claims 1 to 5.
8. The screen sharing system is characterized by comprising a screen receiving end, a screen sending end and the instant messaging server according to claim 7;
the communication server, the screen projection receiving end and the screen projection transmitting end are communicated through a wireless network;
the communication server is independently arranged, or the communication server and the screen throwing receiving end are integrated.
CN202110506181.5A 2021-05-10 2021-05-10 Screen sharing method, device and system and instant messaging server Active CN113242173B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110506181.5A CN113242173B (en) 2021-05-10 2021-05-10 Screen sharing method, device and system and instant messaging server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110506181.5A CN113242173B (en) 2021-05-10 2021-05-10 Screen sharing method, device and system and instant messaging server

Publications (2)

Publication Number Publication Date
CN113242173A CN113242173A (en) 2021-08-10
CN113242173B true CN113242173B (en) 2023-05-16

Family

ID=77133063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110506181.5A Active CN113242173B (en) 2021-05-10 2021-05-10 Screen sharing method, device and system and instant messaging server

Country Status (1)

Country Link
CN (1) CN113242173B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422460B (en) * 2021-12-12 2024-03-01 路九阳 Method and system for establishing same-screen communication sharing in instant communication application
CN115052186B (en) * 2022-07-12 2023-09-15 北京字跳网络技术有限公司 Screen projection method and related equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107493484A (en) * 2017-08-18 2017-12-19 三星电子(中国)研发中心 System, method and apparatus for projection screen
CN112584228A (en) * 2020-11-25 2021-03-30 山东宁泓信息技术有限公司 Low-delay screen projection method and system based on WEB

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160321567A1 (en) * 2015-04-30 2016-11-03 Hewlett-Packard Development Company Projection device access
US20180167426A1 (en) * 2015-10-29 2018-06-14 CrankWheel ehf. Multiplatform Screen Sharing Solution for Software Demonstration
CN110515572B (en) * 2018-05-21 2022-11-18 腾讯科技(深圳)有限公司 Screen projection method and device, storage medium and computer equipment
CN111669424B (en) * 2019-09-29 2023-05-02 深圳乐播科技有限公司 Screen projection connection method, device and system and electronic equipment
CN112738575A (en) * 2019-10-28 2021-04-30 阿里巴巴集团控股有限公司 Screen projection implementation method, device and system
CN112738011B (en) * 2019-10-28 2024-04-05 阿里巴巴集团控股有限公司 Screen projection implementation method, device and system
CN111314786A (en) * 2019-12-10 2020-06-19 杭州当虹科技股份有限公司 PC screen sharing method based on WebRTC
CN111866559A (en) * 2020-07-10 2020-10-30 北京百家视联科技有限公司 Wireless screen projection protocol system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107493484A (en) * 2017-08-18 2017-12-19 三星电子(中国)研发中心 System, method and apparatus for projection screen
CN112584228A (en) * 2020-11-25 2021-03-30 山东宁泓信息技术有限公司 Low-delay screen projection method and system based on WEB

Also Published As

Publication number Publication date
CN113242173A (en) 2021-08-10

Similar Documents

Publication Publication Date Title
US10862987B2 (en) System and method for collaborative telepresence amongst non-homogeneous endpoints
WO2019090902A1 (en) Screen sharing method and apparatus, electronic device, and storage medium
US9565249B2 (en) Adaptive connectivity in network-based collaboration background information
US8909704B2 (en) Network-attached display device as an attendee in an online collaborative computing session
JP4425577B2 (en) How to present data
CN113242173B (en) Screen sharing method, device and system and instant messaging server
JP5359666B2 (en) Host session management server, host session management method, program, and host session management system
KR20060059334A (en) Resolving a distributed topology to stream data
CN112738559B (en) Screen projection implementation method, device and system
WO2017050006A1 (en) Remote live broadcast method and system
JP2021513768A (en) Methods and systems for making functional devices available to meeting participants
CN111131891B (en) Audio and video playing method and device, playing equipment and system
US11803606B2 (en) Device augmentation of real time communications
JP2015180992A (en) Information processing system, information processing apparatus, and program
JP5494129B2 (en) Communication system and communication method
US20110173275A1 (en) Messaging Between Events
CN114629898A (en) Multi-client cooperation method and electronic equipment
US20110069143A1 (en) Communications Prior To A Scheduled Event
JP2003271277A (en) Information processor and information input method
JP5234850B2 (en) Projector system, projector, and data receiving method
JP2008079042A (en) Communication terminal and program
WO2015122194A1 (en) Real-time communication system, real-time communication device, real-time communication method, and recording medium
CN118075043A (en) Conference system and conference management method
CN112929328A (en) One-to-many screen sharing implementation method and system based on router
JP2002351651A (en) Method and device for displaying information

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