Method, device, storage medium and electronic device for screen sharing
By establishing a network connection between devices, the second device acquires and installs the protocol software, solving the problem of screen sharing in environments without internet access, realizing screen sharing between devices, and enhancing the compatibility and flexibility between devices.
Patent Information
- Application Number
- CN202111546397.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-16
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2041-12-16
AI Technical Summary
In existing technologies, screen sharing devices require downloading protocol software via the internet, making it impossible to achieve screen sharing functionality in environments without an internet connection.
By establishing a network connection between the first device and the second device, the second device obtains and installs the protocol software from the first device to achieve screen sharing.
Enabling screen sharing in the absence of an internet network enhances compatibility and flexibility between devices.
Smart Images

Figure CN114423095B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of screen sharing technology, and in particular to a screen sharing method, apparatus, storage medium and electronic device. Background Technology
[0002] Currently, screen sharing functionality requires a common protocol between devices. Therefore, it is necessary to download and install the corresponding driver or application to support screen sharing.
[0003] Existing software for establishing connection protocols requires downloading from the internet. Without internet access, there's no way to download and install it, rendering screen sharing unusable. Summary of the Invention
[0004] To address the aforementioned problems, this application provides a screen sharing method, apparatus, storage medium, and electronic device, resolving the technical issue that in related technologies, the software for establishing connection protocols must be downloaded from the internet. However, in situations without internet access, there is no way to download and install the software, thus rendering the screen sharing function unusable.
[0005] In a first aspect, this application provides a method for screen sharing, the method comprising:
[0006] Establish a network connection between the first device and the second device;
[0007] The second device obtains the protocol software from the first device via the network connection;
[0008] The second device installs the protocol software;
[0009] The first device and the second device share their screens through the installed protocol software.
[0010] In some embodiments, establishing a network connection between the first device and the second device includes:
[0011] A local area network connection is established between the first device and the second device through a network device.
[0012] In some embodiments, the second device obtains protocol software from the first device via the network connection, including:
[0013] The first device constructs a server based on the information of the network device and generates a file list; the file list includes the protocol software;
[0014] The second device initiates access to the server built by the first device through the local area network connection;
[0015] After the access is successful, the second device downloads the protocol software from the server.
[0016] In some embodiments, establishing a network connection between the first device and the second device includes:
[0017] The first device turns on a Wi-Fi hotspot;
[0018] The second device connects to the network hotspot of the first device and establishes a hotspot network connection with the first device.
[0019] In some embodiments, the second device obtains protocol software from the first device via the network connection, including:
[0020] The first device constructs a server and generates a file list; the file list includes the protocol software;
[0021] The second device initiates access to the server built by the first device through the hotspot network connection;
[0022] After the access is successful, the second device downloads the protocol software from the server.
[0023] In some embodiments, the first device includes multiple protocol software corresponding to different types of second devices.
[0024] In some embodiments, the file list may also include protocol software for other second devices.
[0025] Secondly, a screen sharing device, the device comprising:
[0026] First equipment and second equipment;
[0027] The first device and the second device can establish a network connection; the second device obtains protocol software from the first device through the network connection; the second device is used to install the protocol software; the first device and the second device share their screens through the installed protocol software.
[0028] Thirdly, a storage medium storing a computer program that can be executed by one or more processors and can be used to implement the screen sharing method as described in the first aspect above.
[0029] Fourthly, an electronic device includes a memory and a processor, wherein a computer program is stored on the memory and the processor are communicatively connected to each other, and the computer program, when executed by the processor, performs the screen sharing method as described in the first aspect above.
[0030] This application provides a screen sharing method, apparatus, storage medium, and electronic device, comprising: establishing a network connection between a first device and a second device; the second device obtaining protocol software from the first device through the network connection; the second device installing the protocol software; and the first device and the second device sharing a screen through the installed protocol software. This application enables screen sharing in the absence of an internet network by establishing a network connection between the two devices. Attached Figure Description
[0031] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0032] Figure 1 A flowchart illustrating a screen sharing method provided in an embodiment of this application;
[0033] Figure 2 A schematic diagram of the structure of a screen sharing device provided in an embodiment of this application;
[0034] Figure 3 This is a connection block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0035] The following detailed description of the embodiments of this application, in conjunction with the accompanying drawings, will provide a thorough understanding of how this application uses technical means to solve technical problems and achieve corresponding technical effects, enabling its implementation. The embodiments of this application and the various features within them can be combined with each other without conflict, and all resulting technical solutions are within the protection scope of this application.
[0036] As the background technology explains, existing software for establishing connection protocols requires downloading from the internet. Without internet access, there is no way to download and install it, rendering screen sharing unusable.
[0037] In view of this, this application provides a screen sharing method, apparatus, storage medium, and electronic device, solving the technical problem in related technologies where the software for establishing connection protocols needs to be downloaded from the Internet. However, in situations without an Internet connection, there is no way to download and install the software, thus rendering the screen sharing function unusable.
[0038] Example 1
[0039] Figure 1This is a flowchart illustrating a screen sharing method provided in an embodiment of this application, as shown below. Figure 1 As shown, this method includes:
[0040] S101. Establish a network connection between the first device and the second device;
[0041] S102, The second device obtains protocol software from the first device through the network connection;
[0042] S103. The second device installs the protocol software;
[0043] S104. The first device and the second device share their screens through the installed protocol software.
[0044] It's important to note that for the master and slave devices to use the screen sharing function, a protocol is required for connection and data transmission to enable communication. This necessitates that both the master and slave devices have a protocol program as a foundation for this functionality.
[0045] Protocol software: This refers to the software used by two devices to exchange and parse data under the same protocol if they need to share a screen. This program can be a driver or an application. Screen sharing is an encoding and decoding process, which requires agreeing on relevant protocols.
[0046] It should be further noted that when the relevant protocol software is installed on the second device, the system will provide corresponding installation completion feedback. For example, the Android system will generate a corresponding icon (or set a corresponding entry point), which can be opened to perform connection operations.
[0047] In some embodiments, establishing a network connection between the first device and the second device includes:
[0048] A local area network connection is established between the first device and the second device through a network device.
[0049] In some embodiments, the second device obtains protocol software from the first device via the network connection, including:
[0050] The first device constructs a server based on the information of the network device and generates a file list; the file list includes the protocol software;
[0051] The second device initiates access to the server built by the first device through the local area network connection;
[0052] After the access is successful, the second device downloads the protocol software from the server.
[0053] In some embodiments, establishing a network connection between the first device and the second device includes:
[0054] The first device turns on a Wi-Fi hotspot;
[0055] The second device connects to the network hotspot of the first device and establishes a hotspot network connection with the first device.
[0056] In some embodiments, the second device obtains protocol software from the first device via the network connection, including:
[0057] The first device constructs a server and generates a file list; the file list includes the protocol software;
[0058] The second device initiates access to the server built by the first device through the hotspot network connection;
[0059] After the access is successful, the second device downloads the protocol software from the server.
[0060] In some embodiments, the first device includes multiple protocol software corresponding to different types of second devices.
[0061] It should be noted that the master device comes pre-installed with the protocol program (driver or application) for the slave devices, targeting different types of slave devices. This ensures maximum device compatibility.
[0062] In some embodiments, the file list may also include protocol software for other second devices.
[0063] It should be noted that the file list is a series of files that include all the pre-installed protocol software.
[0064] For example, different APK files can be used for different versions of the Android system.
[0065] In summary, this application provides a screen sharing method, comprising: establishing a network connection between a first device and a second device; the second device obtaining protocol software from the first device through the network connection; the second device installing the protocol software; and the first device and the second device sharing their screen through the installed protocol software. This application, by establishing a network connection between two devices, enables screen sharing in the absence of an internet network.
[0066] Example 2
[0067] Based on the screen sharing method disclosed in the above embodiments of the present invention, Figure 2 The device for screen sharing that applies the screen sharing method is specifically disclosed.
[0068] like Figure 2 As shown, an embodiment of the present invention discloses a screen sharing device, the device comprising:
[0069] First device 201 and second device 202;
[0070] The first device and the second device can establish a network connection; the second device obtains protocol software from the first device through the network connection; the second device is used to install the protocol software; the first device and the second device share their screens through the installed protocol software.
[0071] In some embodiments, establishing a network connection between the first device and the second device includes:
[0072] A local area network connection is established between the first device and the second device through a network device.
[0073] In some embodiments, the second device obtains protocol software from the first device via the network connection, including:
[0074] The first device constructs a server based on the information of the network device and generates a file list; the file list includes the protocol software;
[0075] The second device initiates access to the server built by the first device through the local area network connection;
[0076] After the access is successful, the second device downloads the protocol software from the server.
[0077] In some embodiments, establishing a network connection between the first device and the second device includes:
[0078] The first device turns on a Wi-Fi hotspot;
[0079] The second device connects to the network hotspot of the first device and establishes a hotspot network connection with the first device.
[0080] In some embodiments, the second device obtains protocol software from the first device via the network connection, including:
[0081] The first device constructs a server and generates a file list; the file list includes the protocol software;
[0082] The second device initiates access to the server built by the first device through the hotspot network connection;
[0083] After the access is successful, the second device downloads the protocol software from the server.
[0084] In some embodiments, the first device includes multiple protocol software corresponding to different types of second devices.
[0085] In some embodiments, the file list may also include protocol software for other second devices.
[0086] The specific working process of each device in the screen sharing apparatus disclosed in the above embodiments of the present invention can be found in the corresponding content of the screen sharing method disclosed in the above embodiments of the present invention, and will not be repeated here.
[0087] In summary, this application provides a screen sharing device, comprising: establishing a network connection between a first device and a second device; the second device obtaining protocol software from the first device through the network connection; the second device installing the protocol software; and the first device and the second device sharing their screen through the installed protocol software. This application, by establishing a network connection between two devices, enables screen sharing in the absence of an internet network.
[0088] Example 3
[0089] This embodiment also provides a computer-readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, server, App application store, etc., which stores a computer program. When the computer program is executed by a processor, it can implement the method steps as described in Embodiment 1. This embodiment will not repeat the description here.
[0090] Example 4
[0091] Figure 3 A connection block diagram of an electronic device 500 provided in this application embodiment is shown below. Figure 3 As shown, the electronic device 500 may include: a processor 501, a memory 502, a multimedia component 503, an input / output (I / O) interface 504, and a communication component 505.
[0092] The processor 501 is used to execute all or part of the steps in the screen sharing method as described in Embodiment 1. The memory 502 is used to store various types of data, which may include, for example, instructions for any application or method in the electronic device, as well as application-related data.
[0093] The processor 501 may be implemented as an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field-programmable gate array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components, and is used to execute the screen sharing method in Embodiment 1 above.
[0094] The memory 502 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0095] Multimedia component 503 may include a screen, which may be a touchscreen, and an audio component for outputting and / or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in memory or transmitted via a communication component. The audio component also includes at least one speaker for outputting audio signals.
[0096] I / O interface 504 provides an interface between processor 501 and other interface modules, such as keyboards, mice, and buttons. These buttons can be virtual or physical buttons.
[0097] Communication component 505 is used for wired or wireless communication between the electronic device 500 and other devices. Wireless communication includes, for example, Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or one or more combinations thereof. Therefore, the corresponding communication component 505 may include: a Wi-Fi module, a Bluetooth module, or an NFC module.
[0098] In summary, this application provides a screen sharing method, apparatus, storage medium, and electronic device. The method includes: establishing a network connection between a first device and a second device; the second device obtaining protocol software from the first device through the network connection; the second device installing the protocol software; and the first device and the second device sharing their screen through the installed protocol software. This application enables screen sharing in the absence of an internet network by establishing a network connection between the two devices.
[0099] In the several embodiments provided in this application, it should be understood that the disclosed methods can also be implemented in other ways. The method embodiments described above are merely illustrative.
[0100] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0101] Although the embodiments disclosed in this application are as described above, the above content is merely for the purpose of facilitating understanding of this application and is not intended to limit this application. Any person skilled in the art to which this application pertains may make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in this application; however, the scope of patent protection of this application shall still be determined by the scope defined in the appended claims.
Claims
1. A method for screen sharing, characterized in that, The method includes: Establish a network connection between a first device and a second device; the first device includes multiple protocol software corresponding to different types of second devices; the protocol software is used to transmit and parse data between the two devices sharing a screen under the same protocol; both the first device and the second device have screen sharing functionality, and the screen sharing functionality is realized based on the connection through the protocol software. The second device obtains the protocol software corresponding to the second device from the first device through the network connection; The second device installs the protocol software; The first device and the second device share their screens through the installed protocol software; The establishment of a network connection between the first device and the second device includes: A local area network connection is established between the first device and the second device through a network device; The second device obtains protocol software from the first device via the network connection, including: The first device constructs a server based on the information of the network device and generates a file list; the file list includes the protocol software; The second device initiates access to the server built by the first device through the local area network connection; After the access is successful, the second device downloads the protocol software from the server.
2. The method according to claim 1, characterized in that, Establishing a network connection between the first device and the second device includes: The first device turns on a Wi-Fi hotspot; The second device connects to the network hotspot of the first device and establishes a hotspot network connection with the first device.
3. The method according to claim 2, characterized in that, The second device obtains protocol software from the first device via the network connection, including: The first device constructs a server and generates a file list; the file list includes the protocol software; The second device initiates access to the server built by the first device through the hotspot network connection; After the access is successful, the second device downloads the protocol software from the server.
4. The method according to claim 1 or 3, characterized in that, The list of files also includes protocol software for other second devices.
5. A screen sharing device, characterized in that, The device includes: A first device and a second device; the first device includes multiple protocol software corresponding to different types of second devices; the protocol software is used to transmit and parse data between the two devices sharing a screen under the same protocol; both the first device and the second device have screen sharing functionality, and the screen sharing functionality is realized by connecting through the protocol software. The first device and the second device can establish a network connection; the second device obtains protocol software from the first device through the network connection; the second device is used to install the protocol software; the first device and the second device share their screens through the installed protocol software. The establishment of a network connection between the first device and the second device includes: A local area network connection is established between the first device and the second device through a network device; The second device obtains protocol software from the first device via the network connection, including: The first device constructs a server based on the information of the network device and generates a file list; the file list includes the protocol software; The second device initiates access to the server built by the first device through the local area network connection; After the access is successful, the second device downloads the protocol software from the server.
6. A storage medium, characterized in that, The computer program stored in the storage medium can be executed by one or more processors and can be used to implement the screen sharing method as described in any one of claims 1 to 4.
7. An electronic device, characterized in that, It includes a memory and a processor, wherein a computer program is stored in the memory, and the memory and the processor are communicatively connected to each other. When the computer program is executed by the processor, it performs the screen sharing method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Screen sharing system and method and medium
CN109783041A
Method and apparatus for installing software
US20050028172A1