WO2018041087A1 - Method and device for screenshot - Google Patents

Method and device for screenshot Download PDF

Info

Publication number
WO2018041087A1
WO2018041087A1 PCT/CN2017/099416 CN2017099416W WO2018041087A1 WO 2018041087 A1 WO2018041087 A1 WO 2018041087A1 CN 2017099416 W CN2017099416 W CN 2017099416W WO 2018041087 A1 WO2018041087 A1 WO 2018041087A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
interface
desktop
screenshot
browser
Prior art date
Application number
PCT/CN2017/099416
Other languages
French (fr)
Chinese (zh)
Inventor
王蔚
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018041087A1 publication Critical patent/WO2018041087A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Definitions

  • the web application running on the browser cannot take a screenshot of the desktop of the non-browser screen.
  • the local application can perform screenshots after the local application is minimized by using the service process resident in the system, the desktop taskbar icon, the desktop floating window, etc., and the relevant operations in the local application are quickly performed without switching back to the local application. .
  • the web application cannot implement the above-mentioned corresponding functions. When the browser is minimized, the screenshot cannot be made. Therefore, there is a need for a screenshot technique that takes a screenshot of the screen through the web application after the browser is minimized.
  • the embodiment of the present invention provides a method for taking a screenshot for a problem of taking a screenshot of a screen by a webpage application after the browser is minimized.
  • the desktop screen parameter is acquired by the webpage application, and a notification message window is generated according to the desktop screen parameter;
  • the method further includes:
  • the method further includes:
  • the second interface is an interface provided by the browser for acquiring a desktop screen.
  • the webpage application running on the browser receives the screen capture operation of the user through the first interface displayed on the desktop screen, and can initiate the passage of the screen when receiving the screen capture operation of the user.
  • the second interface obtains the screen capture operation of the desktop screenshot, and obtains the current desktop screenshot through the second interface, which can solve the problem that the browser cannot be screened through the web application after the browser is minimized, so that the user does not need to install a special client application directly, and uses the web application.
  • the content of the desktop screen is screenshotd, which greatly improves the convenience of the system.
  • FIG. 1 is a schematic flowchart of a method for displaying a screenshot according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic structural diagram of a system for implementing a screen capture method according to Embodiment 3 of the present invention
  • a web application is an application that uses a web browser to operate on the Internet or an intranet. It is also an application written in a web language such as HTML, JavaScript, Java, etc., and can be executed by a browser.
  • the browser accesses the webpage application provided by the webpage application server of the webpage application to access the webpage application, loads the content corresponding to the webpage application, and runs the loaded webpage application on the interface on the browser.
  • the webpage application may include various types of webpage applications such as a photo editing webpage application, a video conferencing webpage application, a remote collaboration webpage application, an online education webpage application, and the like.
  • the desktop screen parameter is acquired by the webpage application, and a notification message window is generated according to the desktop screen parameter;
  • Displaying the first interface in the desktop screen includes: displaying the first interface in the desktop screen in the manner of the notification message window.
  • the order of minimizing the browser and the order of obtaining the parameters of the desktop screen are not limited, and the desktop screen parameters may be acquired by the webpage application before the browser is minimized.
  • the desktop screen parameter is acquired while the web application is being loaded, and a notification message window is generated when the web application is run on the browser.
  • the display may or may not be displayed, and when the browser is minimized, when the first interface is invoked by the web application, the notification is cancelled.
  • the display of the info window displays the first interface on the desktop screen.
  • the desktop screen parameters may also be obtained through the web application after the browser is minimized, and a notification message window is generated according to the acquired desktop screen parameters.
  • S103 Receive a screen capture operation by using the first interface, and generate a screenshot request, and initiate an operation of acquiring a current desktop screenshot according to the screenshot request; wherein the current desktop screenshot operation is performed by using the second interface that can obtain the screenshot.
  • the obtained desktop screenshot may be sent to the web application server to be saved in the web application server, so that the device accessing the web application server is accessed. You can get the current desktop screenshot.
  • the method of the screen shot provided by the embodiment of the present invention further includes: generating a screen sharing request when the webpage application receives the screen sharing operation; and sharing the webpage application with the screen sharing request according to the screen sharing request according to the screen sharing request Establishing a shared connection; acquiring a desktop screen video stream by using the second interface; sending the desktop screen video stream to the webpage application, and sending, by the webpage application, the desktop screen video stream to the shared connection.
  • the webpage application of the terminal B displays the document
  • the display of the webpage application of the terminal B The content is synchronized with the content displayed on the desktop screen of the terminal A, and simultaneously displays the operation of the user A on the desktop screen.
  • the terminal B as the receiving shared screen can also call the first interface to display the first interface when the browser is minimized.
  • the form of the message window may also be notified for receiving the screen capture operation of the user through the displayed first interface, and when the screen capture operation is received, the current desktop screenshot is acquired by the second interface provided by the browser.
  • the terminal A obtains the current desktop screenshot
  • the current desktop screenshot obtained is sent to the web application of the terminal A itself, and is sent to the terminal through the shared connection between the web application of the terminal A and the web application of the terminal B.
  • B's browser is displayed on the web application on terminal B.
  • the first interface of the browser running by the webpage application when the first interface of the browser running by the webpage application is minimized by the browser, the first interface of the browser is displayed on the desktop screen, and the screen capture operation of the user is received through the first interface.
  • the current desktop screenshot is obtained through the second interface of the browser, thereby implementing a screenshot of the non-browser interface in the case where the browser of the web application is minimized.
  • a method for displaying a screenshot provided by an embodiment of the present invention is described by using a webpage application loaded by a terminal as a photo editing webpage application as a specific application scenario, for example:
  • the user accesses the photo editing function provided in the photo editing webpage application by using the browser to access the uniform resource locator URL address provided by the photo editing webpage application server.
  • the browser has the ability to capture desktop screens.
  • the user accesses the photo editing web application in the browser, and when the browser is minimized, only one browser icon is displayed in the task bar.
  • the terminal provides a desktop screen that allows the user to manipulate other applications on the desktop than the browser on the desktop.
  • the first interface is displayed on the desktop screen in the form of a notification message window, and a desktop notification message is displayed on the window to indicate that the user's screen capture operation can be received through the notification message window.
  • clicking the photo editing webpage application to display the desktop notification message of the photo editing webpage application displayed on the screen triggers the screen capture operation.
  • the notification message window of the edit picture webpage application is located in the task bar in the lower right corner of the desktop.
  • the web application server is configured to provide a web application service that includes screen sharing and screenshot capabilities.
  • the desktop is the main screen area that you see when you open the terminal and log in to the operating system.
  • a browser is an application that can display the hypertext markup language HTML content of a web server or file system and allow users to interact with these files.
  • the user uses the browser to access the screen sharing and screenshot functions provided in the web application by accessing the uniform resource locator URL address provided by the web application server.
  • the browser has the ability to get a desktop screen of a computer.
  • the desktop screen after screen sharing in the web application in the embodiment of the present invention is as shown in FIG. 3:
  • the user accesses the web application in the browser and triggers the screen sharing operation
  • the browser is minimized on the desktop
  • only one browser icon is displayed in the task bar.
  • the user can self-operate other applications on the desktop according to the shared screen content, and send the operation process to other people who are visiting the web application.
  • other applications outside the browser can be displayed on the desktop at the same time.
  • the application triggers the screen capture operation, and the webpage application desktop notification message popped up before the screen sharing operation is clicked to trigger the screen capture operation.
  • the desktop notification message is content displayed by the notification message window displayed on the desktop screen, wherein the first interface is displayed in the form of a desktop notification message.
  • the webpage application desktop notification message is located in the task bar in the lower right corner of the desktop. Therefore, when the screen is screened, the user intercepts the current desktop operation, and the user does not return to the webpage application through the browser.
  • the intercepted screen is the web application operation in the browser.
  • the desktop message window is displayed in the form of an icon in the task bar based on the desktop screen parameter.
  • the notification message window is described as an example. In the actual application, the limitation is not limited, and the desktop screen parameter may be according to the user's needs. Set the location of the notification message window.
  • the method for performing a screenshot in a web application includes:
  • the terminal receives a screen sharing request.
  • the user accesses the web application through the browser and initiates a screen sharing request in the web application.
  • the terminal performs screen sharing.
  • the webpage application invokes the interface of the browser to obtain the desktop screen, acquires the current desktop screen, and invokes the first interface that receives the user operation, displays the first window, and pops up a desktop notification window that can trigger the screenshot.
  • the browser is minimized and the displayed interface is switched from the browser's interface to the desktop screen.
  • the terminal receives a screen capture operation.
  • the user can perform other application operations on the desktop.
  • the desktop notification window popped up by the previous web application is clicked to perform a screen capture operation, and the terminal receives the screen capture operation through the desktop notification window, and generates a screenshot according to the screen capture operation. Request and send a screenshot request to the web app.
  • the terminal acquires a screenshot of the current desktop.
  • the web application When the web application receives the screenshot request, it takes a screenshot of the content that the user is currently sharing on the desktop screen.
  • the second interface of the desktop screen provided by the browser can be used to take a screenshot to obtain the current desktop screenshot.
  • the screenshot is taken as a specific process in the process of sharing the video conference screen.
  • the application scenario describes a screenshot method provided by the embodiment of the invention.
  • the user accesses the video conference web application server and the media server through the browser, and uses the video conference web application.
  • the video conference web application server provides a video conference webpage application service, and the user accesses through the browser and presents the video conference webpage application in the browser.
  • the media server is configured to receive and send audio and video media streams of the video conference, and perform corresponding media processing, including synthesis, media format conversion, and the like.
  • Step 1 User A and User B access the video conference web application server through the browser, and join the same video conference in the video conference web application to perform video conference.
  • step 2 user A initiates a screen sharing request in the video conference web application.
  • Step 3 The video conference webpage application invokes an interface for obtaining a desktop screen provided by the browser, acquires a desktop screen of the user A, and sends the video stream operated on the desktop screen of the user A to the media server.
  • User B accesses the media server through the browser and plays the desktop screen video stream shared by user A.
  • the video conference web application invokes the desktop notification message interface and pops up the desktop notification message while calling the interface provided by the browser to obtain the desktop screen.
  • the content of the desktop notification message includes an action that can trigger a screenshot.
  • Step 4 During the process of desktop sharing, user A clicks on the screenshot operation in the desktop notification message to send a screenshot request.
  • Step 5 After receiving the screenshot request, the video conference webpage application takes a screenshot of the desktop video stream shared by the current user A, and uploads it to the video conference webpage application server for display in the video conference webpage application.
  • the video conference web application can use the screenshot as the background of the electronic whiteboard, and the participant user A and user B can operate the screenshot in the electronic whiteboard.
  • the implementation of the Chrome extension for screen sharing and screenshots in the Chrome browser is as follows:
  • the listener is added by an external message event (for example, the onMessageExternal event).
  • an external message event for example, the onMessageExternal event.
  • the request message for the event is received to obtain a video stream (for example, getStream)
  • the screen capture method provided by the Chrome browser is called to obtain The video stream of the user's current screen
  • the user's current screen video stream number streamId is sent to the webpage code requesting the extension by sending a response method (eg, sendResponse), and further processing is performed to send the video stream to the media server.
  • a response method eg, sendResponse
  • a desktop notification message object for example, window.Notification
  • a screen sharing desktop notification message is popped up
  • a notification webpage application is performed to perform a screenshot in the event of a mouse click onclick of the desktop notification message. That is, when the user clicks on the desktop notification message, a request for sending a screenshot is sent to the web application by submitting the message postMessage method.
  • Browser A User A accesses the Remote Assistance web application server through browser A, using a remote collaborative web application.
  • Browser B user B accesses the remote assistance web application server through browser B, and uses the remote collaborative web application.
  • Browser A and browser B can directly transmit and receive audio and video media streams.
  • the remote assistance web application server provides a remote assistance web application service, which is accessed by the user through a browser and presented as a remote assistance web application in the browser.
  • Step 1 User A and User B access the remote assistance web application server through browser A and browser B, respectively, and perform video communication in the remote assistance web application.
  • Step 2 User A initiates screen sharing in the remote assistance web application opened by browser A. begging.
  • Step 3 The remote assistance webpage application invokes an interface provided by the browser to obtain a desktop screen, acquires the desktop screen of the user A, and sends the video stream operated on the desktop screen of the user A to the browser B of the user B, in the browser B.
  • the open remote assistance web application plays the received desktop screen video stream shared by user A.
  • the remote assistance web application invokes the desktop notification message interface and pops up the desktop notification message while calling the interface provided by the browser to obtain the desktop screen.
  • the content of the desktop notification message includes an action that can trigger a screenshot.
  • Step 4 During the process of desktop sharing, user A clicks on the screenshot operation in the desktop notification message to send a screenshot request.
  • Step 5 After receiving the screenshot request, the remote assistance webpage application takes a screenshot of the desktop video stream shared by the current user A, and displays it in the remote collaborative webpage application of browser A.
  • the remote assistance web application can send the screenshot to the browser B or upload to the remote assistance web application server for display, storage, electronic whiteboard sharing and the like.
  • a screenshot method provided by an embodiment of the present invention is described by taking a screenshot in the process of online education screen sharing for a specific application scenario.
  • the teacher accesses the online education web application server and media server through the browser, and uses the online education web application to perform screen sharing, screenshots and the like.
  • the online education web application server provides an online education web application service, and the teacher and the student respectively access through the browser and present as an online education web application in the browser.
  • a media server configured to receive and send audio and video media streams of the course, and may be corresponding Media processing, including compositing, media format conversion, etc.
  • Step 1 The teacher and the student respectively access the online education web application server through the browser, and join the same course live broadcast in the online education web application.
  • step 2 the teacher initiates a screen sharing request in the online education web application.
  • Step 3 The online education webpage application invokes an interface provided by the browser to obtain a desktop screen, acquires a teacher's desktop screen, and sends the video stream operated on the teacher's desktop screen to the media server. Students access the media server through a browser and play the desktop screen video stream shared by the teacher.
  • the online education webpage application invokes the desktop notification message interface and pops up the desktop notification message while calling the interface provided by the browser to obtain the desktop screen.
  • the content of the desktop notification message includes actions that trigger a screenshot.
  • Step 4 During the process of desktop sharing, the teacher clicks on the screenshot operation in the desktop notification message to send a screenshot request.
  • Step 5 After receiving the screenshot request, the online education webpage application takes a screenshot of the desktop video stream shared by the current teacher, and uploads it to the online education webpage application server for display in the online education webpage application.
  • the online education web application can use the screenshot as the background of the electronic whiteboard, and the participant teacher can circle and mark the screenshot in the electronic whiteboard.
  • This program enables teachers to directly use the web application to conduct live courses without the need to install a dedicated client application. This allows the teacher to broadcast the course at any time, any place, any browser device that supports web real-time communication, greatly improving the system. Easy to use.
  • the method for the screenshot provided by the embodiment of the invention can access the related webpage application in the browser of the terminal such as the mobile phone, the tablet computer, the set top box device, etc. to perform the screen capture operation in the process of screen sharing.
  • the embodiment of the present invention provides a device for taking a screenshot, The device is applied to a terminal. As shown in FIG. 8, the device includes an access unit 801, a display unit 802, and a screen capture unit 803.
  • the access unit 801 is configured to access the webpage application according to the uniform resource locator URL address after the browser is opened in the desktop screen, and load the webpage application in the browser, where the webpage application runs in the interface of the browser.
  • the display unit 802 is configured to minimize an interface of the browser, switch to the desktop screen by an interface of the browser, and invoke the first interface that can receive a screen capture operation by the webpage application, and the first The interface is displayed on the desktop screen.
  • the screen capture unit 803 is configured to receive a screen capture operation by the first interface and generate a screenshot request, and initiate an operation of acquiring a current desktop screenshot according to the screenshot request; wherein the current desktop screenshot is performed through the second interface that can obtain the screenshot operating.
  • the display unit 802 is further configured to acquire the desktop screen parameter by using the webpage application, and generate a notification message window according to the desktop screen parameter.
  • displaying the first interface in the desktop screen comprises: displaying the first interface in the desktop screen in the manner of the notification message window.
  • the device further includes: a sending unit 804, configured to send the acquired current desktop screenshot to the webpage application, and perform related processing on the current desktop screenshot in the webpage application, such as displaying , sent to the server, and so on.
  • a sending unit 804 configured to send the acquired current desktop screenshot to the webpage application, and perform related processing on the current desktop screenshot in the webpage application, such as displaying , sent to the server, and so on.
  • the device further includes: a sharing unit 805, configured to: generate a screen sharing request when the webpage application receives the screen sharing operation; and use the webpage application and the screen according to the screen sharing request
  • the shared terminal corresponding to the sharing request establishes a shared connection; the desktop screen video stream is obtained through the second interface; the desktop screen video stream is sent to the webpage application, and the desktop screen video stream is sent to the webpage application by the webpage application The shared connection.
  • the operation of the current desktop screenshot by the screen capture unit 803 by acquiring the second interface of the screenshot includes: intercepting the desktop screen video stream acquired through the second interface to obtain a screenshot image, and using the screenshot image as a current desktop screenshot. .
  • the second interface is an interface provided by the browser for acquiring a desktop screen.
  • the embodiment of the invention further provides a computer readable storage medium, which stores a computer executable finger
  • the method described above is implemented when the computer executable instructions are executed by a processor.
  • computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically includes 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. .
  • Embodiments of the present invention provide a method and apparatus for a screenshot.
  • the method includes: after opening a browser in a desktop screen, accessing a webpage application according to a uniform resource locator URL address, loading the webpage application in a browser, where the webpage application runs in an interface of the browser; The interface of the browser is minimized, and the screen of the browser is switched back to the desktop screen, and the first interface that can receive the screen capture operation is invoked by the webpage application, and the first interface is displayed on the desktop.
  • the second interface of the figure performs the operation of the current desktop screenshot.
  • the webpage application running on the browser receives the screen capture operation of the user through the first interface displayed on the desktop screen, and can initiate the passage of the screen when receiving the screen capture operation of the user.
  • the second interface obtains the screen capture operation of the desktop screenshot, and obtains the current desktop screenshot through the second interface, which can solve the problem that the browser cannot be screened through the web application after the browser is minimized, so that the user does not need to install a special client application directly, and uses the web application.
  • the content of the desktop screen is screenshotd, which greatly improves the convenience of the system. Therefore, the present invention has strong industrial applicability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method and device for a screenshot. The method comprises: after opening a browser on a desktop screen, visiting a web page application on the basis of a Uniform Resource Locator (URL), and loading the web page application in the browser, the web page application running in an interface of the browser (101); minimizing the interface of the browser, toggling from the interface of the browser to the desktop screen, calling, via the web page application, a first interface capable of receiving a screenshot operation, and displaying the first interface on the desktop screen (102); receiving, via the first interface, the screenshot operation, generating a request for a screenshot, invoking, on the basis of the request for the screenshot, an operation of acquiring a current desktop screenshot, and executing, via a second interface capable of acquiring a screenshot, the operation of acquiring the current desktop screenshot (103).

Description

一种屏幕截图的方法及装置Method and device for screen shot 技术领域Technical field
本申请涉及通信领域,尤其涉及一种屏幕截图的方法及装置。The present application relates to the field of communications, and in particular, to a method and apparatus for a screenshot.
背景技术Background technique
因为网页应用没有在计算机或者移动终端上安装应用程序,而是使用浏览器来访问,因此网页应用以其随时随地可用的特性,得到了飞速的发展。特别是随着超文本标记语言HTML 5的正式发布和广泛应用,使得网页应用可以做一些原先只能由本地应用程序才能做的事情,例如本地文件读取、桌面通知消息、点对点视频通讯和获取桌面屏幕等功能。Because web applications do not install applications on computers or mobile devices, but use browsers to access them, web applications are rapidly evolving with features that are available anywhere, anytime. Especially with the official release and extensive application of the hypertext markup language HTML 5, web applications can do things that can only be done by local applications, such as local file reading, desktop notification messages, peer-to-peer video communication and retrieval. Features such as desktop screens.
但是在实际应用超文本标记语言HTML 5的新特性过程中,运行于浏览器上的网页应用无法进行非浏览器屏幕的桌面截图。本地应用可通过在系统中驻留的服务进程、桌面任务栏图标、桌面浮动窗口等方式,在本地应用被最小化后进行屏幕截图,没有切换回本地应用而快捷的进行本地应用中的相关操作。而网页应用无法实现上述的相应功能,当浏览器被最小化后,无法做到屏幕截图。因此,亟需一种屏幕截图的技术,在浏览器最小化后通过网页应用进行屏幕的截图。However, in the actual application of the new features of the hypertext markup language HTML 5, the web application running on the browser cannot take a screenshot of the desktop of the non-browser screen. The local application can perform screenshots after the local application is minimized by using the service process resident in the system, the desktop taskbar icon, the desktop floating window, etc., and the relevant operations in the local application are quickly performed without switching back to the local application. . The web application cannot implement the above-mentioned corresponding functions. When the browser is minimized, the screenshot cannot be made. Therefore, there is a need for a screenshot technique that takes a screenshot of the screen through the web application after the browser is minimized.
发明概述Summary of invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
针对在浏览器最小化后通过网页应用进行屏幕的截图的问题,本发明实施例提供了一种屏幕截图的方法。The embodiment of the present invention provides a method for taking a screenshot for a problem of taking a screenshot of a screen by a webpage application after the browser is minimized.
本发明实施例的方案是这样实现的:The solution of the embodiment of the present invention is implemented as follows:
一方面,本发明实施例提供一种屏幕截图的方法,所述方法包括:In one aspect, an embodiment of the present invention provides a method for a screenshot, the method comprising:
在桌面屏幕中打开浏览器后,根据统一资源定位符URL地址访问网页应用,在浏览器中加载所述网页应用,其中,所述网页应用运行于所述浏览 器的界面中;将所述浏览器的界面最小化,由所述浏览器的界面切换至所述桌面屏幕,并通过所述网页应用调用接收截屏操作的第一接口,将所述第一接口显示于所述桌面屏幕中;通过所述第一接口接收截屏操作并生成屏幕截图请求,根据所述屏幕截图请求发起获取当前桌面截图的操作;其中,通过获取屏幕截图的第二接口进行当前桌面截图的操作。After the browser is opened in the desktop screen, the webpage application is accessed according to the uniform resource locator URL address, and the webpage application is loaded in the browser, wherein the webpage application runs on the browser In the interface of the browser, the interface of the browser is minimized, and the interface of the browser is switched to the desktop screen, and the first interface that receives the screen capture operation is invoked by the webpage application, and the first interface is Displayed in the desktop screen; receiving a screen capture operation through the first interface and generating a screenshot request, and initiating an operation of acquiring a current desktop screenshot according to the screenshot request; wherein the current desktop is obtained by acquiring a second interface of the screenshot Screenshot operation.
在上述方案中,通过所述网页应用调用接收截屏操作的所述第一接口之前,通过所述网页应用获取所述桌面屏幕参数,根据所述桌面屏幕参数生成通知消息窗口;In the above solution, before the first interface that receives the screen capture operation is invoked by the webpage application, the desktop screen parameter is acquired by the webpage application, and a notification message window is generated according to the desktop screen parameter;
将所述第一接口显示于所述桌面屏幕中包括:Displaying the first interface in the desktop screen includes:
将所述第一接口以所述通知消息窗口的方式显示所述桌面屏幕中。Displaying the first interface in the desktop screen in the manner of the notification message window.
在上述方案中,所述方法还包括:In the above solution, the method further includes:
将所述获取的当前桌面截图发送至所述网页应用。Sending the obtained current desktop screenshot to the web application.
在上述方案中,所述方法还包括:In the above solution, the method further includes:
通过所述网页应用接收到屏幕共享操作时生成屏幕共享请求;Generating a screen sharing request when the webpage application receives the screen sharing operation;
根据所述屏幕共享请求通过所述网页应用与所述屏幕共享请求对应的共享端建立共享连接;Establishing a shared connection by using the webpage application and the sharing end corresponding to the screen sharing request according to the screen sharing request;
通过所述第二接口获取桌面屏幕视频流;将所述桌面屏幕视频流发送至所述网页应用,通过所述网页应用将所述桌面屏幕视频流发送至所述共享连接。Acquiring a desktop screen video stream through the second interface; sending the desktop screen video stream to the webpage application, and sending, by the webpage application, the desktop screen video stream to the shared connection.
在上述方案中,所述通过获取屏幕截图的第二接口进行当前桌面截图的操作包括:In the above solution, the performing the current desktop screenshot by acquiring the second interface of the screenshot includes:
将通过所述第二接口获取的桌面屏幕视频流进行截取得到截图图像,将所述截图图像作为当前桌面截图。The desktop screen video stream acquired through the second interface is truncated to a screenshot image, and the screenshot image is taken as a current desktop screenshot.
在上述方案中,所述第二接口为浏览器提供的获取桌面屏幕的接口。In the above solution, the second interface is an interface provided by the browser for acquiring a desktop screen.
另一方面,本发明实施例还提供一种屏幕截图的装置,所述装置包括:访问单元、显示单元和截屏单元;其中,In another aspect, an embodiment of the present invention further provides a device for a screenshot, where the device includes: an access unit, a display unit, and a screen capture unit;
所述访问单元配置为在桌面屏幕中打开浏览器后,根据统一资源定位符 URL地址访问网页应用,在浏览器中加载所述网页应用,所述网页应用运行于所述浏览器的界面中;The access unit is configured to open a browser in a desktop screen according to a uniform resource locator The web address accesses the webpage application, and the webpage application is loaded in a browser, and the webpage application runs in an interface of the browser;
所述显示单元配置为将所述浏览器的界面最小化,由所述浏览器的界面切换至所述桌面屏幕,并通过所述网页应用调用接收截屏操作的第一接口,将所述第一接口显示于所述桌面屏幕中;The display unit is configured to minimize an interface of the browser, switch from the interface of the browser to the desktop screen, and invoke a first interface that receives a screen capture operation by the webpage application, and the first An interface is displayed on the desktop screen;
所述截屏单元配置为通过所述第一接口接收截屏操作并生成屏幕截图请求,根据所述屏幕截图请求发起获取当前桌面截图的操作;其中,通过获取屏幕截图的第二接口进行当前桌面截图的操作。The screen capture unit is configured to receive a screen capture operation by the first interface and generate a screenshot request, and initiate an operation of acquiring a current desktop screenshot according to the screenshot request; wherein the current desktop screenshot is performed by acquiring a second interface of the screenshot operating.
在上述方案中,通过所述网页应用调用接收截屏操作的所述第一接口之前,所述显示单元还配置为通过所述网页应用获取所述桌面屏幕参数,根据所述桌面屏幕参数生成通知消息窗口;In the above solution, before the webpage application calls the first interface that receives the screen capture operation, the display unit is further configured to acquire the desktop screen parameter by using the webpage application, and generate a notification message according to the desktop screen parameter. window;
将所述第一接口显示于所述桌面屏幕中包括:Displaying the first interface in the desktop screen includes:
将所述第一接口以所述通知消息窗口的方式显示于所述桌面屏幕中。Displaying the first interface in the desktop screen in the manner of the notification message window.
在上述方案中,所述装置还包括:发送单元,In the above solution, the device further includes: a sending unit,
配置为将所述获取的当前桌面截图发送至所述网页应用。Configuring to send the obtained current desktop screenshot to the web application.
在上述方案中,所述装置还包括:共享单元,配置为:In the above solution, the device further includes: a sharing unit configured to:
通过所述网页应用接收到屏幕共享操作时生成屏幕共享请求;Generating a screen sharing request when the webpage application receives the screen sharing operation;
根据所述屏幕共享请求通过所述网页应用与所述屏幕共享请求对应的共享端建立共享连接;Establishing a shared connection by using the webpage application and the sharing end corresponding to the screen sharing request according to the screen sharing request;
通过所述第二接口获取桌面屏幕视频流;将所述桌面屏幕视频流发送至所述网页应用,通过所述网页应用将所述桌面屏幕视频流发送至所述共享连接。Acquiring a desktop screen video stream through the second interface; sending the desktop screen video stream to the webpage application, and sending, by the webpage application, the desktop screen video stream to the shared connection.
在上述方案中,所述截屏单元通过可获取屏幕截图的第二接口进行当前桌面截图的操作包括:In the above solution, the operation of the current desktop screenshot by the screen capture unit through the second interface that can obtain the screenshot includes:
将通过所述第二接口获取的桌面屏幕视频流进行截取得到截图图像,将所述截图图像作为当前桌面截图。The desktop screen video stream acquired through the second interface is truncated to a screenshot image, and the screenshot image is taken as a current desktop screenshot.
在上述方案中,所述第二接口为浏览器提供的获取桌面屏幕的接口。 In the above solution, the second interface is an interface provided by the browser for acquiring a desktop screen.
本发明实施例还提供了计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现以上描述的方法。Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the methods described above.
本发明实施例的一种屏幕截图的方法及装置,包括:在桌面屏幕中打开浏览器后,根据统一资源定位符URL地址访问网页应用,在浏览器中加载所述网页应用,所述网页应用运行于所述浏览器的界面中;将所述浏览器的界面最小化,由所述浏览器的屏幕切换回所述桌面屏幕,并通过所述网页应用调用可接收截屏操作的第一接口,将所述第一接口显示于所述桌面屏幕中;通过所述第一接口接收截屏操作并生成屏幕截图请求,根据所述屏幕截图请求发起获取当前桌面截图的操作;其中,通过可获取屏幕截图的第二接口进行当前桌面截图的操作。采用本发明实施例,运行在浏览器的上的网页应用在浏览器最小化之后,通过显示在桌面屏幕上的第一接口接收用户的截屏操作,在接收到用户的截屏操作时能够发起通过第二接口获取桌面截图的截屏操作,并通过第二接口获取当前桌面截图,能够解决浏览器最小化后通过网页应用无法进行屏幕截图的问题,使得用户直接无需安装专门的客户端应用,使用网页应用来进行运行网页应用的同时,对桌面屏幕的内容进行截图,大大提高了系统的使用便捷性。A method and a device for a screenshot according to an embodiment of the present invention include: after opening a browser in a desktop screen, accessing a webpage application according to a uniform resource locator URL address, loading the webpage application in a browser, the webpage application Running in an interface of the browser; minimizing an interface of the browser, switching back to the desktop screen by a screen of the browser, and calling a first interface that can receive a screen capture operation by using the webpage application, Displaying the first interface in the desktop screen; receiving a screen capture operation through the first interface and generating a screenshot request, and initiating an operation of acquiring a current desktop screenshot according to the screenshot request; wherein, the screenshot can be obtained through The second interface performs the operation of the current desktop screenshot. According to the embodiment of the present invention, after the browser is minimized, the webpage application running on the browser receives the screen capture operation of the user through the first interface displayed on the desktop screen, and can initiate the passage of the screen when receiving the screen capture operation of the user. The second interface obtains the screen capture operation of the desktop screenshot, and obtains the current desktop screenshot through the second interface, which can solve the problem that the browser cannot be screened through the web application after the browser is minimized, so that the user does not need to install a special client application directly, and uses the web application. At the same time as running the web application, the content of the desktop screen is screenshotd, which greatly improves the convenience of the system.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例一提供的屏幕截图的方法的流程示意图;1 is a schematic flowchart of a method for displaying a screenshot according to Embodiment 1 of the present invention;
图2为实现本发明实施例三提供的屏幕截图方法的系统结构示意图;2 is a schematic structural diagram of a system for implementing a screen capture method according to Embodiment 3 of the present invention;
图3为本发明实施例三提供的屏幕截图的方法的桌面屏幕示意图;3 is a schematic diagram of a desktop screen of a method for displaying a screenshot according to Embodiment 3 of the present invention;
图4为本发明实施例三提供的屏幕截图的方法的流程示意图;4 is a schematic flowchart of a method for displaying a screenshot according to Embodiment 3 of the present invention;
图5为实现本发明实施例四提供的屏幕截图方法的系统结构示意图;FIG. 5 is a schematic structural diagram of a system for implementing a screen capture method according to Embodiment 4 of the present invention; FIG.
图6为实现本发明实施例五提供的屏幕截图方法的系统结构示意图;FIG. 6 is a schematic structural diagram of a system for implementing a screen capture method according to Embodiment 5 of the present invention; FIG.
图7为实现本发明实施例六提供的屏幕截图方法的系统结构示意图;FIG. 7 is a schematic structural diagram of a system for implementing a screen capture method according to Embodiment 6 of the present invention; FIG.
图8为本发明实施例七提供的一种屏幕截图的装置的结构示意图;FIG. 8 is a schematic structural diagram of an apparatus for displaying a screenshot according to Embodiment 7 of the present invention; FIG.
图9为本发明实施例七提供的另一种屏幕截图的装置的结构示意图。 FIG. 9 is a schematic structural diagram of another apparatus for taking a screenshot according to Embodiment 7 of the present invention.
详述Detailed
下面结合附图对方案的实施作进一步的详细描述。The implementation of the solution will be further described in detail below with reference to the accompanying drawings.
实施例一Embodiment 1
本发明实施例一提供一种屏幕截图的方法,如图1所示,所述方法包括:A first embodiment of the present invention provides a method for displaying a screenshot. As shown in FIG. 1, the method includes:
S101、在桌面屏幕中打开浏览器后,根据统一资源定位符URL地址访问网页应用,在浏览器中加载所述网页应用,所述网页应用运行于所述浏览器的界面中。S101. After the browser is opened in the desktop screen, the webpage application is accessed according to the uniform resource locator URL address, and the webpage application is loaded in the browser, and the webpage application runs in the interface of the browser.
网页应用是一种使用web浏览器在互联网或企业内部网上操作的应用软件,也是一种以网页语言例如HTML、JavaScript、Java等编程语言撰写的应用程式,可以通过浏览器来执行。当用户访问某网页应用时,通过浏览器访问该网页应用的网页应用服务器提供的URL地址来访问网页应用,并加载网页应用对应的内容,在浏览器上的界面上运行加载的网页应用。这里,网页应用可包括图片编辑网页应用、视频会议网页应用、远程协作网页应用、在线教育网页应用等各种类型的网页应用。A web application is an application that uses a web browser to operate on the Internet or an intranet. It is also an application written in a web language such as HTML, JavaScript, Java, etc., and can be executed by a browser. When the user accesses a webpage application, the browser accesses the webpage application provided by the webpage application server of the webpage application to access the webpage application, loads the content corresponding to the webpage application, and runs the loaded webpage application on the interface on the browser. Here, the webpage application may include various types of webpage applications such as a photo editing webpage application, a video conferencing webpage application, a remote collaboration webpage application, an online education webpage application, and the like.
这里,以视频会议应用服务器为例,当用户访问视频会议网页应用时,终端接收用户打开浏览器的操作,打开浏览器后,通过浏览器连接到视频会议网页应用服务器访问视频会议应用。视频会议网页应用服务器提供视频会议网页应用服务,终端接收视频会议网页应用服务器提供的视频会议网页应用服务,在浏览器中加载视频会议网页应用,并在浏览器中运行视频会议网页应用。此时,在浏览器中呈现为视频会议服务网页应用。Here, taking the video conference application server as an example, when the user accesses the video conference webpage application, the terminal receives the operation of opening the browser by the user, opens the browser, and connects to the video conference webpage application server to access the video conference application through the browser. The video conference webpage application server provides a video conference webpage application service, the terminal receives the video conference webpage application service provided by the video conference webpage application server, loads the video conference webpage application in the browser, and runs the video conference webpage application in the browser. At this time, it is presented as a video conference service webpage application in the browser.
S102、将所述浏览器的界面最小化,由所述浏览器的界面切换至所述桌面屏幕,并通过所述网页应用调用可接收截屏操作的第一接口,将所述第一接口显示于所述桌面屏幕中。S102. Minimize an interface of the browser, switch from the interface of the browser to the desktop screen, and invoke a first interface that can receive a screen capture operation by using the webpage application, and display the first interface on the first interface. In the desktop screen.
当浏览器的界面最小化时,终端的屏幕由浏览器的界面切换至桌面屏幕,这里,桌面屏幕为浏览器最小化之后的屏幕,桌面屏幕上可显示任何非浏览器的应用程序。比如,当终端在运行并打开浏览器的界面时,终端的显示屏幕上显示的为浏览器的界面,但此时在终端的后台上还同时运行有电子 邮箱、word等应用程序,当将浏览器的界面最小化之后,此时桌面屏幕上显示电子邮箱的界面或word的界面,当电子邮箱的界面和word的界面都不显示时,显示桌面界面。这里,浏览器界面最小化之后的桌面屏幕的显示可以采用本领域已知的技术,这里不再赘述。When the interface of the browser is minimized, the screen of the terminal is switched from the interface of the browser to the desktop screen, where the desktop screen is the screen after the browser is minimized, and any non-browser application can be displayed on the desktop screen. For example, when the terminal is running and opening the interface of the browser, the display screen of the terminal displays the interface of the browser, but at this time, the electronic device is also running on the background of the terminal. For applications such as mailboxes and words, when the interface of the browser is minimized, the interface of the email or the interface of the word is displayed on the desktop screen. When the interface of the email and the interface of the word are not displayed, the desktop interface is displayed. Here, the display of the desktop screen after the browser interface is minimized may adopt a technique known in the art, and details are not described herein again.
在本发明实施例中,当浏览器最小化时,通过网页应用调用浏览器的第一接口,其中,浏览器通过第一接口接收用户针对网页应用的截屏操作,此时,将第一接口显示于桌面屏幕中。In the embodiment of the present invention, when the browser is minimized, the first interface of the browser is invoked by the webpage application, wherein the browser receives the screen capture operation of the user for the webpage application through the first interface, and at this time, the first interface is displayed. In the desktop screen.
这里,在通过所述网页应用调用可接收截屏操作的所述第一接口之前,通过所述网页应用获取所述桌面屏幕参数,根据所述桌面屏幕参数生成通知消息窗口;Here, before the first interface that can receive the screen capture operation is invoked by the webpage application, the desktop screen parameter is acquired by the webpage application, and a notification message window is generated according to the desktop screen parameter;
将所述第一接口显示于所述桌面屏幕中包括:将所述第一接口以所述通知消息窗口的方式显示于所述桌面屏幕中。Displaying the first interface in the desktop screen includes: displaying the first interface in the desktop screen in the manner of the notification message window.
其中,获取的桌面屏幕参数包括通知消息窗口的大小、通知消息窗口在桌面屏幕中的显示的位置、通知消息窗口的颜色、通知消息窗口显示的文字内容等控制通知消息窗口的显示的参数。这里,通知消息窗口可包括多个小窗口,当获取到桌面屏幕控制参数后,根据桌面控制参数生成通知消息窗口,以通过该通知消息窗口接收用户对第一接口的截屏操作。其中,生成的通知消息窗口可包括多个小窗口,每个小窗口实现屏幕截图相关的不同的功能:比如:接收截图、确认截图、删除截图等功能,也可包括全屏截图、自动截图、部分截图等截图功能,从而为用户提供不同的功能,使得用户可根据自己的需求进行不同类型的截屏操作,触发不同的屏幕截图的相关功能。这里,通知消息窗口可以控件、悬浮窗等形式显示,这里不做限制。The obtained desktop screen parameters include a size of the notification message window, a position of the notification message window displayed in the desktop screen, a color of the notification message window, a text content displayed by the notification message window, and the like, and a parameter for controlling display of the notification message window. Here, the notification message window may include a plurality of small windows. After acquiring the desktop screen control parameters, the notification message window is generated according to the desktop control parameter, to receive the user's screen capture operation on the first interface through the notification message window. The generated notification message window may include multiple small windows, each of which implements different functions related to the screenshot: for example, receiving a screenshot, confirming a screenshot, deleting a screenshot, etc., and may also include a full screen screenshot, an automatic screenshot, and a portion. Screenshots and other screenshot functions provide users with different functions, allowing users to perform different types of screen capture operations according to their needs, triggering related functions of different screenshots. Here, the notification message window can be displayed in the form of a control, a floating window, etc., and no limitation is made here.
这里,在显示通知消息窗口时,可在以文字的形式在该窗口中配置第一接口的功能说明,比如:在该窗口上显示“截屏”的说明。Here, when the notification message window is displayed, the function description of the first interface may be configured in the window in the form of text, for example, a description of "screen capture" is displayed on the window.
在本发明实施例中,浏览器最小化的顺序和获取桌面屏幕参数的顺序不进行限制,可在浏览器最小化之前通过网页应用获取桌面屏幕参数。例如:当通过浏览器访问网页应用时,加载网页应用时的同时获取桌面屏幕参数,在浏览器上运行网页应用时生成通知消息窗口。此时,可进行显示也可不显示,在浏览器最小化的情况下,通过网页应用调用第一接口时,通过通知消 息窗口的显示将第一接口显示在桌面屏幕上。也可在浏览器最小化之后通过网页应用获取桌面屏幕参数,并根据获取的桌面屏幕参数生成通知消息窗口。在通过网页应用调用第一接口时,通过通知消息窗口的显示将第一接口显示在桌面屏幕上。当然,也可在浏览器最小化的同时获取桌面屏幕参数,根据桌面屏幕参数生成通知消息窗口,在通过网页应用调用第一接口时,通过通知消息窗口的显示将第一接口显示在桌面屏幕上。In the embodiment of the present invention, the order of minimizing the browser and the order of obtaining the parameters of the desktop screen are not limited, and the desktop screen parameters may be acquired by the webpage application before the browser is minimized. For example, when the web application is accessed through a browser, the desktop screen parameter is acquired while the web application is being loaded, and a notification message window is generated when the web application is run on the browser. At this time, the display may or may not be displayed, and when the browser is minimized, when the first interface is invoked by the web application, the notification is cancelled. The display of the info window displays the first interface on the desktop screen. The desktop screen parameters may also be obtained through the web application after the browser is minimized, and a notification message window is generated according to the acquired desktop screen parameters. When the first interface is invoked by the web application, the first interface is displayed on the desktop screen by the display of the notification message window. Of course, the desktop screen parameter can also be obtained while the browser is minimized, and the notification message window is generated according to the desktop screen parameter. When the first interface is invoked by the web application, the first interface is displayed on the desktop screen by the display of the notification message window. .
S103、通过所述第一接口接收截屏操作并生成屏幕截图请求,根据所述屏幕截图请求发起获取当前桌面截图的操作;其中,通过可获取屏幕截图的第二接口进行当前桌面截图的操作。S103: Receive a screen capture operation by using the first interface, and generate a screenshot request, and initiate an operation of acquiring a current desktop screenshot according to the screenshot request; wherein the current desktop screenshot operation is performed by using the second interface that can obtain the screenshot.
例如,当终端接收到用户的截屏操作时,截屏操作为通过通知消息窗口接收的用户操作,即,通过第一接口接收到截屏操作,此时,终端根据接收的截屏操作生成屏幕截图请求。此时,基于屏幕截屏请求的触发,通过浏览器的第二接口获取当前桌面截图;其中,第二接口为浏览器提供的获取桌面屏幕的接口。这里,获取到的当前桌面截图可为完整的桌面屏幕截图或部分桌面屏幕截图或根据当前的桌面的显示界面确定桌面截图的大小和内容。获取的桌面屏幕的大小和内容可根据接收的用户操作的具体要求确定。For example, when the terminal receives the screen capture operation of the user, the screen capture operation is a user operation received through the notification message window, that is, the screen capture operation is received through the first interface, and at this time, the terminal generates a screenshot request according to the received screen capture operation. At this time, based on the trigger of the screen capture request, the current desktop screenshot is obtained through the second interface of the browser; wherein the second interface is an interface provided by the browser to obtain the desktop screen. Here, the obtained current desktop screenshot may be a complete desktop screenshot or a partial desktop screenshot or the size and content of the desktop screenshot according to the current desktop display interface. The size and content of the acquired desktop screen can be determined according to the specific requirements of the received user operation.
本发明实施例提供的屏幕截图的方法还包括:将所述获取的当前桌面截图发送至所述网页应用,在所述网页应用中进行显示。The method for the screenshot provided by the embodiment of the present invention further includes: sending the acquired current desktop screenshot to the webpage application, and displaying the webpage application in the webpage application.
当通过浏览器的第二接口获取当前桌面截图后,通过浏览器将获取的当前桌面截图发送至网页应用,此时,可切换回浏览器的界面,显示触发截图操作的网页应用,将当前桌面截图发送至网页应用后,可直接显示在浏览器上,也可以发送至与终端连接的服务器或其他设备。此时,基于浏览器上访问的是网页应用,即,将当前桌面截图显示在网页应用中;或进行提示,询问用户是否将当前的桌面截图显示在网页应用中,当接收到用户的显示指示时,将当前桌面截图显示在网页应用中。当将当前桌面截图显示在网页应用中时,可供用户进行各种操作,比如,将当前桌面截图作为电子白板的背景,供用户在电子白板中对屏幕截图进行操作。After obtaining the current desktop screenshot through the second interface of the browser, the current desktop screenshot obtained by the browser is sent to the web application, and at this time, the interface of the browser can be switched back to display the webpage application that triggers the screenshot operation, and the current desktop is displayed. After the screenshot is sent to the web application, it can be displayed directly on the browser or sent to the server or other device connected to the terminal. At this time, based on the browser, the web application is accessed, that is, the current desktop screenshot is displayed in the web application; or a prompt is given to ask the user whether to display the current desktop screenshot in the web application, when receiving the user's display indication. The current desktop screenshot is displayed in the web application. When the current desktop screenshot is displayed in the web application, the user can perform various operations, for example, using the current desktop screenshot as the background of the electronic whiteboard for the user to operate the screenshot in the electronic whiteboard.
这里,在获取当前桌面截图后,可将获取的桌面截图发送至网页应用服务器,以在网页应用服务器中进行保存,使得访问该网页应用服务器的设备 都可获得该当前桌面截图。Here, after obtaining the current desktop screenshot, the obtained desktop screenshot may be sent to the web application server to be saved in the web application server, so that the device accessing the web application server is accessed. You can get the current desktop screenshot.
在本发明实施例提供的屏幕截图的方法还包括:通过所述网页应用接收到屏幕共享操作时生成屏幕共享请求;根据所述屏幕共享请求通过所述网页应用与所述屏幕共享请求对应的共享端建立共享连接;通过所述第二接口获取桌面屏幕视频流;将所述桌面屏幕视频流发送至所述网页应用,通过所述网页应用将所述桌面屏幕视频流发送至所述共享连接。The method of the screen shot provided by the embodiment of the present invention further includes: generating a screen sharing request when the webpage application receives the screen sharing operation; and sharing the webpage application with the screen sharing request according to the screen sharing request according to the screen sharing request Establishing a shared connection; acquiring a desktop screen video stream by using the second interface; sending the desktop screen video stream to the webpage application, and sending, by the webpage application, the desktop screen video stream to the shared connection.
此时,该网页应用为具有多终端共享屏幕的网页应用,比如:视频会议应用、远程协作网页应用等。当终端A在终端A上的浏览器运行网页应用时,在网页应用上进行屏幕共享操作,终端A通过网页应用接收到终端A的操作者用户A的屏幕共享操作,根据屏幕共享操作生成共享请求,通过该网页应用与另一终端B上的网页应用建立共享连接,将终端A的桌面显示在终端B的网页应用中。此时,终端A通过浏览器的第二接口获取当前桌面屏幕的桌面屏幕视频流,将获取的桌面屏幕视频流发送至网页应用,以视频流的方式通过网页应用将终端A的桌面屏幕发送至终端B上。终端B通过终端B上的浏览器接收视频流后,通过网页应用将接收的视频流进行显示,将终端A的桌面在终端B上进行呈现。此时,终端B上的网页应用上即浏览器上呈现的内容为终端A的当前桌面屏幕的内容。当终端A的当前桌面屏幕显示浏览器时,终端B的网页应用中显示浏览器,当终端A的当前桌面屏幕显示文档时,终端B的网页应用中显示文档,终端B的网页应用中的显示内容与终端A的桌面屏幕显示的内容同步,并同时显示用户A对桌面屏幕的操作。At this time, the webpage application is a webpage application having a multi-terminal shared screen, such as a video conferencing application, a remote collaborative webpage application, and the like. When the browser of the terminal A runs the webpage application on the terminal A, the screen sharing operation is performed on the webpage application, and the terminal A receives the screen sharing operation of the operator user A of the terminal A through the webpage application, and generates a sharing request according to the screen sharing operation. The webpage application is used to establish a shared connection with the webpage application on the other terminal B, and the desktop of the terminal A is displayed in the webpage application of the terminal B. At this time, the terminal A obtains the desktop screen video stream of the current desktop screen through the second interface of the browser, and sends the obtained desktop screen video stream to the webpage application, and sends the desktop screen of the terminal A to the webpage application by using the webpage application. On terminal B. After receiving the video stream through the browser on the terminal B, the terminal B displays the received video stream through the web application, and presents the desktop of the terminal A on the terminal B. At this time, the content presented on the webpage application on the terminal B, that is, the content presented on the browser is the content of the current desktop screen of the terminal A. When the current desktop screen of the terminal A displays the browser, the browser is displayed in the webpage application of the terminal B. When the current desktop screen of the terminal A displays the document, the webpage application of the terminal B displays the document, and the display of the webpage application of the terminal B The content is synchronized with the content displayed on the desktop screen of the terminal A, and simultaneously displays the operation of the user A on the desktop screen.
此时,通过可获取屏幕截图的第二接口进行当前桌面截图的操作包括:将通过所述第二接口获取的桌面视频流进行截取得到截图图像,将所述截图图像作为当前桌面截图。At this time, the operation of the current desktop screenshot by the second interface that can obtain the screenshot includes: intercepting the desktop video stream acquired through the second interface to obtain a screenshot image, and using the screenshot image as the current desktop screenshot.
当终端A通过网页应用将终端A的桌面屏幕共享给终端B时,在浏览器被最小化的情况下,终端A通过以通知消息窗口进行显示的第一接口接收到用户A的截屏操作。此时,正处于通过第二接口获取桌面屏幕视频流,并将终端A的桌面屏幕视频流通过网页应用发送至终端B,与终端B共享终端A的桌面屏幕的状态。此时,根据截屏操作生成屏幕截图请求,在屏 幕截图请求触发下,对浏览器最小化的界面最小化的桌面屏幕视频流进行截图,截取接收到屏幕操作对应时刻的截图图像,将截取的截图图像作为当前桌面截图。这里,通过共享终端A本身屏幕桌面的浏览器的情况下,在浏览器最小化时,通过显示的通知消息窗口接收用户A的截屏操作,并通过浏览器的第二接口获取当前桌面的截图,实现屏幕截图。When the terminal A shares the desktop screen of the terminal A to the terminal B through the webpage application, in a case where the browser is minimized, the terminal A receives the screen capture operation of the user A through the first interface displayed by the notification message window. At this time, the desktop screen video stream is being acquired through the second interface, and the desktop screen video stream of the terminal A is sent to the terminal B through the webpage application, and the state of the desktop screen of the terminal A is shared with the terminal B. At this point, generate a screenshot request based on the screen capture operation, on the screen Under the trigger of the screenshot request, the screenshot of the desktop screen video stream minimized by the browser minimized interface is intercepted, and the screenshot image of the corresponding moment of the screen operation is intercepted, and the intercepted screenshot image is taken as the current desktop screenshot. Here, in the case of sharing the browser of the screen desktop of the terminal A itself, when the browser is minimized, the screen capture operation of the user A is received through the displayed notification message window, and the screenshot of the current desktop is acquired through the second interface of the browser. Implement a screenshot.
在共享过程中,作为接收共享屏幕的终端B也可在浏览器最小化时,调用第一接口将第一接口进行显示。这里,也可以通知消息窗口的形式进行显示,以通过显示的第一接口接收用户的截屏操作,当接收到截屏操作时,通过浏览器提供的第二接口获取当前桌面截图。In the sharing process, the terminal B as the receiving shared screen can also call the first interface to display the first interface when the browser is minimized. Here, the form of the message window may also be notified for receiving the screen capture operation of the user through the displayed first interface, and when the screen capture operation is received, the current desktop screenshot is acquired by the second interface provided by the browser.
在实际应用中,当终端A获取当前桌面截图时,将获取的当前桌面截图发送至终端A本身的网页应用,并通过终端A的网页应用与终端B的网页应用之间的共享连接发送至终端B的浏览器,在终端B上的网页应用进行显示。In the actual application, when the terminal A obtains the current desktop screenshot, the current desktop screenshot obtained is sent to the web application of the terminal A itself, and is sent to the terminal through the shared connection between the web application of the terminal A and the web application of the terminal B. B's browser is displayed on the web application on terminal B.
在本发明实施例中,将网页应用所运行的浏览器的第一接口在浏览器最小化时,显示在桌面屏幕上,并通过第一接口接收用户的截屏操作。当接收到用户的截屏操作时,通过浏览器的第二接口获取当前桌面屏幕截图,从而实现网页应用的浏览器最小化情况下的非浏览器界面的截图。In the embodiment of the present invention, when the first interface of the browser running by the webpage application is minimized by the browser, the first interface of the browser is displayed on the desktop screen, and the screen capture operation of the user is received through the first interface. When the user's screen capture operation is received, the current desktop screenshot is obtained through the second interface of the browser, thereby implementing a screenshot of the non-browser interface in the case where the browser of the web application is minimized.
另外,当在共享桌面的场景下,在浏览器最小化的情况下,通过在桌面屏幕上显示的第一接口接收用户的截屏操作。当接收到截屏操作时,通过第二接口获取浏览器最小化状态下的当前桌面截图,并能够发送给网页应用,通过网页应用在多个共享端之间发送当前桌面截图。In addition, when in the scenario of sharing a desktop, in the case where the browser is minimized, the user's screen capture operation is received through the first interface displayed on the desktop screen. When the screen capture operation is received, the current desktop screenshot in the minimized state of the browser is obtained through the second interface, and can be sent to the web application, and the current desktop screenshot is sent between the plurality of shared ends through the web application.
实施例二Embodiment 2
本发明实施例二中,以终端加载的网页应用为图片编辑网页应用为具体的应用场景对本发明实施例提供的屏幕截图的方法进行说明,例如:In the second embodiment of the present invention, a method for displaying a screenshot provided by an embodiment of the present invention is described by using a webpage application loaded by a terminal as a photo editing webpage application as a specific application scenario, for example:
用户使用浏览器通过访问图片编辑网页应用服务器提供的统一资源定位符URL地址来访问图片编辑网页应用中提供的图片编辑功能。同时,该浏览器具备获取桌面屏幕的能力。 The user accesses the photo editing function provided in the photo editing webpage application by using the browser to access the uniform resource locator URL address provided by the photo editing webpage application server. At the same time, the browser has the ability to capture desktop screens.
用户在浏览器中访问图片编辑网页应用,当浏览器被最小化时,在任务栏只显示一个浏览器图标。终端提供桌面屏幕使得用户可根据屏幕内容自行操作桌面上的处浏览器以外的其它应用。此时,在桌面屏幕上以通知消息窗口的形式显示第一接口,该窗口上显示有桌面通知消息,以表明通过该通知消息窗口可接收用户的截屏操作。当用户通过网页应用来触发屏幕截屏操作时,点击图片编辑网页应用在屏幕上显示的图片编辑网页应用的桌面通知消息,来触发屏幕截屏操作。这里,该编辑图片网页应用的通知消息窗口位于桌面右下角的任务栏中。因此当进行屏幕截屏时,所截取的是用户正在进行的当前桌面屏幕上的操作,而不会因为需要通过浏览器返回到图片编辑网页应用中,使得所截取的桌面截图的内容是浏览器中的图片编辑网页应用的内容。The user accesses the photo editing web application in the browser, and when the browser is minimized, only one browser icon is displayed in the task bar. The terminal provides a desktop screen that allows the user to manipulate other applications on the desktop than the browser on the desktop. At this time, the first interface is displayed on the desktop screen in the form of a notification message window, and a desktop notification message is displayed on the window to indicate that the user's screen capture operation can be received through the notification message window. When the user triggers the screen capture operation through the webpage application, clicking the photo editing webpage application to display the desktop notification message of the photo editing webpage application displayed on the screen triggers the screen capture operation. Here, the notification message window of the edit picture webpage application is located in the task bar in the lower right corner of the desktop. Therefore, when the screen capture is performed, what is intercepted is the operation on the current desktop screen that the user is performing, and the content of the intercepted desktop screenshot is not in the browser because the browser needs to return to the image editing web application through the browser. The content of the photo editing web application.
实施例三Embodiment 3
本发明实施例三中,以进行桌面共享为具体的应用场景对本发明实施例提供的屏幕截图的方法进行说明。In the third embodiment of the present invention, a method for performing a screen shot provided by an embodiment of the present invention is described in a specific application scenario.
实现该屏幕截图的方法的系统架构如图2所示:The system architecture for the method of implementing this screenshot is shown in Figure 2:
网页应用服务器配置为提供包含屏幕共享和屏幕截图功能的网页应用服务。The web application server is configured to provide a web application service that includes screen sharing and screenshot capabilities.
桌面是打开终端并登录到操作系统之后看到的主屏幕区域。The desktop is the main screen area that you see when you open the terminal and log in to the operating system.
浏览器是可以显示网页服务器或者文件系统的超文本标记语言HTML内容,并让用户与这些文件交互的一种应用软件。A browser is an application that can display the hypertext markup language HTML content of a web server or file system and allow users to interact with these files.
用户使用浏览器通过访问网页应用服务器提供的统一资源定位符URL地址来访问网页应用中提供的屏幕共享和屏幕截图功能。同时,该浏览器具备获取计算机桌面屏幕的能力。The user uses the browser to access the screen sharing and screenshot functions provided in the web application by accessing the uniform resource locator URL address provided by the web application server. At the same time, the browser has the ability to get a desktop screen of a computer.
本发明实施例在网页应用中进行屏幕共享后的桌面屏幕如图3所示:The desktop screen after screen sharing in the web application in the embodiment of the present invention is as shown in FIG. 3:
用户在浏览器中访问网页应用,并触发屏幕共享的操作后,在桌面上浏览器被最小化后,在任务栏只显示一个浏览器图标。用户可根据共享的屏幕内容自行操作桌面上的其它应用,将操作过程发送给正在访问该网页应用的其它人。这里,桌面上可同时显示浏览器之外的其它应用。此时若通过网页 应用来触发屏幕截屏操作,可以点击网页应用在屏幕共享操作前弹出的网页应用桌面通知消息,来触发屏幕截屏操作。这里,该桌面通知消息为桌面屏幕上显示的通知消息窗口显示的内容,其中,第一接口以桌面通知消息的形式显示。该网页应用桌面通知消息位于桌面右下角的任务栏中,因此屏幕截屏时,所截取的是用户正在进行的当前桌面上的操作,而不会因为用户通过浏览器返回到网页应用中,使得所截取的屏幕是浏览器中的网页应用操作。After the user accesses the web application in the browser and triggers the screen sharing operation, after the browser is minimized on the desktop, only one browser icon is displayed in the task bar. The user can self-operate other applications on the desktop according to the shared screen content, and send the operation process to other people who are visiting the web application. Here, other applications outside the browser can be displayed on the desktop at the same time. If you pass the webpage The application triggers the screen capture operation, and the webpage application desktop notification message popped up before the screen sharing operation is clicked to trigger the screen capture operation. Here, the desktop notification message is content displayed by the notification message window displayed on the desktop screen, wherein the first interface is displayed in the form of a desktop notification message. The webpage application desktop notification message is located in the task bar in the lower right corner of the desktop. Therefore, when the screen is screened, the user intercepts the current desktop operation, and the user does not return to the webpage application through the browser. The intercepted screen is the web application operation in the browser.
在本实施例中,基于桌面屏幕参数将桌面消息窗口以图标的形式显示在任务栏中为例对通知消息窗口进行说明,在实际应用中,并不进行限制,桌面屏幕参数可根据用户的需求设置通知消息窗口的位置。In this embodiment, the desktop message window is displayed in the form of an icon in the task bar based on the desktop screen parameter. The notification message window is described as an example. In the actual application, the limitation is not limited, and the desktop screen parameter may be according to the user's needs. Set the location of the notification message window.
如图4所示,在网页应用中进行屏幕截图的方法包括:As shown in FIG. 4, the method for performing a screenshot in a web application includes:
S401,终端接收屏幕共享请求;S401. The terminal receives a screen sharing request.
用户通过浏览器访问网页应用,在网页应用中发起屏幕共享请求。The user accesses the web application through the browser and initiates a screen sharing request in the web application.
S402,终端进行屏幕共享;S402. The terminal performs screen sharing.
此时,通过网页应用调用浏览器的获取桌面屏幕的接口,获取当前桌面屏幕,并调用接收用户操作的第一接口,将第一窗口进行显示,弹出可触发屏幕截图的桌面通知窗口。此时,将浏览器最小化,显示的界面由浏览器的界面切换到桌面屏幕。At this time, the webpage application invokes the interface of the browser to obtain the desktop screen, acquires the current desktop screen, and invokes the first interface that receives the user operation, displays the first window, and pops up a desktop notification window that can trigger the screenshot. At this point, the browser is minimized and the displayed interface is switched from the browser's interface to the desktop screen.
S403,终端接收截屏操作;S403. The terminal receives a screen capture operation.
此时,用户可以在桌面上进行其它应用的操作,当进行屏幕截图时,点击之前网页应用弹出的桌面通知窗口,进行截屏操作,终端通过桌面通知窗口接收到截屏操作,根据截屏操作生成屏幕截图请求,并将屏幕截图请求发送至网页应用。At this point, the user can perform other application operations on the desktop. When the screenshot is taken, the desktop notification window popped up by the previous web application is clicked to perform a screen capture operation, and the terminal receives the screen capture operation through the desktop notification window, and generates a screenshot according to the screen capture operation. Request and send a screenshot request to the web app.
S404,终端获取当前桌面截图。S404. The terminal acquires a screenshot of the current desktop.
当网页应用接收到屏幕截图请求后,对用户目前正在桌面屏幕共享的内容进行截图。这里,可通过浏览器提供的获取桌面屏幕的第二接口进行截图,获取当前桌面截图。When the web application receives the screenshot request, it takes a screenshot of the content that the user is currently sharing on the desktop screen. Here, the second interface of the desktop screen provided by the browser can be used to take a screenshot to obtain the current desktop screenshot.
实施例四Embodiment 4
在本实施例中,以在视频会议屏幕共享的过程中进行屏幕截图为具体的 应用场景对发明实施例提供的屏幕截图方法进行说明。In this embodiment, the screenshot is taken as a specific process in the process of sharing the video conference screen. The application scenario describes a screenshot method provided by the embodiment of the invention.
实现该屏幕截图方法的系统架构如图5所示:The system architecture that implements this screenshot method is shown in Figure 5:
浏览器,用户通过浏览器访问视频会议网页应用服务器和媒体服务器,使用视频会议网页应用。In the browser, the user accesses the video conference web application server and the media server through the browser, and uses the video conference web application.
视频会议网页应用服务器,提供视频会议网页应用服务,用户通过浏览器访问,在浏览器中呈现为视频会议网页应用。The video conference web application server provides a video conference webpage application service, and the user accesses through the browser and presents the video conference webpage application in the browser.
媒体服务器,配置为接收和发送视频会议的音视频媒体流,并作相应的媒体处理,包括合成,媒体格式转换等。The media server is configured to receive and send audio and video media streams of the video conference, and perform corresponding media processing, including synthesis, media format conversion, and the like.
在视频会议屏幕共享的过程中进行屏幕截图的过程如下:The process of taking a screenshot during the sharing of a video conference screen is as follows:
步骤1,用户A和用户B通过浏览器访问视频会议网页应用服务器,在视频会议网页应用中加入同一个视频会议中,进行视频会议。Step 1: User A and User B access the video conference web application server through the browser, and join the same video conference in the video conference web application to perform video conference.
步骤2,用户A在视频会议网页应用中发起屏幕共享请求。In step 2, user A initiates a screen sharing request in the video conference web application.
步骤3,视频会议网页应用调用浏览器提供的获取桌面屏幕的接口,获取用户A的桌面屏幕,并将用户A的桌面屏幕上操作的视频流发送给媒体服务器。用户B通过浏览器访问媒体服务器,播放用户A共享的桌面屏幕视频流。Step 3: The video conference webpage application invokes an interface for obtaining a desktop screen provided by the browser, acquires a desktop screen of the user A, and sends the video stream operated on the desktop screen of the user A to the media server. User B accesses the media server through the browser and plays the desktop screen video stream shared by user A.
同时,由于用户A的浏览器中的网页应用调用了浏览器提供的获取桌面屏幕的接口,用户A的浏览器窗口被最小化,屏幕被切回到用户A共享的桌面。为了使用户A在桌面共享的过程中,不切回浏览器进行屏幕截图,视频会议网页应用在调用浏览器提供的获取桌面屏幕的接口的同时,调用桌面通知消息接口,弹出桌面通知消息,在该桌面通知消息的内容包括了可触发屏幕截图的操作。Meanwhile, since the web application in the browser of the user A invokes the interface provided by the browser to acquire the desktop screen, the browser window of the user A is minimized, and the screen is cut back to the desktop shared by the user A. In order to enable user A to return to the browser for screenshots during the desktop sharing process, the video conference web application invokes the desktop notification message interface and pops up the desktop notification message while calling the interface provided by the browser to obtain the desktop screen. The content of the desktop notification message includes an action that can trigger a screenshot.
步骤4,用户A在进行桌面共享的过程中,点击桌面通知消息中的屏幕截图操作,发送屏幕截图请求。Step 4: During the process of desktop sharing, user A clicks on the screenshot operation in the desktop notification message to send a screenshot request.
步骤5,视频会议网页应用接收到屏幕截图请求后,将当前用户A共享的桌面视频流进行截图,并上传到视频会议网页应用服务器中,在视频会议网页应用中显示。另外,视频会议网页应用可将屏幕截图作为电子白板的背景,供参会者用户A和用户B等在电子白板中对屏幕截图进行操作。 Step 5: After receiving the screenshot request, the video conference webpage application takes a screenshot of the desktop video stream shared by the current user A, and uploads it to the video conference webpage application server for display in the video conference webpage application. In addition, the video conference web application can use the screenshot as the background of the electronic whiteboard, and the participant user A and user B can operate the screenshot in the electronic whiteboard.
例如,在Chrome浏览器中实现屏幕共享和截图的Chrome扩展程序的实现过程如下:For example, the implementation of the Chrome extension for screen sharing and screenshots in the Chrome browser is as follows:
在Chrome浏览器运行时通过外部消息事件(比如:onMessageExternal事件)中增加监听,当监听到该事件的请求消息为获取视频流(比如:getStream)时,调用Chrome浏览器提供的屏幕捕获方法,获取用户当前屏幕的视频流,When the Chrome browser is running, the listener is added by an external message event (for example, the onMessageExternal event). When the request message for the event is received to obtain a video stream (for example, getStream), the screen capture method provided by the Chrome browser is called to obtain The video stream of the user's current screen,
在屏幕捕获方法中,通过发送响应的方法(比如:sendResponse)将用户当前屏幕视频流编号streamId发送给请求调用该扩展程序的网页代码,做进一步的发送视频流给媒体服务器等处理。In the screen capture method, the user's current screen video stream number streamId is sent to the webpage code requesting the extension by sending a response method (eg, sendResponse), and further processing is performed to send the video stream to the media server.
紧接着创建桌面通知消息对象(比如:window.Notification),弹出屏幕共享桌面通知消息,同时在该桌面通知消息的鼠标单击onclick的事件中注册通知网页应用进行屏幕截图的操作。即当用户点击该桌面通知消息时,通过提交消息postMessage方法向网页应用发送屏幕截图的请求。Then, a desktop notification message object (for example, window.Notification) is created, a screen sharing desktop notification message is popped up, and a notification webpage application is performed to perform a screenshot in the event of a mouse click onclick of the desktop notification message. That is, when the user clicks on the desktop notification message, a request for sending a screenshot is sent to the web application by submitting the message postMessage method.
实施例五Embodiment 5
在本实施例中,以在远程协助屏幕共享的过程中进行屏幕截图为具体场景对发明实施例提供的屏幕截图的方法进行描述。In this embodiment, a method of performing a screenshot in the process of remote assistance screen sharing to describe a screenshot provided by the embodiment of the invention for a specific scenario is described.
实现该屏幕截图的方法系统架构如图6所示,:The system architecture for implementing this screenshot is shown in Figure 6,
浏览器A,用户A通过浏览器A访问远程协助网页应用服务器,使用远程协作网页应用。Browser A, User A accesses the Remote Assistance web application server through browser A, using a remote collaborative web application.
浏览器B,用户B通过浏览器B访问远程协助网页应用服务器,使用远程协作网页应用。浏览器A与浏览器B可以直接进行音视频媒体流的发送和接收。Browser B, user B accesses the remote assistance web application server through browser B, and uses the remote collaborative web application. Browser A and browser B can directly transmit and receive audio and video media streams.
远程协助网页应用服务器,提供远程协助网页应用服务,用户通过浏览器访问,在浏览器中呈现为远程协助网页应用。The remote assistance web application server provides a remote assistance web application service, which is accessed by the user through a browser and presented as a remote assistance web application in the browser.
在远程协助屏幕共享的过程中进行屏幕截图的过程如下:The process of taking a screenshot during Remote Assistance screen sharing is as follows:
步骤1,用户A和用户B分别通过浏览器A和浏览器B访问远程协助网页应用服务器,在远程协助网页应用中,进行视频通讯。Step 1: User A and User B access the remote assistance web application server through browser A and browser B, respectively, and perform video communication in the remote assistance web application.
步骤2,用户A在浏览器A打开的远程协助网页应用中发起屏幕共享请 求。Step 2: User A initiates screen sharing in the remote assistance web application opened by browser A. begging.
步骤3,远程协助网页应用调用浏览器提供的获取桌面屏幕的接口,获取用户A的桌面屏幕,并将用户A的桌面屏幕上操作的视频流发送给用户B的浏览器B,在浏览器B打开的远程协助网页应用中播放接收到的用户A共享的桌面屏幕视频流。Step 3: The remote assistance webpage application invokes an interface provided by the browser to obtain a desktop screen, acquires the desktop screen of the user A, and sends the video stream operated on the desktop screen of the user A to the browser B of the user B, in the browser B. The open remote assistance web application plays the received desktop screen video stream shared by user A.
同时,由于用户A的浏览器中的网页应用调用了浏览器提供的获取桌面屏幕的接口,用户A的浏览器窗口被最小化,屏幕被切回到用户A共享的桌面。为了使用户A在桌面共享的过程中,不切回浏览器进行屏幕截图,远程协助网页应用在调用浏览器提供的获取桌面屏幕的接口的同时,调用桌面通知消息接口,弹出桌面通知消息,在该桌面通知消息的内容包括了可触发屏幕截图的操作。Meanwhile, since the web application in the browser of the user A invokes the interface provided by the browser to acquire the desktop screen, the browser window of the user A is minimized, and the screen is cut back to the desktop shared by the user A. In order to enable user A to return to the browser for screenshots during the desktop sharing process, the remote assistance web application invokes the desktop notification message interface and pops up the desktop notification message while calling the interface provided by the browser to obtain the desktop screen. The content of the desktop notification message includes an action that can trigger a screenshot.
步骤4,用户A在进行桌面共享的过程中,点击桌面通知消息中的屏幕截图操作,发送屏幕截图请求。Step 4: During the process of desktop sharing, user A clicks on the screenshot operation in the desktop notification message to send a screenshot request.
步骤5,远程协助网页应用接收到屏幕截图请求后,将当前用户A共享的桌面视频流进行截图,并在浏览器A的远程协肋网页应用中显示。另外,远程协助网页应用可将屏幕截图发送给浏览器B或者上传到远程协助网页应用服务器上进行显示、保存、电子白板共享等相关处理。Step 5: After receiving the screenshot request, the remote assistance webpage application takes a screenshot of the desktop video stream shared by the current user A, and displays it in the remote collaborative webpage application of browser A. In addition, the remote assistance web application can send the screenshot to the browser B or upload to the remote assistance web application server for display, storage, electronic whiteboard sharing and the like.
实施例六Embodiment 6
在本发明实施例中,以在在线教育屏幕共享的过程中进行屏幕截图为具体的应用场景对本发明实施例提供的屏幕截图方法进行描述。In the embodiment of the present invention, a screenshot method provided by an embodiment of the present invention is described by taking a screenshot in the process of online education screen sharing for a specific application scenario.
实现该屏幕截图方法的系统架构如图7所示:The system architecture that implements this screenshot method is shown in Figure 7:
浏览器(老师):老师通过浏览器访问在线教育网页应用服务器和媒体服务器,使用在线教育网页应用进行屏幕共享、屏幕截图等操作。Browser (teacher): The teacher accesses the online education web application server and media server through the browser, and uses the online education web application to perform screen sharing, screenshots and the like.
浏览器(学生):学生通过浏览器访问在线教育网页应用服务器和媒体服务器,使用在线教育网页应用,观看老师直播的课程。Browser (student): Students access the online education web application server and media server through a browser, and use the online education web application to watch the teacher's live course.
在线教育网页应用服务器,提供在线教育网页应用服务,老师和学生分别通过浏览器访问,在浏览器中呈现为在线教育网页应用。The online education web application server provides an online education web application service, and the teacher and the student respectively access through the browser and present as an online education web application in the browser.
媒体服务器,配置为接收和发送课程的音视频媒体流,并可能作相应的 媒体处理,包括合成,媒体格式转换等。a media server configured to receive and send audio and video media streams of the course, and may be corresponding Media processing, including compositing, media format conversion, etc.
在在线教育屏幕共享的过程中进行屏幕截图的过程如下:The process of taking screenshots during the online education screen sharing process is as follows:
步骤1,老师和学生分别通过浏览器访问在线教育网页应用服务器,在在线教育网页应用中加入同一个课程直播中。Step 1. The teacher and the student respectively access the online education web application server through the browser, and join the same course live broadcast in the online education web application.
步骤2,老师在在线教育网页应用中发起屏幕共享请求。In step 2, the teacher initiates a screen sharing request in the online education web application.
步骤3,在线教育网页应用调用浏览器提供的获取桌面屏幕的接口,获取老师的桌面屏幕,并将老师的桌面屏幕上操作的视频流发送给媒体服务器。学生通过浏览器访问媒体服务器,播放老师共享的桌面屏幕视频流。Step 3: The online education webpage application invokes an interface provided by the browser to obtain a desktop screen, acquires a teacher's desktop screen, and sends the video stream operated on the teacher's desktop screen to the media server. Students access the media server through a browser and play the desktop screen video stream shared by the teacher.
同时,由于老师的浏览器中的网页应用调用了浏览器提供的获取桌面屏幕的接口,老师的浏览器窗口被最小化,屏幕被切回到老师共享的桌面。为了使老师在桌面共享的过程中,不切回浏览器进行屏幕截图,在线教育网页应用在调用浏览器提供的获取桌面屏幕的接口的同时,调用桌面通知消息接口,弹出桌面通知消息,在该桌面通知消息的内容包括了可触发屏幕截图的操作。At the same time, since the web application in the teacher's browser invokes the interface provided by the browser to obtain the desktop screen, the teacher's browser window is minimized, and the screen is cut back to the desktop shared by the teacher. In order to make the teacher in the process of desktop sharing, without going back to the browser for screenshots, the online education webpage application invokes the desktop notification message interface and pops up the desktop notification message while calling the interface provided by the browser to obtain the desktop screen. The content of the desktop notification message includes actions that trigger a screenshot.
步骤4,老师在进行桌面共享的过程中,点击桌面通知消息中的屏幕截图操作,发送屏幕截图请求。Step 4: During the process of desktop sharing, the teacher clicks on the screenshot operation in the desktop notification message to send a screenshot request.
步骤5,在线教育网页应用接收到屏幕截图请求后,将当前老师共享的桌面视频流进行截图,并上传到在线教育网页应用服务器中,在在线教育网页应用中显示。另外,在线教育网页应用可将屏幕截图作为电子白板的背景,供参会者老师在电子白板中对屏幕截图进行圈画、标注等操作。Step 5: After receiving the screenshot request, the online education webpage application takes a screenshot of the desktop video stream shared by the current teacher, and uploads it to the online education webpage application server for display in the online education webpage application. In addition, the online education web application can use the screenshot as the background of the electronic whiteboard, and the participant teacher can circle and mark the screenshot in the electronic whiteboard.
该方案使得老师可以直接使用网页应用来进行课程直播,无需安装专门的客户端应用,能让老师在任何时间、任何地点、任何支持Web实时通讯的浏览器设备上进行课程直播,大大提高了系统的使用便捷性。This program enables teachers to directly use the web application to conduct live courses without the need to install a dedicated client application. This allows the teacher to broadcast the course at any time, any place, any browser device that supports web real-time communication, greatly improving the system. Easy to use.
本发明实施例提供的屏幕截图的方法能够在手机、平板电脑、机顶盒设备等终端的浏览器中访问相关网页应用实现在屏幕共享的过程中进行屏幕截图操作。The method for the screenshot provided by the embodiment of the invention can access the related webpage application in the browser of the terminal such as the mobile phone, the tablet computer, the set top box device, etc. to perform the screen capture operation in the process of screen sharing.
实施例七Example 7
为实现上述屏幕截图的方法,本发明实施例提供一种屏幕截图的装置, 该装置应用于终端,如图8所示,所述装置包括:访问单元801、显示单元802和截屏单元803。The embodiment of the present invention provides a device for taking a screenshot, The device is applied to a terminal. As shown in FIG. 8, the device includes an access unit 801, a display unit 802, and a screen capture unit 803.
访问单元801配置为在桌面屏幕中打开浏览器后,根据统一资源定位符URL地址访问网页应用,在浏览器中加载所述网页应用,所述网页应用运行于所述浏览器的界面中。The access unit 801 is configured to access the webpage application according to the uniform resource locator URL address after the browser is opened in the desktop screen, and load the webpage application in the browser, where the webpage application runs in the interface of the browser.
显示单元802配置为将所述浏览器的界面最小化,由所述浏览器的界面切换至所述桌面屏幕,并通过所述网页应用调用可接收截屏操作的第一接口,将所述第一接口显示于所述桌面屏幕中。The display unit 802 is configured to minimize an interface of the browser, switch to the desktop screen by an interface of the browser, and invoke the first interface that can receive a screen capture operation by the webpage application, and the first The interface is displayed on the desktop screen.
截屏单元803配置为通过所述第一接口接收截屏操作并生成屏幕截图请求,根据所述屏幕截图请求发起获取当前桌面截图的操作;其中,通过可获取屏幕截图的第二接口进行当前桌面截图的操作。The screen capture unit 803 is configured to receive a screen capture operation by the first interface and generate a screenshot request, and initiate an operation of acquiring a current desktop screenshot according to the screenshot request; wherein the current desktop screenshot is performed through the second interface that can obtain the screenshot operating.
通过所述网页应用调用可接收截屏操作的所述第一接口之前,显示单元802还配置为通过所述网页应用获取所述桌面屏幕参数,根据所述桌面屏幕参数生成通知消息窗口。这里,将所述第一接口显示于所述桌面屏幕中包括:将所述第一接口以所述通知消息窗口的方式显示于所述桌面屏幕中。Before the webpage application invokes the first interface that can receive the screen capture operation, the display unit 802 is further configured to acquire the desktop screen parameter by using the webpage application, and generate a notification message window according to the desktop screen parameter. Here, displaying the first interface in the desktop screen comprises: displaying the first interface in the desktop screen in the manner of the notification message window.
如图9所示,所述装置还包括:发送单元804,配置为将所述获取的当前桌面截图发送至所述网页应用,在所述网页应用中进行对当前桌面截图做相关处理,如显示、发送到服务端等。As shown in FIG. 9, the device further includes: a sending unit 804, configured to send the acquired current desktop screenshot to the webpage application, and perform related processing on the current desktop screenshot in the webpage application, such as displaying , sent to the server, and so on.
如图9所示,所述装置还包括:共享单元805,配置为:通过所述网页应用接收到屏幕共享操作时生成屏幕共享请求;根据所述屏幕共享请求通过所述网页应用与所述屏幕共享请求对应的共享端建立共享连接;通过所述第二接口获取桌面屏幕视频流;将所述桌面屏幕视频流发送至所述网页应用,通过所述网页应用将所述桌面屏幕视频流发送至所述共享连接。As shown in FIG. 9, the device further includes: a sharing unit 805, configured to: generate a screen sharing request when the webpage application receives the screen sharing operation; and use the webpage application and the screen according to the screen sharing request The shared terminal corresponding to the sharing request establishes a shared connection; the desktop screen video stream is obtained through the second interface; the desktop screen video stream is sent to the webpage application, and the desktop screen video stream is sent to the webpage application by the webpage application The shared connection.
其中,截屏单元803通过可获取屏幕截图的第二接口进行当前桌面截图的操作包括:将通过所述第二接口获取的桌面屏幕视频流进行截取得到截图图像,将所述截图图像作为当前桌面截图。The operation of the current desktop screenshot by the screen capture unit 803 by acquiring the second interface of the screenshot includes: intercepting the desktop screen video stream acquired through the second interface to obtain a screenshot image, and using the screenshot image as a current desktop screenshot. .
在上述方案中,所述第二接口为浏览器提供的获取桌面屏幕的接口。In the above solution, the second interface is an interface provided by the browser for acquiring a desktop screen.
本发明实施例还提供了计算机可读存储介质,存储有计算机可执行指 令,所述计算机可执行指令被处理器执行时实现以上描述的方法。The embodiment of the invention further provides a computer readable storage medium, which stores a computer executable finger The method described above is implemented when the computer executable instructions are executed by a processor.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and functional blocks/units of the methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical The components work together. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer readable medium, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer. Moreover, it is well known to those skilled in the art that communication media typically includes 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. .
以上所述,仅为本申请的实施例,并非用于限定本申请的保护范围。The above is only an embodiment of the present application, and is not intended to limit the scope of protection of the present application.
工业实用性Industrial applicability
本发明实施例提供了一种屏幕截图的方法及装置。所述方法包括:在桌面屏幕中打开浏览器后,根据统一资源定位符URL地址访问网页应用,在浏览器中加载所述网页应用,所述网页应用运行于所述浏览器的界面中;将所述浏览器的界面最小化,由所述浏览器的屏幕切换回所述桌面屏幕,并通过所述网页应用调用可接收截屏操作的第一接口,将所述第一接口显示于所述桌面屏幕中;通过所述第一接口接收截屏操作并生成屏幕截图请求,根据所述屏幕截图请求发起获取当前桌面截图的操作;其中,通过可获取屏幕截 图的第二接口进行当前桌面截图的操作。采用本发明实施例,运行在浏览器的上的网页应用在浏览器最小化之后,通过显示在桌面屏幕上的第一接口接收用户的截屏操作,在接收到用户的截屏操作时能够发起通过第二接口获取桌面截图的截屏操作,并通过第二接口获取当前桌面截图,能够解决浏览器最小化后通过网页应用无法进行屏幕截图的问题,使得用户直接无需安装专门的客户端应用,使用网页应用来进行运行网页应用的同时,对桌面屏幕的内容进行截图,大大提高了系统的使用便捷性。因此本发明具有较强的工业实用性。 Embodiments of the present invention provide a method and apparatus for a screenshot. The method includes: after opening a browser in a desktop screen, accessing a webpage application according to a uniform resource locator URL address, loading the webpage application in a browser, where the webpage application runs in an interface of the browser; The interface of the browser is minimized, and the screen of the browser is switched back to the desktop screen, and the first interface that can receive the screen capture operation is invoked by the webpage application, and the first interface is displayed on the desktop. Receiving a screen capture operation through the first interface and generating a screen shot request, and initiating an operation of acquiring a current desktop screenshot according to the screenshot request; wherein, by acquiring a screen cut The second interface of the figure performs the operation of the current desktop screenshot. According to the embodiment of the present invention, after the browser is minimized, the webpage application running on the browser receives the screen capture operation of the user through the first interface displayed on the desktop screen, and can initiate the passage of the screen when receiving the screen capture operation of the user. The second interface obtains the screen capture operation of the desktop screenshot, and obtains the current desktop screenshot through the second interface, which can solve the problem that the browser cannot be screened through the web application after the browser is minimized, so that the user does not need to install a special client application directly, and uses the web application. At the same time as running the web application, the content of the desktop screen is screenshotd, which greatly improves the convenience of the system. Therefore, the present invention has strong industrial applicability.

Claims (13)

  1. 一种屏幕截图的方法,所述包括:A method of screen shots, the method comprising:
    在桌面屏幕中打开浏览器后,根据统一资源定位符URL地址访问网页应用,在浏览器中加载所述网页应用;其中,所述网页应用运行于所述浏览器的界面中(101);After the browser is opened in the desktop screen, the webpage application is accessed according to the uniform resource locator URL address, and the webpage application is loaded in the browser; wherein the webpage application runs in the interface of the browser (101);
    将所述浏览器的界面最小化,由所述浏览器的界面切换至所述桌面屏幕,并通过所述网页应用调用接收截屏操作的第一接口,将所述第一接口显示于所述桌面屏幕中(102);Minimizing an interface of the browser, switching from the interface of the browser to the desktop screen, and calling, by the web application, a first interface that receives a screen capture operation, and displaying the first interface on the desktop In the screen (102);
    通过所述第一接口接收截屏操作并生成屏幕截图请求,根据所述屏幕截图请求发起获取当前桌面截图的操作;其中,通过获取屏幕截图的第二接口进行当前桌面截图的操作(103)。Receiving a screen capture operation by the first interface and generating a screenshot request, according to the screenshot request, an operation of acquiring a current desktop screenshot is initiated; wherein the current desktop screenshot operation is performed by acquiring a second interface of the screenshot (103).
  2. 根据权利要求1所述的方法,其中,通过所述网页应用调用接收截屏操作的所述第一接口之前,通过所述网页应用获取所述桌面屏幕参数,根据所述桌面屏幕参数生成通知消息窗口;The method according to claim 1, wherein the desktop screen parameter is acquired by the webpage application, and the notification message window is generated according to the desktop screen parameter, before the webpage application calls the first interface that receives the screen capture operation. ;
    将所述第一接口显示于所述桌面屏幕中包括:Displaying the first interface in the desktop screen includes:
    将所述第一接口以所述通知消息窗口的方式显示于所述桌面屏幕中。Displaying the first interface in the desktop screen in the manner of the notification message window.
  3. 根据权利要求1所述的方法,所述还包括:The method of claim 1 further comprising:
    将所述获取的当前桌面截图发送至所述网页应用。Sending the obtained current desktop screenshot to the web application.
  4. 根据权利要求1所述的方法,所述还包括:The method of claim 1 further comprising:
    通过所述网页应用接收到屏幕共享操作时生成屏幕共享请求;Generating a screen sharing request when the webpage application receives the screen sharing operation;
    根据所述屏幕共享请求通过所述网页应用与所述屏幕共享请求对应的共享端建立共享连接;Establishing a shared connection by using the webpage application and the sharing end corresponding to the screen sharing request according to the screen sharing request;
    通过所述第二接口获取桌面屏幕视频流;将所述桌面屏幕视频流发送至所述网页应用,通过所述网页应用将所述桌面屏幕视频流发送至所述共享连接。Acquiring a desktop screen video stream through the second interface; sending the desktop screen video stream to the webpage application, and sending, by the webpage application, the desktop screen video stream to the shared connection.
  5. 根据权利要求4所述的方法,其中,所述通过获取屏幕截图的第二接口进行当前桌面截图的操作包括: The method of claim 4, wherein the performing the current desktop screenshot by acquiring the second interface of the screenshot comprises:
    将通过所述第二接口获取的桌面屏幕视频流进行截取得到截图图像,将所述截图图像作为当前桌面截图。The desktop screen video stream acquired through the second interface is truncated to a screenshot image, and the screenshot image is taken as a current desktop screenshot.
  6. 根据权利要求1、4、5中任一项所述的方法,其中,所述第二接口为浏览器提供的获取桌面屏幕的接口。The method of any of claims 1, 4, 5, wherein the second interface is an interface provided by a browser to acquire a desktop screen.
  7. 一种屏幕截图的装置,所述包括:访问单元(801)、显示单元(802)和截屏单元(803);其中,A device for screen shots, comprising: an access unit (801), a display unit (802), and a screen capture unit (803); wherein
    所述访问单元(801)配置为在桌面屏幕中打开浏览器后,根据统一资源定位符URL地址访问网页应用,在浏览器中加载所述网页应用,所述网页应用运行于所述浏览器的界面中;The access unit (801) is configured to: after the browser is opened in the desktop screen, access the webpage application according to the uniform resource locator URL address, and load the webpage application in a browser, where the webpage application runs on the browser In the interface;
    所述显示单元(802)配置为将所述浏览器的界面最小化,由所述浏览器的界面切换至所述桌面屏幕,并通过所述网页应用调用接收截屏操作的第一接口,将所述第一接口显示于所述桌面屏幕中;The display unit (802) is configured to minimize an interface of the browser, switch to an interface of the browser by the interface of the browser, and invoke a first interface for receiving a screen capture operation by the webpage application, The first interface is displayed on the desktop screen;
    所述截屏单元(803)配置为通过所述第一接口接收截屏操作并生成屏幕截图请求,根据所述屏幕截图请求发起获取当前桌面截图的操作;其中,通过获取屏幕截图的第二接口进行当前桌面截图的操作。The screen capture unit (803) is configured to receive a screen capture operation through the first interface and generate a screenshot request, and initiate an operation of acquiring a current desktop screenshot according to the screenshot request; wherein the current interface is obtained by acquiring a second interface of the screenshot The operation of the desktop screenshot.
  8. 根据权利要求7所述的装置,其中,通过所述网页应用调用接收截屏操作的所述第一接口之前,所述显示单元(802)还配置为通过所述网页应用获取所述桌面屏幕参数,根据所述桌面屏幕参数生成通知消息窗口;The apparatus according to claim 7, wherein the display unit (802) is further configured to acquire the desktop screen parameter by the webpage application before the webpage application invokes the first interface that receives a screen capture operation, Generating a notification message window according to the desktop screen parameter;
    将所述第一接口显示于所述桌面屏幕中包括:Displaying the first interface in the desktop screen includes:
    将所述第一接口以所述通知消息窗口的方式显示于所述桌面屏幕中。Displaying the first interface in the desktop screen in the manner of the notification message window.
  9. 根据权利要求7所述的装置,所述还包括:发送单元(804),The apparatus of claim 7, further comprising: a transmitting unit (804),
    配置为将所述获取的当前桌面截图发送至所述网页应用。Configuring to send the obtained current desktop screenshot to the web application.
  10. 根据权利要求7所述的装置,所述还包括:共享单元(805),配置为:The apparatus of claim 7, further comprising: a sharing unit (805) configured to:
    通过所述网页应用接收到屏幕共享操作时生成屏幕共享请求;Generating a screen sharing request when the webpage application receives the screen sharing operation;
    根据所述屏幕共享请求通过所述网页应用与所述屏幕共享请求对应的共享端建立共享连接; Establishing a shared connection by using the webpage application and the sharing end corresponding to the screen sharing request according to the screen sharing request;
    通过所述第二接口获取桌面屏幕视频流;将所述桌面屏幕视频流发送至所述网页应用,通过所述网页应用将所述桌面屏幕视频流发送至所述共享连接。Acquiring a desktop screen video stream through the second interface; sending the desktop screen video stream to the webpage application, and sending, by the webpage application, the desktop screen video stream to the shared connection.
  11. 根据权利要求10所述的装置,其中,所述截屏单元(803)通过获取屏幕截图的第二接口进行当前桌面截图的操作包括:The apparatus according to claim 10, wherein the operation of the current desktop screenshot by the screen capture unit (803) by acquiring the second interface of the screenshot comprises:
    将通过所述第二接口获取的桌面屏幕视频流进行截取得到截图图像,将所述截图图像作为当前桌面截图。The desktop screen video stream acquired through the second interface is truncated to a screenshot image, and the screenshot image is taken as a current desktop screenshot.
  12. 根据权利要求7、10、11中任一项所述的装置,其中,所述第二接口为浏览器提供的获取桌面屏幕的接口。The apparatus of any one of claims 7, 10, 11, wherein the second interface is an interface provided by a browser to acquire a desktop screen.
  13. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现权利要求1-6中任一项所述的屏幕截图方法。 A computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the screen shot method of any of claims 1-6.
PCT/CN2017/099416 2016-08-29 2017-08-29 Method and device for screenshot WO2018041087A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610752380.3A CN107783807B (en) 2016-08-29 2016-08-29 Screen capture method and device
CN201610752380.3 2016-08-29

Publications (1)

Publication Number Publication Date
WO2018041087A1 true WO2018041087A1 (en) 2018-03-08

Family

ID=61301262

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/099416 WO2018041087A1 (en) 2016-08-29 2017-08-29 Method and device for screenshot

Country Status (2)

Country Link
CN (1) CN107783807B (en)
WO (1) WO2018041087A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659092A (en) * 2019-08-13 2020-01-07 平安国际智慧城市科技股份有限公司 Webpage screenshot method and device, computer equipment and storage medium
CN113596517A (en) * 2021-07-13 2021-11-02 北京远舢智能科技有限公司 Image freezing and labeling method and system based on mixed reality
CN114157753A (en) * 2021-08-31 2022-03-08 维沃移动通信(杭州)有限公司 Message sharing method and device and electronic equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108848121A (en) * 2018-05-03 2018-11-20 广州视源电子科技股份有限公司 Screen picture transmission method, device, server, system and storage medium
CN110557417B (en) * 2018-05-31 2022-04-19 西安中兴新软件有限责任公司 Image processing method and device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070112926A1 (en) * 2005-11-03 2007-05-17 Hannon Brett Meeting Management Method and System
CN103336692A (en) * 2013-07-02 2013-10-02 天脉聚源(北京)传媒科技有限公司 Method and device for sharing computer desktop
CN103942001A (en) * 2014-05-12 2014-07-23 上海卓悠网络科技有限公司 Free screen capture method of mobile terminal and mobile terminal
CN104346075A (en) * 2014-11-07 2015-02-11 北京奇虎科技有限公司 Method for processing screenshots and client

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101749282B1 (en) * 2010-09-17 2017-06-21 에스프린팅솔루션 주식회사 Management apparatus and method for controlling screen capture of management apparatus
CN103365840B (en) * 2012-03-26 2016-08-03 腾讯科技(深圳)有限公司 A kind of screenshot method based on web and device
CN104536729B (en) * 2014-11-28 2019-02-22 北京奇虎科技有限公司 It is a kind of to realize the method and apparatus that screenshot is carried out in browser page
CN105607830B (en) * 2015-12-17 2018-12-28 北京奇虎科技有限公司 A kind of terminal screenshot method, device and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070112926A1 (en) * 2005-11-03 2007-05-17 Hannon Brett Meeting Management Method and System
CN103336692A (en) * 2013-07-02 2013-10-02 天脉聚源(北京)传媒科技有限公司 Method and device for sharing computer desktop
CN103942001A (en) * 2014-05-12 2014-07-23 上海卓悠网络科技有限公司 Free screen capture method of mobile terminal and mobile terminal
CN104346075A (en) * 2014-11-07 2015-02-11 北京奇虎科技有限公司 Method for processing screenshots and client

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659092A (en) * 2019-08-13 2020-01-07 平安国际智慧城市科技股份有限公司 Webpage screenshot method and device, computer equipment and storage medium
CN110659092B (en) * 2019-08-13 2023-05-02 深圳赛安特技术服务有限公司 Webpage screenshot method and device, computer equipment and storage medium
CN113596517A (en) * 2021-07-13 2021-11-02 北京远舢智能科技有限公司 Image freezing and labeling method and system based on mixed reality
CN113596517B (en) * 2021-07-13 2022-08-09 北京远舢智能科技有限公司 Image freezing and labeling method and system based on mixed reality
CN114157753A (en) * 2021-08-31 2022-03-08 维沃移动通信(杭州)有限公司 Message sharing method and device and electronic equipment

Also Published As

Publication number Publication date
CN107783807B (en) 2022-05-27
CN107783807A (en) 2018-03-09

Similar Documents

Publication Publication Date Title
WO2018041087A1 (en) Method and device for screenshot
US11140106B2 (en) Method, device and storage medium for interactive message in video page
US11349890B2 (en) Systems and methods for multimedia multipoint real-time conferencing allowing real-time bandwidth management and prioritized media distribution
US10594749B2 (en) Copy and paste for web conference content
US8250141B2 (en) Real-time event notification for collaborative computing sessions
US8407290B2 (en) Dynamic data sharing using a collaboration-enabled web browser
RU2611041C9 (en) Methods and systems for collaborative application sharing and conferencing
US8185828B2 (en) Efficiently sharing windows during online collaborative computing sessions
US9641570B2 (en) Electronic information collaboration system
US20160234276A1 (en) System, method, and logic for managing content in a virtual meeting
US9807143B2 (en) Systems and methods for event routing and correlation
US8782534B2 (en) Independent viewing of web conference content by participants
US20140245185A1 (en) Electronic Information Collaboration System
US10021165B2 (en) Method of sharing browsing on a web page displayed by a web browser
US20220278992A1 (en) Method and Apparatus for Securely Co-Browsing Documents and Media URLs
US20130080560A1 (en) System and Method for Sharing Digital Data on a Presenter Device to a Plurality of Participant Devices
US20140244720A1 (en) Electronic Information Collaboration System
CN112817671B (en) Image processing method, device, equipment and computer readable storage medium
US20220417343A1 (en) Image processing method, apparatus, device, and computer-readable storage medium
WO2023179549A1 (en) Document block sharing method, apparatus and system, and storage medium
JP2015180992A (en) Information processing system, information processing apparatus, and program
JP2018063663A (en) Information management system, information processing apparatus, program, and method for making use of questionnaire
JP6785524B2 (en) Display device, display method and display program
CN111033497A (en) Providing hyperlinks in remotely viewed presentations
CN111404977B (en) Document remote demonstration and viewing method and terminal equipment

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: 17845389

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17845389

Country of ref document: EP

Kind code of ref document: A1