WO2022028189A1 - 投屏方法及装置、电子设备和计算机可读存储介质 - Google Patents
投屏方法及装置、电子设备和计算机可读存储介质 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
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000004044 response Effects 0.000 claims abstract description 77
- 238000004590 computer program Methods 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 9
- 230000003993 interaction Effects 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 description 13
- 238000005266 casting Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 5
- 238000012546 transfer Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/907—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/909—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
-
- 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.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Library & Information Science (AREA)
- Data Mining & Analysis (AREA)
- Information Transfer Between Computers (AREA)
- Controls And Circuits For Display Device (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
Claims (12)
- 一种投屏方法,包括:发送搜索文件以搜索客户端;其中,所述搜索文件包括服务端的设备标识和服务端的配置参数,所述服务端的配置参数包括用于选择目标客户端的参数;接收所述客户端返回的搜索响应消息;其中,所述搜索响应消息包括所述客户端的设备标识和设备参数;依据所述搜索响应消息确定满足投屏条件的目标客户端;以及向所述目标客户端发送投屏文件。
- 根据权利要求1所述的方法,其中,所述依据所述搜索响应消息确定满足投屏条件的目标客户端,包括:依据所述客户端的设备参数和设备标识生成客户端列表;其中,所述客户端列表包括按照预设的优先级顺序排列的至少一个客户端;以及依据所述服务端的配置参数从所述客户端列表中确定所述目标客户端。
- 根据权利要求1所述的方法,还包括:接收所述客户端返回的搜索响应消息之后,依据所述服务端的配置参数和所述客户端返回的设备参数确定通讯方式,以供所述服务端与所述客户端按照所述通讯方式进行通信。
- 根据权利要求1所述的方法,其中,所述依据所述搜索响应消息确定满足投屏条件的所述目标客户端,包括:在所述搜索响应消息为匹配成功的消息时,确定所述搜索响应消息对应的所述客户端为满足投屏条件的目标客户端。
- 根据权利要求1至4中任意一项所述的方法,其中,所述配 置参数包括下述一种或多种参数:屏幕大小、分辨率、系统版本、地域特性。
- 一种投屏方法,包括:监听服务端发出的搜索文件;其中,所述搜索文件包括服务端的设备标识和服务端的配置参数,所述服务端的配置参数包括用于选择目标客户端的参数;当监听到所述搜索文件时,基于所述搜索文件生成并向所述服务端返回搜索响应消息,其中,所述搜索响应消息包括所述客户端的设备标识和设备参数;以及接收所述服务端发送的投屏文件。
- 根据权利要求6所述的方法,其中,所述配置参数包括下述一种或多种参数:屏幕大小、投屏分辨率、系统版本、地域特性。
- 根据权利要求6所述的方法,其中,所述基于所述搜索文件生成并向所述服务端返回搜索响应消息,包括:基于所述搜索文件判断所述客户端是否支持显示,当不支持显示时,向所述服务端返回匹配失败的响应消息;或当支持显示时,向所述服务端返回匹配成功的响应消息。
- 一种投屏装置,包括:服务端发送模块,配置为向外发送搜索文件以搜索客户端;其中,所述搜索文件包括随机产生的服务端的设备标识和服务端的配置参数,所述服务端的配置参数包括用于选择目标客户端的参数;服务端接收模块,配置为接收所述客户端返回的搜索响应消息;其中,所述搜索响应消息包括所述客户端的设备标识和设备参数;以及服务端确定模块,配置为依据所述搜索响应消息确定满足投屏条件的目标客户端;其中,服务端发送模块还配置为向所述目标客户端发送投屏文件。
- 一种投屏装置,包括:客户端接收模块,配置为接收服务端发出的搜索文件;其中,所述搜索文件包括随机产生的服务端的设备标识和服务端的配置参数,所述服务端的配置参数包括用于选择目标客户端的参数;搜索响应生成模块,配置为当监听到所述搜索文件时,基于搜索文件生成搜索响应消息,其中,所述搜索响应消息包括所述客户端的设备标识和设备参数;以及客户端发送模块,配置为向所述服务端返回搜索响应消息;其中,所述客户端接收模块还配置为接收所述服务端发送的投屏文件。
- 一种电子设备,包括:一个或多个处理器;存储器,其上存储有一个或多个计算机程序,当所述一个或多个计算机程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现根据权利要求1至8中任意一项所述的方法;以及一个或多个I/O接口,连接在所述处理器与所述存储器之间,配置为实现所述处理器与所述存储器的信息交互。
- 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现根据权利要求1至8中任意一项所述的方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP21853925.2A EP4180942A4 (en) | 2020-08-05 | 2021-07-06 | SCREEN PROJECTION METHOD AND APPARATUS, ELECTRONIC DEVICE AND COMPUTER-READABLE STORAGE MEDIUM |
KR1020227038309A KR20220162775A (ko) | 2020-08-05 | 2021-07-06 | 스크린 프로젝션 방법 및 장치, 전자 장치 및 컴퓨터 판독 가능 저장 매체 |
US18/019,853 US20230333800A1 (en) | 2020-08-05 | 2021-07-06 | Screen projection method and apparatus, electronic device and computer readable storage medium |
JP2022572724A JP7498800B2 (ja) | 2020-08-05 | 2021-07-06 | 画面ミラーリング方法および装置、電子デバイスならびにコンピュータ読み取り可能な記憶媒体 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010777220.0 | 2020-08-05 | ||
CN202010777220.0A CN114077409A (zh) | 2020-08-05 | 2020-08-05 | 投屏方法及装置、电子设备和计算机可读介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022028189A1 true WO2022028189A1 (zh) | 2022-02-10 |
Family
ID=80116887
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/104752 WO2022028189A1 (zh) | 2020-08-05 | 2021-07-06 | 投屏方法及装置、电子设备和计算机可读存储介质 |
Country Status (6)
Country | Link |
---|---|
US (1) | US20230333800A1 (zh) |
EP (1) | EP4180942A4 (zh) |
JP (1) | JP7498800B2 (zh) |
KR (1) | KR20220162775A (zh) |
CN (1) | CN114077409A (zh) |
WO (1) | WO2022028189A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114827690A (zh) * | 2022-03-30 | 2022-07-29 | 北京奇艺世纪科技有限公司 | 一种网络资源显示方法、装置及系统 |
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 (zh) * | 2018-05-04 | 2018-11-13 | 新华三技术有限公司 | 一种远程投屏方法、装置及系统 |
CN108989879A (zh) * | 2018-08-28 | 2018-12-11 | 广州视源电子科技股份有限公司 | 投屏的控制方法、装置和系统 |
CN110602087A (zh) * | 2019-09-10 | 2019-12-20 | 腾讯科技(深圳)有限公司 | 智能投屏方法、装置、智能终端及服务器 |
CN111427527A (zh) * | 2020-03-20 | 2020-07-17 | 海信视像科技股份有限公司 | 投屏方法、装置、设备及计算机可读存储介质 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009049498A (ja) | 2007-08-14 | 2009-03-05 | Sony Corp | 制御端末、情報機器、コンテンツ提供装置、機器制御システム、機器選択方法、及びプログラム |
MX2012005628A (es) | 2009-11-17 | 2012-06-13 | Samsung Electronics Co Ltd | Metodo y dispositivo de investigacion de servicio de visualizacion de fidelidad inalambrica en red directa de fidelidad inalambrica. |
JP2012019413A (ja) | 2010-07-08 | 2012-01-26 | Toshiba Corp | 表示システム、端末装置、表示装置、及びプログラム |
US10097663B1 (en) * | 2017-05-22 | 2018-10-09 | American Express Travel Related Services Company, Inc. | Using integrated code to extract device characteristics for online security |
US11477516B2 (en) * | 2018-04-13 | 2022-10-18 | Koji Yoden | Services over wireless communication with high flexibility and efficiency |
-
2020
- 2020-08-05 CN CN202010777220.0A patent/CN114077409A/zh active Pending
-
2021
- 2021-07-06 JP JP2022572724A patent/JP7498800B2/ja active Active
- 2021-07-06 KR KR1020227038309A patent/KR20220162775A/ko unknown
- 2021-07-06 WO PCT/CN2021/104752 patent/WO2022028189A1/zh unknown
- 2021-07-06 EP EP21853925.2A patent/EP4180942A4/en active Pending
- 2021-07-06 US US18/019,853 patent/US20230333800A1/en active Pending
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 (zh) * | 2018-05-04 | 2018-11-13 | 新华三技术有限公司 | 一种远程投屏方法、装置及系统 |
CN108989879A (zh) * | 2018-08-28 | 2018-12-11 | 广州视源电子科技股份有限公司 | 投屏的控制方法、装置和系统 |
CN110602087A (zh) * | 2019-09-10 | 2019-12-20 | 腾讯科技(深圳)有限公司 | 智能投屏方法、装置、智能终端及服务器 |
CN111427527A (zh) * | 2020-03-20 | 2020-07-17 | 海信视像科技股份有限公司 | 投屏方法、装置、设备及计算机可读存储介质 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114827690A (zh) * | 2022-03-30 | 2022-07-29 | 北京奇艺世纪科技有限公司 | 一种网络资源显示方法、装置及系统 |
CN114827690B (zh) * | 2022-03-30 | 2023-07-25 | 北京奇艺世纪科技有限公司 | 一种网络资源显示方法、装置及系统 |
Also Published As
Publication number | Publication date |
---|---|
JP2023527393A (ja) | 2023-06-28 |
US20230333800A1 (en) | 2023-10-19 |
EP4180942A1 (en) | 2023-05-17 |
EP4180942A4 (en) | 2024-07-10 |
KR20220162775A (ko) | 2022-12-08 |
CN114077409A (zh) | 2022-02-22 |
JP7498800B2 (ja) | 2024-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200304508A1 (en) | Method and device for providing authentication in network-based media processing (nbmp) system | |
KR101467430B1 (ko) | 클라우드 컴퓨팅 기반 어플리케이션 제공 방법 및 시스템 | |
US9432672B2 (en) | Image compression method and system with image compression time information | |
US9277030B2 (en) | Stream processing using a client-server architecture | |
CN111309279B (zh) | 多屏互动显示方法及装置 | |
US11381885B2 (en) | Method and device for managing processing of media content, and computer-readable recording medium | |
EP3059945A1 (en) | Method and system for video surveillance content adaptation, and central server and device | |
CN111291292A (zh) | 页面渲染方法和装置、终端设备及存储介质 | |
CN104349177A (zh) | 一种在桌面云下转向播放多媒体文件的方法、虚拟机及系统 | |
CN114040232B (zh) | 投屏系统、方法、电子设备和存储介质 | |
US10277652B2 (en) | Transmission apparatus, transmission method, and program | |
CN110944220A (zh) | 视频投屏播放方法、装置、设备及系统 | |
CN115349248A (zh) | 利用实时上行链路流式传输框架(flus)和5g应用功能(af)的基于网络的媒体处理(nbmp)部署 | |
WO2022028189A1 (zh) | 投屏方法及装置、电子设备和计算机可读存储介质 | |
CN115865884A (zh) | 一种网络摄像头数据访问装置、方法、网络摄像头和介质 | |
CN104639501A (zh) | 一种数据流传输的方法、设备及系统 | |
CN111090818B (zh) | 资源管理方法、资源管理系统、服务器及计算机存储介质 | |
WO2016197783A2 (zh) | 控制消息的发送方法及装置 | |
CN106899652B (zh) | 一种推送业务处理结果的方法及装置 | |
US11303692B2 (en) | Communication apparatus for transmitting response, communication method, and storage medium | |
CN110392017B (zh) | 处理rpc报文的方法及相关装置 | |
CN112511884A (zh) | 一种音视频流的混流控制方法、系统和存储介质 | |
EP3618349A1 (en) | Conference cascading method based on software media server, and server and storage medium | |
WO2018227853A1 (zh) | 单证打印的装置、方法、系统及计算机可读存储介质 | |
US11985072B2 (en) | Multimedia data stream processing method, electronic device, and 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 |