WO2022028189A1 - Screen projection method and apparatus, electronic device, and computer readable storage medium - Google Patents
Screen projection method and apparatus, electronic device, and computer readable storage medium Download PDFInfo
- Publication number
- WO2022028189A1 WO2022028189A1 PCT/CN2021/104752 CN2021104752W WO2022028189A1 WO 2022028189 A1 WO2022028189 A1 WO 2022028189A1 CN 2021104752 W CN2021104752 W CN 2021104752W WO 2022028189 A1 WO2022028189 A1 WO 2022028189A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- client
- server
- search
- response message
- file
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
Definitions
- the present disclosure relates to the technical fields of the Internet and smart terminals, and in particular, to a screen projection method and apparatus, an electronic device, and a computer-readable storage medium.
- Screencasting refers to casting media files from one device to other devices for playback/display.
- the video or picture on the current mobile phone is placed on another mobile phone, computer or smart TV for playback/display, and the user can watch the video or picture on the current mobile phone on the other mobile phone, computer or smart TV.
- the current screencasting relies on the establishment of a connection between the server and the client to transmit video or pictures.
- the transmission parameters are parsed, and there may be some screencasting display problems; in addition, it is also possible that the client is not necessarily
- the problem with the screen cast object that is, the device that does not need to accept the screen cast also receives the screen cast file, which will lead to a waste of network resources.
- an embodiment of the present disclosure provides a screen projection method, which includes: sending a search file to search for a client; the search file includes a randomly generated device identifier of a server and configuration parameters of the server, the configuration parameters of the server Including parameters for selecting a target client; receiving a search response message returned by the client; the search response message including the client's device identifier and device parameters; determining the target client that meets the screen projection conditions according to the search response message and sending the screen projection file to the target client.
- an embodiment of the present disclosure provides a screen projection method, including: monitoring a search file sent by a server; the search file includes a randomly generated device identifier of the server and configuration parameters of the server, and the configuration parameters of the server include parameters for selecting a target client; when a search file is monitored, a search response message is generated based on the search file and returned to the server, the search response message including the client's device identification and device parameters; and receiving The screen projection file sent by the server.
- an embodiment of the present disclosure provides a screen projection device, including: a server sending module configured to send the search file to the outside to search for a client; the search file includes a randomly generated device identifier and service of the server
- the configuration parameters of the server end, the configuration parameters of the server end include parameters used to select the target client; the server receiving module is configured to receive the search response message returned by the client; the search response message includes the device identifier of the client and device parameters; and a server determination module configured to determine a target client that satisfies the screen projection condition according to the search response message; the server sending module is further configured to send a screen projection file to the target client.
- an embodiment of the present disclosure provides a screen projection device, including: a client receiving module configured to receive a search file sent by a server; the search file includes a randomly generated device identifier of the server and configuration parameters of the server, The configuration parameters of the server include parameters for selecting a target client; and a client sending module is configured to return a search response message to the server; the search response message includes the client's device identifier and device parameters; The client receiving module is further configured to receive the screen projection file sent by the server.
- an electronic device including:
- processors one or more processors
- a memory on which one or more computer programs are stored, when the one or more computer programs are executed by the one or more processors, the one or more processors implement the aforementioned screen projection method; as well as
- One or more I/O interfaces connected between the processor and the memory, are configured to implement information interaction between the processor and the memory.
- an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the foregoing screen projection method.
- FIG. 1 is a flowchart of a screen projection method according to an embodiment of the present disclosure
- FIG. 2 is a flowchart of a screen projection method provided by an embodiment of the present disclosure
- FIG. 3 is a schematic block diagram of a screen projection device provided by an embodiment of the present disclosure.
- FIG. 4 is a schematic block diagram of a screen projection device provided by an embodiment of the present disclosure.
- FIG. 5 is a flowchart of a screen projection method according to an embodiment of the present disclosure.
- FIG. 6 is a schematic block diagram of an electronic device according to an embodiment of the present disclosure.
- the server and client Before screencasting between devices, the server and client need to establish a connection, and then transfer the screencasting file to the client for the client to perform screencasting. Since the configuration file is sent to the client device together with the screencasting file, the server cannot control the client, resulting in some unnecessary clients receiving the screencasting file, wasting network resources.
- the server may also be referred to as a sender, and the client may also be referred to as a receiver.
- the server sends the screencast file, and the client receives the screencast file and displays it.
- an embodiment of the present disclosure provides a screen projection method, and the method is applied to a server, that is, a side that provides a screen projection file.
- FIG. 1 is a flowchart of a screen projection method according to an embodiment of the present disclosure. As shown in FIG. 1 , the screen projection method may include the following steps 101 to 104 .
- Step 101 sending a search file to search for a client.
- the search file includes the device ID of the server and the configuration parameters of the server.
- the device ID of the server can be randomly generated, and the configuration parameters of the server include parameters for selecting the target client, that is, the server can select the target client according to the configuration parameters.
- the device identifier of the server can be generated according to a preset rule.
- the server may randomly generate an ip, and the generation method of the ip may adopt an existing manner, which is not limited in the present disclosure.
- the server After the server generates an IP, it generates a search file based on the IP and configuration parameters. Configuration parameters can be entered manually or automatically generated in the background.
- the configuration parameters may include regional characteristics by which clients can be filtered, clients in a specific region can be excluded, or only clients in a specific region can be selected. For example, if the region feature is set as the region A connection feature, then after the server sends the search file, only the client located in region A can receive the search file and establish a connection with it.
- the configuration parameter is equivalent to a screening mechanism, which blocks some clients in advance during the connection establishment phase, so that the network resource occupation can be reduced in the subsequent screen-casting file transfer process.
- a client list can be generated through the configuration parameters of the client, that is, a client list is generated according to the device parameters and device identifiers of the client.
- the client list can be a list arranged in a preset priority order.
- the list includes at least one client, and the priority can be set by region. For example, the priority of area A is high, the priority of area B is medium, and the priority of area C is low.
- the target client is selected from the client list according to the configuration parameters of the server, and the client with lower priority can be shielded to achieve a differentiated configuration effect and reduce subsequent network resource occupation.
- the server may sort the priorities of the clients according to the device parameters of the clients. For example, set clients that are not suitable for display to low priority and clients that are suitable for display to high priority. Generate a list of clients according to their priority. The server can screen clients during the connection establishment phase, and block clients with lower priority.
- the configuration parameters of the server may include the device type, that is, the device type of the server.
- the configuration parameters are adjusted according to the device type, and the fixed parameters in the subsequent data interaction process are dynamically added or deleted, and the server actively shields Inappropriate clients, or lower the priority of inappropriate clients, so as to achieve a differentiated configuration effect and reduce subsequent network resource occupation.
- the configuration parameters of the server may include one or more parameters of system version, screen size or resolution.
- the server can send its own system version, screen size or projection resolution to the client in the search ip stage.
- the client can determine whether to support the server's projection request according to the system version, and the client can be adjusted according to the screen size and resolution. Displays the screen size and resolution of the device.
- the system version refers to the version of the operating system, for example, in the case of a mobile phone, the system version may be various versions of the Android system.
- the search file may include a device identifier and configuration parameters
- the device identifier is the unique identifier of the device corresponding to the server
- the client can determine the server according to the device identifier of the server.
- the configuration parameters include at least one of screen size, resolution, system version, and regional characteristics.
- Step 102 Receive a search response message returned by the client.
- the search response message may include the client's device identification and device parameters.
- the device identifier is the unique identifier of the device used by the client, and the device parameter may include at least one of screen resolution, screen size, and system version.
- the client after receiving the search file sent by the server, the client identifies the device identifier and configuration parameters of the server, determines whether its own device supports the display of the server, and returns a search response message.
- the client after the client receives the search file sent by the server, it determines whether its own device supports the display of the screen-casting file, and when it supports the display, it returns to the server a message indicating that the ip match is successful; or, when it does not support the display , and return a message that the ip match failed to the server.
- Step 103 according to the search response message, determine a target client that satisfies the screen projection condition.
- the search response message returned by the client includes a successful matching message or a matching unsuccessful message.
- the search response message is a successful matching message, it is determined that the client corresponding to the search response message meets the screen casting conditions. target client.
- the search response message is a message that fails to match, it is determined that the client corresponding to the search response message is a client that does not meet the screen casting conditions.
- the server and the client can also implement pre-decoding in the search ip stage according to the mutual system version and device parameters, that is, to agree on a communication method, so as to avoid parsing the configuration parameters during the transmission of the screencast file, and improve the investment. screen efficiency and effectiveness.
- the server and client After the client returns a successful IP matching message to the server, the server and client complete the preliminary work of screen projection.
- the server can send the screencast file to the client, and the client receives the screencast file and displays it.
- Step 104 sending the screen projection file to the target client.
- the screen projection file includes any suitable file such as video or picture, and when the server needs to project a picture on the client side, it sends a picture stream to the client. When the server needs to project video on the client, it sends a video stream to the client.
- the screen projection method may further include: saving the device identification of the client, so that the server can easily obtain the device identification of the client when needed.
- the screen projection method provided by the embodiment of the present disclosure includes: sending a search file to search for a client; the search file includes a device identifier of the server and configuration parameters of the server, and the configuration parameters of the server include parameters for selecting a target client; Search response message; the search response message includes the client's device identification and device parameters; the target client that meets the screen projection conditions is determined according to the search response message; the screen projection file is sent to the target client, and the server sends the device identification and configuration parameters during the search phase. It is transmitted to the client, and the target client to be projected can be selected through the configuration parameters, that is, only the selected client can accept the projection, which realizes the differentiated configuration parameters. Moreover, the transmission parameters are pre-decoded in the search stage, and no need The transmission parameters are parsed during the video file transmission process, which improves the screen projection stability and user experience.
- an embodiment of the present disclosure provides a screen projection method, which is applied to a client, that is, an end that accepts projection.
- FIG. 2 is a flowchart of a screen projection method provided by an embodiment of the present disclosure. As shown in FIG. 2 , the screen projection method includes the following steps 201 to 204 .
- Step 201 Receive the search file sent by the server.
- the search file may include the device ID of the server and the configuration parameters of the server.
- the device ID of the server may be randomly generated, and the configuration parameters of the server may include parameters for selecting the target client, that is, the server may select the target client according to the configuration parameters.
- each in order to realize the connection between the server and the client, each can generate a device identifier ip, and transmit the device identifier to the other party in the search phase.
- the server may randomly generate an ip, and the generation method of the ip may adopt an existing manner, which is not limited in the present disclosure.
- the server After the server generates an IP, it generates a search file based on the IP and configuration parameters. Configuration parameters can be entered manually or automatically generated in the background.
- the configuration parameters may include regional characteristics by which clients can be filtered, clients in a specific region can be excluded, or only clients in a specific region can be selected. For example, if the region feature is set as the region A connection feature, then after the server sends the search file, only the client located in region A can receive the search file and establish a connection with it.
- the configuration parameter is equivalent to a screening mechanism, which blocks some clients in advance during the connection establishment phase, so that the network resource occupation can be reduced in the subsequent screen-casting file transfer process.
- a client list may be generated through configuration parameters of the client, the client list may be a list arranged in a preset priority order, and the client list includes at least one client, such as the priority of area A is high, the priority of area B is medium, and the priority of area C is low.
- the target client is selected from the client list according to the configuration parameters of the server, and the client with lower priority is shielded to achieve a differentiated configuration effect and reduce subsequent network resource occupation.
- the configuration parameters of the server may include the device type, that is, the device type of the server.
- the configuration parameters are adjusted according to the device type, and the fixed parameters in the subsequent data interaction process are dynamically added or deleted, and the server actively shields Inappropriate clients, or lower the priority of inappropriate clients, so as to achieve a differentiated configuration effect and reduce subsequent network resource occupation.
- the configuration parameters of the server may include one or more parameters of system version, screen size and resolution, and the server sends its own system version, screen size or projection resolution to the ip search stage.
- Client the client can determine whether to support the screen projection request of the server according to the system version, and can adjust the screen size and resolution of the client display device according to the screen size and resolution.
- the system version refers to the version of the operating system, for example, in the case of a mobile phone, the system version may be various versions of the Android system.
- the search file may include the device identification and configuration parameters of the server.
- the device identification is the unique identification of the device corresponding to the server, and the client can determine the server according to the device identification of the server.
- the configuration parameters include at least one of screen size, resolution, system version, and regional characteristics.
- the server sends the search file to the client in the search ip stage. Since the server sets configuration parameters, only the client designated by the server can receive the search file. When the client receives the search file in the ip search stage, it establishes a connection with the server, and at the same time, it can agree on the communication method, that is, to realize the mutual transfer of terminal parameters in the ip search stage, which effectively solves and avoids the interaction between the differentiated terminal screens. The display problem of the vote.
- Step 202 generating a search response message based on the search file.
- the search response message includes the client's device identification and the client's device parameters.
- the device ID of the client is a unique ID used to represent the client.
- the client after listening to the search file sent by the server, the client identifies the device identifier and configuration parameters of the server, determines whether its own device supports display, and returns a search response message.
- the client after the client receives the search file sent by the server, it determines whether its own device supports the display of the screen-casting file.
- the server returns a message that IP matching failed.
- the client can determine whether its own device supports the display of the screencast file according to the configuration parameters of the server.
- Step 203 returning a search response message to the server.
- the search response message returned to the server includes a successful matching message or a matching unsuccessful message.
- the client corresponding to the search response message is eligible for screen projection. target client.
- the search response message is a message that fails to match, the client corresponding to the search response message is a client that does not meet the screen casting conditions.
- the server and the client can also implement pre-decoding in the search ip stage according to the mutual system version and device parameters, that is, to agree on a communication method, so as to avoid parsing the configuration parameters during the transmission of the screencast file, and improve the investment. screen efficiency and effectiveness.
- the server and the client After returning a message indicating that the ip match is successful to the server, the server and the client complete the preliminary work of screen projection.
- the server can send the screencast file to the client, and the client receives the screencast file and displays it.
- Step 204 Receive the screen projection file sent by the server.
- the screen projection file includes a video or a picture
- the server when the server needs to project a picture on the client side, it sends a picture stream to the client.
- the server needs to project video files on the client, it sends a video stream to the client.
- the client after receiving the screen projection file, uses a display device to display the screen projection file.
- FIG. 3 is a schematic block diagram of a screen projection device provided by an embodiment of the present disclosure.
- the screen projection device includes a server sending module 301 , a server receiving module 302 and a server determining module 303 .
- the server-side sending module 301 is configured to send a search file to search clients.
- the search file is a file generated by a server-side generating module.
- the search file includes the randomly generated device identification and configuration parameters of the server, and the configuration parameters are used to select target clients that meet the conditions.
- the device identifier of the server can be generated according to a preset rule.
- the server may randomly generate an ip, and the generation method of the ip may adopt an existing manner, which is not limited in the present disclosure.
- the server After the server generates an IP, it generates a search file based on the IP and configuration parameters. Configuration parameters can be entered manually or automatically generated in the background.
- the configuration parameters of the server may include one or more parameters of screen size, resolution, system version, regional characteristics and device type.
- the functions of the screen size, resolution, system version, regional characteristics and device type reference may be made to the description of step 101, which will not be repeated here.
- the server receiving module 302 is configured to receive the search response message returned by the client.
- the search response message may include the client's device identification and device parameters.
- the device identifier is the unique identifier of the device used by the client, and the device parameter includes at least one of screen resolution, screen size, and system version.
- the client after receiving the search file sent by the server, the client identifies the device identifier and configuration parameters of the server, determines whether its own device supports display, and then returns a search response message.
- the client after the client receives the search file sent by the server, it determines whether its own device supports the display of the screencast file. Returns an IP matching failure message to the server. In some embodiments, the client can determine whether its own device supports the display of the screencast file according to the configuration parameters of the server.
- the server determination module 303 is configured to determine the client that meets the screen projection condition according to the search response message.
- the search response message returned by the client includes a successful matching message and a matching unsuccessful message.
- the search response message is a successful matching message, it is determined that the client corresponding to the search response message meets the screen casting conditions. target client.
- the search response message is a message that fails to match, it is determined that the client corresponding to the search response message is a client that does not meet the screen casting conditions.
- the server-side sending module 301 is further configured to send a screen-casting file to a target client that satisfies the screen-casting condition.
- the screen projection file may include a video or a picture.
- the server sending module 301 sends a video stream or a picture stream to the client.
- the screen projection device further includes: a list generation module configured to generate a client list according to configuration parameters of the client; the client list is a list arranged according to the priority of the clients.
- the screen projection apparatus further includes: a storage module configured to store the device identifier of the client.
- the screen projection device further includes a communication determination module configured to determine the communication mode according to the configuration parameters and the device parameters returned by the client.
- the server sending module sends a search file to search for the client;
- the search file includes the device identifier of the server and the configuration parameters of the server, and the configuration parameters of the server may include parameters for selecting the target client;
- the server receiving module receives the search response message returned by the client;
- the search response message includes the device identifier and device parameters of the client;
- the server determination module determines the target client that meets the screen projection conditions according to the search response message; the server sends the module to the target client.
- the client decides to send the screencast file, and the server transmits the device identification and configuration parameters to the client during the search phase.
- the target client to be casted can be selected, that is, only the selected client can accept the screencast, which realizes Differentiated configuration parameters, and the transmission parameters are pre-decoded in the search stage, and there is no need to parse the transmission parameters during the video file transmission process, which improves the screen projection stability and user experience.
- FIG. 4 is a schematic block diagram of a screen projection device provided by an embodiment of the present disclosure. As shown in FIG. 4 , the screen projection device includes a client receiving module 401 , a search response generating module 402 and a client sending module 403 .
- the client receiving module 401 is configured to monitor the search file sent by the server.
- the search file may include a randomly generated device identifier of the server and configuration parameters of the server, and the configuration parameters of the server are used to select a client that meets the conditions.
- each in order to realize the connection between the server and the client, each needs to generate a device identifier ip, and transmit the device identifier to each other in the search phase.
- the search response generating module 402 is configured to generate a search response message based on the search file when the search file is monitored.
- the search response message includes the client's device identification and the client's device parameters.
- the client after receiving the search file sent by the server, the client identifies the device identifier and configuration parameters of the server, determines whether its own device supports display, and returns a search response message.
- the client after the client receives the search file sent by the server, it determines whether its own device supports the display of the screencast file, and if it supports the display, it returns a message indicating that the ip match is successful to the server; if it does not support the display, then Returns a message that IP matching failed to the server.
- the client sending module 403 is configured to return a search response message to the server.
- the client receiving module 401 is further configured to receive the screen projection file sent by the server.
- the screen projection file includes a video or a picture
- the server when the server needs to project a picture on the client side, it sends a picture stream to the client.
- the server needs to project video on the client, it sends a video stream to the client.
- the screen projection device may further include: a display module configured to display the screen projection file on the client.
- the client receiving module is configured to receive a search file sent by the server; the search file includes a randomly generated device identifier and configuration parameters of the server, and the configuration parameters may include parameters for selecting a target client ;
- the client sending module is configured to return a search response message to the server; the search response message includes the client's device identification and device parameters, and the server transmits the device identification and configuration parameters to the client during the search phase.
- the target client of the screen projection that is, only the selected client can accept the screen projection, which realizes the differentiated configuration parameters.
- the transmission parameters are pre-decoded in the search stage, and there is no need to parse the transmission parameters during the video file transmission process. The stability and user experience of the projection screen are improved.
- the screen projection method and the screen projection device are further described below.
- the server and the client perform the following steps 501 to 504 .
- Step 501 the server sends the search file to the client.
- the server sends a search file to the client to search for clients that accept screencasting.
- the search file includes the randomly generated device identification and configuration parameters of the server, and the configuration parameters may include parameters for selecting a target client.
- Step 502 the client returns a search response to the server.
- the client returns a search response message to the server; the search response message includes the client's device identification and device parameters.
- Step 503 the server saves the device identifier of the client.
- Step 504 the server sends the screen projection file to the client.
- the server sends a screen projection file to the client that meets the requirements, and the screen projection file includes video or pictures.
- the server needs to project a picture on the client, it sends a picture stream to the client.
- the server needs to project video on the client, it sends a video stream to the client.
- the server and the client can exchange data and perform screen projection. If the screen size of the server is not sent to the client during the search ip phase, then during data interaction, the client can send a request to the server to obtain the screen size, and the server sends the actual screen size to the client based on the request. After that, transfer the screen projection data.
- the screencast file can be an image or a video.
- the server can use the Android Debug Bridge (ADB) command to capture the image or obtain the image through the ImageReader of the Android system, and then transmit the image through the network.
- the video stream can be obtained by obtaining the screen stream through the operating system, and then transmitted after H264 encoding, which can make the screen display smoother.
- the system agent has a MediaCodec class and a VirtualDisplay class that can read the screen stream and convert it into an H264 encoded video stream.
- the server receives the image data information sent by the client through a socket (Socket), decompresses it and displays it on the user interface (UI), and when the user clicks on the UI, the coordinates of the clicked position can be obtained by scaling The conversion is converted into actual coordinates, and then the corresponding command is executed through ADB, and then the change of the image is transmitted to the client through Socket in real time.
- Socket Socket
- Socket user interface
- the web application first obtains the H264 encoded video stream of the Android agent through socket on node.js, then transmits the byte array to WebRtc in real time through WebSocket, displays it through the video tag of WebRtc, and then obtains the coordinate event of the mouse click through js.
- the subsequent operations are very similar to those of the PC. They all get the command and execute it, and then the AndroidClient casts the screen image, and so on.
- modules involved in the embodiments of the present disclosure are all logical modules, and in practical applications, a logical module/unit may pass through a physical unit, a part of a physical unit, or a combination of multiple physical units. Combination implementation.
- the embodiments of the present disclosure do not introduce units that are not very closely related to solving the technical problems raised by the present disclosure, but this does not mean that there are no other units in the embodiments of the present disclosure. .
- an electronic device which includes:
- processors 601 one or more processors 601;
- One or more I/O interfaces 603 are connected between the processor 601 and the memory 602 , and are configured to implement information interaction between the processor 601 and the memory 602 .
- the processor 601 is a device with data processing capability, which includes but is not limited to a central processing unit (CPU), etc.;
- the memory 602 is a device with data storage capability, which includes but is not limited to random access memory (RAM, more specifically SDRAM) , DDR, etc.), read-only memory (ROM), electrified erasable programmable read-only memory (EEPROM), flash memory (FLASH);
- I/O interface (read-write interface) 603 is connected between the processor 601 and the memory 602, and can The information interaction between the processor 601 and the memory 602 is realized, which includes but is not limited to a data bus (Bus) and the like.
- Buss data bus
- the processor 601, memory 602, and I/O interface 603 are interconnected by a bus and, in turn, connected to other components of the computing device.
- an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements any one of the above screen projection methods.
- Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
- computer storage media includes both volatile and nonvolatile implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data flexible, removable and non-removable media.
- Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage, or available with Any other medium that stores the desired information and can be accessed by a computer.
- communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media, as is well known to those of ordinary skill in the art .
- Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should only be construed in a general descriptive sense and not for purposes of limitation. In some instances, it will be apparent to those skilled in the art that features, characteristics and/or elements described in connection with a particular embodiment may be used alone or in combination with features, characteristics described in connection with other embodiments unless expressly stated otherwise and/or components used in combination. Accordingly, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the scope of the present disclosure as set forth in the appended claims.
Abstract
Description
Claims (12)
- 一种投屏方法,包括:A screen projection method, including:发送搜索文件以搜索客户端;其中,所述搜索文件包括服务端的设备标识和服务端的配置参数,所述服务端的配置参数包括用于选择目标客户端的参数;Send a search file to search for a client; wherein, the search file includes the device identifier of the server and the configuration parameter of the server, and the configuration parameter of the server includes the parameter for selecting the target client;接收所述客户端返回的搜索响应消息;其中,所述搜索响应消息包括所述客户端的设备标识和设备参数;Receive a search response message returned by the client; wherein, the search response message includes the device identifier and device parameters of the client;依据所述搜索响应消息确定满足投屏条件的目标客户端;以及Determine a target client that satisfies the screen projection condition according to the search response message; and向所述目标客户端发送投屏文件。Send the screen projection file to the target client.
- 根据权利要求1所述的方法,其中,所述依据所述搜索响应消息确定满足投屏条件的目标客户端,包括:The method according to claim 1, wherein the determining, according to the search response message, a target client that satisfies the screen projection condition comprises:依据所述客户端的设备参数和设备标识生成客户端列表;其中,所述客户端列表包括按照预设的优先级顺序排列的至少一个客户端;以及generating a client list according to the device parameters and device identifiers of the client; wherein, the client list includes at least one client arranged in a preset priority order; and依据所述服务端的配置参数从所述客户端列表中确定所述目标客户端。The target client is determined from the client list according to the configuration parameters of the server.
- 根据权利要求1所述的方法,还包括:The method of claim 1, further comprising:接收所述客户端返回的搜索响应消息之后,依据所述服务端的配置参数和所述客户端返回的设备参数确定通讯方式,以供所述服务端与所述客户端按照所述通讯方式进行通信。After receiving the search response message returned by the client, determine the communication mode according to the configuration parameters of the server and the device parameters returned by the client, so that the server and the client can communicate according to the communication mode .
- 根据权利要求1所述的方法,其中,所述依据所述搜索响应消息确定满足投屏条件的所述目标客户端,包括:The method according to claim 1, wherein the determining, according to the search response message, the target client that satisfies the screen projection condition comprises:在所述搜索响应消息为匹配成功的消息时,确定所述搜索响应消息对应的所述客户端为满足投屏条件的目标客户端。When the search response message is a successfully matched message, it is determined that the client corresponding to the search response message is a target client that satisfies the screen projection condition.
- 根据权利要求1至4中任意一项所述的方法,其中,所述配 置参数包括下述一种或多种参数:屏幕大小、分辨率、系统版本、地域特性。The method according to any one of claims 1 to 4, wherein the configuration parameters include one or more of the following parameters: screen size, resolution, system version, regional characteristics.
- 一种投屏方法,包括:A screen projection method, including:监听服务端发出的搜索文件;其中,所述搜索文件包括服务端的设备标识和服务端的配置参数,所述服务端的配置参数包括用于选择目标客户端的参数;Monitor the search file sent by the server; wherein, the search file includes the device identifier of the server and the configuration parameters of the server, and the configuration parameters of the server include parameters for selecting the target client;当监听到所述搜索文件时,基于所述搜索文件生成并向所述服务端返回搜索响应消息,其中,所述搜索响应消息包括所述客户端的设备标识和设备参数;以及When the search file is monitored, a search response message is generated based on the search file and returned to the server, wherein the search response message includes the device identification and device parameters of the client; and接收所述服务端发送的投屏文件。Receive the screen projection file sent by the server.
- 根据权利要求6所述的方法,其中,所述配置参数包括下述一种或多种参数:屏幕大小、投屏分辨率、系统版本、地域特性。The method according to claim 6, wherein the configuration parameters include one or more of the following parameters: screen size, screen projection resolution, system version, and regional characteristics.
- 根据权利要求6所述的方法,其中,所述基于所述搜索文件生成并向所述服务端返回搜索响应消息,包括:The method according to claim 6, wherein the generating and returning a search response message to the server based on the search file comprises:基于所述搜索文件判断所述客户端是否支持显示,当不支持显示时,向所述服务端返回匹配失败的响应消息;或当支持显示时,向所述服务端返回匹配成功的响应消息。It is judged based on the search file whether the client supports display, and when the display is not supported, a response message of matching failure is returned to the server; or when display is supported, a response message of successful matching is returned to the server.
- 一种投屏装置,包括:A screen projection device, comprising:服务端发送模块,配置为向外发送搜索文件以搜索客户端;其中,所述搜索文件包括随机产生的服务端的设备标识和服务端的配置参数,所述服务端的配置参数包括用于选择目标客户端的参数;The server sending module is configured to send a search file to search for the client; wherein, the search file includes a randomly generated device identifier of the server and a configuration parameter of the server, and the configuration parameter of the server includes a configuration parameter for selecting a target client. parameter;服务端接收模块,配置为接收所述客户端返回的搜索响应消息;其中,所述搜索响应消息包括所述客户端的设备标识和设备参数;以及a server-side receiving module, configured to receive a search response message returned by the client; wherein the search response message includes a device identifier and device parameters of the client; and服务端确定模块,配置为依据所述搜索响应消息确定满足投屏条件的目标客户端;a server determination module, configured to determine a target client that satisfies the screen projection condition according to the search response message;其中,服务端发送模块还配置为向所述目标客户端发送投屏文件。Wherein, the server sending module is further configured to send the screen projection file to the target client.
- 一种投屏装置,包括:A screen projection device, comprising:客户端接收模块,配置为接收服务端发出的搜索文件;其中,所述搜索文件包括随机产生的服务端的设备标识和服务端的配置参数,所述服务端的配置参数包括用于选择目标客户端的参数;A client receiving module, configured to receive a search file sent by a server; wherein, the search file includes a randomly generated device identifier of the server and a configuration parameter of the server, and the configuration parameter of the server includes a parameter for selecting a target client;搜索响应生成模块,配置为当监听到所述搜索文件时,基于搜索文件生成搜索响应消息,其中,所述搜索响应消息包括所述客户端的设备标识和设备参数;以及a search response generation module, configured to generate a search response message based on the search file when the search file is monitored, wherein the search response message includes the device identification and device parameters of the client; and客户端发送模块,配置为向所述服务端返回搜索响应消息;a client sending module, configured to return a search response message to the server;其中,所述客户端接收模块还配置为接收所述服务端发送的投屏文件。Wherein, the client receiving module is further configured to receive the screen projection file sent by the server.
- 一种电子设备,包括:An electronic device comprising:一个或多个处理器;one or more processors;存储器,其上存储有一个或多个计算机程序,当所述一个或多个计算机程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现根据权利要求1至8中任意一项所述的方法;以及a memory having stored thereon one or more computer programs which, when executed by the one or more processors, cause the one or more processors to implement the one or more processors according to claims 1 to 8 The method of any one of; and一个或多个I/O接口,连接在所述处理器与所述存储器之间,配置为实现所述处理器与所述存储器的信息交互。One or more I/O interfaces, connected between the processor and the memory, are configured to realize the information interaction between the processor and the memory.
- 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现根据权利要求1至8中任意一项所述的方法。A computer-readable storage medium having a computer program stored thereon, the computer program implementing the method according to any one of claims 1 to 8 when executed by a processor.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022572724A JP2023527393A (en) | 2020-08-05 | 2021-07-06 | Screen mirroring method and apparatus, electronic device and computer readable storage medium |
US18/019,853 US20230333800A1 (en) | 2020-08-05 | 2021-07-06 | Screen projection method and apparatus, electronic device and computer readable storage medium |
EP21853925.2A EP4180942A1 (en) | 2020-08-05 | 2021-07-06 | Screen projection method and apparatus, electronic device, and computer readable storage medium |
KR1020227038309A KR20220162775A (en) | 2020-08-05 | 2021-07-06 | Screen projection method and device, electronic device and computer readable storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010777220.0A CN114077409A (en) | 2020-08-05 | 2020-08-05 | Screen projection method and device, electronic equipment and computer readable medium |
CN202010777220.0 | 2020-08-05 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022028189A1 true WO2022028189A1 (en) | 2022-02-10 |
Family
ID=80116887
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/104752 WO2022028189A1 (en) | 2020-08-05 | 2021-07-06 | Screen projection method and apparatus, electronic device, and computer readable storage medium |
Country Status (6)
Country | Link |
---|---|
US (1) | US20230333800A1 (en) |
EP (1) | EP4180942A1 (en) |
JP (1) | JP2023527393A (en) |
KR (1) | KR20220162775A (en) |
CN (1) | CN114077409A (en) |
WO (1) | WO2022028189A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114827690A (en) * | 2022-03-30 | 2022-07-29 | 北京奇艺世纪科技有限公司 | Network resource display method, device and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180241609A1 (en) * | 2017-02-17 | 2018-08-23 | Wyse Technology L.L.C. | Remote casting of media content |
CN108810594A (en) * | 2018-05-04 | 2018-11-13 | 新华三技术有限公司 | Remote screen projection method, device and system |
CN108989879A (en) * | 2018-08-28 | 2018-12-11 | 广州视源电子科技股份有限公司 | Throw control method, the device and system of screen |
CN110602087A (en) * | 2019-09-10 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Intelligent screen projection method and device, intelligent terminal and server |
CN111427527A (en) * | 2020-03-20 | 2020-07-17 | 海信视像科技股份有限公司 | Screen projection method, device, equipment and computer readable storage medium |
-
2020
- 2020-08-05 CN CN202010777220.0A patent/CN114077409A/en active Pending
-
2021
- 2021-07-06 WO PCT/CN2021/104752 patent/WO2022028189A1/en unknown
- 2021-07-06 EP EP21853925.2A patent/EP4180942A1/en active Pending
- 2021-07-06 JP JP2022572724A patent/JP2023527393A/en active Pending
- 2021-07-06 US US18/019,853 patent/US20230333800A1/en active Pending
- 2021-07-06 KR KR1020227038309A patent/KR20220162775A/en unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180241609A1 (en) * | 2017-02-17 | 2018-08-23 | Wyse Technology L.L.C. | Remote casting of media content |
CN108810594A (en) * | 2018-05-04 | 2018-11-13 | 新华三技术有限公司 | Remote screen projection method, device and system |
CN108989879A (en) * | 2018-08-28 | 2018-12-11 | 广州视源电子科技股份有限公司 | Throw control method, the device and system of screen |
CN110602087A (en) * | 2019-09-10 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Intelligent screen projection method and device, intelligent terminal and server |
CN111427527A (en) * | 2020-03-20 | 2020-07-17 | 海信视像科技股份有限公司 | Screen projection method, device, equipment and computer readable storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114827690A (en) * | 2022-03-30 | 2022-07-29 | 北京奇艺世纪科技有限公司 | Network resource display method, device and system |
CN114827690B (en) * | 2022-03-30 | 2023-07-25 | 北京奇艺世纪科技有限公司 | Network resource display method, device and system |
Also Published As
Publication number | Publication date |
---|---|
EP4180942A1 (en) | 2023-05-17 |
CN114077409A (en) | 2022-02-22 |
JP2023527393A (en) | 2023-06-28 |
US20230333800A1 (en) | 2023-10-19 |
KR20220162775A (en) | 2022-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101467430B1 (en) | Method and system for providing application based on cloud computing | |
US9432672B2 (en) | Image compression method and system with image compression time information | |
US9277030B2 (en) | Stream processing using a client-server architecture | |
CN111309279B (en) | Multi-screen interactive display method and device | |
US20220053244A1 (en) | Method and device for managing processing of media content, and computer-readable recording medium | |
US10296514B2 (en) | Information processing system, method for acquiring information, information processing apparatus and recording medium | |
CN112799825A (en) | Task processing method and network equipment | |
EP3059945A1 (en) | Method and system for video surveillance content adaptation, and central server and device | |
CN111291292A (en) | Page rendering method and device, terminal equipment and storage medium | |
CN104349177A (en) | Method for turning to play multimedia file under desktop cloud, virtual machine and system | |
US10277652B2 (en) | Transmission apparatus, transmission method, and program | |
CN110944220A (en) | Video screen projection playing method, device, equipment and system | |
WO2022028189A1 (en) | Screen projection method and apparatus, electronic device, and computer readable storage medium | |
CN114040232B (en) | Screen projection system, screen projection method, electronic equipment and storage medium | |
CN104639501A (en) | Data stream transmission method, equipment and system | |
WO2016197783A2 (en) | Method and apparatus for controlling message transmission | |
CN115865884A (en) | Network camera data access device and method, network camera and medium | |
CN110677443A (en) | Data transmitting and receiving method, transmitting end, receiving end, system and storage medium | |
CN106899652B (en) | Method and device for pushing service processing result | |
US11303692B2 (en) | Communication apparatus for transmitting response, communication method, and storage medium | |
CN115349248A (en) | Network-based media processing (NBMP) deployment with real-time uplink streaming framework (plus) and 5G Application Function (AF) | |
CN110392017B (en) | Method and related device for processing RPC message | |
CN112511884A (en) | Mixed flow control method and system of audio and video stream and storage medium | |
EP3618349A1 (en) | Conference cascading method based on software media server, and server and storage medium | |
WO2018227853A1 (en) | Document printing apparatus, method and system and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21853925 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 20227038309 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2022572724 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2021853925 Country of ref document: EP Effective date: 20230213 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |