WO2017133581A1 - Desktop sharing method and system, client terminal, terminal and storage medium - Google Patents
Desktop sharing method and system, client terminal, terminal and storage medium Download PDFInfo
- Publication number
- WO2017133581A1 WO2017133581A1 PCT/CN2017/072429 CN2017072429W WO2017133581A1 WO 2017133581 A1 WO2017133581 A1 WO 2017133581A1 CN 2017072429 W CN2017072429 W CN 2017072429W WO 2017133581 A1 WO2017133581 A1 WO 2017133581A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- terminal
- client terminal
- shared
- password
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000004891 communication Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000009434 installation Methods 0.000 description 3
- 238000013475 authorization Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
- G06F3/1462—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay with means for detecting differences between the image stored in the host and the images displayed on the remote displays
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/75—Indicating network or usage conditions on the user display
Definitions
- the present application relates to the field of computer technologies, and in particular, to a desktop sharing method and system, a client terminal, a terminal, and a storage medium.
- the desktop of the client terminal can be shared with the agent terminal.
- the agent can use the shared desktop to input business information for the customer through the agent terminal, and can display it to the user.
- Traditional desktop sharing software requires manual configuration of the IP of the shared terminal (Internet) Protocols, protocols that are interconnected between networks, etc., can be used to remotely share desktops.
- the agent terminal will conduct a large number of video calls with a plurality of different client terminals every day. If the desktop of the client terminal needs to be configured with an IP address each time, this will inevitably bring inconvenience to the agent.
- the present invention provides a desktop sharing method, including:
- the first application running by the client terminal receives the operation instruction and performs a corresponding business operation
- the second application running by the client terminal starts the third application
- the third application generates a character string and sets the character string as a password of the third application
- the third application acquires a desktop environment of the client terminal, and sends the desktop environment to the fourth application for sharing.
- the present invention further provides a desktop sharing method, including:
- the first application running by the agent terminal receives the client terminal IP address sent by the client terminal and the password of the third application, and the password of the third application is set according to a character string generated by the third application, the third application
- the client terminal displays the set first interface, it is started by the second application running on the client terminal;
- the second application running by the agent terminal configures the fourth application running by the agent terminal according to the client terminal IP address and the password of the third application
- the fourth application receives the desktop environment of the client terminal sent by the third application, and the desktop of the client terminal is shared with the agent terminal.
- the present invention further provides a desktop sharing system, the system comprising: a client terminal and an agent terminal; wherein:
- the first application running by the client terminal receives the operation instruction and performs a corresponding operation; when the client terminal displays the set first interface, the second application run by the client terminal starts the third application; the third application The program generates a string and sets the string as a password of the third application; the first application run by the client terminal sends the client terminal IP address and the password of the third application to the agent terminal;
- the first application running by the agent terminal receives the client terminal IP address and the third application password sent by the client terminal; the second application running by the agent terminal is based on the client terminal IP address and the first And configuring, by the third application, a desktop environment of the client terminal, and sending the desktop environment to the fourth application;
- the four applications receive the desktop environment such that the desktop of the client terminal is shared with the agent terminal.
- the present invention further provides a client terminal, including a processor and a memory, wherein the memory stores instructions, and when the instructions are executed by the processor, the processor performs the following steps:
- the first application running by the client terminal receives the operation instruction and performs a corresponding business operation
- the second application running by the client terminal starts the third application
- the third application generates a character string and sets the character string as a password of the third application
- the third application acquires a desktop environment of the client terminal, and sends the desktop environment to the fourth application for sharing.
- the present invention further provides a desktop sharing method, including:
- the second application running on the first terminal starts the third application
- the third application generates a character string and sets the character string as a password of the third application
- the second application sends the first terminal IP address and the password of the third application to the second terminal such that the second application running in the second terminal is based on the first terminal IP address and the third application
- the password of the program configures the fourth application running in the second terminal
- the third application acquires a desktop environment of the first terminal, and sends the desktop environment to the fourth application for sharing.
- the present invention further provides a desktop sharing method, including:
- the second application running in the second terminal receives the first terminal IP address sent by the first terminal and the password of the third application, where the third application runs on the first terminal, and when the first terminal displays the set third In the interface, the second application running on the first terminal starts the third application, the third application generates a character string, and sets the character string as a password of the third application;
- the second application running in the second terminal configures the fourth application running in the second terminal according to the first terminal IP address and the password of the third application
- the fourth application receives the desktop environment of the first terminal sent by the third application, so that the second terminal shares the desktop of the first terminal.
- the present invention further provides a desktop sharing system, including: a first terminal and a second terminal; wherein:
- the second application running on the first terminal starts the third application;
- the third application generates a character string, and sets the string as the third application a password;
- the second application sends the first terminal IP address and the password of the third application to the second terminal;
- the second application running in the second terminal receives the first terminal IP address and the password of the third application, and the second terminal is configured according to the first terminal IP address and the password of the third application.
- the running fourth application is configured to obtain the desktop environment of the first terminal by using the third application, and send the desktop environment to the fourth application for sharing.
- the present invention further provides one or more non-volatile readable storage media storing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, such that the one Or multiple processors perform the following steps:
- the third application generates a string and sets the string to a password of the third application
- the third application acquires a desktop environment of the client terminal, and sends the desktop environment to the fourth application for sharing.
- FIG. 1 is an application scenario diagram of a desktop sharing method in an embodiment
- FIG. 2 is a flow chart of a desktop sharing method in an embodiment
- Figure 3 is a block diagram of a client terminal in one embodiment
- FIG. 4 is a flow chart of a desktop sharing method in still another embodiment
- FIG. 5 is a flow chart of a desktop sharing method in another embodiment
- FIG. 6 is a flow chart of a desktop sharing method in still another embodiment
- FIG. 7 is a block diagram of a desktop sharing system in one embodiment.
- Figure 8 is a block diagram of a desktop sharing system in yet another embodiment.
- first may be referred to as a second application
- second application may be referred to as a first application, without departing from the scope of the present invention.
- Both the first application and the second application are applications, but they are not the same application.
- the desktop sharing method provided in the embodiment of the present invention can be applied to the application scenario shown in FIG. 1 .
- the client terminal 102 and the agent terminal 104 are connected through a network.
- the client terminal 102 runs the first application, the second application, and the third application
- the agent terminal 104 runs the first application, the second application, and the fourth application.
- the first application running by the client terminal 102 receives the operation instructions of the client and performs corresponding business operations.
- the second application run by the client terminal 102 launches the third application.
- the third application running by the client terminal 102 generates a character string and sets the character string to the password of the third application.
- the first application running by the client terminal 102 transmits the client terminal IP address and the password of the third application to the agent terminal 104.
- the first application running by the agent terminal 104 receives the client terminal IP address and the password of the third application, and sends the password to the second application running by the agent terminal 104.
- the second application is based on the client terminal IP address and the third application.
- the password is configured for the fourth application running on the agent terminal.
- the third application acquires the desktop environment of the client terminal and sends the desktop environment to the fourth application for sharing. The entire process can be automatically configured without manual operation, which is convenient for the agent to obtain the shared desktop of the client terminal.
- a desktop sharing method is provided. It should be understood that although the steps in the flowchart of FIG. 2 are sequentially displayed as indicated by the arrows, these steps are not necessarily in accordance with the arrows. The order of the instructions is executed in sequence. Except as explicitly stated herein, the execution of these steps is not strictly limited, and may be performed in other sequences. Moreover, at least some of the steps in FIG. 2 may include a plurality of sub-steps or stages, which are not necessarily performed at the same time, but may be executed at different times, and the order of execution thereof is not necessarily This may be performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of the other steps.
- the method is applied to a client terminal as an example, and specifically includes:
- Step 202 The first application running by the client terminal receives the operation instruction and performs a corresponding business operation.
- the customer can log in to the first application through a browser on the client terminal.
- the browser can be a variety of browsers that support the IE kernel.
- the client can issue an operation instruction to the first application through the client terminal, and the first application receives the operation instruction and performs a corresponding business operation.
- Step 204 When the set first interface is displayed, the second application run by the client terminal starts the third application.
- the second application running on the client terminal supports automatic browser installation.
- the second application can be made into an ActiveX control. If the second application is not installed in the client terminal, when the first application is logged in through the browser, a prompt window of "whether or not the second application is installed" will pop up in the browser. Through the prompt window, click to install the client terminal second application, then the second application can be installed in the client terminal and embedded in the first application. When the first application of the client terminal runs, the second application is loaded, and the second application runs.
- the third application running on the client terminal can be based on traditional VNC (Virtual Network Computer, virtual computer) Open source code improved application for server applications.
- VNC Virtual Network Computer, virtual computer
- Open source code improved application for server applications The second application running by the client terminal is integrated with the third application.
- the first interface set may be an interface that the customer needs to input information when the account opening business is performed, or an interface that displays an electronic contract.
- the client terminal displays the set first interface, that is, when the first application running through the client terminal displays the set first interface, it indicates that the desktop of the client terminal needs to be shared with the agent terminal at this time.
- the second application running by the client terminal starts the third application pre-installed on the client terminal.
- Step 206 The third application running by the client terminal generates a string and sets the string to the password of the third application.
- a string of characters is randomly generated, and the generated string is set to the password of the third application, that is, the string generated by the third application is set to its own password.
- the password for a traditional VNC server application must be manually set.
- the third application can generate a string and set it as a corresponding password, which can be automatically implemented without manual operation.
- Step 208 The first application running by the client terminal sends the client terminal IP address and the password of the third application to the agent terminal, so that the second application running by the agent terminal is based on the client terminal IP address and the password of the third application. Configure the fourth application running on the agent terminal.
- the client terminal IP address can be obtained in a variety of ways. Specifically, the client terminal IP address may be obtained by the first application running by the client terminal, or may be obtained by the third application running by the client terminal, or may be obtained by other applications running by the client terminal. The first application running by the client terminal transmits the client terminal IP address and the password of the third application to the agent terminal through the network.
- An agent is a staff member who answers a call from a call center and handles business for the customer.
- a seat terminal is a terminal that the agent talks with the customer and handles the business for the customer.
- the first application running on the agent terminal the agent can log in to the first application of the agent terminal through the browser.
- the browser can be a variety of browsers that support the IE kernel.
- the second application running on the agent terminal supports automatic browser installation.
- the second application running on the agent terminal can be made into an ActiveX control.
- the second application can be installed at the agent terminal and embedded in the first application of the agent terminal.
- the first application of the agent terminal runs, the second application of the agent terminal is loaded, and the second application runs.
- the first application running on the agent terminal and the first application running on the client terminal may be the same application.
- the second application running on the agent terminal and the second application running on the client terminal may also be the same application.
- the first application of the agent terminal receives the client terminal IP address sent by the first application of the client terminal and the password of the third application.
- the first application of the agent terminal invokes a communication mechanism with the second application of the agent terminal, and transmits the received client terminal IP address and the password of the third application to the second application of the agent terminal.
- the fourth application running on the agent terminal can be an open source code improved application based on the VNC client application.
- the second application of the agent terminal and the fourth application of the agent terminal are integrated with each other.
- the second application of the agent terminal configures the agent terminal fourth application according to the client terminal IP address and the password of the third application.
- the second application of the agent terminal modifies the server address of the fourth application to the client terminal IP address, and modifies the password to the password of the third application in the password window popped up by the fourth application.
- the server address and password for a traditional VNC client application must be manually set.
- the fourth application can be configured by using the second application running on the agent terminal, and can be automatically completed without manual operation.
- Step 210 The third application running by the client terminal acquires the desktop environment of the client terminal, and sends the desktop environment to the fourth application running by the agent terminal for sharing.
- a desktop environment is a visual environment consisting of desktop background images, desktop applications, and shortcuts.
- the third application can share the desktop of the client terminal to the agent terminal based on the function of the traditional VNC server application. Specifically, the third application acquires the desktop environment of the client terminal, and uses the VNC communication protocol to generate the desktop environment of the client terminal to the fourth application. The fourth application receives the desktop environment of the client terminal, so that the desktop of the client terminal shares the agent terminal.
- the first application running by the client terminal performs a business operation, and when the client terminal displays the set first interface, the second application run by the client terminal starts the third application, and the third application generates a string. And set the string to the password of the third application.
- the first application running by the client terminal sends the client terminal IP address and the password of the third application to the agent terminal, and the second application running by the agent terminal runs on the agent terminal according to the client terminal IP address and the password of the third application.
- the fourth application is configured to establish a connection between the third application and the fourth application. Thereby, the desktop environment of the client terminal is sent to the fourth application program through the third application, and the desktop of the client terminal is shared with the agent terminal.
- the third application includes a shared startup interface
- the method further includes: when the parameter of the shared startup interface is set to share the plurality of displays, the third application enumerated by the client terminal and the client terminal All displays connected; if the number of all displays connected to the client terminal is greater than 1, the third application acquires the desktop environment of the plurality of displays, and sends the plurality of desktop environments to the fourth application running by the agent terminal for sharing.
- the third application running by the client terminal includes multiple interfaces.
- the interface includes at least one of a shared boot interface, a shared shutdown interface, and an operation control interface.
- the parameters of the shared boot interface include at least one of a parameter indicating a number of shared desktops, a parameter indicating a third application communication port, a parameter indicating a communication port authorized by the agent terminal, and a parameter indicating whether to receive the remote control.
- the parameter indicating the number of shared desktops (ie, the first parameter) may be set to share the desktop of all displays connected to the client terminal, or may be set to share only the desktop of the primary display.
- the first parameter is set to 0, indicating that the desktop of all displays connected to the client terminal is shared; the first parameter is set to 1, indicating that only the desktop of the primary display is shared.
- Indicates the parameter of the third application communication port ie, the second parameter
- the communication protocol sets the port number at which the client application communicates with the agent terminal.
- the second parameter is set to 5901.
- UDP User Datagram Protocol
- the communication protocol sets the communication port number at which the agent terminal receives the message sent by the client terminal.
- the third parameter is set to 1901.
- the parameter indicating whether to receive the remote control may be set to allow the client terminal to be remotely controlled, or may be set to prohibit the client terminal from being remotely controlled.
- the fourth parameter is set to 1, indicating that the client terminal is allowed to be remotely controlled; the fourth parameter is set to 0, indicating that the client terminal is prohibited from being remotely controlled.
- the third application detects the display connected to the client terminal and enumerates all displays. If the number of displays connected to the client terminal is greater than 1, it means that there are multiple displays connected to the client terminal.
- the third application acquires a desktop environment of multiple displays. According to the connection between the third application and the fourth application, the third application generates a desktop environment of the plurality of displays connected to the client terminal to the fourth application, so that the agent terminal can share the plurality of desktops of the client terminal . This can increase the flexibility of desktop sharing.
- the third application includes a shared startup interface
- the method further includes: when the shared startup interface The parameter is set to allow remote control, the third application running by the client terminal receives the operation performed by the agent terminal on the shared desktop environment; the first application running by the client terminal displays a sharing interface corresponding to the operation; when the sharing interface is displayed as When the second interface is set, the first application running by the client terminal invokes the shared shutdown interface of the third application to stop sharing the desktop environment of the client terminal.
- the parameter of the shared startup interface is set to run when the remote control is executed, that is, the parameter indicating whether to receive the remote control is set to allow the client terminal to be remotely controlled.
- the agent operates the shared desktop environment through the first application of the agent terminal.
- the third application of the client terminal invokes the operation control interface to receive an operation performed by the agent terminal on the shared desktop environment, and displays a sharing interface corresponding to the operation on the client terminal through the first application of the client terminal.
- the sharing interface is displayed as the set second interface
- the first application of the client terminal invokes the shared closing interface of the third application to stop sharing the desktop environment of the client terminal.
- the second interface that is set may be an interface for successfully submitting service information, or an interface for completing a service operation.
- the second interface set can also be any interface.
- the first application of the client terminal may also invoke an authorization interface of the third application to cancel the authorization of the agent terminal to remotely control the client terminal.
- desktop sharing can continue, but the agent terminal can only display the shared interface, but cannot operate the shared interface.
- the first application of the client terminal calls the shared close interface of the third application again to stop sharing the desktop environment of the client terminal.
- the client terminal when the desktop of the client terminal is shared with the agent terminal, if the user needs to confirm the link, the client needs to input the confirmation message to the client terminal, and then the agent terminal can perform the next operation in the sharing interface. For example, when transferring funds, for the specific number of transfers, after the customer needs to confirm, the agent terminal can perform the next operation in the sharing interface. This ensures the security of business operations.
- the method further includes: the third application running by the client terminal receives the setting of the shared image quality; the third application acquires the image of the shared desktop environment, and compresses the image according to the set shared image quality, to obtain The compressed shared image; the third application sends the compressed shared image to the fourth application running by the agent terminal.
- the shared image quality setting may be performed on the third application running by the client terminal.
- the shared image quality can be set to high image quality, medium image quality, and low image quality. Different image quality corresponds to different resolutions.
- the third application of the client terminal acquires an image of the shared desktop environment, compresses the image according to the set shared image quality, and obtains the compressed shared image; and the third application is compressed according to the connection with the fourth application.
- the shared image is sent to the fourth application running on the agent terminal.
- the third application running by the client terminal acquires the shared area set on the desktop of the client terminal, and the third application sends the shared area to the fourth application running by the agent terminal for sharing. This makes it easy for customers not to share the entire desktop, and can set different sharing areas according to their needs.
- a client terminal in one embodiment, as shown in FIG. 3, includes a processor coupled via a system bus, an internal memory, a non-volatile storage medium, a network interface, a display screen, and an input device.
- the first application, the second application, and the third application are stored in the non-volatile storage medium of the agent terminal for sharing the desktop of the client terminal.
- the client terminal's processor is used to provide computing and control capabilities and is configured to perform a desktop sharing method.
- the input device of the client terminal includes a keyboard, a mouse, a microphone, and the like.
- FIG. 3 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the terminal to which the solution of the present application is applied.
- the specific terminal may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements.
- a client terminal including a processor and a memory.
- the memory stores instructions, and when the instructions are executed by the processor, the processor performs the following steps:
- the client terminal runs the first application to receive an operation instruction and performs a corresponding business operation
- the client terminal runs the second application to start the third application
- the third application generates a string and sets the string to the password of the third application
- the first application sends the client terminal IP address and the password of the third application to the agent terminal, so that the second application running by the agent terminal runs the fourth terminal of the agent terminal according to the client terminal IP address and the password of the third application.
- the application is configured;
- the third application acquires the desktop environment of the client terminal and sends the desktop environment to the fourth application for sharing.
- a desktop sharing method is provided.
- the method is applied to the agent terminal as an example, and specifically includes:
- Step 402 The first application running by the agent terminal receives the client terminal IP address sent by the client terminal and the password of the third application, and the password of the third application is set according to the character string generated by the third application, and the third application is When the client terminal displays the set first interface, it is started by the second application running on the client terminal.
- Step 404 The second application running by the agent terminal configures the fourth application running by the agent terminal according to the client terminal IP address and the password of the third application.
- Step 406 The fourth application running by the agent terminal receives the desktop environment of the client terminal sent by the third application, and the desktop of the client terminal is shared with the agent terminal.
- the client terminal when the client terminal displays the set first interface, that is, when the first interface is displayed through the first application by the client terminal, it indicates that the desktop of the client terminal needs to be shared with the agent terminal at this time.
- the second application of the client terminal launches the third application of the client terminal.
- a string of characters is randomly generated, and the generated string is set to the password of the third application.
- the first application of the client terminal transmits the client terminal IP address and the password of the third application to the agent terminal through the network.
- the first application of the agent terminal receives the client terminal IP address sent by the first application of the client terminal and the password of the third application.
- the second application of the agent terminal When the first application of the agent terminal runs, the second application of the agent terminal is loaded, and the second application of the agent terminal runs.
- the first application of the agent terminal and the first application of the client terminal may be the same application.
- the second application of the agent terminal and the second application of the client terminal may also be the same application.
- the first application of the agent terminal receives the client terminal IP address and the password of the third application sent by the first application of the client terminal.
- the first application of the agent terminal invokes a communication mechanism with the second application of the agent terminal, and transmits the received client terminal IP address and the password of the third application to the second application of the agent terminal.
- the fourth application of the agent terminal can be an open source code improved application based on a traditional VNC client application.
- the second application of the agent terminal and the fourth application of the agent terminal are integrated with each other.
- the second application of the agent terminal configures the agent terminal fourth application according to the client terminal IP address and the password of the client terminal third application. Thereby, a connection between the third application of the client terminal and the fourth application of the agent terminal is established.
- the client terminal third application can share the client terminal's desktop to the agent terminal based on the function of the traditional VNC server application.
- the password of the third application received by the first application of the agent terminal is set by the third application by using a string generated by the third application, and the third application is displayed by the client when the first interface of the setting is displayed by the client terminal.
- the second application of the terminal is launched.
- the second application of the agent terminal configures the fourth application according to the client terminal IP address and the password of the third application, thereby establishing a connection between the third application of the client terminal and the fourth application of the agent terminal.
- the desktop environment of the client terminal sent by the third application is received by the fourth application, so that the desktop of the client terminal is shared with the agent terminal.
- the method further includes: when the third application running by the client terminal is configured to share the plurality of displays, the fourth application running by the agent terminal receives the plurality of desktops sent by the third application
- the environment is such that multiple desktops of the client terminal are shared with the agent terminal.
- the third application includes a shared startup interface.
- the parameters of the shared boot interface are set to share with multiple displays, that is, when the parameter indicating the number of shared desktops is set to share the desktop of all displays connected to the client terminal, at this time, it is necessary to determine the connection with the client terminal. Is there more than one display?
- the third application detects the display connected to the client terminal and enumerates all displays. If the number of displays connected to the client terminal is greater than 1, it means that there are multiple displays connected to the client terminal.
- the fourth application of the agent terminal receives the plurality of desktop environments sent by the third application according to the connection with the third application, so that the agent terminal shares the desktops of the plurality of displays connected to the client terminal. This can increase the flexibility of desktop sharing.
- a desktop sharing method is provided, and the method is applied to the first terminal as an example for description.
- Step 502 When the first terminal displays the set third interface, the second application running on the first terminal starts the third application.
- Step 504 The third application running by the first terminal generates a character string and sets the character string as a password of the third application.
- Step 506 The second application running by the first terminal sends the first terminal IP address and the password of the third application to the second terminal, so that the second application running in the second terminal is based on the first terminal IP address and the first terminal.
- the password of the three applications configures the fourth application running in the second terminal.
- Step 508 The third application running by the first terminal acquires the desktop environment of the first terminal, and sends the desktop environment to the fourth application for sharing.
- the third interface includes an online customer service, a remote video teaching, or a video conference interface, and may be the same as the first interface or different from the first interface.
- the second application running on the first terminal supports automatic browser installation.
- the second application can be made into an ActiveX control.
- the third application running on the first terminal may be an open source code improved application based on a traditional VNC server application.
- the second application and the third application are integrated with each other and are pre-installed at the first terminal.
- the first terminal When the first terminal displays the set third interface, it indicates that the desktop of the first terminal needs to be shared with the second terminal at this time.
- the second application of the first terminal starts the third application.
- a string of characters is randomly generated, and the generated string is set to the password of the third application, that is, the string generated by the third application is set to its own password.
- the password for a traditional VNC server application must be manually set.
- the third application can generate a string and set it as a corresponding password, which can be automatically implemented without manual operation.
- the first terminal IP address can be obtained in a variety of ways. Specifically, the first terminal IP address may be obtained by the second application running by the first terminal, or may be acquired by the third application running by the first terminal, or may be obtained by other applications running by the first terminal. .
- the second application running by the first terminal sends the first terminal IP address and the password of the third application to the second terminal through the network.
- the second terminal runs the second application and the fourth application.
- the fourth application can be an open source code based application based on the VNC client application.
- the second application of the second terminal and the fourth application are merged with each other.
- the second application of the second terminal receives the first terminal IP address sent by the first terminal and the password of the third application.
- the second application of the second terminal configures the fourth application according to the first terminal IP address and the password of the third application. Specifically, the second application of the second terminal modifies the server address of the fourth application to the first terminal IP address, and modifies the password to the password of the third application in the password window popped up by the fourth application. Thereby, a connection between the third application of the first terminal and the fourth application of the second terminal is established.
- the server address and password for a traditional VNC client application must be manually set.
- the fourth application can be configured by using the second application running on the second terminal, and can be automatically completed without manual operation.
- the third application acquires the desktop environment of the first terminal, and sends the desktop environment to the fourth application for sharing. Thereby, the desktop of the first terminal is shared with the second terminal.
- the second application running by the first terminal starts the third application, and the third application generates a string and sets the string as the third application.
- Password The second application running by the first terminal sends the client terminal IP address and the password of the third application to the second terminal, and the second application run by the second terminal is based on the first terminal IP address and the password pair of the third application.
- the fourth application running by the second terminal is configured to establish a connection between the third application and the fourth application. Therefore, the desktop environment of the first terminal is sent to the fourth application by using the third application, and the desktop of the first terminal is shared with the second terminal.
- the third application includes a shared startup interface, and when the parameter of the shared startup interface is set to share the plurality of displays, the third application enumerates all the displays connected to the first terminal; if connected to the first terminal The number of all displays is greater than 1, the third application acquires the desktop environment of multiple displays, and sends multiple desktop environments to the fourth application for sharing. This can increase the flexibility of desktop sharing.
- the third application receives an operation performed by the second terminal on the shared desktop environment; the first terminal displays a sharing interface corresponding to the operation; when the sharing interface is displayed as a setting In the fourth interface, the third application calls the shared shutdown interface to stop sharing the desktop environment of the second terminal. This can increase the flexibility of desktop sharing.
- the third application receives the setting of the shared image quality; the third application acquires the image of the shared desktop environment, compresses the image according to the set shared image quality, and obtains the compressed shared image; the third application compresses The subsequent shared image is sent to the fourth application. Thereby, the transmission rate of the shared image can be effectively improved.
- the method further includes: the third application acquires the shared area set on the desktop of the first terminal; and the third application sends the shared area to the fourth application for sharing.
- the shared area may be set on the desktop of the first terminal.
- the third application acquires multiple coordinates on the desktop of the first terminal, determines a range of regions formed by connecting the plurality of coordinates to each other, and determines the region range as the shared region of the first terminal desktop.
- the third application acquires an image of the shared area, and transmits the image of the shared area to the fourth application, so that the second terminal can share the designated area in the first terminal desktop. No sharing is done for areas outside the shared area. Therefore, the user of the first terminal does not have to share the entire desktop, and different sharing areas can be set according to his own needs.
- a terminal including a processor and a memory, wherein the memory stores instructions, and when the instructions are executed by the processor, the processor performs the following steps:
- the third application is started by the second application
- the third application generates a string and sets the string to the password of the third application
- the second application sends the first terminal IP address and the password of the third application to the second terminal, so that the second application running in the second terminal is second according to the first terminal IP address and the third application password pair
- the fourth application running in the terminal is configured
- the third application acquires the desktop environment of the first terminal, and sends the desktop environment to the fourth application for sharing.
- a method for sharing a desktop is provided, and the method is applied to the second terminal as an example.
- Step 602 The second application running in the second terminal receives the first terminal IP address sent by the first terminal and the password of the third application, and the third application runs on the first terminal, and the first terminal displays the set In the third interface, the second application running on the first terminal starts the third application, the third application generates a string, and sets the string to the password of the third application.
- Step 604 The second application running in the second terminal configures the fourth application running in the second terminal according to the first terminal IP address and the password of the third application.
- Step 606 The fourth application running by the second terminal receives the desktop environment of the first terminal sent by the third application, so that the second terminal shares the desktop of the first terminal.
- the second application running on the first terminal starts the third application, and the third application generates a character string and sets the character string as the third application.
- the password for the program The second application running by the first terminal sends the first terminal IP address and the password of the third application to the second terminal through the network.
- the second application of the second terminal receives the first terminal IP address sent by the first terminal and the password of the third application.
- the second application of the second terminal configures the fourth application according to the first terminal IP address and the password of the third application. Thereby, a connection between the third application of the first terminal and the fourth application of the second terminal is established.
- the third application acquires the desktop environment of the first terminal, and sends the desktop environment to the fourth application for sharing. Thereby, the desktop of the first terminal is shared with the second terminal.
- the password of the third application received by the second terminal is set by the third application by using a string generated by the third terminal, and the third application is configured by the first terminal when the first terminal displays the set third interface.
- the second application starts.
- the second application of the second terminal configures the fourth application according to the first terminal IP address and the password of the third application, thereby establishing a third application between the client terminal and the fourth application of the agent terminal connection.
- there is no need to manually set the password of the third application nor need to manually configure the first terminal IP address and the password of the third application for the fourth application, fully implementing automatic configuration, providing the user with a shared desktop. Convenience.
- a desktop sharing system comprising: a client terminal 702 and an agent terminal 704; wherein:
- the first application running by the client terminal 702 receives the operation instruction and performs the corresponding operation; when the client terminal 702 displays the set first interface, the second application run by the client terminal 702 starts the third application; the third application A string is generated and the string is set to the password of the third application; the first application run by the client terminal 702 transmits the client terminal IP address and the password of the third application to the agent terminal 704.
- the first application running by the agent terminal 704 receives the client terminal IP address sent by the client terminal 702 and the password of the third application; the second application running by the agent terminal 704 acts on the agent according to the client terminal IP address and the password of the third application.
- the fourth application running by the terminal 704 is configured;
- the third application acquires the desktop environment of the client terminal 702 and transmits the desktop environment to the fourth application; the fourth application receives the desktop environment such that the desktop of the client terminal 702 is shared with the agent terminal 704.
- the first application running by the client terminal performs a business operation, and when the client terminal displays the set first interface, the second application run by the client terminal starts the third application, and the third application generates a string. And set the string to the password of the third application.
- the first application running by the client terminal sends the client terminal IP address and the password of the third application to the agent terminal, and the second application running by the agent terminal runs on the agent terminal according to the client terminal IP address and the password of the third application.
- the fourth application is configured to establish a connection between the third application and the fourth application. Thereby, the desktop environment of the client terminal is sent to the fourth application program through the third application, and the desktop of the client terminal is shared with the agent terminal.
- the third application includes a shared boot interface that enumerates all displays connected to the client terminal through the third application when the parameters of the shared boot interface are set to share with the plurality of displays; If the number of all the displays connected to the terminal is greater than 1, the client terminal acquires the desktop environment of the plurality of displays through the third application, and sends the plurality of desktop environments to the fourth application for sharing.
- the third application includes a shared startup interface, and the agent terminal operates the shared desktop environment by using the first application; the client terminal receives, by the third application, the operation performed by the agent terminal on the shared desktop environment, and passes the client
- the first application running by the terminal displays a sharing interface corresponding to the operation on the client terminal; when the sharing interface is displayed as the set second interface, the first application calls the shared closing interface of the third application, and the desktop environment of the client terminal is Stop sharing.
- the client terminal sets the shared image quality through the third application; the third application acquires the image of the shared desktop environment, compresses the image according to the set shared image quality, and obtains the compressed shared image; the client The third application running by the terminal sends the compressed shared image to the fourth application running by the agent terminal.
- the client terminal sets a shared area on the desktop through the third application; the third application sends the shared area to the fourth application running by the agent terminal for sharing.
- a desktop sharing system including a first terminal 802 and a second terminal 804; wherein:
- the second application running on the first terminal 802 starts the third application; the third application generates a character string and sets the string as the password of the third application.
- the second application transmits the first terminal IP address and the password of the third application to the second terminal 804.
- the second application running in the second terminal 804 receives the first terminal IP address and the password of the third application, and the fourth application running in the second terminal 804 according to the first terminal IP address and the password of the third application.
- the configuration is performed; the third application running by the first terminal 802 acquires the desktop environment of the first terminal 802, and sends the desktop environment to the fourth application running by the second terminal 804 for sharing.
- one or more non-volatile readable storage media storing computer-executable instructions are provided, the computer-executable instructions being executed by one or more processors such that the one or more The processors perform the following steps:
- the second application running on the first terminal starts the third application
- the third application generates a string and sets the string to the password of the third application
- the second application sends the first terminal IP address and the password of the third application to the second terminal, so that the second application running in the second terminal is second according to the first terminal IP address and the third application password pair
- the fourth application running in the terminal is configured
- the third application acquires the desktop environment of the first terminal, and sends the desktop environment to the fourth application for sharing.
- one or more non-volatile readable storage media storing computer-executable instructions are provided, the computer-executable instructions being executed by one or more processors such that the one or more The processors perform the following steps:
- the third application generates a string and sets the string to the password of the third application
- the first application sends the client terminal IP address and the password of the third application to the agent terminal, so that the second application running by the agent terminal runs the fourth terminal of the agent terminal according to the client terminal IP address and the password of the third application.
- Application configuration
- the third application acquires the desktop environment of the client terminal and sends the desktop environment to the fourth application for sharing.
- the storage medium may be a magnetic disk, an optical disk, or a read-only storage memory (Read-Only) Memory, ROM), etc.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
A desktop sharing method, comprising: a first application program operated by a client terminal receiving an operation instruction, and executing a corresponding service operation; when a set first interface is displayed, a second application program operated by the client terminal enabling a third application program; the third application program generating a character string, and setting the character string as a password of the third application program; the first application program sending an IP address of the client terminal and the password of the third application program to an agent terminal so as to enable the second application program operated by the agent terminal to configure a fourth application program operated by the agent terminal according to the IP address of the client terminal and the password of the third application program; and the third application program acquiring a desktop environment of the client terminal, and sending the desktop environment to the fourth application program for sharing.
Description
本申请要求于 2016 年 02 月 01 日提交中国专利局,申请号为 2016100724638
,发明名称为'桌面共享方法和系统'的中国专利申请的优先权,其全部内容通过引用结合在本申请中。 This application is submitted to the Chinese Patent Office on February 01, 2016, and the application number is 2016100724638.
The title of the invention is the priority of the Chinese Patent Application for the 'Desktop Sharing Method and System', the entire contents of which are hereby incorporated by reference.
【技术领域】[Technical Field]
本申请涉及计算机技术领域,特别是涉及一种桌面共享方法和系统、客户终端、终端和存储介质。The present application relates to the field of computer technologies, and in particular, to a desktop sharing method and system, a client terminal, a terminal, and a storage medium.
【背景技术】【Background technique】
在银行的营业厅办理业务时,通常需要客户先排队然后在窗口办理。为了节省客户的时间,目前有些银行已推出了坐席通过远程视频通话为客户办理业务的操作方式。在远程视频通话时,客户终端的桌面可以共享给坐席终端。坐席通过坐席终端可以利用共享的桌面代为客户输入业务信息,并且可以展示给用户。传统的桌面共享软件需要手动配置被共享的终端的IP(Internet
Protocol,网络之间互连的协议)地址等才能实现远程共享桌面。坐席终端每天会与多个不同的客户终端进行大量的视频通话,如果每次都共享客户终端的桌面都需要先配置IP地址的话,这势必会给坐席带来诸多不便。When dealing with business in a bank's business hall, customers are usually required to queue up and then at the window. In order to save customers' time, some banks have already launched a way for agents to handle business for customers through remote video calls. In the case of a remote video call, the desktop of the client terminal can be shared with the agent terminal. The agent can use the shared desktop to input business information for the customer through the agent terminal, and can display it to the user. Traditional desktop sharing software requires manual configuration of the IP of the shared terminal (Internet)
Protocols, protocols that are interconnected between networks, etc., can be used to remotely share desktops. The agent terminal will conduct a large number of video calls with a plurality of different client terminals every day. If the desktop of the client terminal needs to be configured with an IP address each time, this will inevitably bring inconvenience to the agent.
【发明内容】 [Summary of the Invention]
为解决现有在视频通话过程中共享桌面时需要预先配置IP地址而造成不便的技术问题,本发明提供一种桌面共享方法,包括:In order to solve the technical problem that the existing IP address needs to be configured in advance during the sharing of the desktop during the video call, the present invention provides a desktop sharing method, including:
客户终端运行的第一应用程序接收操作指令,并执行对应的业务操作;The first application running by the client terminal receives the operation instruction and performs a corresponding business operation;
当显示设置的第一界面时,客户终端运行的第二应用程序启动第三应用程序;When the first interface of the setting is displayed, the second application running by the client terminal starts the third application;
所述第三应用程序生成字符串,并将所述字符串设置为所述第三应用程序的密码;The third application generates a character string and sets the character string as a password of the third application;
所述第一应用程序将客户终端IP地址和所述第三应用程序的密码发送至坐席终端,以使得所述坐席终端运行的第二应用程序根据所述客户终端IP地址和所述第三应用程序的密码对坐席终端运行的第四应用程序进行配置;及Transmitting, by the first application, a client terminal IP address and a password of the third application to the agent terminal, so that the second application running by the agent terminal is based on the client terminal IP address and the third application The password of the program is configured for the fourth application running on the agent terminal; and
所述第三应用程序获取客户终端的桌面环境,并将所述桌面环境发送至所述第四应用程序进行共享。The third application acquires a desktop environment of the client terminal, and sends the desktop environment to the fourth application for sharing.
为解决上述技术问题,本发明进一步提供一种桌面共享方法,包括:To solve the above technical problem, the present invention further provides a desktop sharing method, including:
坐席终端运行的第一应用程序接收客户终端发送的客户终端IP地址和第三应用程序的密码,所述第三应用程序的密码根据第三应用程序生成的字符串来设置,所述第三应用在所述客户终端显示设置的第一界面时由客户终端上运行的第二应用程序启动;The first application running by the agent terminal receives the client terminal IP address sent by the client terminal and the password of the third application, and the password of the third application is set according to a character string generated by the third application, the third application When the client terminal displays the set first interface, it is started by the second application running on the client terminal;
坐席终端运行的第二应用程序根据所述客户终端IP地址和所述第三应用程序的密码对坐席终端运行的第四应用程序进行配置;及The second application running by the agent terminal configures the fourth application running by the agent terminal according to the client terminal IP address and the password of the third application; and
所述第四应用程序接收所述第三应用程序发送的客户终端的桌面环境,得客户终端的桌面对坐席终端共享。The fourth application receives the desktop environment of the client terminal sent by the third application, and the desktop of the client terminal is shared with the agent terminal.
为解决上述技术问题,本发明进一步提供一种桌面共享系统,所述系统包括:客户终端和坐席终端;其中:To solve the above technical problem, the present invention further provides a desktop sharing system, the system comprising: a client terminal and an agent terminal; wherein:
客户终端运行的第一应用程序接收操作指令,并执行对应的操作;当所述客户终端显示设置的第一界面时,客户终端运行的第二应用程序启动第三应用程序;所述第三应用程序生成字符串,并将所述字符串设置为第三应用程序的密码;客户终端运行的第一应用程序将客户终端IP地址和所述第三应用程序的密码发送至坐席终端;The first application running by the client terminal receives the operation instruction and performs a corresponding operation; when the client terminal displays the set first interface, the second application run by the client terminal starts the third application; the third application The program generates a string and sets the string as a password of the third application; the first application run by the client terminal sends the client terminal IP address and the password of the third application to the agent terminal;
坐席终端运行的第一应用程序接收所述客户终端发送的所述客户终端IP地址和所述第三应用程序的密码;坐席终端运行的第二应用程序根据所述客户终端IP地址和所述第三应用程序的密码对坐席终端运行的第四应用程序进行配置;通过所述第三应用程序获取客户终端的桌面环境,并将所述桌面环境发送至所述第四应用程序;通过所述第四应用程序接收所述桌面环境,以使得所述客户终端的桌面对所述坐席终端共享。The first application running by the agent terminal receives the client terminal IP address and the third application password sent by the client terminal; the second application running by the agent terminal is based on the client terminal IP address and the first And configuring, by the third application, a desktop environment of the client terminal, and sending the desktop environment to the fourth application; The four applications receive the desktop environment such that the desktop of the client terminal is shared with the agent terminal.
为解决上述技术问题,本发明进一步提供一种客户终端,包括处理器及存储器,所述存储器中储存有指令,所述指令被所述处理器执行时,使得所述处理器执行以下步骤:In order to solve the above technical problem, the present invention further provides a client terminal, including a processor and a memory, wherein the memory stores instructions, and when the instructions are executed by the processor, the processor performs the following steps:
客户终端运行的第一应用程序接收操作指令,并执行对应的业务操作;The first application running by the client terminal receives the operation instruction and performs a corresponding business operation;
当显示设置的第一界面时,客户终端运行的第二应用程序启动第三应用程序;When the first interface of the setting is displayed, the second application running by the client terminal starts the third application;
所述第三应用程序生成字符串,并将所述字符串设置为所述第三应用程序的密码;The third application generates a character string and sets the character string as a password of the third application;
所述第一应用程序将客户终端IP地址和所述第三应用程序的密码发送至坐席终端,以使得所述坐席终端运行的第二应用程序根据所述客户终端IP地址和所述第三应用程序的密码对坐席终端运行的第四应用程序进行配置;及Transmitting, by the first application, a client terminal IP address and a password of the third application to the agent terminal, so that the second application running by the agent terminal is based on the client terminal IP address and the third application The password of the program is configured for the fourth application running on the agent terminal; and
所述第三应用程序获取客户终端的桌面环境,并将所述桌面环境发送至所述第四应用程序进行共享。The third application acquires a desktop environment of the client terminal, and sends the desktop environment to the fourth application for sharing.
为解决上述技术问题,本发明进一步提供一种桌面共享方法,包括:To solve the above technical problem, the present invention further provides a desktop sharing method, including:
当第一终端显示设置的第三界面时,第一终端上运行的第二应用程序启动第三应用程序;When the first terminal displays the set third interface, the second application running on the first terminal starts the third application;
所述第三应用程序生成字符串,并将所述字符串设置为第三应用程序的密码;The third application generates a character string and sets the character string as a password of the third application;
第二应用程序将第一终端IP地址和第三应用程序的密码发送至第二终端以使得所述第二终端中运行的第二应用程序根据所述第一终端IP地址和所述第三应用程序的密码对第二终端中运行的第四应用程序进行配置;及The second application sends the first terminal IP address and the password of the third application to the second terminal such that the second application running in the second terminal is based on the first terminal IP address and the third application The password of the program configures the fourth application running in the second terminal; and
所述第三应用程序获取第一终端的桌面环境,并将所述桌面环境发送至所述第四应用程序进行共享。The third application acquires a desktop environment of the first terminal, and sends the desktop environment to the fourth application for sharing.
为解决上述技术问题,本发明进一步提供一种桌面共享方法,包括:To solve the above technical problem, the present invention further provides a desktop sharing method, including:
第二终端中运行的第二应用程序接收第一终端发送的第一终端IP地址和第三应用程序的密码,所述第三应用程序运行在第一终端,当第一终端显示设置的第三界面时,第一终端上运行的第二应用程序启动所述第三应用程序,所述第三应用程序生成字符串,并将所述字符串设置为第三应用程序的密码;The second application running in the second terminal receives the first terminal IP address sent by the first terminal and the password of the third application, where the third application runs on the first terminal, and when the first terminal displays the set third In the interface, the second application running on the first terminal starts the third application, the third application generates a character string, and sets the character string as a password of the third application;
第二终端中运行的第二应用程序根据所述第一终端IP地址和所述第三应用程序的密码对第二终端中运行的第四应用程序进行配置;及The second application running in the second terminal configures the fourth application running in the second terminal according to the first terminal IP address and the password of the third application; and
所述第四应用程序接收所述第三应用程序发送的第一终端的桌面环境,以使得第二终端共享第一终端的桌面。The fourth application receives the desktop environment of the first terminal sent by the third application, so that the second terminal shares the desktop of the first terminal.
为解决上述技术问题,本发明进一步提供一种桌面共享系统,包括:第一终端和第二终端;其中:To solve the above technical problem, the present invention further provides a desktop sharing system, including: a first terminal and a second terminal; wherein:
当第一终端显示设置的第三界面时,第一终端上运行的第二应用程序启动第三应用程序;所述第三应用程序生成字符串,并将所述字符串设置为第三应用程序的密码;第二应用程序将第一终端IP地址和第三应用程序的密码发送至第二终端;When the first terminal displays the set third interface, the second application running on the first terminal starts the third application; the third application generates a character string, and sets the string as the third application a password; the second application sends the first terminal IP address and the password of the third application to the second terminal;
第二终端中运行的第二应用程序接收所述第一终端IP地址和所述第三应用程序的密码,根据所述第一终端IP地址和所述第三应用程序的密码对第二终端中运行的第四应用程序进行配置;通过所述第三应用程序获取第一终端的桌面环境,并将所述桌面环境发送至所述第四应用程序进行共享。The second application running in the second terminal receives the first terminal IP address and the password of the third application, and the second terminal is configured according to the first terminal IP address and the password of the third application. The running fourth application is configured to obtain the desktop environment of the first terminal by using the third application, and send the desktop environment to the fourth application for sharing.
为解决上述技术问题,本发明进一步提供一个或多个存储有计算机可执行指令的非易失性可读存储介质,所述计算机可执行指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:In order to solve the above technical problems, the present invention further provides one or more non-volatile readable storage media storing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, such that the one Or multiple processors perform the following steps:
运行第一应用程序接收操作指令,并执行对应的业务操作;Running the first application to receive an operation instruction and performing a corresponding business operation;
当显示设置的第一界面时,运行第二应用程序启动第三应用程序;When the first interface of the setting is displayed, running the second application starts the third application;
所述第三应用程序生成字符串,并将字符串设置为第三应用程序的密码;The third application generates a string and sets the string to a password of the third application;
所述第一应用程序将客户终端IP地址和所述第三应用程序的密码发送至坐席终端,以使得坐席终端运行的第二应用程序根据所述客户终端IP地址和所述第三应用程序的密码对坐席终端运行的第四应用程序进行配置;及Transmitting, by the first application, a client terminal IP address and a password of the third application to the agent terminal, so that the second application running by the agent terminal is based on the client terminal IP address and the third application The password is configured for the fourth application running on the agent terminal; and
所述第三应用程序获取客户终端的桌面环境,并将桌面环境发送至所述第四应用程序进行共享。The third application acquires a desktop environment of the client terminal, and sends the desktop environment to the fourth application for sharing.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。Details of one or more embodiments of the present application are set forth in the accompanying drawings and description below. Other features, objects, and advantages of the invention will be apparent from the description and appended claims.
【附图说明】[Description of the Drawings]
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will be true.
施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面The drawings used in the examples or in the description of the prior art are briefly introduced, obviously, below
描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,The drawings in the description are only some embodiments of the invention, and one of ordinary skill in the art
在不付出创造性劳动的前提下,还可以根据这些附图获得其他实施例的附图。Drawings of other embodiments may also be obtained from these drawings without the inventive effort.
图1为一个实施例中桌面共享方法的应用场景图;1 is an application scenario diagram of a desktop sharing method in an embodiment;
图2为一个实施例中桌面共享方法的流程图;2 is a flow chart of a desktop sharing method in an embodiment;
图3为一个实施例中客户终端的框图;Figure 3 is a block diagram of a client terminal in one embodiment;
图4为又一个实施例中桌面共享方法的流程图;4 is a flow chart of a desktop sharing method in still another embodiment;
图5为另一个实施例中桌面共享方法的流程图;5 is a flow chart of a desktop sharing method in another embodiment;
图6为还一个实施例中桌面共享方法的流程图; 6 is a flow chart of a desktop sharing method in still another embodiment;
图7为一个实施例中桌面共享系统的框图;及7 is a block diagram of a desktop sharing system in one embodiment; and
图8为又一个实施例中桌面共享系统的框图。Figure 8 is a block diagram of a desktop sharing system in yet another embodiment.
【具体实施方式】 【detailed description】
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
可以理解,本发明所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本发明的范围的情况下,可以将第一应用程序称为第二应用程序,且类似地,可将第二应用程序称为第一应用程序。第一应用程序和第二应用程序两者都是应用程序,但其不是同一应用程序。It will be understood that the terms "first", "second" and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first application may be referred to as a second application, and similarly, a second application may be referred to as a first application, without departing from the scope of the present invention. Both the first application and the second application are applications, but they are not the same application.
本发明实施例中提供的桌面共享方法,可以应用于如图1所示的应用场景中。客户终端102与坐席终端104通过网络连接。其中,客户终端102运行了第一应用程序、第二应用程序和第三应用程序,坐席终端104运行了第一应用程序、第二应用程序和第四应用程序。客户终端102运行的第一应用程序接收客户的操作指令,并执行对应的业务操作。当客户终端102显示设置的第一界面时,客户终端102运行的第二应用程序启动第三应用程序。客户终端102运行的第三应用程序生成字符串,并将字符串设置为第三应用程序的密码。客户终端102运行的第一应用程序将客户终端IP地址和第三应用程序的密码发送至坐席终端104。坐席终端104运行的第一应用程序接收客户终端IP地址和第三应用程序的密码,并发送给坐席终端104运行的第二应用程序,第二应用程序根据客户终端IP地址和第三应用程序的密码对坐席终端运行的第四应用程序进行配置。第三应用程序获取客户终端的桌面环境,并将桌面环境发送至第四应用程序进行共享。整个过程无需人工操作,即可实现自动配置,为坐席获得客户终端的共享桌面提供了便利。The desktop sharing method provided in the embodiment of the present invention can be applied to the application scenario shown in FIG. 1 . The client terminal 102 and the agent terminal 104 are connected through a network. The client terminal 102 runs the first application, the second application, and the third application, and the agent terminal 104 runs the first application, the second application, and the fourth application. The first application running by the client terminal 102 receives the operation instructions of the client and performs corresponding business operations. When the client terminal 102 displays the set first interface, the second application run by the client terminal 102 launches the third application. The third application running by the client terminal 102 generates a character string and sets the character string to the password of the third application. The first application running by the client terminal 102 transmits the client terminal IP address and the password of the third application to the agent terminal 104. The first application running by the agent terminal 104 receives the client terminal IP address and the password of the third application, and sends the password to the second application running by the agent terminal 104. The second application is based on the client terminal IP address and the third application. The password is configured for the fourth application running on the agent terminal. The third application acquires the desktop environment of the client terminal and sends the desktop environment to the fourth application for sharing. The entire process can be automatically configured without manual operation, which is convenient for the agent to obtain the shared desktop of the client terminal.
在一个实施例中,如图2所示,提供了一种桌面共享方法,应该理解的是,虽然图2的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,图2中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。以本方法应用于客户终端为例进行说明,具体包括:In one embodiment, as shown in FIG. 2, a desktop sharing method is provided. It should be understood that although the steps in the flowchart of FIG. 2 are sequentially displayed as indicated by the arrows, these steps are not necessarily in accordance with the arrows. The order of the instructions is executed in sequence. Except as explicitly stated herein, the execution of these steps is not strictly limited, and may be performed in other sequences. Moreover, at least some of the steps in FIG. 2 may include a plurality of sub-steps or stages, which are not necessarily performed at the same time, but may be executed at different times, and the order of execution thereof is not necessarily This may be performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of the other steps. The method is applied to a client terminal as an example, and specifically includes:
步骤202,客户终端运行的第一应用程序接收操作指令,并执行对应的业务操作。Step 202: The first application running by the client terminal receives the operation instruction and performs a corresponding business operation.
客户可以通过客户终端上的浏览器登录到第一应用程序。其中,浏览器可以是支持IE内核的多种浏览器。客户可以通过客户终端向第一应用程序发出操作指令,第一应用程序接收操作指令,并执行对应的业务操作。The customer can log in to the first application through a browser on the client terminal. Among them, the browser can be a variety of browsers that support the IE kernel. The client can issue an operation instruction to the first application through the client terminal, and the first application receives the operation instruction and performs a corresponding business operation.
步骤204,当显示设置的第一界面时,客户终端运行的第二应用程序启动第三应用程序。Step 204: When the set first interface is displayed, the second application run by the client terminal starts the third application.
客户终端上运行的第二应用程序支持浏览器自动安装。第二应用程序可以是被制作成一种ActiveX控件。如果客户终端尚未安装第二应用程序,通过浏览器登录第一应用程序时,浏览器中会弹出“是否安装第二应用程序”的提示窗口。通过提示窗口,点击安装客户终端第二应用程序,则第二应用程序可以安装在客户终端,并嵌入在第一应用程序中。客户终端的第一应用程序运行时,加载第二应用程序,第二应用程序随之运行。The second application running on the client terminal supports automatic browser installation. The second application can be made into an ActiveX control. If the second application is not installed in the client terminal, when the first application is logged in through the browser, a prompt window of "whether or not the second application is installed" will pop up in the browser. Through the prompt window, click to install the client terminal second application, then the second application can be installed in the client terminal and embedded in the first application. When the first application of the client terminal runs, the second application is loaded, and the second application runs.
客户终端上运行的第三应用程序可以是基于传统的VNC(Virtual Network
Computer,虚拟计算机)服务端应用程序的开源代码改进后的应用程序。客户终端运行的第二应用程序与第三应用程序相互融合。The third application running on the client terminal can be based on traditional VNC (Virtual Network
Computer, virtual computer) Open source code improved application for server applications. The second application running by the client terminal is integrated with the third application.
设置的第一界面可以是客户在办理开户业务时需要客户输入信息的界面,也可以是显示电子合同的界面等。当客户终端显示设置的第一界面,也就是当通过客户终端运行的第一应用程序显示设置的第一界面,表示此时需要将客户终端的桌面向坐席终端进行共享。此时,客户终端运行的第二应用程序启动客户终端上预先安装的第三应用程序。The first interface set may be an interface that the customer needs to input information when the account opening business is performed, or an interface that displays an electronic contract. When the client terminal displays the set first interface, that is, when the first application running through the client terminal displays the set first interface, it indicates that the desktop of the client terminal needs to be shared with the agent terminal at this time. At this time, the second application running by the client terminal starts the third application pre-installed on the client terminal.
步骤206,客户终端运行的第三应用程序生成字符串,并将字符串设置为第三应用程序的密码。Step 206: The third application running by the client terminal generates a string and sets the string to the password of the third application.
第三应用程序启动后会随机生成一串字符串,并将生成的字符串设置为第三应用程序的密码,也就是第三应用程序将生成的字符串设置为自身的密码。传统的VNC服务端应用程序的密码必须是人工设置的。而本实施例中第三应用程序可以自己生成字符串并设置为相应的密码,无需人工操作,可以自动实现。After the third application starts, a string of characters is randomly generated, and the generated string is set to the password of the third application, that is, the string generated by the third application is set to its own password. The password for a traditional VNC server application must be manually set. In this embodiment, the third application can generate a string and set it as a corresponding password, which can be automatically implemented without manual operation.
步骤208,客户终端运行的第一应用程序将客户终端IP地址和第三应用程序的密码发送至坐席终端,以使得坐席终端运行的第二应用程序根据客户终端IP地址和第三应用程序的密码对坐席终端运行的第四应用程序进行配置。Step 208: The first application running by the client terminal sends the client terminal IP address and the password of the third application to the agent terminal, so that the second application running by the agent terminal is based on the client terminal IP address and the password of the third application. Configure the fourth application running on the agent terminal.
客户终端IP地址可以通过多种方式来获取。具体的,客户终端IP地址可以由客户终端运行的第一应用程序来获取,也可以由客户终端运行的第三应用程序来获取,还可以由客户终端运行的其他应用程序来获取。客户终端运行的第一应用程序将客户终端IP地址和第三应用程序的密码通过网络发送至坐席终端。The client terminal IP address can be obtained in a variety of ways. Specifically, the client terminal IP address may be obtained by the first application running by the client terminal, or may be obtained by the third application running by the client terminal, or may be obtained by other applications running by the client terminal. The first application running by the client terminal transmits the client terminal IP address and the password of the third application to the agent terminal through the network.
坐席是指呼叫中心接听客户来电并为客户办理业务的工作人员。坐席终端是指坐席与客户进行通话并为客户办理业务的终端。坐席终端运行的第一应用程序,坐席可以通过浏览器登录到坐席终端的第一应用程序。其中,浏览器可以是支持IE内核的多种浏览器。坐席终端上运行的第二应用程序支持浏览器自动安装。坐席终端运行的第二应用程序可以是被制作成一种ActiveX控件。第二应用程序可以安装在坐席终端,并嵌入在坐席终端的第一应用程序中。坐席终端的第一应用程序运行时,加载坐席终端的第二应用程序,第二应用程序随之运行。坐席终端运行的第一应用程序与客户终端运行的第一应用程序可以是相同的应用程序。坐席终端运行的第二应用程序与客户终端运行的第二应用程序也可以是相同的应用程序。An agent is a staff member who answers a call from a call center and handles business for the customer. A seat terminal is a terminal that the agent talks with the customer and handles the business for the customer. The first application running on the agent terminal, the agent can log in to the first application of the agent terminal through the browser. Among them, the browser can be a variety of browsers that support the IE kernel. The second application running on the agent terminal supports automatic browser installation. The second application running on the agent terminal can be made into an ActiveX control. The second application can be installed at the agent terminal and embedded in the first application of the agent terminal. When the first application of the agent terminal runs, the second application of the agent terminal is loaded, and the second application runs. The first application running on the agent terminal and the first application running on the client terminal may be the same application. The second application running on the agent terminal and the second application running on the client terminal may also be the same application.
坐席终端的第一应用程序会接收客户终端的第一应用程序所发送的客户终端IP地址和第三应用程序的密码。坐席终端的第一应用程序调用与坐席终端的第二应用程序之间的通信机制,将接收到的客户终端IP地址和第三应用程序的密码发送给坐席终端的第二应用程序。The first application of the agent terminal receives the client terminal IP address sent by the first application of the client terminal and the password of the third application. The first application of the agent terminal invokes a communication mechanism with the second application of the agent terminal, and transmits the received client terminal IP address and the password of the third application to the second application of the agent terminal.
坐席终端运行的第四应用程序可以是基于VNC客户端应用程序的开源代码改进后的应用程序。坐席终端的第二应用程序与坐席终端的第四应用程序相互融合。坐席终端的第二应用程序根据客户终端IP地址和第三应用程序的密码对坐席终端第四应用程序进行配置。具体的,坐席终端的第二应用程序将第四应用程序的服务器地址修改为客户终端IP地址,并在第四应用程序弹出的密码窗口中将密码修改为第三应用程序的密码。由此建立客户终端的第三应用程序与坐席终端的第四应用程序之间的连接。传统的VNC客户端应用程序的服务器地址和密码必须是人工设置的。而本实施例中可以通过坐席终端上运行的第二应用程序来对第四应用程序进行配置,无需人工操作,可以自动完成。The fourth application running on the agent terminal can be an open source code improved application based on the VNC client application. The second application of the agent terminal and the fourth application of the agent terminal are integrated with each other. The second application of the agent terminal configures the agent terminal fourth application according to the client terminal IP address and the password of the third application. Specifically, the second application of the agent terminal modifies the server address of the fourth application to the client terminal IP address, and modifies the password to the password of the third application in the password window popped up by the fourth application. Thereby, a connection between the third application of the client terminal and the fourth application of the agent terminal is established. The server address and password for a traditional VNC client application must be manually set. In this embodiment, the fourth application can be configured by using the second application running on the agent terminal, and can be automatically completed without manual operation.
步骤210,客户终端运行的第三应用程序获取客户终端的桌面环境,并将桌面环境发送至坐席终端运行的第四应用程序进行共享。Step 210: The third application running by the client terminal acquires the desktop environment of the client terminal, and sends the desktop environment to the fourth application running by the agent terminal for sharing.
桌面环境是指包括桌面背景图片、桌面的应用程序和快捷方式等组成的视觉环境。第三应用程序与第四应用程序建立连接之后,第三应用程序可以基于传统的VNC服务端应用程序的功能将客户终端的桌面向坐席终端进行共享。具体的,第三应用程序获取客户终端的桌面环境,并利用VNC通信协议将客户终端的桌面环境发生至第四应用程序。第四应用程序接收客户终端的桌面环境,从而实现客户终端的桌面对坐席终端进行共享。A desktop environment is a visual environment consisting of desktop background images, desktop applications, and shortcuts. After the third application establishes a connection with the fourth application, the third application can share the desktop of the client terminal to the agent terminal based on the function of the traditional VNC server application. Specifically, the third application acquires the desktop environment of the client terminal, and uses the VNC communication protocol to generate the desktop environment of the client terminal to the fourth application. The fourth application receives the desktop environment of the client terminal, so that the desktop of the client terminal shares the agent terminal.
本实施例中,通过客户终端运行的第一应用程序执行业务操作,当客户终端显示设置的第一界面时,客户终端运行的第二应用程序启动第三应用程序,第三应用程序生成字符串,并将字符串设置为第三应用程序的密码。客户终端运行的第一应用程序将客户终端IP地址和第三应用程序的密码发送至坐席终端,坐席终端运行的第二应用程序根据客户终端IP地址和第三应用程序的密码对坐席终端运行的第四应用程序进行配置,由此建立第三应用程序与第四应用程序的连接。从而通过第三应用程序将客户终端的桌面环境发送至第四应用程序,实现了客户终端的桌面向坐席终端进行共享。在整个过程中,无需手动设置第三应用程序的密码,也不需对第四应用程序手动配置客户终端IP地址和第三应用程序的密码,完全实现了自动配置,为坐席获得客户终端的共享桌面提供了便利。In this embodiment, the first application running by the client terminal performs a business operation, and when the client terminal displays the set first interface, the second application run by the client terminal starts the third application, and the third application generates a string. And set the string to the password of the third application. The first application running by the client terminal sends the client terminal IP address and the password of the third application to the agent terminal, and the second application running by the agent terminal runs on the agent terminal according to the client terminal IP address and the password of the third application. The fourth application is configured to establish a connection between the third application and the fourth application. Thereby, the desktop environment of the client terminal is sent to the fourth application program through the third application, and the desktop of the client terminal is shared with the agent terminal. In the whole process, it is not necessary to manually set the password of the third application, nor need to manually configure the password of the client terminal and the password of the third application for the fourth application, fully realize the automatic configuration, and obtain the sharing of the client terminal for the agent. The desktop is convenient.
在一个实施例中,第三应用程序包括共享启动接口,本方法还包括:当共享启动接口的参数被设置为对多个显示器进行共享时,客户终端运行的第三应用程序枚举与客户终端连接的所有显示器;若与客户终端连接的所有显示器的数量大于1,则第三应用程序获取多个显示器的桌面环境,将多个桌面环境发送至坐席终端运行的第四应用程序进行共享。In one embodiment, the third application includes a shared startup interface, and the method further includes: when the parameter of the shared startup interface is set to share the plurality of displays, the third application enumerated by the client terminal and the client terminal All displays connected; if the number of all displays connected to the client terminal is greater than 1, the third application acquires the desktop environment of the plurality of displays, and sends the plurality of desktop environments to the fourth application running by the agent terminal for sharing.
本实施例中,客户终端运行的第三应用程序包括多个接口。接口包括共享启动接口、共享关闭接口和操作控制接口中的至少一项。共享启动接口的参数包括表示共享桌面数量的参数、表示第三应用程序通信端口的参数、表示坐席终端授权的通信端口的参数以及表示是否接收远程控制的参数中的至少一项。其中,表示共享桌面数量的参数(即第一参数)可以设置为共享所有与客户终端连接的显示器的桌面,也可设置为仅共享主显示器的桌面。例如,第一参数被设置为0,表示共享所有与客户终端连接的显示器的桌面;第一参数被设置为1,表示仅共享主显示器的桌面。表示第三应用程序通信端口的参数(即第二参数),可以根据TCP(Transmission
Control Protocol
,传输控制协议)通信协议设置客户端应用程序与坐席终端进行通信的端口号。例如,第二参数被设置为5901。表示坐席终端授权的通信端口的参数(即第三参数),客户根据UDP(User
Datagram
Protocol,用户数据报协议)通信协议设置坐席终端接收客户终端发送的消息的通信端口号。例如,第三参数被设置为1901。表示是否接收远程控制的参数(即第四参数),可以设置为允许客户终端被远程控制,也可以被设置为禁止客户终端被远程控制。例如,第四参数被设置为1,表示允许客户终端被远程控制;第四参数被设置为0,表示禁止客户终端被远程控制。客户终端的第二应用程序启动第三应用程序时,第三应用程序调用共享启动接口。根据已设置的参数,可以实现共享启动接口的业务逻辑。In this embodiment, the third application running by the client terminal includes multiple interfaces. The interface includes at least one of a shared boot interface, a shared shutdown interface, and an operation control interface. The parameters of the shared boot interface include at least one of a parameter indicating a number of shared desktops, a parameter indicating a third application communication port, a parameter indicating a communication port authorized by the agent terminal, and a parameter indicating whether to receive the remote control. The parameter indicating the number of shared desktops (ie, the first parameter) may be set to share the desktop of all displays connected to the client terminal, or may be set to share only the desktop of the primary display. For example, the first parameter is set to 0, indicating that the desktop of all displays connected to the client terminal is shared; the first parameter is set to 1, indicating that only the desktop of the primary display is shared. Indicates the parameter of the third application communication port (ie, the second parameter), which can be based on TCP (Transmission)
Control Protocol
, Transmission Control Protocol) The communication protocol sets the port number at which the client application communicates with the agent terminal. For example, the second parameter is set to 5901. Indicates the parameter of the communication port authorized by the agent terminal (ie, the third parameter), and the client according to UDP (User
Datagram
Protocol, User Datagram Protocol) The communication protocol sets the communication port number at which the agent terminal receives the message sent by the client terminal. For example, the third parameter is set to 1901. The parameter indicating whether to receive the remote control (ie, the fourth parameter) may be set to allow the client terminal to be remotely controlled, or may be set to prohibit the client terminal from being remotely controlled. For example, the fourth parameter is set to 1, indicating that the client terminal is allowed to be remotely controlled; the fourth parameter is set to 0, indicating that the client terminal is prohibited from being remotely controlled. When the second application of the client terminal launches the third application, the third application calls the shared startup interface. According to the parameters that have been set, the business logic of the shared startup interface can be implemented.
当共享启动接口的参数被设置为对多个显示器进行共享时,也就是当表示共享桌面数量的参数被设置为共享所有与客户终端连接的显示器的桌面时,此时,需要确定与客户终端连接的显示器是否有多个。第三应用程序检测与客户终端连接的显示器,并枚举所有显示器。如果与客户终端连接的显示器的数量大于1,则表示有多个显示与客户终端相连。第三应用程序获取多个显示器的桌面环境。根据第三应用程序与第四应用程序之间的连接,第三应用程序将与客户终端连接的多个显示器的桌面环境发生至第四应用程序,以使得坐席终端能够共享客户终端的多个桌面。由此能够提高桌面共享的灵活性。When the parameters of the shared boot interface are set to share with multiple displays, that is, when the parameter indicating the number of shared desktops is set to share the desktop of all displays connected to the client terminal, at this time, it is necessary to determine the connection with the client terminal. Is there more than one display? The third application detects the display connected to the client terminal and enumerates all displays. If the number of displays connected to the client terminal is greater than 1, it means that there are multiple displays connected to the client terminal. The third application acquires a desktop environment of multiple displays. According to the connection between the third application and the fourth application, the third application generates a desktop environment of the plurality of displays connected to the client terminal to the fourth application, so that the agent terminal can share the plurality of desktops of the client terminal . This can increase the flexibility of desktop sharing.
在一个实施例中,第三应用程序包括共享启动接口,在第三应用程序获取客户终端的桌面环境,并将桌面环境发送至第四应用程序进行共享的步骤之后,还包括:当共享启动接口的参数被设置为允许远程控制时,客户终端运行的第三应用程序接收坐席终端对共享桌面环境执行的操作;客户终端运行的第一应用程序显示与操作对应的共享界面;当共享界面显示为设置的第二界面时,客户终端运行的第一应用程序调用第三应用程序的共享关闭接口,将客户终端的桌面环境停止共享。In an embodiment, the third application includes a shared startup interface, and after the third application acquires the desktop environment of the client terminal and sends the desktop environment to the fourth application for sharing, the method further includes: when the shared startup interface The parameter is set to allow remote control, the third application running by the client terminal receives the operation performed by the agent terminal on the shared desktop environment; the first application running by the client terminal displays a sharing interface corresponding to the operation; when the sharing interface is displayed as When the second interface is set, the first application running by the client terminal invokes the shared shutdown interface of the third application to stop sharing the desktop environment of the client terminal.
本实施例中,共享启动接口的参数被设置为运行远程控制时也就是表示是否接收远程控制的参数被设置为允许客户终端被远程控制。坐席通过坐席终端的第一应用程序对共享桌面环境进行操作。客户终端的第三应用程序调用操作控制接口接收坐席终端对共享桌面环境执行的操作,并且通过客户终端的第一应用程序在客户终端显示与操作对应的共享界面。当共享界面显示为设置的第二界面时,客户终端的第一应用程序调用第三应用程序的共享关闭接口,将客户终端的桌面环境停止共享。设置的第二界面可以是业务信息提交成功的界面,也可以是某个业务操作完成的界面。设置的第二界面还可以是任意的界面。进一步的,当共享界面显示为设置的第二界面时,客户终端的第一应用程序还可以调用第三应用程序的授权接口,取消坐席终端对客户终端进行远程控制的授权。此时,桌面共享可以继续进行,但坐席终端只能显示共享界面,但无法对共享界面进行操作。客户终端的第一应用程序再次调用第三应用程序的共享关闭接口,将客户终端的桌面环境停止共享。通过设置第二界面,由此可以在显示第二界面时通过第三应用程序自动停止桌面共享。从而进一步提高了桌面共享的灵活性。In this embodiment, the parameter of the shared startup interface is set to run when the remote control is executed, that is, the parameter indicating whether to receive the remote control is set to allow the client terminal to be remotely controlled. The agent operates the shared desktop environment through the first application of the agent terminal. The third application of the client terminal invokes the operation control interface to receive an operation performed by the agent terminal on the shared desktop environment, and displays a sharing interface corresponding to the operation on the client terminal through the first application of the client terminal. When the sharing interface is displayed as the set second interface, the first application of the client terminal invokes the shared closing interface of the third application to stop sharing the desktop environment of the client terminal. The second interface that is set may be an interface for successfully submitting service information, or an interface for completing a service operation. The second interface set can also be any interface. Further, when the sharing interface is displayed as the set second interface, the first application of the client terminal may also invoke an authorization interface of the third application to cancel the authorization of the agent terminal to remotely control the client terminal. At this point, desktop sharing can continue, but the agent terminal can only display the shared interface, but cannot operate the shared interface. The first application of the client terminal calls the shared close interface of the third application again to stop sharing the desktop environment of the client terminal. By setting the second interface, it is possible to automatically stop the desktop sharing by the third application when the second interface is displayed. This further increases the flexibility of desktop sharing.
进一步的,在客户终端的桌面向坐席终端共享时,如果遇到需要客户确认的环节,则需要客户在客户终端输入确认信息后,坐席终端才可以在共享界面中进行下一步的操作。例如,转账时,对于转账的具体的数目,需要客户确认后,坐席终端才可以在共享界面中进行下一步的操作。由此确保了业务操作的安全性。Further, when the desktop of the client terminal is shared with the agent terminal, if the user needs to confirm the link, the client needs to input the confirmation message to the client terminal, and then the agent terminal can perform the next operation in the sharing interface. For example, when transferring funds, for the specific number of transfers, after the customer needs to confirm, the agent terminal can perform the next operation in the sharing interface. This ensures the security of business operations.
在一个实施例中,该方法还包括:客户终端运行的第三应用程序接收对共享画质的设置;第三应用程序获取共享桌面环境的图像,将图像按照设置的共享画质进行压缩,得到压缩后的共享图像;第三应用程序将压缩后的共享图像发送至坐席终端运行的第四应用程序。In an embodiment, the method further includes: the third application running by the client terminal receives the setting of the shared image quality; the third application acquires the image of the shared desktop environment, and compresses the image according to the set shared image quality, to obtain The compressed shared image; the third application sends the compressed shared image to the fourth application running by the agent terminal.
本实施例中,为了有效提高共享图像的传输速率,还可以对客户终端运行的第三应用程序进行共享画质的设置。比如,共享画质可以设置为高画质、中画质和低画质等。不同的画质对应不同的分辨率。客户终端的第三应用程序获取共享桌面环境的图像,将图像按照设置的共享画质进行压缩,得到压缩后的共享图像;第三应用程序根据与第四应用程序之间的连接,将压缩后的共享图像发送至坐席终端运行的第四应用程序。In this embodiment, in order to effectively increase the transmission rate of the shared image, the shared image quality setting may be performed on the third application running by the client terminal. For example, the shared image quality can be set to high image quality, medium image quality, and low image quality. Different image quality corresponds to different resolutions. The third application of the client terminal acquires an image of the shared desktop environment, compresses the image according to the set shared image quality, and obtains the compressed shared image; and the third application is compressed according to the connection with the fourth application. The shared image is sent to the fourth application running on the agent terminal.
进一步的,客户终端运行的第三应用程序获取在客户终端的桌面上设置的共享区域,第三应用程序将共享区域发送至坐席终端运行的第四应用程序进行共享。由此能够方便客户不必共享整个桌面,可以根据自己的需要来设置不同的共享区域。Further, the third application running by the client terminal acquires the shared area set on the desktop of the client terminal, and the third application sends the shared area to the fourth application running by the agent terminal for sharing. This makes it easy for customers not to share the entire desktop, and can set different sharing areas according to their needs.
在一个实施例中,如图3所示,提供了一种客户终端,包括通过系统总线连接的处理器、内存储器、非易失性存储介质、网络接口、显示屏以及输入装置。坐席终端的非易失性存储介质中存储有第一应用程序、第二应用程序和第三应用程序,用于实现对客户终端的桌面进行共享。客户终端的处理器用于提供计算和控制能力,被配置为执行一种桌面共享方法。客户终端的输入装置包括键盘、鼠标以及麦克风等。本领域技术人员可以理解,图3中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的终端的限定,具体的终端可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。In one embodiment, as shown in FIG. 3, a client terminal is provided that includes a processor coupled via a system bus, an internal memory, a non-volatile storage medium, a network interface, a display screen, and an input device. The first application, the second application, and the third application are stored in the non-volatile storage medium of the agent terminal for sharing the desktop of the client terminal. The client terminal's processor is used to provide computing and control capabilities and is configured to perform a desktop sharing method. The input device of the client terminal includes a keyboard, a mouse, a microphone, and the like. A person skilled in the art can understand that the structure shown in FIG. 3 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the terminal to which the solution of the present application is applied. The specific terminal may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements.
在一个实施例中,提供了一种客户终端,包括处理器及存储器,存储器中储存有指令,指令被处理器执行时,使得处理器执行以下步骤:In one embodiment, a client terminal is provided, including a processor and a memory. The memory stores instructions, and when the instructions are executed by the processor, the processor performs the following steps:
客户终端运行第一应用程序接收操作指令,并执行对应的业务操作;The client terminal runs the first application to receive an operation instruction and performs a corresponding business operation;
当显示设置的第一界面时,客户终端运行第二应用程序启动第三应用程序;When the first interface of the setting is displayed, the client terminal runs the second application to start the third application;
第三应用程序生成字符串,并将字符串设置为第三应用程序的密码;The third application generates a string and sets the string to the password of the third application;
第一应用程序将客户终端IP地址和第三应用程序的密码发送至坐席终端,以使得坐席终端运行的第二应用程序根据客户终端IP地址和第三应用程序的密码对坐席终端运行的第四应用程序进行配置;The first application sends the client terminal IP address and the password of the third application to the agent terminal, so that the second application running by the agent terminal runs the fourth terminal of the agent terminal according to the client terminal IP address and the password of the third application. The application is configured;
第三应用程序获取客户终端的桌面环境,并将桌面环境发送至第四应用程序进行共享。The third application acquires the desktop environment of the client terminal and sends the desktop environment to the fourth application for sharing.
在一个实施例中,如图4所示,提供了一种桌面共享方法,以该方法应用于坐席终端为例进行说明,具体包括:In an embodiment, as shown in FIG. 4, a desktop sharing method is provided. The method is applied to the agent terminal as an example, and specifically includes:
步骤402,坐席终端运行的第一应用程序接收客户终端发送的客户终端IP地址和第三应用程序的密码,第三应用程序的密码根据第三应用程序生成的字符串来设置,第三应用在客户终端显示设置的第一界面时由客户终端上运行的第二应用程序启动。Step 402: The first application running by the agent terminal receives the client terminal IP address sent by the client terminal and the password of the third application, and the password of the third application is set according to the character string generated by the third application, and the third application is When the client terminal displays the set first interface, it is started by the second application running on the client terminal.
步骤404,坐席终端运行的第二应用程序根据客户终端IP地址和第三应用程序的密码对坐席终端运行的第四应用程序进行配置。Step 404: The second application running by the agent terminal configures the fourth application running by the agent terminal according to the client terminal IP address and the password of the third application.
步骤406,坐席终端运行的第四应用程序接收第三应用程序发送的客户终端的桌面环境,得客户终端的桌面对坐席终端共享。Step 406: The fourth application running by the agent terminal receives the desktop environment of the client terminal sent by the third application, and the desktop of the client terminal is shared with the agent terminal.
本实施例中,当客户终端显示设置的第一界面时,也就是当通过客户终端通过第一应用程序显示设置的第一界面时,表示此时需要将客户终端的桌面向坐席终端进行共享。此时,客户终端的第二应用程序启动客户终端的第三应用程序。第三应用程序启动后会随机生成一串字符串,并将生成的字符串设置为第三应用程序的密码。客户终端的第一应用程序将客户终端IP地址和第三应用程序的密码通过网络发送至坐席终端。坐席终端的第一应用程序接收客户终端的第一应用程序发送的客户终端IP地址和第三应用程序的密码。In this embodiment, when the client terminal displays the set first interface, that is, when the first interface is displayed through the first application by the client terminal, it indicates that the desktop of the client terminal needs to be shared with the agent terminal at this time. At this time, the second application of the client terminal launches the third application of the client terminal. After the third application is started, a string of characters is randomly generated, and the generated string is set to the password of the third application. The first application of the client terminal transmits the client terminal IP address and the password of the third application to the agent terminal through the network. The first application of the agent terminal receives the client terminal IP address sent by the first application of the client terminal and the password of the third application.
坐席终端的第一应用程序运行时,加载坐席终端的第二应用程序,坐席终端的第二应用程序随之运行。坐席终端的第一应用程序与客户终端的第一应用程序可以是相同的应用程序。坐席终端的第二应用程序与客户终端的第二应用程序也可以是相同的应用程序。When the first application of the agent terminal runs, the second application of the agent terminal is loaded, and the second application of the agent terminal runs. The first application of the agent terminal and the first application of the client terminal may be the same application. The second application of the agent terminal and the second application of the client terminal may also be the same application.
坐席终端的第一应用程序会接收客户终端的第一应用程序发送的客户终端IP地址和第三应用程序的密码。坐席终端的第一应用程序调用与坐席终端的第二应用程序的通信机制,将接收到的客户终端IP地址和第三应用程序的密码发送给坐席终端的第二应用程序。坐席终端的第四应用程序可以是基于传统的VNC客户端应用程序的开源代码改进后的应用程序。坐席终端的第二应用程序与坐席终端的第四应用程序相互融合。坐席终端的第二应用程序根据客户终端IP地址和客户终端第三应用程序的密码对坐席终端第四应用程序进行配置。由此建立客户终端的第三应用程序与坐席终端的第四应用程序之间的连接。客户终端第三应用程序与坐席终端第四应用程序建立连接之后,客户终端第三应用程序可以基于传统的VNC服务端应用程序的功能将客户终端的桌面向坐席终端进行共享。The first application of the agent terminal receives the client terminal IP address and the password of the third application sent by the first application of the client terminal. The first application of the agent terminal invokes a communication mechanism with the second application of the agent terminal, and transmits the received client terminal IP address and the password of the third application to the second application of the agent terminal. The fourth application of the agent terminal can be an open source code improved application based on a traditional VNC client application. The second application of the agent terminal and the fourth application of the agent terminal are integrated with each other. The second application of the agent terminal configures the agent terminal fourth application according to the client terminal IP address and the password of the client terminal third application. Thereby, a connection between the third application of the client terminal and the fourth application of the agent terminal is established. After the client terminal third application establishes a connection with the agent terminal fourth application, the client terminal third application can share the client terminal's desktop to the agent terminal based on the function of the traditional VNC server application.
本实施例中,坐席终端的第一应用程序接收到第三应用程序的密码是第三应用程序利用自己生成的字符串来设置的,第三应用在客户终端显示设置的第一界面时由客户终端的第二应用程序启动。坐席终端的第二应用程序根据客户终端IP地址和第三应用程序的密码对第四应用程序进行配置,由此建立客户终端的第三应用程序与坐席终端的第四应用程序之间的连接。通过第四应用程序接收第三应用程序发送的客户终端的桌面环境,从而使得客户终端的桌面对坐席终端共享。在整个过程中,无需手动设置第三应用程序的密码,也不需对第四应用程序手动配置客户终端IP地址和第三应用程序的密码,完全实现了自动配置,为坐席获得共享桌面提供了便利。In this embodiment, the password of the third application received by the first application of the agent terminal is set by the third application by using a string generated by the third application, and the third application is displayed by the client when the first interface of the setting is displayed by the client terminal. The second application of the terminal is launched. The second application of the agent terminal configures the fourth application according to the client terminal IP address and the password of the third application, thereby establishing a connection between the third application of the client terminal and the fourth application of the agent terminal. The desktop environment of the client terminal sent by the third application is received by the fourth application, so that the desktop of the client terminal is shared with the agent terminal. Throughout the process, there is no need to manually set the password of the third application, nor need to manually configure the client terminal IP address and the third application password for the fourth application, fully implementing the automatic configuration, providing the agent with the shared desktop. convenient.
在一个实施例中个,该方法还包括:当客户终端运行的第三应用程序被设置为对多个显示器进行共享时,坐席终端运行的第四应用程序接收第三应用程序发送的多个桌面环境,以使得客户终端的多个桌面对坐席终端共享。In one embodiment, the method further includes: when the third application running by the client terminal is configured to share the plurality of displays, the fourth application running by the agent terminal receives the plurality of desktops sent by the third application The environment is such that multiple desktops of the client terminal are shared with the agent terminal.
本实施例中,第三应用程序包括共享启动接口。当共享启动接口的参数被设置为对多个显示器进行共享时,也就是当表示共享桌面数量的参数被设置为共享所有与客户终端连接的显示器的桌面时,此时,需要确定与客户终端连接的显示器是否有多个。第三应用程序检测与客户终端连接的显示器,并枚举所有显示器。如果与客户终端连接的显示器的数量大于1,则表示有多个显示与客户终端相连。坐席终端的第四应用程序根据与第三应用程序之间的连接,接收第三应用程序发送的多个桌面环境,以使得坐席终端共享与客户终端连接的多个显示器的桌面。由此能够提高桌面共享的灵活性。In this embodiment, the third application includes a shared startup interface. When the parameters of the shared boot interface are set to share with multiple displays, that is, when the parameter indicating the number of shared desktops is set to share the desktop of all displays connected to the client terminal, at this time, it is necessary to determine the connection with the client terminal. Is there more than one display? The third application detects the display connected to the client terminal and enumerates all displays. If the number of displays connected to the client terminal is greater than 1, it means that there are multiple displays connected to the client terminal. The fourth application of the agent terminal receives the plurality of desktop environments sent by the third application according to the connection with the third application, so that the agent terminal shares the desktops of the plurality of displays connected to the client terminal. This can increase the flexibility of desktop sharing.
在一个实施例中,如图5所示,提供了一种桌面共享方法,以该方法应用于第一终端为例进行说明,具体包括:In an embodiment, as shown in FIG. 5, a desktop sharing method is provided, and the method is applied to the first terminal as an example for description.
步骤502,当第一终端显示设置的第三界面时,第一终端上运行的第二应用程序启动第三应用程序。Step 502: When the first terminal displays the set third interface, the second application running on the first terminal starts the third application.
步骤504,第一终端运行的第三应用程序生成字符串,并将字符串设置为第三应用程序的密码。Step 504: The third application running by the first terminal generates a character string and sets the character string as a password of the third application.
步骤506,第一终端运行的第二应用程序将第一终端IP地址和第三应用程序的密码发送至第二终端以使得第二终端中运行的第二应用程序根据第一终端IP地址和第三应用程序的密码对第二终端中运行的第四应用程序进行配置。Step 506: The second application running by the first terminal sends the first terminal IP address and the password of the third application to the second terminal, so that the second application running in the second terminal is based on the first terminal IP address and the first terminal. The password of the three applications configures the fourth application running in the second terminal.
步骤508,第一终端运行的第三应用程序获取第一终端的桌面环境,并将桌面环境发送至第四应用程序进行共享。Step 508: The third application running by the first terminal acquires the desktop environment of the first terminal, and sends the desktop environment to the fourth application for sharing.
本实施例中,第三界面包括在线客服、远程视频教学或视频会议等界面,可以与第一界面相同,也可以与第一界面不同。In this embodiment, the third interface includes an online customer service, a remote video teaching, or a video conference interface, and may be the same as the first interface or different from the first interface.
第一终端上运行的第二应用程序支持浏览器自动安装。第二应用程序可以是被制作成一种ActiveX控件。第一终端上运行的第三应用程序可以是基于传统的VNC服务端应用程序的开源代码改进后的应用程序。第二应用程序和第三应用程序相互融合,预先安装在第一终端。The second application running on the first terminal supports automatic browser installation. The second application can be made into an ActiveX control. The third application running on the first terminal may be an open source code improved application based on a traditional VNC server application. The second application and the third application are integrated with each other and are pre-installed at the first terminal.
当第一终端显示设置的第三界面时,表示此时需要将第一终端的桌面向第二终端进行共享。此时,第一终端的第二应用程序启动第三应用程序。第三应用程序启动后会随机生成一串字符串,并将生成的字符串设置为第三应用程序的密码,也就是第三应用程序将生成的字符串设置为自身的密码。传统的VNC服务端应用程序的密码必须是人工设置的。而本实施例中第三应用程序可以自己生成字符串并设置为相应的密码,无需人工操作,可以自动实现。When the first terminal displays the set third interface, it indicates that the desktop of the first terminal needs to be shared with the second terminal at this time. At this time, the second application of the first terminal starts the third application. After the third application starts, a string of characters is randomly generated, and the generated string is set to the password of the third application, that is, the string generated by the third application is set to its own password. The password for a traditional VNC server application must be manually set. In this embodiment, the third application can generate a string and set it as a corresponding password, which can be automatically implemented without manual operation.
第一终端IP地址可以通过多种方式来获取。具体的,第一终端IP地址可以由第一终端运行的第二应用程序来获取,也可以由第一终端运行的第三应用程序来获取,还可以由第一终端运行的其他应用程序来获取。第一终端运行的第二应用程序将第一终端IP地址和第三应用程序的密码通过网络发送至第二终端。The first terminal IP address can be obtained in a variety of ways. Specifically, the first terminal IP address may be obtained by the second application running by the first terminal, or may be acquired by the third application running by the first terminal, or may be obtained by other applications running by the first terminal. . The second application running by the first terminal sends the first terminal IP address and the password of the third application to the second terminal through the network.
第二终端运行第二应用程序和第四应用程序。第四应用程序可以是基于VNC客户端应用程序的开源代码改进后的应用程序。第二终端的第二应用程序与第四应用程序相互融合。第二终端的第二应用程序接收第一终端发送的第一终端IP地址和第三应用程序的密码。The second terminal runs the second application and the fourth application. The fourth application can be an open source code based application based on the VNC client application. The second application of the second terminal and the fourth application are merged with each other. The second application of the second terminal receives the first terminal IP address sent by the first terminal and the password of the third application.
第二终端的第二应用程序根据第一终端IP地址和第三应用程序的密码对第四应用程序进行配置。具体的,第二终端的第二应用程序将第四应用程序的服务器地址修改为第一终端IP地址,并在第四应用程序弹出的密码窗口中将密码修改为第三应用程序的密码。由此建立第一终端的第三应用程序与第二终端的第四应用程序之间的连接。传统的VNC客户端应用程序的服务器地址和密码必须是人工设置的。而本实施例中可以通过第二终端上运行的第二应用程序来对第四应用程序进行配置,无需人工操作,可以自动完成。第三应用程序获取第一终端的桌面环境,并将桌面环境发送至第四应用程序进行共享。从而实现第一终端的桌面对第二终端进行共享。The second application of the second terminal configures the fourth application according to the first terminal IP address and the password of the third application. Specifically, the second application of the second terminal modifies the server address of the fourth application to the first terminal IP address, and modifies the password to the password of the third application in the password window popped up by the fourth application. Thereby, a connection between the third application of the first terminal and the fourth application of the second terminal is established. The server address and password for a traditional VNC client application must be manually set. In this embodiment, the fourth application can be configured by using the second application running on the second terminal, and can be automatically completed without manual operation. The third application acquires the desktop environment of the first terminal, and sends the desktop environment to the fourth application for sharing. Thereby, the desktop of the first terminal is shared with the second terminal.
本实施例中,当第一终端显示设置的第三界面时,第一终端运行的第二应用程序启动第三应用程序,第三应用程序生成字符串,并将字符串设置为第三应用程序的密码。第一终端运行的第二应用程序将客户终端IP地址和第三应用程序的密码发送至第二终端,第二终端运行的第二应用程序根据第一终端IP地址和第三应用程序的密码对第二终端运行的第四应用程序进行配置,由此建立第三应用程序与第四应用程序的连接。从而通过第三应用程序将第一终端的桌面环境发送至第四应用程序,实现了第一终端的桌面向第二终端进行共享。在整个过程中,无需手动设置第三应用程序的密码,也不需对第四应用程序手动配置第一终端IP地址和第三应用程序的密码,完全实现了自动配置,为用户获得第一终端的共享桌面提供了便利。In this embodiment, when the first terminal displays the set third interface, the second application running by the first terminal starts the third application, and the third application generates a string and sets the string as the third application. Password. The second application running by the first terminal sends the client terminal IP address and the password of the third application to the second terminal, and the second application run by the second terminal is based on the first terminal IP address and the password pair of the third application. The fourth application running by the second terminal is configured to establish a connection between the third application and the fourth application. Therefore, the desktop environment of the first terminal is sent to the fourth application by using the third application, and the desktop of the first terminal is shared with the second terminal. In the whole process, it is not necessary to manually set the password of the third application, and the first terminal IP address and the password of the third application are not manually configured for the fourth application, and the automatic configuration is completely realized, and the first terminal is obtained for the user. The shared desktop provides convenience.
进一步的,第三应用程序包括共享启动接口,当共享启动接口的参数被设置为对多个显示器进行共享时,第三应用程序枚举与第一终端连接的所有显示器;若与第一终端连接的所有显示器的数量大于1,则第三应用程序获取多个显示器的桌面环境,将多个桌面环境发送至第四应用程序进行共享。由此能够提高桌面共享的灵活性。Further, the third application includes a shared startup interface, and when the parameter of the shared startup interface is set to share the plurality of displays, the third application enumerates all the displays connected to the first terminal; if connected to the first terminal The number of all displays is greater than 1, the third application acquires the desktop environment of multiple displays, and sends multiple desktop environments to the fourth application for sharing. This can increase the flexibility of desktop sharing.
进一步的,当共享启动接口的参数被设置为允许远程控制时,第三应用程序接收第二终端对共享桌面环境执行的操作;第一终端显示与操作对应的共享界面;当共享界面显示为设置的第四界面时,第三应用程序调用共享关闭接口,将第二终端的桌面环境停止共享。由此能够提高桌面共享的灵活性。Further, when the parameter of the shared startup interface is set to allow remote control, the third application receives an operation performed by the second terminal on the shared desktop environment; the first terminal displays a sharing interface corresponding to the operation; when the sharing interface is displayed as a setting In the fourth interface, the third application calls the shared shutdown interface to stop sharing the desktop environment of the second terminal. This can increase the flexibility of desktop sharing.
进一步的,第三应用程序接收对共享画质的设置;第三应用程序获取共享桌面环境的图像,将图像按照设置的共享画质进行压缩,得到压缩后的共享图像;第三应用程序将压缩后的共享图像发送至第四应用程序。由此能够有效提高共享图像的传输速率。Further, the third application receives the setting of the shared image quality; the third application acquires the image of the shared desktop environment, compresses the image according to the set shared image quality, and obtains the compressed shared image; the third application compresses The subsequent shared image is sent to the fourth application. Thereby, the transmission rate of the shared image can be effectively improved.
在一个实施例中,该方法还包括:第三应用程序获取在第一终端的桌面上设置的共享区域;第三应用程序将共享区域发送至第四应用程序进行共享。In one embodiment, the method further includes: the third application acquires the shared area set on the desktop of the first terminal; and the third application sends the shared area to the fourth application for sharing.
本实施例中,可以在第一终端的桌面上设置共享区域。具体的,第三应用程序获取第一终端桌面上的多个坐标,确定多个坐标彼此连接后形成的区域范围,将此区域范围确定为第一终端桌面的共享区域。第三应用程序获取共享区域的图像,将共享区域的图像发送至第四应用程序,使得第二终端能够对第一终端桌面中指定的区域进行共享。对于共享区域范围之外的区域不进行共享。由此能够方便第一终端的用户不必共享整个桌面,可以根据自己的需要来设置不同的共享区域。In this embodiment, the shared area may be set on the desktop of the first terminal. Specifically, the third application acquires multiple coordinates on the desktop of the first terminal, determines a range of regions formed by connecting the plurality of coordinates to each other, and determines the region range as the shared region of the first terminal desktop. The third application acquires an image of the shared area, and transmits the image of the shared area to the fourth application, so that the second terminal can share the designated area in the first terminal desktop. No sharing is done for areas outside the shared area. Therefore, the user of the first terminal does not have to share the entire desktop, and different sharing areas can be set according to his own needs.
在一个实施例中,提供了一种终端,包括处理器及存储器,存储器中储存有指令,指令被处理器执行时,使得处理器执行以下步骤:In one embodiment, a terminal is provided, including a processor and a memory, wherein the memory stores instructions, and when the instructions are executed by the processor, the processor performs the following steps:
当显示设置的第三界面时,通过第二应用程序启动第三应用程序;When the set third interface is displayed, the third application is started by the second application;
第三应用程序生成字符串,并将字符串设置为第三应用程序的密码;The third application generates a string and sets the string to the password of the third application;
第二应用程序将第一终端IP地址和第三应用程序的密码发送至第二终端以使得第二终端中运行的第二应用程序根据第一终端IP地址和第三应用程序的密码对第二终端中运行的第四应用程序进行配置;The second application sends the first terminal IP address and the password of the third application to the second terminal, so that the second application running in the second terminal is second according to the first terminal IP address and the third application password pair The fourth application running in the terminal is configured;
第三应用程序获取第一终端的桌面环境,并将桌面环境发送至第四应用程序进行共享。The third application acquires the desktop environment of the first terminal, and sends the desktop environment to the fourth application for sharing.
在一个实施例中,如图6所示,提供了一种桌面共享方法,以该方法应用于第二终端为例进行说明,具体包括:In an embodiment, as shown in FIG. 6, a method for sharing a desktop is provided, and the method is applied to the second terminal as an example.
步骤602,第二终端中运行的第二应用程序接收第一终端发送的第一终端IP地址和第三应用程序的密码,第三应用程序运行在第一终端,当第一终端显示设置的第三界面时,第一终端上运行的第二应用程序启动第三应用程序,第三应用程序生成字符串,并将字符串设置为第三应用程序的密码。Step 602: The second application running in the second terminal receives the first terminal IP address sent by the first terminal and the password of the third application, and the third application runs on the first terminal, and the first terminal displays the set In the third interface, the second application running on the first terminal starts the third application, the third application generates a string, and sets the string to the password of the third application.
步骤604,第二终端中运行的第二应用程序根据第一终端IP地址和第三应用程序的密码对第二终端中运行的第四应用程序进行配置。Step 604: The second application running in the second terminal configures the fourth application running in the second terminal according to the first terminal IP address and the password of the third application.
步骤606,第二终端运行的第四应用程序接收第三应用程序发送的第一终端的桌面环境,以使得第二终端共享第一终端的桌面。Step 606: The fourth application running by the second terminal receives the desktop environment of the first terminal sent by the third application, so that the second terminal shares the desktop of the first terminal.
本实施例中,当第一终端显示设置的第三界面时,第一终端上运行的第二应用程序启动第三应用程序,第三应用程序生成字符串,并将字符串设置为第三应用程序的密码。第一终端运行的第二应用程序将第一终端IP地址和第三应用程序的密码通过网络发送至第二终端。第二终端的第二应用程序接收第一终端发送的第一终端IP地址和第三应用程序的密码。第二终端的第二应用程序根据第一终端IP地址和第三应用程序的密码对第四应用程序进行配置。由此建立第一终端的第三应用程序与第二终端的第四应用程序之间的连接。第三应用程序获取第一终端的桌面环境,并将桌面环境发送至第四应用程序进行共享。从而实现第一终端的桌面对第二终端进行共享。In this embodiment, when the first terminal displays the set third interface, the second application running on the first terminal starts the third application, and the third application generates a character string and sets the character string as the third application. The password for the program. The second application running by the first terminal sends the first terminal IP address and the password of the third application to the second terminal through the network. The second application of the second terminal receives the first terminal IP address sent by the first terminal and the password of the third application. The second application of the second terminal configures the fourth application according to the first terminal IP address and the password of the third application. Thereby, a connection between the third application of the first terminal and the fourth application of the second terminal is established. The third application acquires the desktop environment of the first terminal, and sends the desktop environment to the fourth application for sharing. Thereby, the desktop of the first terminal is shared with the second terminal.
本实施例中,第二终端接收到第三应用程序的密码是第三应用程序利用自己生成的字符串来设置的,第三应用在第一终端显示设置的第三界面时由第一终端的第二应用程序启动。第二终端的第二应用程序根据第一终端IP地址和第三应用程序的密码对第四应用程序进行配置,由此建立客户终端的第三应用程序与坐席终端的第四应用程序之间的连接。通过第四应用程序接收第三应用程序发送的第一终端的桌面环境,从而使得第一终端的桌面对第二终端共享。在整个过程中,无需手动设置第三应用程序的密码,也不需对第四应用程序手动配置第一终端IP地址和第三应用程序的密码,完全实现了自动配置,为用户获得共享桌面提供了便利。In this embodiment, the password of the third application received by the second terminal is set by the third application by using a string generated by the third terminal, and the third application is configured by the first terminal when the first terminal displays the set third interface. The second application starts. The second application of the second terminal configures the fourth application according to the first terminal IP address and the password of the third application, thereby establishing a third application between the client terminal and the fourth application of the agent terminal connection. Receiving, by the fourth application, a desktop environment of the first terminal sent by the third application, so that the desktop of the first terminal is shared with the second terminal. Throughout the process, there is no need to manually set the password of the third application, nor need to manually configure the first terminal IP address and the password of the third application for the fourth application, fully implementing automatic configuration, providing the user with a shared desktop. Convenience.
在一个实施例中,如图7所示,提供了一种桌面共享系统,该系统包括:客户终端702和坐席终端704;其中:In one embodiment, as shown in FIG. 7, a desktop sharing system is provided, the system comprising: a client terminal 702 and an agent terminal 704; wherein:
客户终端702运行的第一应用程序接收操作指令,并执行对应的操作;当客户终端702显示设置的第一界面时,客户终端702运行的第二应用程序启动第三应用程序;第三应用程序生成字符串,并将字符串设置为第三应用程序的密码;客户终端702运行的第一应用程序将客户终端IP地址和第三应用程序的密码发送至坐席终端704。The first application running by the client terminal 702 receives the operation instruction and performs the corresponding operation; when the client terminal 702 displays the set first interface, the second application run by the client terminal 702 starts the third application; the third application A string is generated and the string is set to the password of the third application; the first application run by the client terminal 702 transmits the client terminal IP address and the password of the third application to the agent terminal 704.
坐席终端704运行的第一应用程序接收客户终端702发送的客户终端IP地址和第三应用程序的密码;坐席终端704运行的第二应用程序根据客户终端IP地址和第三应用程序的密码对坐席终端704运行的第四应用程序进行配置;The first application running by the agent terminal 704 receives the client terminal IP address sent by the client terminal 702 and the password of the third application; the second application running by the agent terminal 704 acts on the agent according to the client terminal IP address and the password of the third application. The fourth application running by the terminal 704 is configured;
第三应用程序获取客户终端702的桌面环境,并将桌面环境发送至第四应用程序;第四应用程序接收桌面环境,以使得客户终端702的桌面对坐席终端704共享。The third application acquires the desktop environment of the client terminal 702 and transmits the desktop environment to the fourth application; the fourth application receives the desktop environment such that the desktop of the client terminal 702 is shared with the agent terminal 704.
本实施例中,通过客户终端运行的第一应用程序执行业务操作,当客户终端显示设置的第一界面时,客户终端运行的第二应用程序启动第三应用程序,第三应用程序生成字符串,并将字符串设置为第三应用程序的密码。客户终端运行的第一应用程序将客户终端IP地址和第三应用程序的密码发送至坐席终端,坐席终端运行的第二应用程序根据客户终端IP地址和第三应用程序的密码对坐席终端运行的第四应用程序进行配置,由此建立第三应用程序与第四应用程序的连接。从而通过第三应用程序将客户终端的桌面环境发送至第四应用程序,实现了客户终端的桌面向坐席终端进行共享。在整个过程中,无需手动设置第三应用程序的密码,也不需对第四应用程序手动配置客户终端IP地址和第三应用程序的密码,完全实现了自动配置,为坐席获得客户终端的共享桌面提供了便利。In this embodiment, the first application running by the client terminal performs a business operation, and when the client terminal displays the set first interface, the second application run by the client terminal starts the third application, and the third application generates a string. And set the string to the password of the third application. The first application running by the client terminal sends the client terminal IP address and the password of the third application to the agent terminal, and the second application running by the agent terminal runs on the agent terminal according to the client terminal IP address and the password of the third application. The fourth application is configured to establish a connection between the third application and the fourth application. Thereby, the desktop environment of the client terminal is sent to the fourth application program through the third application, and the desktop of the client terminal is shared with the agent terminal. In the whole process, it is not necessary to manually set the password of the third application, nor need to manually configure the password of the client terminal and the password of the third application for the fourth application, fully realize the automatic configuration, and obtain the sharing of the client terminal for the agent. The desktop is convenient.
在一个实施例中,第三应用程序包括共享启动接口,当共享启动接口的参数被设置为对多个显示器进行共享时,通过第三应用程序枚举与客户终端连接的所有显示器;若与客户终端连接的所有显示器的数量大于1,则客户终端通过第三应用程序获取多个显示器的桌面环境,将多个桌面环境发送至第四应用程序进行共享。In one embodiment, the third application includes a shared boot interface that enumerates all displays connected to the client terminal through the third application when the parameters of the shared boot interface are set to share with the plurality of displays; If the number of all the displays connected to the terminal is greater than 1, the client terminal acquires the desktop environment of the plurality of displays through the third application, and sends the plurality of desktop environments to the fourth application for sharing.
在一个实施例中,第三应用程序包括共享启动接口,坐席终端通过第一应用程序对共享桌面环境进行操作;客户终端通过第三应用程序接收坐席终端对共享桌面环境执行的操作,并且通过客户终端运行的第一应用程序在客户终端显示与操作对应的共享界面;当共享界面显示为设置的第二界面时,第一应用程序调用第三应用程序的共享关闭接口,将客户终端的桌面环境停止共享。In an embodiment, the third application includes a shared startup interface, and the agent terminal operates the shared desktop environment by using the first application; the client terminal receives, by the third application, the operation performed by the agent terminal on the shared desktop environment, and passes the client The first application running by the terminal displays a sharing interface corresponding to the operation on the client terminal; when the sharing interface is displayed as the set second interface, the first application calls the shared closing interface of the third application, and the desktop environment of the client terminal is Stop sharing.
在一个实施例中,客户终端通过第三应用程序对共享画质的设置;第三应用程序获取共享桌面环境的图像,将图像按照设置的共享画质进行压缩,得到压缩后的共享图像;客户终端运行的第三应用程序将压缩后的共享图像发送至坐席终端运行的第四应用程序。In one embodiment, the client terminal sets the shared image quality through the third application; the third application acquires the image of the shared desktop environment, compresses the image according to the set shared image quality, and obtains the compressed shared image; the client The third application running by the terminal sends the compressed shared image to the fourth application running by the agent terminal.
在一个实施例中,客户终端通过第三应用程序在桌面上设置共享区域;第三应用程序将共享区域发送至坐席终端运行的第四应用程序进行共享。In one embodiment, the client terminal sets a shared area on the desktop through the third application; the third application sends the shared area to the fourth application running by the agent terminal for sharing.
在一个实施例中,如图8所示,提供了一种桌面共享系统,包括第一终端802和第二终端804;其中:In one embodiment, as shown in FIG. 8, a desktop sharing system is provided, including a first terminal 802 and a second terminal 804; wherein:
当第一终端802显示设置的第三界面时,第一终端802上运行的第二应用程序启动第三应用程序;第三应用程序生成字符串,并将字符串设置为第三应用程序的密码;第二应用程序将第一终端IP地址和第三应用程序的密码发送至第二终端804。When the first terminal 802 displays the set third interface, the second application running on the first terminal 802 starts the third application; the third application generates a character string and sets the string as the password of the third application. The second application transmits the first terminal IP address and the password of the third application to the second terminal 804.
第二终端804中运行的第二应用程序接收第一终端IP地址和第三应用程序的密码,根据第一终端IP地址和第三应用程序的密码对第二终端804中运行的第四应用程序进行配置;通过第一终端802运行的第三应用程序获取第一终端802的桌面环境,并将桌面环境发送至第二终端804运行的第四应用程序进行共享。The second application running in the second terminal 804 receives the first terminal IP address and the password of the third application, and the fourth application running in the second terminal 804 according to the first terminal IP address and the password of the third application. The configuration is performed; the third application running by the first terminal 802 acquires the desktop environment of the first terminal 802, and sends the desktop environment to the fourth application running by the second terminal 804 for sharing.
在一个实施例中,提供了一个或多个存储有计算机可执行指令的非易失性可读存储介质,所述计算机可执行指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:In one embodiment, one or more non-volatile readable storage media storing computer-executable instructions are provided, the computer-executable instructions being executed by one or more processors such that the one or more The processors perform the following steps:
当第一终端显示设置的第三界面时,第一终端上运行的第二应用程序启动第三应用程序;When the first terminal displays the set third interface, the second application running on the first terminal starts the third application;
第三应用程序生成字符串,并将字符串设置为第三应用程序的密码;The third application generates a string and sets the string to the password of the third application;
第二应用程序将第一终端IP地址和第三应用程序的密码发送至第二终端以使得第二终端中运行的第二应用程序根据第一终端IP地址和第三应用程序的密码对第二终端中运行的第四应用程序进行配置;及The second application sends the first terminal IP address and the password of the third application to the second terminal, so that the second application running in the second terminal is second according to the first terminal IP address and the third application password pair The fourth application running in the terminal is configured; and
第三应用程序获取第一终端的桌面环境,并将桌面环境发送至第四应用程序进行共享。The third application acquires the desktop environment of the first terminal, and sends the desktop environment to the fourth application for sharing.
在一个实施例中,提供了一个或多个存储有计算机可执行指令的非易失性可读存储介质,所述计算机可执行指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:In one embodiment, one or more non-volatile readable storage media storing computer-executable instructions are provided, the computer-executable instructions being executed by one or more processors such that the one or more The processors perform the following steps:
运行第一应用程序接收操作指令,并执行对应的业务操作;Running the first application to receive an operation instruction and performing a corresponding business operation;
当显示设置的第一界面时,运行第二应用程序启动第三应用程序;When the first interface of the setting is displayed, running the second application starts the third application;
第三应用程序生成字符串,并将字符串设置为第三应用程序的密码;The third application generates a string and sets the string to the password of the third application;
第一应用程序将客户终端IP地址和第三应用程序的密码发送至坐席终端,以使得坐席终端运行的第二应用程序根据客户终端IP地址和第三应用程序的密码对坐席终端运行的第四应用程序进行配置;及The first application sends the client terminal IP address and the password of the third application to the agent terminal, so that the second application running by the agent terminal runs the fourth terminal of the agent terminal according to the client terminal IP address and the password of the third application. Application configuration; and
第三应用程序获取客户终端的桌面环境,并将桌面环境发送至第四应用程序进行共享。The third application acquires the desktop environment of the client terminal and sends the desktop environment to the fourth application for sharing.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only
Memory,ROM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a non-volatile computer readable storage medium. Wherein, the program, when executed, may include the flow of an embodiment of the methods as described above. The storage medium may be a magnetic disk, an optical disk, or a read-only storage memory (Read-Only)
Memory, ROM), etc.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be considered as the scope of this manual.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-described embodiments are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.
Claims (20)
- 一种桌面共享方法,包括:A desktop sharing method, including:客户终端运行的第一应用程序接收操作指令,并执行对应的业务操作;The first application running by the client terminal receives the operation instruction and performs a corresponding business operation;当显示设置的第一界面时,客户终端运行的第二应用程序启动第三应用程序;When the first interface of the setting is displayed, the second application running by the client terminal starts the third application;所述第三应用程序生成字符串,并将所述字符串设置为所述第三应用程序的密码;The third application generates a character string and sets the character string as a password of the third application;所述第一应用程序将客户终端IP地址和所述第三应用程序的密码发送至坐席终端,以使得所述坐席终端运行的第二应用程序根据所述客户终端IP地址和所述第三应用程序的密码对坐席终端运行的第四应用程序进行配置;及Transmitting, by the first application, a client terminal IP address and a password of the third application to the agent terminal, so that the second application running by the agent terminal is based on the client terminal IP address and the third application The password of the program is configured for the fourth application running on the agent terminal; and所述第三应用程序获取客户终端的桌面环境,并将所述桌面环境发送至所述第四应用程序进行共享。The third application acquires a desktop environment of the client terminal, and sends the desktop environment to the fourth application for sharing.
- 根据权利要求1所述的方法,其特征在于,所述第三应用程序包括共享启动接口,所述方法还包括:The method of claim 1, wherein the third application comprises a shared startup interface, the method further comprising:当所述共享启动接口的参数被设置为对多个显示器进行共享时,所述第三应用程序枚举与客户终端连接的所有显示器;The third application enumerates all displays connected to the client terminal when the parameters of the shared boot interface are set to share with a plurality of displays;若与客户终端连接的所有显示器的数量大于1,则所述第三应用程序获取多个显示器的桌面环境,将多个桌面环境发送至所述第四应用程序进行共享。If the number of all displays connected to the client terminal is greater than 1, the third application acquires a desktop environment of the plurality of displays, and sends the plurality of desktop environments to the fourth application for sharing.
- 根据权利要求1所述的方法,其特征在于,所述第三应用程序包括共享启动接口,在所述第三应用程序获取客户终端的桌面环境,并将所述桌面环境发送至所述第四应用程序进行共享之后,所述方法还包括:The method according to claim 1, wherein the third application comprises a shared startup interface, the third application acquires a desktop environment of the client terminal, and sends the desktop environment to the fourth After the application is shared, the method further includes:当所述共享启动接口的参数被设置为允许远程控制时,所述第三应用程序接收坐席终端对共享桌面环境执行的操作;When the parameter of the shared boot interface is set to allow remote control, the third application receives an operation performed by the agent terminal on the shared desktop environment;所述第一应用程序显示与操作对应的共享界面;The first application displays a sharing interface corresponding to the operation;当共享界面显示为设置的第二界面时,所述第一应用程序调用所述第三应用程序的共享关闭接口,将客户终端的桌面环境停止共享。When the sharing interface is displayed as the set second interface, the first application calls the shared closing interface of the third application to stop sharing the desktop environment of the client terminal.
- 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:所述第三应用程序接收对共享画质的设置;The third application receives settings for sharing image quality;所述第三应用程序获取共享桌面环境的图像,将所述图像按照设置的共享画质进行压缩,得到压缩后的共享图像;The third application acquires an image of the shared desktop environment, compresses the image according to the set shared image quality, and obtains the compressed shared image;所述第三应用程序将压缩后的共享图像发送至所述第四应用程序。The third application sends the compressed shared image to the fourth application.
- 一种桌面共享方法,包括:A desktop sharing method, including:坐席终端运行的第一应用程序接收客户终端发送的客户终端IP地址和第三应用程序的密码,所述第三应用程序的密码根据第三应用程序生成的字符串来设置,所述第三应用在所述客户终端显示设置的第一界面时由客户终端上运行的第二应用程序启动;The first application running by the agent terminal receives the client terminal IP address sent by the client terminal and the password of the third application, and the password of the third application is set according to a character string generated by the third application, the third application When the client terminal displays the set first interface, it is started by the second application running on the client terminal;坐席终端运行的第二应用程序根据所述客户终端IP地址和所述第三应用程序的密码对坐席终端运行的第四应用程序进行配置;及The second application running by the agent terminal configures the fourth application running by the agent terminal according to the client terminal IP address and the password of the third application; and所述第四应用程序接收所述第三应用程序发送的客户终端的桌面环境,得客户终端的桌面对坐席终端共享。The fourth application receives the desktop environment of the client terminal sent by the third application, and the desktop of the client terminal is shared with the agent terminal.
- 根据权利要求5所述的方法,其特征在于,还包括:The method of claim 5, further comprising:当所述客户终端第三应用程序被设置为对多个显示器进行共享时,所述第四应用程序接收所述第三应用程序发送的多个桌面环境,以使得客户终端的多个桌面对坐席终端共享。When the client terminal third application is set to share the plurality of displays, the fourth application receives the plurality of desktop environments sent by the third application, so that the plurality of desktops of the client terminal are seats Terminal sharing.
- 一种桌面共享方法,包括:A desktop sharing method, including:当第一终端显示设置的第三界面时,第一终端上运行的第二应用程序启动第三应用程序;When the first terminal displays the set third interface, the second application running on the first terminal starts the third application;所述第三应用程序生成字符串,并将所述字符串设置为第三应用程序的密码;The third application generates a character string and sets the character string as a password of the third application;第二应用程序将第一终端IP地址和第三应用程序的密码发送至第二终端以使得所述第二终端中运行的第二应用程序根据所述第一终端IP地址和所述第三应用程序的密码对第二终端中运行的第四应用程序进行配置;及The second application sends the first terminal IP address and the password of the third application to the second terminal such that the second application running in the second terminal is based on the first terminal IP address and the third application The password of the program configures the fourth application running in the second terminal; and所述第三应用程序获取第一终端的桌面环境,并将所述桌面环境发送至所述第四应用程序进行共享。The third application acquires a desktop environment of the first terminal, and sends the desktop environment to the fourth application for sharing.
- 根据权利要求7所述的方法,其特征在于,所述第三应用程序包括共享启动接口,所述方法还包括:The method of claim 7, wherein the third application comprises a shared startup interface, the method further comprising:当共享启动接口的参数被设置为对多个显示器进行共享时,所述第三应用程序列举与第一终端连接的所有显示器;The third application enumerates all displays connected to the first terminal when the parameters of the shared boot interface are set to share with the plurality of displays;若与第一终端连接的所有显示器的数量大于1,则所述第三应用程序获取多个显示器的桌面环境,将多个桌面环境发送至所述第四应用程序进行共享。If the number of all displays connected to the first terminal is greater than 1, the third application acquires a desktop environment of the plurality of displays, and sends the plurality of desktop environments to the fourth application for sharing.
- 根据权利要求7所述的方法,其特征在于,所述第三应用程序包括共享启动接口,在所述第三应用程序获取第一终端的桌面环境,并将所述桌面环境发送至所述第四应用程序进行共享之后,所述方法还包括:The method according to claim 7, wherein the third application comprises a shared startup interface, the third application acquires a desktop environment of the first terminal, and sends the desktop environment to the first After the four applications share, the method further includes:当共享启动接口的参数被设置为允许远程控制时,所述第三应用程序接收第二终端对共享桌面环境执行的操作;When the parameter of the shared boot interface is set to allow remote control, the third application receives an operation performed by the second terminal on the shared desktop environment;第一终端显示与操作对应的共享界面;The first terminal displays a sharing interface corresponding to the operation;当共享界面显示为设置的第四界面时,所述第三应用程序调用共享关闭接口,将第二终端的桌面环境停止共享。When the sharing interface is displayed as the set fourth interface, the third application calls the shared shutdown interface to stop sharing the desktop environment of the second terminal.
- 根据权利要求7所述的方法,其特征在于,还包括:The method of claim 7 further comprising:所述第三应用程序接收对共享画质的设置;The third application receives settings for sharing image quality;所述第三应用程序获取共享桌面环境的图像,将所述图像按照设置的共享画质进行压缩,得到压缩后的共享图像;The third application acquires an image of the shared desktop environment, compresses the image according to the set shared image quality, and obtains the compressed shared image;所述第三应用程序将压缩后的共享图像发送至所述第四应用程序。The third application sends the compressed shared image to the fourth application.
- 根据权利要求7所述的方法,其特征在于,还包括:The method of claim 7 further comprising:所述第三应用程序获取在第一终端的桌面上设置的共享区域;The third application acquires a shared area set on a desktop of the first terminal;所述第三应用程序将所述共享区域发送至所述第四应用程序进行共享。The third application sends the shared area to the fourth application for sharing.
- 一种桌面共享方法,包括:A desktop sharing method, including:第二终端中运行的第二应用程序接收第一终端发送的第一终端IP地址和第三应用程序的密码,所述第三应用程序运行在第一终端,当第一终端显示设置的第三界面时,第一终端上运行的第二应用程序启动所述第三应用程序,所述第三应用程序生成字符串,并将所述字符串设置为第三应用程序的密码;The second application running in the second terminal receives the first terminal IP address sent by the first terminal and the password of the third application, where the third application runs on the first terminal, and when the first terminal displays the set third In the interface, the second application running on the first terminal starts the third application, the third application generates a character string, and sets the character string as a password of the third application;第二终端中运行的第二应用程序根据所述第一终端IP地址和所述第三应用程序的密码对第二终端中运行的第四应用程序进行配置;及The second application running in the second terminal configures the fourth application running in the second terminal according to the first terminal IP address and the password of the third application; and所述第四应用程序接收所述第三应用程序发送的第一终端的桌面环境,以使得第二终端共享第一终端的桌面。The fourth application receives the desktop environment of the first terminal sent by the third application, so that the second terminal shares the desktop of the first terminal.
- 一种桌面共享系统,包括:客户终端和坐席终端;其中:A desktop sharing system includes: a client terminal and a client terminal; wherein:客户终端运行的第一应用程序接收操作指令,并执行对应的操作;当所述客户终端显示设置的第一界面时,客户终端运行的第二应用程序启动第三应用程序;所述第三应用程序生成字符串,并将所述字符串设置为第三应用程序的密码;客户终端运行的第一应用程序将客户终端IP地址和所述第三应用程序的密码发送至坐席终端;The first application running by the client terminal receives the operation instruction and performs a corresponding operation; when the client terminal displays the set first interface, the second application run by the client terminal starts the third application; the third application The program generates a string and sets the string as a password of the third application; the first application run by the client terminal sends the client terminal IP address and the password of the third application to the agent terminal;坐席终端运行的第一应用程序接收所述客户终端发送的客户终端IP地址和第三应用程序的密码;坐席终端运行的第二应用程序根据所述客户终端IP地址和所述第三应用程序的密码对坐席终端运行的第四应用程序进行配置;通过所述第三应用程序获取客户终端的桌面环境,并将所述桌面环境发送至所述第四应用程序;通过所述第四应用程序接收所述桌面环境,以使得所述客户终端的桌面对所述坐席终端共享。The first application running by the agent terminal receives the client terminal IP address and the third application password sent by the client terminal; the second application running by the agent terminal is based on the client terminal IP address and the third application The password is configured to configure a fourth application running by the agent terminal; acquiring, by the third application, a desktop environment of the client terminal, and sending the desktop environment to the fourth application; receiving, by the fourth application The desktop environment is such that a desktop of the client terminal is shared with the agent terminal.
- 根据权利要求13所述的系统,其特征在于,所述第三应用程序包括共享启动接口,当所述共享启动接口的参数被设置为对多个显示器进行共享时,通过所述第三应用程序枚举与客户终端连接的所有显示器;若与客户终端连接的所有显示器的数量大于1,则所述客户终端通过所述第三应用程序获取多个显示器的桌面环境,将多个桌面环境发送至所述第四应用程序进行共享。The system according to claim 13, wherein said third application comprises a shared boot interface, said third application being passed when said parameter of said shared boot interface is set to share with said plurality of displays Enumerating all displays connected to the client terminal; if the number of all displays connected to the client terminal is greater than 1, the client terminal acquires a desktop environment of the plurality of displays through the third application, and sends the plurality of desktop environments to The fourth application is shared.
- 根据权利要求13所述的系统,其特征在于,所述第三应用程序包括共享启动接口,所述坐席终端通过第一应用程序对共享桌面环境进行操作;所述客户终端通过第三应用程序接收坐席终端对共享桌面环境执行的操作,并且通过客户终端运行的第一应用程序在客户终端显示与操作对应的共享界面;当共享界面显示为设置的第二界面时,所述第一应用程序调用所述第三应用程序的共享关闭接口,将客户终端的桌面环境停止共享。The system according to claim 13, wherein the third application comprises a shared startup interface, the agent terminal operates on the shared desktop environment by the first application; and the client terminal receives through the third application The operation performed by the agent terminal on the shared desktop environment, and the first application running by the client terminal displays a sharing interface corresponding to the operation in the client terminal; when the sharing interface is displayed as the set second interface, the first application calls The sharing of the third application closes the interface, and stops the sharing of the desktop environment of the client terminal.
- 根据权利要求13所述的系统,其特征在于,所述客户终端通过第三应用程序对共享画质的设置;所述第三应用程序获取共享桌面环境的图像,将所述图像按照设置的共享画质进行压缩,得到压缩后的共享图像;所述第三应用程序将压缩后的共享图像发送至所述第四应用程序。The system according to claim 13, wherein said client terminal sets a shared image quality through a third application; said third application acquires an image of a shared desktop environment, and shares said image according to settings The image quality is compressed to obtain a compressed shared image; the third application transmits the compressed shared image to the fourth application.
- 根据权利要求13所述的系统,其特征在于,所述客户终端通过第三应用程序在桌面上设置共享区域;所述第三应用程序将所述共享区域发送至所述第四应用程序进行共享。The system according to claim 13, wherein said client terminal sets a shared area on a desktop through a third application; said third application transmits said shared area to said fourth application for sharing .
- 一种桌面共享系统,包括:第一终端和第二终端;其中:A desktop sharing system includes: a first terminal and a second terminal; wherein:当第一终端显示设置的第三界面时,第一终端上运行的第二应用程序启动第三应用程序;所述第三应用程序生成字符串,并将所述字符串设置为第三应用程序的密码;所述第二应用程序将第一终端IP地址和第三应用程序的密码发送至第二终端;When the first terminal displays the set third interface, the second application running on the first terminal starts the third application; the third application generates a character string, and sets the string as the third application a password; the second application sends the first terminal IP address and the password of the third application to the second terminal;第二终端中运行的第二应用程序接收所述第一终端IP地址和所述第三应用程序的密码,根据所述第一终端IP地址和所述第三应用程序的密码对第二终端中运行的第四应用程序进行配置;通过所述第三应用程序获取第一终端的桌面环境,并将所述桌面环境发送至所述第四应用程序进行共享。The second application running in the second terminal receives the first terminal IP address and the password of the third application, and the second terminal is configured according to the first terminal IP address and the password of the third application. The running fourth application is configured to obtain the desktop environment of the first terminal by using the third application, and send the desktop environment to the fourth application for sharing.
- 一种客户终端,包括处理器及存储器,所述存储器中储存有指令,所述指令被所述处理器执行时,使得所述处理器执行以下步骤:A client terminal includes a processor and a memory, wherein the memory stores instructions that, when executed by the processor, cause the processor to perform the following steps:客户终端运行的第一应用程序接收操作指令,并执行对应的业务操作;The first application running by the client terminal receives the operation instruction and performs a corresponding business operation;当显示设置的第一界面时,客户终端运行的第二应用程序启动第三应用程序;When the first interface of the setting is displayed, the second application running by the client terminal starts the third application;所述第三应用程序生成字符串,并将所述字符串设置为所述第三应用程序的密码;The third application generates a character string and sets the character string as a password of the third application;所述第一应用程序将客户终端IP地址和所述第三应用程序的密码发送至坐席终端,以使得所述坐席终端运行的第二应用程序根据所述客户终端IP地址和所述第三应用程序的密码对坐席终端运行的第四应用程序进行配置;及Transmitting, by the first application, a client terminal IP address and a password of the third application to the agent terminal, so that the second application running by the agent terminal is based on the client terminal IP address and the third application The password of the program is configured for the fourth application running on the agent terminal; and所述第三应用程序获取客户终端的桌面环境,并将所述桌面环境发送至所述第四应用程序进行共享。The third application acquires a desktop environment of the client terminal, and sends the desktop environment to the fourth application for sharing.
- 一个或多个存储有计算机可执行指令的非易失性可读存储介质,所述计算机可执行指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:One or more non-volatile readable storage media storing computer-executable instructions, when executed by one or more processors, cause the one or more processors to perform the following steps:运行第一应用程序接收操作指令,并执行对应的业务操作;Running the first application to receive an operation instruction and performing a corresponding business operation;当显示设置的第一界面时,运行第二应用程序启动第三应用程序;When the first interface of the setting is displayed, running the second application starts the third application;所述第三应用程序生成字符串,并将字符串设置为第三应用程序的密码;The third application generates a string and sets the string to a password of the third application;所述第一应用程序将客户终端IP地址和所述第三应用程序的密码发送至坐席终端,以使得坐席终端运行的第二应用程序根据所述客户终端IP地址和所述第三应用程序的密码对坐席终端运行的第四应用程序进行配置;及Transmitting, by the first application, a client terminal IP address and a password of the third application to the agent terminal, so that the second application running by the agent terminal is based on the client terminal IP address and the third application The password is configured for the fourth application running on the agent terminal; and所述第三应用程序获取客户终端的桌面环境,并将桌面环境发送至所述第四应用程序进行共享。The third application acquires a desktop environment of the client terminal, and sends the desktop environment to the fourth application for sharing.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610072463.8 | 2016-02-01 | ||
CN201610072463.8A CN105812450B (en) | 2016-02-01 | 2016-02-01 | Desktop sharing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017133581A1 true WO2017133581A1 (en) | 2017-08-10 |
Family
ID=56465739
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/072429 WO2017133581A1 (en) | 2016-02-01 | 2017-01-24 | Desktop sharing method and system, client terminal, terminal and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105812450B (en) |
WO (1) | WO2017133581A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112969046A (en) * | 2021-02-05 | 2021-06-15 | 招联消费金融有限公司 | Video surface signing system and method based on intranet agent |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105812450B (en) * | 2016-02-01 | 2018-01-16 | 平安科技(深圳)有限公司 | Desktop sharing method and system |
CN109101306B (en) * | 2018-07-19 | 2021-09-28 | 五八有限公司 | Sharing method, sharing device, terminal and computer readable storage medium |
CN109862196A (en) * | 2019-01-04 | 2019-06-07 | 上海上湖信息技术有限公司 | A kind of online customer service remote interaction method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104185844A (en) * | 2011-09-09 | 2014-12-03 | 石器公司 | Method and apparatus for key sharing over remote desktop protocol |
CN104601699A (en) * | 2007-06-12 | 2015-05-06 | 友益(Ux)有限公司 | Two-tier architecture for remote access service |
CN105187463A (en) * | 2014-06-16 | 2015-12-23 | 中兴通讯股份有限公司 | Remote sharing method, VTM terminal, network side equipment, and system |
CN105812450A (en) * | 2016-02-01 | 2016-07-27 | 平安科技(深圳)有限公司 | Desktop sharing method and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090300131A1 (en) * | 2008-05-27 | 2009-12-03 | Supportspace Ltd. | Simultaneous remote and local control of computer desktop |
CN102883134B (en) * | 2012-11-01 | 2015-04-22 | 成都飞视美视频技术有限公司 | Screen sharing and controlling method for video conference system |
CN103281331A (en) * | 2013-06-09 | 2013-09-04 | 浪潮电子信息产业股份有限公司 | Method for enabling windows client to login remote server desktop |
CN104639497B (en) * | 2013-11-06 | 2018-12-25 | 华为技术有限公司 | Remotely access configuration method, remote access method, device and system |
-
2016
- 2016-02-01 CN CN201610072463.8A patent/CN105812450B/en active Active
-
2017
- 2017-01-24 WO PCT/CN2017/072429 patent/WO2017133581A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104601699A (en) * | 2007-06-12 | 2015-05-06 | 友益(Ux)有限公司 | Two-tier architecture for remote access service |
CN104185844A (en) * | 2011-09-09 | 2014-12-03 | 石器公司 | Method and apparatus for key sharing over remote desktop protocol |
CN105187463A (en) * | 2014-06-16 | 2015-12-23 | 中兴通讯股份有限公司 | Remote sharing method, VTM terminal, network side equipment, and system |
CN105812450A (en) * | 2016-02-01 | 2016-07-27 | 平安科技(深圳)有限公司 | Desktop sharing method and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112969046A (en) * | 2021-02-05 | 2021-06-15 | 招联消费金融有限公司 | Video surface signing system and method based on intranet agent |
Also Published As
Publication number | Publication date |
---|---|
CN105812450B (en) | 2018-01-16 |
CN105812450A (en) | 2016-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017133581A1 (en) | Desktop sharing method and system, client terminal, terminal and storage medium | |
WO2022050652A1 (en) | Method, apparatus, and computer readable storage medium for controlling account | |
WO2014014302A1 (en) | Method and device for sharing content | |
WO2014040501A1 (en) | Method and system for generating and authorizing dynamic password | |
WO2013097567A1 (en) | Method and system for implementing function extension of open platform | |
WO2016101745A1 (en) | Activating mobile terminal token method | |
WO2016029594A1 (en) | Method and system for terminal to connect with display device | |
WO2018161572A1 (en) | Method and apparatus for controlling frame rate of mobile terminal, storage medium, and electronic device | |
EP2319206A2 (en) | System and method for transmitting and receiving a call on a home network | |
WO2017092498A1 (en) | Information management method and user terminal | |
WO2019051902A1 (en) | Terminal control method, air conditioner and computer-readable storage medium | |
WO2018098881A1 (en) | Access processing method and device for application | |
WO2018076812A1 (en) | Data request response method and device, storage medium, server and system | |
WO2019051898A1 (en) | Device control method and apparatus, and computer readable storage medium | |
WO2017067375A1 (en) | Video background configuration method and terminal device | |
WO2018117536A1 (en) | Electronic apparatus, control authority authentication method thereof and user terminal apparatus | |
WO2017201943A1 (en) | Method and device for driving display screen | |
WO2019085301A1 (en) | Missed call feedback method, apparatus and device for fixed phone, and readable storage medium | |
WO2021002611A1 (en) | Electronic apparatus and control method thereof | |
WO2018076873A1 (en) | Data sharing method, apparatus, medium, electronic device and system | |
WO2017219636A1 (en) | Data exchange method, cloud server, and smart terminal | |
WO2017133054A1 (en) | Instant messaging service invoking method and enterprise service bus server | |
WO2019227564A1 (en) | Method and apparatus for displaying communication information, and user equipment and storage medium | |
WO2019051901A1 (en) | Terminal control method and device, and computer readable storage medium | |
WO2016206223A1 (en) | Screenshooting method and system |
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: 17746901 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 26/11/2018) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17746901 Country of ref document: EP Kind code of ref document: A1 |