Screen projection control method and device, equipment and storage medium

CN118741198AInactive Publication Date: 2024-10-01CCB FINTECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410839920.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When existing screencasting software uses multiple people to scan codes and authorize them, it is easy for multiple video streams to be casted to the same screencasting end, resulting in screencasting conflicts and confusion, and making conference management difficult.

Method used

Between the media source and the screen casting server, the unused screen casting identification or preset screen casting code is randomly obtained, the mapping relationship is queried to obtain the access address, and the video stream is sent to the corresponding screen casting end. Make sure the video stream is cast to an unused casting end to avoid conflicts.

Benefits of technology

It effectively avoids projection conflicts, simplifies conference management, and ensures that video streams are smoothly projected to the correct projection end.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118741198A_ABST
    Figure CN118741198A_ABST
Patent Text Reader

Abstract

The invention provides a screen projection control method and device, equipment and a storage medium, and relates to the technical field of screen projection, the method comprises the steps that a first query request sent by each media source end is received, the first query request is for each media source end, a screen image is read to generate a video stream to be projected, and when no user login exists, the first query request is sent to the media source end; generating a first query request and a screen projection request according to the video stream to be subjected to screen projection; obtaining pre-stored screen projection information, wherein the screen projection information comprises a mapping relationship between a screen projection identification identifier corresponding to each screen projection end and an access address; obtaining an unused screen projection identification identifier according to the first query request; querying a mapping relationship according to the screen projection identification identifier to obtain a corresponding access address; and sending the access address to the media source end, so that each media source end sends a screen projection request to the screen projection end according to the access address, so that each screen projection end performs screen projection on the video stream to be subjected to screen projection according to the screen projection request, and the condition of screen projection conflict does not occur.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of screen projection technology, and in particular to a screen projection control method, device, equipment and storage medium. Background Art

[0002] With the development of screen projection technology, a software for sharing screens has emerged. Its feature is that any device that supports a browser can be used as a second screen device. It can also support multiple device links at the same time to achieve multi-screen sharing at the same time.

[0003] In the prior art, in the same conference room of an enterprise or other closed meeting scenarios, the software can project multiple videos to be projected on multiple projection terminals in the conference room through code scanning and authorization by multiple people.

[0004] However, in the prior art, when the software displays multiple video streams to be projected on multiple projection terminals simultaneously through multiple people scanning codes and authorization, it is easy for multiple video streams to be projected to the same projection terminal, causing projection conflicts and confusion, and making meeting management difficult. Summary of the invention

[0005] The present application provides a screen projection control method, device, equipment and storage medium to solve the problem that when the software displays multiple videos to be displayed on multiple projection terminals at the same time by scanning codes and authorizing multiple people, multiple video streams to be projected are easily projected to the same projection terminal, causing projection conflicts and confusion, and making meeting management difficult.

[0006] In a first aspect, the present application provides a screen projection control method, which is applied to a screen projection server, comprising:

[0007] Receive a first query request sent by each media source end, wherein the first query request is each media source end, reads a screen image to generate a video stream to be projected, and detects whether there is a user login operation; if there is no user login operation, generates the first query request and the projection request according to the video stream to be projected;

[0008] Obtain pre-saved screen projection information, wherein the screen projection information includes a mapping relationship between a screen projection identification identifier corresponding to each screen projection end and an access address;

[0009] randomly obtaining an unused screen projection identification identifier from the screen projection information according to the first query request;

[0010] According to the projection identification identifier, query the mapping relationship to obtain the corresponding access address;

[0011] The access address is sent to the corresponding media source end, so that each media source end sends the screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the video stream to be projected of the corresponding media source end according to the screen projection request.

[0012] In one possible design, it also includes: receiving a second query request sent by each media source end, wherein the second query request is each media source end, reading a screen image to generate a video stream to be projected, and detecting whether there is a user login operation, if it is determined that there is a user login operation, then in response to the user's input operation on the projection code interface, generating a corresponding preset projection code, in response to the user's trigger operation on the application for projection device on each media source end, generating a corresponding second query request and projection request, wherein the preset projection code corresponds to a projection end, and the second query request includes the Preset screen projection code; obtain pre-saved screen projection information, wherein the screen projection information also includes a mapping relationship between the screen projection code corresponding to each screen projection end and the access address; obtain the screen projection code corresponding to the preset screen projection code in the screen projection information according to a second query request of each user; query the mapping relationship according to the screen projection code to obtain the corresponding access address; send the access address to the corresponding media source end, so that each media source end sends the screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the video stream to be projected of the corresponding media source end according to the screen projection request.

[0013] In a possible design, before receiving the first query request sent by each media source end, it also includes: receiving the mapping relationship between the projection code, projection identification identifier and access address sent by each projection end; and saving the mapping relationship between the projection code, projection identification identifier and access address corresponding to each projection end as the projection information.

[0014] In a possible design, after the mapping relationship between the projection code, projection identification identifier and access address corresponding to each projection end is saved as the projection information, it also includes: receiving the changed mapping relationship between the projection code and the access address sent by each projection end, wherein the changed mapping relationship between the projection code and the access address is that each projection end periodically checks the corresponding mapping relationship between the projection code and the access address to determine whether the mapping relationship between the projection code and the access address has changed. If the mapping relationship between the projection code and the access address has changed, the changed mapping relationship between the projection code and the access address is obtained; and the projection information is updated according to the changed mapping relationship between the projection code and the access address.

[0015] In a second aspect, the present application provides a screen projection control method, which is applied to a media source end, comprising:

[0016] Read the screen image to generate the video stream to be projected, and detect whether there is a user login operation;

[0017] If there is no user login operation, generating a first query request and a screen projection request according to the video stream to be projected;

[0018] Sending the first query request to the screen projection server, so that the screen projection server obtains pre-saved screen projection information, randomly obtains an unused screen projection identification identifier in the screen projection information according to the first query request, and queries a mapping relationship according to the screen projection identification identifier to obtain a corresponding access address, wherein the screen projection information includes a mapping relationship between the screen projection identification identifier corresponding to each screen projection end and the access address;

[0019] Receive the access address sent by the screen projection server, and send the screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the corresponding video stream to be projected according to the screen projection request.

[0020] In a possible design, it also includes: reading the screen image to generate a video stream to be projected, and detecting whether there is a user login operation; if it is determined that there is a user login operation, generating a corresponding preset projection code in response to the user's input operation on the projection code interface, wherein the preset projection code corresponds to a projection end; in response to the user's triggering operation on applying for a projection device on each media source end, generating a corresponding second query request and projection request, wherein the second query request includes the preset projection code; sending the second query request to the projection server end, so that the projection server end obtains the pre-saved projection information, obtains the projection code corresponding to the preset projection code in the projection information according to the second query request of each user, and queries the mapping relationship according to the projection code to obtain the corresponding access address, wherein the projection information includes the mapping relationship between the projection code and the access address corresponding to each projection end; receiving the access address sent by the projection server end, and sending the projection request to the corresponding projection end according to the access address, so that each projection end projects and displays the video stream to be projected of the corresponding media source end according to the projection request.

[0021] In one possible design, each of the projection ends projects and displays the corresponding video stream to be projected according to the projection request, including: receiving a projection request sent by each projection end, wherein the projection request is generated by each projection end through a preset browser according to the projection request; sending the video stream to be projected to the corresponding projection end according to the corresponding projection request, so that each projection end projects and displays the corresponding video stream to be projected.

[0022] In a third aspect, the present application provides a screen projection control device, which is applied to a screen projection server, including:

[0023] A first receiving module is used to receive a first query request sent by each media source end, wherein the first query request is that each media source end reads a screen image to generate a video stream to be projected, and detects whether there is a user login operation; if there is no user login operation, the first query request and the projection request are generated according to the video stream to be projected;

[0024] A first acquisition module is used to acquire pre-saved screen projection information, wherein the screen projection information includes a mapping relationship between a screen projection identification identifier corresponding to each screen projection terminal and an access address;

[0025] A second acquisition module, used for randomly acquiring an unused screen projection identification identifier in the screen projection information according to the first query request;

[0026] A first query module, used to query the mapping relationship according to the projection identification identifier to obtain a corresponding access address;

[0027] The first sending module is used to send the access address to the corresponding media source end, so that each media source end sends the screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the video stream to be projected of the corresponding media source end according to the screen projection request.

[0028] In a fourth aspect, the present application provides a screen projection control device, which is applied to a media source end, including:

[0029] A first reading module is used to read the screen image to generate a video stream to be projected, and detect whether there is a user login operation;

[0030] A first generating module, configured to generate a first query request and a screen projection request according to the video stream to be projected if there is no user login operation;

[0031] A first sending module is used to send the first query request to the screen projection server, so that the screen projection server obtains pre-saved screen projection information, randomly obtains an unused screen projection identification identifier in the screen projection information according to the first query request, and queries a mapping relationship according to the screen projection identification identifier to obtain a corresponding access address, wherein the screen projection information includes a mapping relationship between the screen projection identification identifier corresponding to each screen projection terminal and the access address;

[0032] The second sending module is used to receive the access address sent by the screen projection server, and send the screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the corresponding video stream to be projected according to the screen projection request.

[0033] In a fifth aspect, the present application provides an electronic device, comprising: at least one processor and a memory;

[0034] The memory stores computer-executable instructions;

[0035] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the screen projection control method described in the first aspect and various possible designs of the first aspect, or the screen projection control method described in the second aspect and various possible designs of the second aspect.

[0036] In a sixth aspect, the present application provides a computer storage medium, which stores computer execution instructions. When a processor executes the computer execution instructions, it implements the screen projection control method described in the first aspect and various possible designs of the first aspect, or the screen projection control method described in the second aspect and various possible designs of the second aspect.

[0037] In the seventh aspect, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the screen projection control method described in the first aspect and various possible designs of the first aspect, or the screen projection control method described in the second aspect and various possible designs of the second aspect.

[0038] The screen projection control method, device, equipment and storage medium provided in the present application receive a first query request sent by each media source end, wherein the first query request is for each media source end, reads the screen image to generate a video stream to be projected, and generates the first query request and the screen projection request according to the video stream to be projected when there is no user login operation; obtains pre-saved screen projection information, wherein the screen projection information includes a mapping relationship between a screen projection identification identifier corresponding to each screen projection end and an access address; randomly obtains an unused screen projection identification identifier according to the first query request, and queries the mapping relationship to obtain the corresponding access address; sends the access address to the media source end, so that each media source end sends a screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the video stream to be projected according to the screen projection request, so that there will be no screen projection conflict, and conference management is simpler. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0040] Figure 1 A schematic diagram of an application scenario of the screen projection control method provided in an embodiment of the present application;

[0041] Figure 2 Schematic diagram of the screen projection control method provided in the embodiment of the present application Figure 1 ;

[0042] Figure 3 Schematic diagram of the screen projection control method provided in the embodiment of the present application Figure 2 ;

[0043] Figure 4 Schematic diagram of the screen projection control method provided in the embodiment of the present application Figure 3 ;

[0044] Figure 5 Schematic diagram of the screen projection control method provided in the embodiment of the present application Figure 4 ;

[0045] Figure 6 A schematic diagram of the structure of the screen projection control device provided in the embodiment of the present application Figure 1 ;

[0046] Figure 7 A schematic diagram of the structure of the screen projection control device provided in the embodiment of the present application Figure 2 ;

[0047] Figure 8 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0049] In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of financial data or user data and other information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals. It should be noted that in the embodiments of this application, some existing solutions in the industry such as certain software, components, models, etc. may be mentioned, and they should be considered as exemplary. Their purpose is only to illustrate the feasibility of the implementation of the technical solution of this application, but it does not mean that the applicant has or will necessarily use the solution.

[0050] With the development of screen projection technology, a software for sharing screens has emerged. It is an open source application based on Electron.js, which is used to transmit the real-time stream of the computer desktop to the web browser on any device through a wireless network. It can enable any device that can open a web browser. Its feature is that any device that supports a browser can be used as a second screen device. It can also support multiple device links at the same time to achieve simultaneous sharing of multiple screens. In the prior art, in the same conference room of an enterprise or other closed meeting scenarios, the software can scan and authorize multiple people to project multiple video streams on multiple projection terminals in the conference room. However, in the prior art, when the software scans and authorizes multiple people to display multiple video streams to be projected on multiple projection terminals at the same time, it is easy for multiple video streams to be projected to be projected to the same projection terminal, causing projection conflicts and confusion, which makes meeting management difficult.

[0051] In order to solve the above-mentioned technical problems, the embodiments of the present application propose the following technical concept: Taking into account the difficulties in screen projection management in the prior art, the inventor randomly obtains unused screen projection identification identifiers based on the query request of the media source end, and accesses the corresponding unused screen projection end according to the access address corresponding to the screen projection identification identifier, so as to use the unused screen projection end to project the video stream to be projected on the media source end, so that screen projection conflicts will not occur and conference management is simpler.

[0052] Figure 1 It is a schematic diagram of the application scenario of the screen projection control method provided in an embodiment of the present application.

[0053] like Figure 1 As shown, the scenario includes: various media source terminals 101, a screen projection service terminal 102 and various screen projection terminals 103.

[0054] Each media source terminal 101 may be a display screen or a terminal such as a personal computer.

[0055] The screen projection server 102 can be an independent server or a cluster composed of multiple servers.

[0056] Each projection terminal 103 can be a mobile phone terminal or a computer terminal.

[0057] When each media source terminal 101 detects that the user has not logged in, it reads the screen image to generate a video stream to be projected, generates a first query request and a projection request based on the video stream to be projected, and transmits the first query request to the projection server terminal 102 through the wireless network. The projection server terminal 102 obtains the pre-saved projection information, randomly obtains an unused projection identification identifier in the projection information according to the first query request, queries the mapping relationship according to the projection identification identifier to obtain the corresponding access address, and feeds the access address back to each media source terminal 101 through the wireless network. Each media source terminal 101 sends a projection request to each corresponding projection terminal 103 through the wireless network according to the access address. Each projection terminal 103 projects and displays the corresponding video stream to be projected according to the projection request. The following is a detailed description using a detailed embodiment.

[0058] Figure 2 Schematic diagram of the screen projection control method provided in the embodiment of the present application Figure 1 , the execution subject of this embodiment can be Figure 1 The screen projection server in the embodiment shown is not particularly limited in this embodiment. Figure 2 As shown, the method includes:

[0059] S201: Receive the first query request sent by each media source end, where the first query request is for each media source end, read the screen image to generate a video stream to be projected, and detect whether there is a user login operation; if there is no user login operation, generate the first query request and the projection request according to the video stream to be projected.

[0060] In this embodiment, the media source end is a video stream acquisition client, which can be customized and transformed based on the existing released version of Deskreen.

[0061] Among them, Deskreen is an open source program, and its compilable source code can be obtained on GitHub.

[0062] In this embodiment, the screen image may also be a video screenshot source.

[0063] In this embodiment, the first query request is used to query the access address of the projection end corresponding to the projection end; the projection request is used to request the corresponding projection end to perform screen projection.

[0064] In this embodiment, before step S201, the method further includes:

[0065] S2011: Receive the mapping relationship between the projection code, projection identification identifier and access address sent by each projection terminal.

[0066] In this embodiment, the screen projection end is a client application, which can be a client program developed based on Electron like Deskreen, or a program implemented based on other existing client development technologies.

[0067] In addition, the screen projection end includes two parts: the screen projection control end and the large screen management end.

[0068] Among them, the main function of the screen projection control end is to send the corresponding mapping relationship to the screen projection server so that the user can send a screen projection request; the large screen management end is used to display the video stream to be projected.

[0069] In this embodiment, the projection code is an identification code that matches between the media source end and the output device such as the projection end.

[0070] In this embodiment, the screen projection identification identifier can be the IP address of the corresponding screen projection end, or it can be other identifiers.

[0071] In this embodiment, the access address may be an HTTP address or other addresses.

[0072] S2012: Save the mapping relationship between the projection code, projection identification identifier and access address corresponding to each projection end as projection information.

[0073] In this embodiment, after step S2012, the method further includes:

[0074] S20121: Receive the changed mapping relationship between the projection code and the access address sent by each projection terminal, wherein the changed mapping relationship between the projection code and the access address is that each projection terminal periodically checks the corresponding mapping relationship between the projection code and the access address to determine whether the mapping relationship between the projection code and the access address has changed. If the mapping relationship between the projection code and the access address has changed, the changed mapping relationship between the projection code and the access address is obtained.

[0075] In this embodiment, the projection code may change due to the adjustment of the projection end, thereby causing a change in the mapping relationship between it and the access address.

[0076] In this embodiment, the periodicity may be any one of daily, weekly, monthly, or other periods.

[0077] In addition, if the projection screen identification identifier also changes, it is necessary to receive the mapping relationship between the changed projection screen identification identifier and the access address sent by each projection screen end.

[0078] S20122: Update the screen projection information according to the changed mapping relationship between the screen projection code and the access address.

[0079] In addition, if the projection screen identification identifier also changes, the projection screen information is updated according to the mapping relationship between the changed projection screen identification identifier and the access address.

[0080] S202: Obtain pre-saved screen projection information, where the screen projection information includes a mapping relationship between a screen projection identification identifier corresponding to each screen projection end and an access address.

[0081] S203: Randomly obtain an unused screen projection identification identifier in the screen projection information according to the first query request.

[0082] In this embodiment, the unused screen projection identification identifier may be an unused IP address or other usage status identifier.

[0083] S204: Query the mapping relationship according to the projection identification identifier to obtain the corresponding access address.

[0084] S205: Send the access address to the corresponding media source end, so that each media source end sends a screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the video stream to be projected of the corresponding media source end according to the screen projection request.

[0085] In this embodiment, the request method for screen projection request can be any request method among pop-up window, text prompt or voice, or other request methods.

[0086] In this embodiment, each screen projection terminal can automatically respond to the screen projection request, or the screen projection administrator can process the screen projection request.

[0087] In addition, each projection end can automatically close the projection interface after the projection of the video stream to be projected is completed, or the projection interface can be closed by the projection administrator.

[0088] In summary, the screen projection control method provided in this embodiment receives a first query request sent by each media source end, wherein the first query request is for each media source end, reads the screen image to generate a video stream to be projected, and when there is no user login operation, generates the first query request and the screen projection request according to the video stream to be projected; obtains pre-saved screen projection information, wherein the screen projection information includes a mapping relationship between a screen projection identification identifier corresponding to each screen projection end and an access address; randomly obtains an unused screen projection identification identifier according to the first query request, and queries the mapping relationship to obtain the corresponding access address; sends the access address to the media source end, so that each media source end sends a screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the video stream to be projected according to the screen projection request, so that there will be no screen projection conflict, and conference management is simpler.

[0089] Figure 3Schematic diagram of the screen projection control method provided in the embodiment of the present application Figure 2 In the embodiment of the present application, Figure 2 Based on the embodiment provided, a specific implementation method for determining when a user's login operation exists at the media source end is described in detail. Figure 3 As shown, the screen projection control method includes:

[0090] S301: Receive a second query request sent by each media source end, wherein the second query request is for each media source end, read the screen image to generate a video stream to be projected, and detect whether there is a user login operation. If it is determined that there is a user login operation, then in response to the user's input operation on the projection code interface, generate a corresponding preset projection code, and in response to the user's trigger operation on applying for a projection device on each media source end, generate a corresponding second query request and projection request, wherein the preset projection code corresponds to a projection end, and the second query request includes the preset projection code.

[0091] In this embodiment, the user's login operation is that the user fills in the ID number, name and other information on the login interface, and triggers the login device after completing the filling.

[0092] The login device may be a virtual button or a physical button.

[0093] In this embodiment, the screen projection device can be a virtual button or a physical button.

[0094] In addition, when the user triggers the application for the screen projection device and before accessing the screen projection end, it is necessary to initiate an HTTP query request to the central control registration service to query the actual application screen projection address of the screen projection end according to the corresponding screen projection code.

[0095] In this embodiment, the preset screen projection code is an unused screen projection code.

[0096] In this embodiment, the second query request is used to query the access address of the projection end corresponding to the projection end according to the preset projection code; the projection request is used to request the corresponding projection end to perform screen projection.

[0097] S302: Obtain pre-saved screen projection information, wherein the screen projection information also includes a mapping relationship between the screen projection code and the access address corresponding to each screen projection end.

[0098] S303: Obtain a projection code corresponding to a preset projection code from the projection information according to each user's second query request.

[0099] S304: Query the mapping relationship according to the screen projection code to obtain the corresponding access address.

[0100] In this embodiment, the discussion about the access address has been described in detail in step S2011 and will not be discussed again here.

[0101] S305: Send the access address to the corresponding media source end, so that each media source end sends a screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the video stream to be projected of the corresponding media source end according to the screen projection request.

[0102] In this embodiment, the discussion on the screen projection request has been described in detail in step S205 and will not be discussed again here.

[0103] In summary, the screen projection control method provided in this embodiment receives a second query request sent by each media source end, wherein the second query request is for each media source end, reads the screen image to generate a video stream to be projected, and generates a corresponding preset projection code filled in by the user, in response to the user's trigger operation of applying for a screen projection device on each media source end, generates a corresponding second query request and a projection request; obtains pre-saved projection information, wherein the projection information also includes a mapping relationship between the projection code corresponding to each projection end and the access address; obtains the corresponding projection code according to the second query request of each user; according to the projection code, queries the mapping relationship to obtain the corresponding access address, and sends it to the corresponding media source end, so that each media source end sends a projection request to the corresponding projection end according to the access address, so that each projection end projects and displays the video stream to be projected of the corresponding media source end according to the projection request, so that there will be no projection conflict, and conference management is simpler.

[0104] In addition, the user fills in the ID number, name and other information on the login interface, and triggers the login device after filling in, so that the conference management can easily identify and manage users.

[0105] Figure 4 Schematic diagram of the screen projection control method provided in the embodiment of the present application Figure 3 , the execution subject of this embodiment can be Figure 1 The media source ends in the illustrated embodiment are not particularly limited in this embodiment. Figure 4 As shown, the method includes:

[0106] S401: Read the screen image to generate a video stream to be projected, and detect whether there is a user login operation.

[0107] In this embodiment, the discussion about the screen image has been described in detail in step S201 and will not be repeated here.

[0108] S402: If there is no user login operation, a first query request and a screen projection request are generated according to the video stream to be projected.

[0109] In this embodiment, the discussion on the first query request has been described in detail in step S201 and will not be repeated here.

[0110] S403: Send a first query request to the screen projection server to enable the screen projection server to obtain pre-saved screen projection information, randomly obtain an unused screen projection identification identifier in the screen projection information according to the first query request, and query the mapping relationship according to the screen projection identification identifier to obtain the corresponding access address, wherein the screen projection information includes the mapping relationship between the screen projection identification identifier corresponding to each screen projection terminal and the access address.

[0111] In this embodiment, the screen projection server is online for a long time, and its service address is a global public address, which is known to all screen projection terminals and all media source terminals.

[0112] In addition, the screen projection server is an Internet or enterprise intranet service with a public request address, which can be implemented based on any existing HTTP server technology.

[0113] In this embodiment, the discussion on the access address has been described in detail in step S2011 and will not be repeated here.

[0114] In this embodiment, the discussion on the unused screen projection identification identifier has been described in detail in step S203 and will not be repeated here.

[0115] S404: Receive the access address sent by the screen projection server, and send a screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the corresponding video stream to be projected according to the screen projection request.

[0116] Specifically, the access address sent by the screen projection server is received, and a screen projection request is sent to the corresponding screen projection end according to the access address, so that each screen projection end displays the corresponding screen projection request in the request list, and projects and displays the corresponding video stream to be projected according to the screen projection request.

[0117] In addition, the screen projection request may also include a source user identifier.

[0118] Specifically, each screen projection end in step S404 projects and displays the corresponding video stream to be projected according to the screen projection request, specifically:

[0119] S4041: Receive a screen projection request sent by each screen projection terminal, wherein the screen projection request is generated by each screen projection terminal through a preset browser according to the screen projection request.

[0120] In addition, initiating a screen projection request requires adding an HTTP request module to Deskreen, reading the accessible connections published by Deskreen, and applying for screen projection to the corresponding projection end.

[0121] In this embodiment, the preset browser may be an embedded browser.

[0122] S4042: Send the video stream to be projected to the corresponding projection end according to the corresponding projection request, so that each projection end projects and displays the corresponding video stream to be projected.

[0123] In addition, based on step S2011, the large screen management end of each projection end needs to use Deskreen's projection mechanism and WebRTC technology to realize the display of the video stream to be projected.

[0124] In summary, the screen projection control method provided in this embodiment generates a video stream to be projected by reading the screen image, and generates a first query request and a projection request according to the video stream to be projected when there is no user login operation; sends the first query request to the projection server, so that the projection server obtains the pre-saved projection information, randomly obtains an unused projection identification identifier in the projection information according to the first query request, and queries the mapping relationship according to the projection identification identifier to obtain the corresponding access address, wherein the projection information includes the mapping relationship between the projection identification identifier and the access address corresponding to each projection terminal; receives the access address sent by the projection server, and sends the projection request to the corresponding projection terminal according to the access address, so that each projection terminal projects and displays the corresponding video stream to be projected according to the projection request, so that there will be no projection conflict and conference management is simpler.

[0125] Figure 5 Schematic diagram of the screen projection control method provided in the embodiment of the present application Figure 4 In the embodiment of the present application, Figure 4 Based on the embodiment provided, a specific implementation method for determining when a user's login operation exists at the media source end is described in detail. Figure 5 As shown, the screen projection control method includes:

[0126] S501: Read the screen image to generate a video stream to be projected, and detect whether there is a user login operation.

[0127] In this embodiment, the discussion about the screen image has been described in detail in step S201 and will not be repeated here.

[0128] S502: If it is determined that there is a user login operation, a corresponding preset screen projection code is generated in response to the user's input operation on the screen projection code interface, where the preset screen projection code corresponds to a screen projection end.

[0129] In this embodiment, the discussion on the user's login operation and the preset screen projection code has been described in detail in step S301 and will not be repeated here.

[0130] S503: In response to the user's triggering operation on applying for the screen projection device on each media source end, a corresponding second query request and screen projection request are generated, wherein the second query request includes a preset screen projection code.

[0131] In this embodiment, the discussion on applying for the screen projection device has been described in detail in step S301 and will not be repeated here.

[0132] S504: Send a second query request to the screen projection server so that the screen projection server obtains pre-saved screen projection information, obtains the projection code corresponding to the preset projection code in the screen projection information according to the second query request of each user, and queries the mapping relationship according to the projection code to obtain the corresponding access address, wherein the screen projection information includes the mapping relationship between the projection code and the access address corresponding to each projection terminal.

[0133] In this embodiment, the discussion about the access address has been described in detail in step S2011 and will not be discussed again here.

[0134] S505: Receive the access address sent by the screen projection server, and send a screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the video stream to be projected of the corresponding media source end according to the screen projection request.

[0135] In this embodiment, the discussion on the screen projection request has been described in detail in step S205 and will not be discussed again here.

[0136] In summary, the screen projection control method provided in this embodiment generates a video stream to be projected by reading the screen image. If it is determined that there is a user login operation, a corresponding preset screen projection code is generated in response to the user's input operation on the screen projection code interface; in response to the user's trigger operation on the application for screen projection device on each media source end, a corresponding second query request and screen projection request are generated; the second query request is sent to the screen projection server end, so that the screen projection server end obtains the pre-saved screen projection information, and obtains the corresponding screen projection code according to the second query request, and queries the mapping relationship according to the screen projection code to obtain the corresponding access address, wherein the screen projection information includes the mapping relationship between the screen projection code and the access address corresponding to each screen projection end; receives the access address sent by the screen projection server end, and sends the screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end, according to the screen projection request, will display the video stream to be projected of the corresponding media source end for projection display, so that there will be no screen projection conflict, and conference management is simpler.

[0137] Figure 6 A schematic diagram of the structure of the screen projection control device provided in the embodiment of the present application Figure 1 .like Figure 6 As shown, the screen projection control device includes: a first receiving module 601, a first acquisition module 602, a second acquisition module 603, a first query module 604 and a first sending module 605.

[0138] The first receiving module 601 is used to receive a first query request sent by each media source end, wherein the first query request is that each media source end reads a screen image to generate a video stream to be projected, and detects whether there is a user login operation; if there is no user login operation, the first query request and the projection request are generated according to the video stream to be projected;

[0139] The first acquisition module 602 is used to acquire pre-saved screen projection information, wherein the screen projection information includes a mapping relationship between a screen projection identification identifier corresponding to each screen projection terminal and an access address;

[0140] A second acquisition module 603 is used to randomly acquire an unused screen projection identification identifier from the screen projection information according to the first query request;

[0141] A first query module 604 is used to query the mapping relationship according to the projection identification identifier to obtain a corresponding access address;

[0142] The first sending module 605 is used to send the access address to the corresponding media source end, so that each media source end sends the screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the video stream to be projected of the corresponding media source end according to the screen projection request.

[0143] In a possible implementation manner, the device further includes:

[0144] The second receiving module 606 is used to receive the second query request sent by each media source end, wherein the second query request is each media source end, reads the screen image to generate the video stream to be projected, and detects whether there is a user login operation. If it is determined that there is a user login operation, then in response to the user's input operation on the projection code interface, a corresponding preset projection code is generated, and in response to the user's triggering operation on the application for projection device on each media source end, a corresponding second query request and projection request are generated, wherein the preset projection code corresponds to a projection end, and the second query request includes the preset projection code;

[0145] The third acquisition module 607 is used to acquire pre-saved screen projection information, wherein the screen projection information also includes a mapping relationship between the screen projection code and the access address corresponding to each screen projection terminal;

[0146] A fourth acquisition module 608 is used to acquire a screen projection code corresponding to the preset screen projection code in the screen projection information according to the second query request of each user;

[0147] A second query module 609 is used to query the mapping relationship according to the projection code to obtain a corresponding access address;

[0148] The second sending module 610 is used to send the access address to the corresponding media source end, so that each media source end sends the screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the video stream to be projected of the corresponding media source end according to the screen projection request.

[0149] In a possible implementation manner, the device further includes:

[0150] The third receiving module 611 is used to receive the mapping relationship between the screen projection code, the screen projection identification identifier and the access address sent by each screen projection terminal;

[0151] The saving module 612 is used to save the mapping relationship between the projection code, projection identification identifier and access address corresponding to each projection end as the projection information.

[0152] In a possible implementation manner, the device further includes:

[0153] The fourth receiving module 613 is used to receive the changed mapping relationship between the projection code and the access address sent by each projection end, wherein the changed mapping relationship between the projection code and the access address is that each projection end periodically checks the corresponding mapping relationship between the projection code and the access address to determine whether the mapping relationship between the projection code and the access address has changed. If the mapping relationship between the projection code and the access address has changed, the changed mapping relationship between the projection code and the access address is obtained by obtaining the mapping relationship between the projection code and the access address;

[0154] The updating module 614 is used to update the projection information according to the mapping relationship between the changed projection code and the access address.

[0155] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.

[0156] Figure 7 A schematic diagram of the structure of the screen projection control device provided in the embodiment of the present application Figure 2 .like Figure 7 As shown, the screen projection control device includes: a first reading module 701, a first generating module 702, a first sending module 703 and a second sending module 704.

[0157] The first reading module 701 is used to read the screen image to generate a video stream to be projected, and detect whether there is a user login operation;

[0158] A first generating module 702 is configured to generate a first query request and a screen projection request according to the video stream to be projected if there is no user login operation;

[0159] The first sending module 703 is used to send the first query request to the screen projection server, so that the screen projection server obtains pre-saved screen projection information, randomly obtains an unused screen projection identification identifier in the screen projection information according to the first query request, and queries a mapping relationship according to the screen projection identification identifier to obtain a corresponding access address, wherein the screen projection information includes a mapping relationship between the screen projection identification identifier corresponding to each screen projection terminal and the access address;

[0160] The second sending module 704 is used to receive the access address sent by the screen projection server, and send the screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the corresponding video stream to be projected according to the screen projection request.

[0161] In a possible implementation manner, the device further includes:

[0162] The second reading module 705 is used to read the screen image to generate the video stream to be projected, and detect whether there is a user login operation;

[0163] The second generating module 706 is used to generate a corresponding preset screen projection code in response to the user's input operation on the screen projection code interface if it is determined that there is a user login operation, wherein the preset screen projection code corresponds to a screen projection terminal;

[0164] The third generating module 707 is used to generate a corresponding second query request and a screen projection request in response to the user's triggering operation on the application screen projection device on each media source end, wherein the second query request includes the preset screen projection code;

[0165] The third sending module 708 is used to send the second query request to the screen projection server, so that the screen projection server obtains the pre-saved screen projection information, obtains the screen projection code corresponding to the preset screen projection code in the screen projection information according to the second query request of each user, and queries the mapping relationship according to the screen projection code to obtain the corresponding access address, wherein the screen projection information includes the mapping relationship between the screen projection code and the access address corresponding to each screen projection end;

[0166] The display module 709 is used to receive the access address sent by the screen projection server, and send the screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the video stream to be projected of the corresponding media source end according to the screen projection request.

[0167] In a possible implementation, the display module 709 specifically includes:

[0168] The receiving unit 7091 is used to receive a screen projection initiation request sent by each screen projection terminal, wherein the screen projection initiation request is generated by each screen projection terminal through a preset browser according to the screen projection request;

[0169] The display unit 7092 is used to send the video stream to be projected to the corresponding projection end according to the corresponding projection request, so that each projection end projects and displays the corresponding video stream to be projected.

[0170] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.

[0171] Figure 8 The hardware structure diagram of the electronic device provided in the embodiment of the present application is shown in FIG. Figure 8 As shown, the electronic device of this embodiment includes: a processor 801 and a memory 802; the memory stores computer execution instructions; at least one processor executes the computer execution instructions stored in the memory, so that at least one processor executes the above screen projection control method.

[0172] Optionally, the memory 802 may be independent or integrated with the processor 801 .

[0173] When the memory 802 is independently provided, the electronic device further includes a bus 803 for connecting the memory 802 and the processor 801 .

[0174] An embodiment of the present application also provides a computer storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the screen projection control method as described above is implemented.

[0175] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the screen projection control method as described above.

[0176] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0177] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.

[0178] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.

[0179] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present application.

[0180] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.

[0181] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.

[0182] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0183] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0184] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic device or a main control device.

[0185] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0186] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A screen projection control method, characterized in that: Applied to the screen projection server, including: Receive a first query request sent by each media source end, wherein the first query request is each media source end, reads a screen image to generate a video stream to be projected, and detects whether there is a user login operation; if there is no user login operation, generates the first query request and the projection request according to the video stream to be projected; Obtain pre-saved screen projection information, wherein the screen projection information includes a mapping relationship between a screen projection identification identifier corresponding to each screen projection end and an access address; randomly obtaining an unused screen projection identification identifier from the screen projection information according to the first query request; According to the projection identification identifier, query the mapping relationship to obtain the corresponding access address; The access address is sent to the corresponding media source end, so that each media source end sends the screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the video stream to be projected of the corresponding media source end according to the screen projection request.

2. The method according to claim 1, characterized in that Also includes: Receive a second query request sent by each of the media source terminals, wherein the second query request is for each of the media source terminals, read a screen image to generate a video stream to be projected, and detect whether there is a user login operation, if it is determined that there is a user login operation, then in response to the user's input operation on the projection code interface, generate a corresponding preset projection code, in response to the user's trigger operation on the application for projection device on each of the media source terminals, generate a corresponding second query request and projection request, wherein the preset projection code corresponds to a projection terminal, and the second query request includes the preset projection code; Obtain pre-saved screen projection information, wherein the screen projection information also includes a mapping relationship between the screen projection code and the access address corresponding to each screen projection end; Acquire a screen projection code corresponding to the preset screen projection code in the screen projection information according to a second query request of each user; According to the projection code, query the mapping relationship to obtain the corresponding access address; The access address is sent to the corresponding media source end, so that each media source end sends the screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the video stream to be projected of the corresponding media source end according to the screen projection request.

3. The method according to claim 1, characterized in that: Before receiving the first query request sent by each media source terminal, the method further includes: Receive the mapping relationship between the projection code, projection identification identifier and access address sent by each projection terminal; The mapping relationship between the projection code, projection identification identifier and access address corresponding to each projection end is saved as the projection information.

4. The method according to claim 3, characterized in that After the mapping relationship between the projection code, the projection identification identifier and the access address corresponding to each projection terminal is saved as the projection information, the method further includes: Receive the changed mapping relationship between the projection code and the access address sent by each projection end, wherein the changed mapping relationship between the projection code and the access address is that each projection end periodically checks the corresponding mapping relationship between the projection code and the access address to determine whether the mapping relationship between the projection code and the access address has changed. If the mapping relationship between the projection code and the access address has changed, the changed mapping relationship between the projection code and the access address is obtained by acquiring the mapping relationship between the projection code and the access address; The projection information is updated according to the mapping relationship between the changed projection code and the access address.

5. A screen projection control method, characterized in that: Applicable to each media source, including: Read the screen image to generate the video stream to be projected, and detect whether there is a user login operation; If there is no user login operation, generating a first query request and a screen projection request according to the video stream to be projected; Sending the first query request to the screen projection server, so that the screen projection server obtains pre-saved screen projection information, randomly obtains an unused screen projection identification identifier in the screen projection information according to the first query request, and queries a mapping relationship according to the screen projection identification identifier to obtain a corresponding access address, wherein the screen projection information includes a mapping relationship between the screen projection identification identifier corresponding to each screen projection end and the access address; Receive the access address sent by the screen projection server, and send the screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the corresponding video stream to be projected according to the screen projection request.

6. The method according to claim 5, characterized in that Also includes: Read the screen image to generate the video stream to be projected, and detect whether there is a user login operation; If it is determined that there is a user login operation, in response to the user's input operation on the screen projection code interface, a corresponding preset screen projection code is generated, wherein the preset screen projection code corresponds to a screen projection end; In response to the user's triggering operation on applying for the screen projection device on each media source end, generating a corresponding second query request and a screen projection request, wherein the second query request includes the preset screen projection code; Sending the second query request to the screen projection server, so that the screen projection server obtains the pre-saved screen projection information, obtains the screen projection code corresponding to the preset screen projection code in the screen projection information according to the second query request of each user, and queries the mapping relationship according to the screen projection code to obtain the corresponding access address, wherein the screen projection information includes the mapping relationship between the screen projection code and the access address corresponding to each screen projection end; Receive the access address sent by the screen projection server, and send the screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the video stream to be projected of the corresponding media source end according to the screen projection request.

7. The method according to claim 5 or 6, characterized in that: Each of the projection terminals projects and displays the corresponding video stream to be projected according to the projection request, including: Receiving a screen projection initiation request sent by each screen projection terminal, wherein the screen projection initiation request is generated by each screen projection terminal through a preset browser according to the screen projection request; According to the corresponding screen projection request, the video stream to be projected is sent to the corresponding screen projection end, so that each screen projection end projects and displays the corresponding video stream to be projected.

8. A screen projection control device, characterized in that: Applied to the screen projection server, including: A first receiving module is used to receive a first query request sent by each media source end, wherein the first query request is that each media source end reads a screen image to generate a video stream to be projected, and detects whether there is a user login operation; if there is no user login operation, the first query request and the projection request are generated according to the video stream to be projected; A first acquisition module is used to acquire pre-saved screen projection information, wherein the screen projection information includes a mapping relationship between a screen projection identification identifier corresponding to each screen projection terminal and an access address; A second acquisition module, used for randomly acquiring an unused screen projection identification identifier in the screen projection information according to the first query request; A first query module, used to query the mapping relationship according to the projection identification identifier to obtain a corresponding access address; The first sending module is used to send the access address to the corresponding media source end, so that each media source end sends the screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the video stream to be projected of the corresponding media source end according to the screen projection request.

9. A screen projection control device, characterized in that: Applied to the media source, including: A first reading module is used to read the screen image to generate a video stream to be projected, and detect whether there is a user login operation; A first generating module, configured to generate a first query request and a screen projection request according to the video stream to be projected if there is no user login operation; A first sending module is used to send the first query request to the screen projection server, so that the screen projection server obtains pre-saved screen projection information, randomly obtains an unused screen projection identification identifier in the screen projection information according to the first query request, and queries a mapping relationship according to the screen projection identification identifier to obtain a corresponding access address, wherein the screen projection information includes a mapping relationship between the screen projection identification identifier corresponding to each screen projection terminal and the access address; The second sending module is used to receive the access address sent by the screen projection server, and send the screen projection request to the corresponding screen projection end according to the access address, so that each screen projection end projects and displays the corresponding video stream to be projected according to the screen projection request.

10. An electronic device, characterized in that: include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the screen projection control method as described in any one of claims 1 to 4, or the screen projection control method as described in any one of claims 5 to 7.

11. A computer storage medium, characterized in that: The computer storage medium stores computer execution instructions. When the processor executes the computer execution instructions, the screen projection control method as described in any one of claims 1 to 4, or the screen projection control method as described in any one of claims 5 to 7 is implemented.

12. A computer program product, characterized in that It includes a computer program, which, when executed by a processor, implements the screen projection control method as described in any one of claims 1 to 4, or the screen projection control method as described in any one of claims 5 to 7.

Citation Information

Patent Citations

  • Wireless screening method, device, computer device, and storage medium

    CN109525990A

  • Projection screen connection establishment method and device, computer equipment and storage medium

    CN110248224A

  • Remote screen projection method, system and device and storage medium

    CN113207018A

  • Screen projection method, electronic equipment and storage medium

    CN115729501A

  • Wireless multi-screen projection method and system and storage medium

    CN117041657A