CN113515213A - Cursor shape synchronization method, remote browsing system, equipment and storage medium - Google Patents

Cursor shape synchronization method, remote browsing system, equipment and storage medium Download PDF

Info

Publication number
CN113515213A
CN113515213A CN202110895075.0A CN202110895075A CN113515213A CN 113515213 A CN113515213 A CN 113515213A CN 202110895075 A CN202110895075 A CN 202110895075A CN 113515213 A CN113515213 A CN 113515213A
Authority
CN
China
Prior art keywords
cursor
information
cursor shape
shape
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110895075.0A
Other languages
Chinese (zh)
Inventor
贾立军
傅强
袁林
邸学锋
马洪彬
窦晶
刘道林
智斌
米胜山
范晓波
张赫男
姜双双
阿曼太
梁彧
蔡琳
杨满智
王杰
田野
金红
陈晓光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Eversec Beijing Technology Co Ltd
Original Assignee
Eversec Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Eversec Beijing Technology Co Ltd filed Critical Eversec Beijing Technology Co Ltd
Priority to CN202110895075.0A priority Critical patent/CN113515213A/en
Publication of CN113515213A publication Critical patent/CN113515213A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a cursor shape synchronization method, a remote browsing system, a device and a storage medium. The method is executed by a client in a remote browsing system and comprises the following steps: after communication connection is established with a remote browsing server, cursor attribute information of a local browser is acquired, and information binding is carried out; acquiring cursor shape notification information issued by a remote browsing server, and processing the cursor shape notification information to obtain cursor shape information; and updating the bound cursor attribute information according to the cursor shape information, and synchronizing the cursor shape. The method synchronizes the cursor shape of the remote browsing server in the remote browsing system to the client, realizes the real-time shape change of the client cursor along with the remote browsing server, and realizes the non-perception remote browsing access of the client.

Description

Cursor shape synchronization method, remote browsing system, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a cursor shape synchronization method, a remote browsing system, a device and a storage medium.
Background
With the popularization of communication networks and the development of World Wide Web (Web) technology, Web browsers have become important platforms for people's daily work and entertainment. In communication networks, Web browsers have become the current primary attack carrier.
In order to ensure the security of the end user, the Web security isolation is used as a new security protection technology, and a layer of isolation is established between the end user and the network service, so that the exposed surface of the end user on the network is greatly reduced. The existing Web safety isolation technology is mainly realized based on a remote browsing system, a client terminal is degenerated into a simple display function, and all Web processing is finished on a remote browsing server terminal.
In the prior art, because the Web processing is performed at a remote browsing server, a client only has a display function and does not have remote webpage content, and the cursor shape cannot be dynamically changed and only can be defaulted to one cursor shape.
Disclosure of Invention
The embodiment of the invention provides a cursor shape synchronization method, a remote browsing system, a device and a storage medium, which can realize the real-time shape change of a client cursor along with a remote browsing server and realize the non-perception remote browsing access of the client.
In a first aspect, an embodiment of the present invention provides a cursor shape synchronization method, which is applied to a remote browsing system and executed by a client in the remote browsing system, and the method includes:
after communication connection is established with a remote browsing server, cursor attribute information of a local browser is acquired, and information binding is carried out;
acquiring cursor shape notification information issued by the remote browsing server, and processing the cursor shape notification information to obtain cursor shape information;
and updating the bound cursor attribute information according to the cursor shape information, and synchronizing the cursor shape.
In a second aspect, an embodiment of the present invention further provides a cursor shape synchronization method, which is applied to a remote browsing system and executed by a remote browsing server in the remote browsing system, and the method includes:
monitoring the cursor shape change of a local browser after establishing communication connection with a client;
when the change of the cursor shape of the local browser is monitored, cursor shape notification information is generated and is issued to the client, so that the client can carry out cursor shape synchronization.
In a third aspect, an embodiment of the present invention provides a cursor shape synchronization apparatus, which is applied to a remote browsing system and is disposed at a client in the remote browsing system, where the apparatus includes:
the information binding module is used for acquiring cursor attribute information of the local browser and binding the information after establishing communication connection with the remote browsing server;
the cursor shape information acquisition module is used for acquiring cursor shape notification information issued by the remote browsing server and processing the cursor shape notification information to obtain cursor shape information;
and the cursor shape synchronization module is used for updating the bound cursor attribute information according to the cursor shape information and carrying out cursor shape synchronization.
In a fourth aspect, an embodiment of the present invention further provides a cursor shape synchronization apparatus, which is applied to a remote browsing system and is disposed at a remote browsing server in the remote browsing system, where the apparatus includes:
the cursor shape change monitoring module is used for monitoring the cursor shape change of the local browser after establishing communication connection with the client;
and the cursor shape notification information issuing module is used for generating cursor shape notification information when monitoring that the cursor shape of the local browser changes, and issuing the cursor shape notification information to the client so as to enable the client to carry out cursor shape synchronization.
In a fifth aspect, an embodiment of the present invention further provides a remote browsing system, where the system includes:
the client is used for acquiring cursor attribute information of the local browser and binding the information after establishing communication connection with the remote browsing server;
the remote browsing server is used for monitoring the cursor shape change of the local browser after establishing communication connection with the client; when the change of the cursor shape of the local browser is monitored, cursor shape notification information is generated and is issued to the client;
the client is also used for acquiring cursor shape notification information issued by the remote browsing server and processing the cursor shape notification information to obtain cursor shape information; and updating the bound cursor attribute information according to the cursor shape information, and synchronizing the cursor shape.
In a sixth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a cursor shape synchronization method as in any embodiment of the invention.
In a seventh aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a cursor shape synchronization method according to any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, after the communication connection with the remote browsing server is established, the cursor attribute information of the local browser is obtained, and the information binding is carried out; acquiring cursor shape notification information issued by a remote browsing server, and processing the cursor shape notification information to obtain cursor shape information; the method has the advantages that the bound cursor attribute information is updated according to the cursor shape information, the cursor shape synchronization is carried out, the problem that a client cursor pointer cannot change in real time when the remote browsing service is realized based on a pixel transmission mode at present is solved, the cursor shape of a remote browsing server in a remote browsing system is synchronized to a client, the client cursor can change in real time shape along with the remote browsing server, and therefore the effect that the client does not sense remote browsing access is achieved.
Drawings
FIG. 1a is a flowchart of a cursor shape synchronization method according to an embodiment of the present invention;
FIG. 1b is a flowchart of another cursor shape synchronization method according to an embodiment of the present invention;
fig. 2a is a flowchart of a cursor shape synchronization method according to a second embodiment of the present invention;
fig. 2b is a flowchart illustrating a remote browsing server generating custom cursor text content according to a second embodiment of the present invention;
FIG. 2c is a flowchart of another cursor shape synchronization method according to the second embodiment of the present invention;
fig. 3a is a schematic structural diagram of a remote browsing system according to a third embodiment of the present invention;
fig. 3b is a schematic diagram of an interaction between a client and a remote browsing server in a remote browsing system according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a cursor shape synchronization apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a cursor shape synchronization apparatus according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1a is a flowchart of a cursor shape synchronization method according to an embodiment of the present invention, where this embodiment is applicable to a case where a cursor pointer of a client performs a shape change in real time with a cursor of a remote browsing server when a remote browsing service is implemented based on a pixel transfer manner, and the method may be executed by a cursor shape synchronization device, where the cursor shape synchronization device may be implemented in a software and/or hardware manner, and the cursor shape synchronization device may be integrated in an electronic device, such as a mobile phone or a computer.
Specifically, the cursor shape synchronization method provided in the embodiment of the present invention may be applied to a remote browsing system, and executed by a client in the remote browsing system. The remote browsing system can realize remote browsing service based on pixel transmission mode. The remote browsing system can comprise a client and a remote browsing server. The client can access the Web browser content of the remote browsing server in a remote browsing mode. The client does not have interface generation content of the Web browser accessed remotely, such as a hypertext transfer protocol and a form required by Web page formation, so that the client can be prevented from being attacked, and the loss of a user is avoided. The client can be understood as a remote display interface for remotely browsing the contents of the server page. The remote page content displayed at the client may be understood as a picture, and when the cursor moves on the remote page content, the shape of the cursor does not change, for example, the cursor of the client is fixedly displayed as an arrow pointer. The access remote browsing server can be a cloud terminal or a remote server and other terminals, the attack risk borne by the client can be reduced through a remote browsing mode, the attack objects are reduced, and resources are protected.
As shown in fig. 1a, the method specifically includes:
and step 110, after communication connection with the remote browsing server is established, acquiring cursor attribute information of the local browser, and performing information binding.
The client and the remote browsing server are respectively provided with a local browser. The local browser of the client can realize the basic access of the client to the browsing. The local browser of the remote browsing server can realize the remote access of the client to the browsing. The cursor shape of the client can be changed through the style interface of the local browser. In the embodiment of the invention, the client can bind the cursor attribute information of the local browser so as to realize the synchronous and remote cursor shape browsing through the style interface of the local browser. The cursor may be understood as a pointing indicator of the client, for example, the cursor may be a pointing indicator displayed on the display interface by a mouse.
Specifically, the Cursor attribute information of the local browser is obtained, and the information binding may be performed by binding a Cursor attribute in a Cascading Style Sheet (CSS) of the local browser on a canvas of the client. The Cursor property may determine the Cursor shape that appears when within certain element boundaries, such as question marks, handlets, crosses, arrows, movement markers, text markers, busy markers, and the like.
And step 120, acquiring cursor shape notification information issued by the remote browsing server, and processing the cursor shape notification information to obtain cursor shape information.
The cursor shape notification information may include cursor shape information, among others. For example, the cursor shape notification information may be a concrete representation of the processed cursor shape information. Alternatively, the cursor shape notification information may include cursor shape information and other ancillary information. The processing of the cursor shape notification information may be a process of parsing or decoding the cursor shape notification information, or the like, thereby extracting key information such as cursor shape information. The cursor shape information may be a concrete representation of the cursor shape determined by the remote browsing server.
In an optional implementation manner of the embodiment of the present invention, before acquiring the cursor shape notification information issued by the remote browsing server, the method further includes: and determining the target position of the current cursor and the target content matched with the target position, and feeding back the target position and the target content to the remote browsing server.
The target position may be a page position where the cursor is located when the client performs remote browsing. The target content may be content in the page that matches the target location. For example, the target position of the cursor is the third row and the fourth word of the page position. The target content matched with the target position is hyperlink content. The remote browser server side can perform position synchronization with the target position of the cursor of the client side, and determine the content type to which the target content matched with the target position belongs, so that the cursor shape is determined according to the content type. For example, the cursor shape corresponding to the hyperlink content is a little hand; seeking a cursor shape corresponding to the help content as a question mark; the cursor shape corresponding to the text content is a text identifier, and can indicate that the current content of the client user can be selected, copied and the like. Therefore, when the client performs cursor synchronization according to the cursor shape of the remote browser server, the client user can perform remote browsing access without perception.
And step 130, updating the bound cursor attribute information according to the cursor shape information, and synchronizing the cursor shape.
The client can present the cursor shape according to the updated cursor attribute information, so that the cursor shape of the client is consistent with that of the remote browsing server, namely, the cursor shape is synchronized.
In an optional implementation manner of the embodiment of the present invention, after processing the cursor shape notification information to obtain the cursor shape information, the method further includes: determining the type of the cursor according to the cursor shape notification information; and when the cursor type is the custom type, performing base64 decoding processing on the custom cursor text content in the cursor shape notification information, and generating cursor type information in an image format. Updating the bound cursor attribute information according to the cursor shape information, and performing cursor shape synchronization, wherein the cursor shape synchronization comprises the following steps: and updating the bound cursor attribute information according to the cursor shape information and the cursor type information, and synchronizing the cursor shape.
The cursor shape possibly used by the remotely browsed page is the custom cursor shape of the website. In order to better enable the client user to perform remote browsing without perception, in the embodiment of the present invention, it may be determined whether the cursor type is a custom type. If the cursor type is the custom type, the cursor shape under the custom type can be updated, so that the cursor shape of the client side is completely consistent with that of the remote browsing server side.
Specifically, the cursor shape notification information issued by the remote browsing server may include custom cursor text content. If the cursor type is a non-custom type, i.e. a default cursor type, the custom cursor text content may be null data or other forms of data representing the default cursor type. If the cursor type is the self-defined type, the self-defined cursor text content can be information related to the self-defined cursor image information under the self-defined type. The user-defined cursor image information can be specific image information of one or more user-defined cursor shapes in a user-defined type. For example, the custom cursor image information may include image information of a green little hand; or image information of a rose text logo, etc.
In the embodiment of the invention, in order to avoid the situations of data loss or data messy codes and the like when the user-defined cursor image information is transmitted between the remote browsing server side and the client side, the user-defined cursor image information can be coded. For example, the user-defined cursor image information can be changed into text information for transmission, so that the transmission of visible characters is realized, and the problem of messy codes is avoided. Therefore, in the embodiment of the present invention, the custom cursor text content may be a content generated by the remote browsing server by performing base64 transcoding on the custom cursor image information. Specifically, the self-defined cursor image information originally coded through binary can be converted into text content through base64 coding, transmission can be facilitated, and messy codes are avoided.
In the embodiment of the present invention, when the cursor type is the custom type, the client may perform base64 decoding processing on the custom cursor text content in the cursor shape notification information, and generate cursor type information in an image format. The cursor type information may be in JSON format. The JSON format is a data standard format in network communication, and can facilitate the client to perform cursor shape synchronization.
In an optional implementation manner of the embodiment of the present invention, updating the bound cursor attribute information according to the cursor shape information and the cursor type information, and performing cursor shape synchronization includes: updating the cursor type in the bound cursor attribute information according to the cursor type information, and synchronizing the cursor type; and under the cursor type, updating the cursor shape in the bound cursor attribute information according to the cursor shape information, and synchronizing the cursor shape under the cursor type.
The client can determine the cursor name corresponding to the user-defined cursor image information corresponding to the user-defined cursor type according to the cursor type information, so that the cursor type in the cursor attribute information can be updated according to the cursor name, and the synchronization of the cursor type is realized. Further, under the cursor type, specific cursor shape synchronization can be performed.
Illustratively, the default hyperlink content corresponds to a cursor shape that is a white little hand, while the custom type hyperlink content corresponds to a cursor shape that is a green little hand. In the embodiment of the invention, the cursor attribute information can be updated into a custom type corresponding to green through cursor type synchronization; and then, carrying out cursor shape synchronization, and updating the cursor attribute information into green little hands in a custom type corresponding to green. Therefore, the cursor shape synchronization under the cursor type is realized, the cursor shape synchronization of the remote browsing page under the user-defined type can be realized, and the remote browsing access without perception of the client user is realized.
According to the technical scheme of the embodiment, after the communication connection with the remote browsing server is established, the cursor attribute information of the local browser is acquired, and the information binding is carried out; acquiring cursor shape notification information issued by a remote browsing server, and processing the cursor shape notification information to obtain cursor shape information; the method has the advantages that the bound cursor attribute information is updated according to the cursor shape information, the cursor shape synchronization is carried out, the problem that a client cursor pointer cannot change in real time when the remote browsing service is realized based on a pixel transmission mode at present is solved, the cursor shape of a remote browsing server in a remote browsing system is synchronized to a client, the client cursor can change in real time shape along with the remote browsing server, and therefore the effect that the client does not sense remote browsing access is achieved.
Specifically, fig. 1b is a flowchart of another cursor shape synchronization method according to an embodiment of the present invention. As shown in fig. 1b, a specific application process of the cursor shape synchronization method provided by the embodiment of the present invention may be: the client side initiates a remote browsing access request to the remote browsing server side, and the client side and the remote browsing server side establish a remote browsing session; the client binds the cursor attribute of the mouse on the canvas of the client; the client acquires cursor shape notification information issued by a remote browsing server in real time; when the cursor shape notification information is acquired, judging whether the cursor type is a user-defined type according to the cursor shape notification information; if not, updating cursor attribute information of the bound mouse according to the cursor shape information in the cursor shape notification information; if so, carrying out base64 decoding processing on the self-defined cursor text content in the cursor shape notification information to generate cursor type information in an image format, and realizing the loading of the cursor data in the self-defined type; and updating cursor attribute information of the bound mouse according to the cursor shape information and the cursor type information.
According to the technical scheme of the embodiment of the invention, the client-side remotely obtains the cursor shape notification information in real time, decodes the cursor shape and sets the cursor shape of the client-side, so that the problem that a mouse pointer of the client-side cannot change in real time according to the display content of a page when the remote browsing service is realized based on a pixel transmission mode at present is solved; the method is particularly suitable for the synchronization of the client page cursor shape when the user-defined type cursor shape is included.
Example two
Fig. 2a is a flowchart of a cursor shape synchronization method according to a second embodiment of the present invention. The method can be executed by a cursor shape synchronization device, the device can be realized in a software and/or hardware mode, and the device can be integrated in electronic equipment, such as remote browsing server equipment such as a cloud end or a remote server.
Specifically, the cursor shape synchronization method provided by the second embodiment of the present invention may be applied to a remote browsing system, and executed by a remote browsing server in the remote browsing system. The remote browsing system may be the same as the above embodiments, and will not be described herein.
As shown in fig. 2a, the method comprises:
step 210, after establishing communication connection with the client, monitoring the cursor shape change of the local browser.
The local browser of the remote browsing server can synchronize the access condition of the client, and when the cursor position changes, the cursor shape of the remote browsing server can dynamically change according to the content corresponding to the cursor position. The remote browsing server can monitor the cursor shape change in real time.
And step 220, generating cursor shape notification information when monitoring that the cursor shape of the local browser changes, and issuing the cursor shape notification information to the client so as to enable the client to perform cursor shape synchronization.
When the remote browsing server monitors that the cursor shape of the local browser changes, cursor shape notification information can be generated according to the changed cursor shape.
In an optional implementation manner of the embodiment of the present invention, when it is monitored that a cursor shape of a local browser changes, generating cursor shape notification information includes: acquiring a target position and target content fed back by a client, and determining cursor shape information when the cursor shape changes according to the target position and the target content; cursor shape notification information is generated based on the cursor shape information.
The local browser of the remote browsing server side can determine a target cursor shape corresponding to the target page content according to the target position and the target content. When the target cursor shape is not consistent with the current cursor shape, it may be determined that the cursor shape has changed. The cursor shape information may be information corresponding to a target cursor shape. The remote browsing server side can generate cursor shape notification information according to the cursor shape information.
On the basis of the foregoing embodiment, after determining cursor shape information when the cursor shape changes according to the target position and the target content, optionally, the method further includes: extracting the cursor type of the local browser; when the cursor type is determined to be a custom type, extracting custom cursor image information of a local browser; carrying out base64 encoding processing on the user-defined cursor image information to generate user-defined cursor text content; generating cursor shape notification information according to the cursor shape information, comprising: and generating cursor shape notification information according to the cursor shape information and the self-defined cursor text content.
The remote browsing server side can extract the cursor type from the cursor attribute information of the local browser. When the cursor type is a non-self-defined type, the remote browsing server side can directly generate cursor shape notification information according to the cursor shape information. When the cursor type is determined to be the custom type, the remote browsing server can extract the custom cursor image information of the local browser. The user-defined cursor image information can be cursor shape information defined by a website corresponding to the currently accessed page. Some personalized websites may embody a custom cursor through a picture. The user-defined cursor image information can be embodied in the cursor attribute information of the local browser of the remote browsing server.
Fig. 2b is a flowchart of generating a custom cursor text content by a remote browsing server according to a second embodiment of the present invention. As shown in fig. 2b, when determining that the cursor type is the custom type, the remote browsing server may read bitmap (bitmap) data of the custom cursor shape loaded by the local browser; performing image conversion on the bitmap data, such as converting the bitmap data into a Sklmage object; the Sklmage object is coded into a webp image, so that the sending time of the image on the network can be reduced while the image quality is ensured; and finally, performing base64 coding processing on the webp image to generate self-defined cursor text content, converting binary codes into visible characters, and avoiding the problem of code disorder during transmission.
In the embodiment of the invention, the cursor shape notification information can comprise cursor shape information and self-defined cursor text content, can specifically reflect the shape of the cursor and the self-defined type of the cursor, and is convenient for the client to carry out undifferentiated cursor synchronization with the remote browsing server.
According to the technical scheme of the embodiment, after the communication connection with the client is established, the cursor shape change of the local browser is monitored; when the change of the cursor shape of the local browser is monitored, cursor shape notification information is generated and is issued to the client, so that the client carries out cursor shape synchronization, the problem that a client cursor pointer cannot change in real time when remote browsing service is realized based on a pixel transfer mode at present is solved, the cursor shape of a remote browsing server in a remote browsing system is synchronized to the client, and the client cursor can change in real time along with the remote browsing server, so that the effect that the client cannot sense remote browsing access is achieved.
Fig. 2c is a flowchart of another cursor shape synchronization method provided in the second embodiment of the present invention, and as shown in fig. 2c, a use process of the cursor shape synchronization method provided in the second embodiment of the present invention may be: the remote browsing server side can monitor the cursor shape change of the local browser; when the change of the cursor shape of the local browser is monitored, extracting the cursor type of the local browser; judging whether the cursor type is a user-defined type; if not, generating cursor shape notification information according to the cursor shape information, and issuing the cursor shape notification information to the client so as to enable the client to carry out cursor shape synchronization; if yes, extracting the self-defined cursor image information of the local browser; carrying out base64 encoding processing on the user-defined cursor image information to generate user-defined cursor text content; and generating cursor shape notification information according to the cursor shape information and the self-defined cursor text content, and issuing the cursor shape notification information to the client so as to enable the client to carry out cursor shape synchronization.
The technical scheme of the embodiment of the invention remotely monitors the cursor shape change event in real time, encodes the cursor shape information and pushes the encoded cursor shape information to the client so as to enable the client to set the cursor shape of the client, thereby solving the problem that a mouse pointer of the client cannot change in real time according to the page display content when the remote browsing service is realized based on a pixel transmission mode at present, and particularly solving the problem of page cursor shape synchronization containing custom cursor shapes.
EXAMPLE III
Fig. 3a is a schematic structural diagram of a remote browsing system according to a third embodiment of the present invention. The embodiment can be suitable for the situation that when the remote browsing service is realized based on the pixel transmission mode, the cursor pointer of the client changes the shape in real time along with the cursor of the remote browsing service. As shown in fig. 3a, the remote browsing system includes a client 310 and a remote browsing server 320. A network connection is established between client 310 and remote browsing server 320.
Specifically, the client is used for acquiring cursor attribute information of a local browser and binding the information after establishing communication connection with the remote browsing server;
the remote browsing server is used for monitoring the cursor shape change of the local browser after establishing communication connection with the client; when the change of the cursor shape of the local browser is monitored, cursor shape notification information is generated and is issued to the client;
the client is also used for acquiring cursor shape notification information issued by the remote browsing server and processing the cursor shape notification information to obtain cursor shape information; and updating the bound cursor attribute information according to the cursor shape information, and synchronizing the cursor shape.
Optionally, the client is specifically configured to determine a target position where a current cursor is located and target content matched with the target position before obtaining the cursor shape notification information issued by the remote browsing server, and feed back the target position and the target content to the remote browsing server;
the remote browsing server is specifically used for acquiring a target position and target content fed back by the client, and determining cursor shape information when the cursor shape changes according to the target position and the target content; cursor shape notification information is generated based on the cursor shape information.
Optionally, the remote browsing server is further specifically configured to extract a cursor type of the local browser after determining cursor shape information when a cursor shape changes according to the target position and the target content; when the cursor type is determined to be a custom type, extracting custom cursor image information of a local browser; carrying out base64 encoding processing on the user-defined cursor image information to generate user-defined cursor text content; and generating cursor shape notification information according to the cursor shape information and the self-defined cursor text content.
Optionally, the client is further specifically configured to determine the type of the cursor according to the cursor shape notification information after the cursor shape notification information is processed to obtain the cursor shape information; when the cursor type is a self-defined type, performing base64 decoding processing on the self-defined cursor text content in the cursor shape notification information, and generating cursor type information in an image format; and updating the bound cursor attribute information according to the cursor shape information and the cursor type information, and synchronizing the cursor shape.
Optionally, the client is specifically configured to update the cursor type in the bound cursor attribute information according to the cursor type information, and perform cursor type synchronization; and under the cursor type, updating the cursor shape in the bound cursor attribute information according to the cursor shape information, and synchronizing the cursor shape under the cursor type.
Fig. 3b is a schematic diagram of an interaction between a client and a remote browsing server in a remote browsing system according to a third embodiment of the present invention. As shown in fig. 3b, after the client establishes a communication connection with the remote browsing server, the client may obtain cursor attribute information of the local browser and perform information binding; the remote browsing server side can monitor the cursor shape change of the local browser, generates cursor shape notification information when the cursor shape change of the local browser is monitored, and issues the cursor shape notification information to the client side; the client can acquire cursor shape notification information issued by the remote browsing server and process the cursor shape notification information to obtain cursor shape information; and updating the bound cursor attribute information according to the cursor shape information, and synchronizing the cursor shape.
According to the technical scheme of the embodiment of the invention, the cursor shape change event is remotely monitored in real time, the cursor shape information is encoded and pushed to the client, the client decodes the event message and sets the cursor shape of the client, so that the problem that the mouse pointer of the client cannot change in real time according to the page display content when the remote browsing service is realized based on a pixel transfer mode at present is solved, and particularly the problem of page cursor shape synchronization containing the custom cursor shape is solved.
Example four
Fig. 4 is a schematic structural diagram of a cursor shape synchronization device according to a fourth embodiment of the present invention. The device is applied to a remote browsing system and is arranged at a client side in the remote browsing system. With reference to fig. 4, the apparatus comprises: an information binding module 410, a cursor shape information acquisition module 420 and a cursor shape synchronization module 430.
Wherein:
the information binding module 410 is used for acquiring cursor attribute information of a local browser and binding the information after establishing communication connection with a remote browsing server;
the cursor shape information acquiring module 420 is configured to acquire cursor shape notification information issued by the remote browsing server, and process the cursor shape notification information to obtain cursor shape information;
and a cursor shape synchronization module 430, configured to update the bound cursor attribute information according to the cursor shape information, and perform cursor shape synchronization.
Optionally, the apparatus further includes:
the cursor type determining module is used for determining the type of the cursor according to the cursor shape notification information after the cursor shape notification information is processed to obtain the cursor shape information;
the cursor type information generating module is used for performing base64 decoding processing on the self-defined cursor text content in the cursor shape notification information and generating cursor type information in an image format when the cursor type is the self-defined type;
cursor shape synchronization module 430, comprising:
and the cursor shape synchronization unit is used for updating the bound cursor attribute information according to the cursor shape information and the cursor type information and carrying out cursor shape synchronization.
Optionally, the cursor shape synchronization unit is specifically configured to:
updating the cursor type in the bound cursor attribute information according to the cursor type information, and synchronizing the cursor type;
and under the cursor type, updating the cursor shape in the bound cursor attribute information according to the cursor shape information, and synchronizing the cursor shape under the cursor type.
Optionally, the apparatus further includes:
and the position and content feedback module is used for determining the target position of the current cursor and the target content matched with the target position before acquiring the cursor shape notification information issued by the remote browsing server, and feeding the target position and the target content back to the remote browsing server.
The cursor shape synchronization device provided by the embodiment of the invention can execute the cursor shape synchronization method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a cursor shape synchronization device according to a fifth embodiment of the present invention. The device is applied to a remote browsing system and is arranged at a remote browsing server side in the remote browsing system. With reference to fig. 5, the apparatus comprises: a cursor shape change monitoring module 510 and a cursor shape notification information publishing module 520.
Wherein:
a cursor shape change monitoring module 510, configured to monitor a cursor shape change of a local browser after establishing a communication connection with a client;
the cursor shape notification information publishing module 520 is configured to generate cursor shape notification information when it is monitored that the cursor shape of the local browser changes, and publish the cursor shape notification information to the client, so that the client performs cursor shape synchronization.
Optionally, the cursor shape notification information publishing module 520 includes:
the cursor shape information determining unit is used for acquiring a target position and target content fed back by the client and determining cursor shape information when the cursor shape changes according to the target position and the target content;
and a cursor shape notification information generation unit for generating cursor shape notification information based on the cursor shape information.
Optionally, the apparatus further includes:
the cursor type extraction module is used for extracting the cursor type of the local browser after determining cursor shape information when the cursor shape changes according to the target position and the target content;
the user-defined cursor image information extraction module is used for extracting user-defined cursor image information of the local browser when the cursor type is determined to be the user-defined type;
the custom cursor text content generating module is used for carrying out base64 coding processing on the custom cursor image information to generate custom cursor text content;
the cursor shape notification information generating unit is specifically configured to:
and generating cursor shape notification information according to the cursor shape information and the self-defined cursor text content.
The cursor shape synchronization device provided by the embodiment of the invention can execute the cursor shape synchronization method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE six
Fig. 6 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention, and as shown in fig. 6, the electronic device includes:
one or more processors 610, one processor 610 being exemplified in fig. 6;
a memory 620;
the apparatus may further include: an input device 630 and an output device 660.
The processor 610, the memory 620, the input device 630 and the output device 660 of the apparatus may be connected by a bus or other means, for example, in fig. 6.
The memory 620, as a non-transitory computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to a cursor shape synchronization method in the embodiments of the present invention (for example, the information binding module 410, the cursor shape information obtaining module 420, and the cursor shape synchronization module 430 shown in fig. 4, or the cursor shape change monitoring module 510 and the cursor shape notification information issuing module 520 shown in fig. 5). The processor 610 executes various functional applications and data processing of the computer device by running software programs, instructions and modules stored in the memory 620, namely, implementing a cursor shape synchronization method of the above-mentioned method embodiments, namely:
after communication connection is established with a remote browsing server, cursor attribute information of a local browser is acquired, and information binding is carried out;
acquiring cursor shape notification information issued by the remote browsing server, and processing the cursor shape notification information to obtain cursor shape information;
and updating the bound cursor attribute information according to the cursor shape information, and synchronizing the cursor shape.
Or,
monitoring the cursor shape change of a local browser after establishing communication connection with a client;
when the change of the cursor shape of the local browser is monitored, cursor shape notification information is generated and is issued to the client, so that the client can carry out cursor shape synchronization.
The memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 620 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 620 optionally includes memory located remotely from processor 610, which may be connected to the terminal device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the computer apparatus. The output device 660 may include a display device such as a display screen.
EXAMPLE seven
The seventh embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a cursor shape synchronization method according to the seventh embodiment of the present invention:
after communication connection is established with a remote browsing server, cursor attribute information of a local browser is acquired, and information binding is carried out;
acquiring cursor shape notification information issued by the remote browsing server, and processing the cursor shape notification information to obtain cursor shape information;
and updating the bound cursor attribute information according to the cursor shape information, and synchronizing the cursor shape.
Or,
monitoring the cursor shape change of a local browser after establishing communication connection with a client;
when the change of the cursor shape of the local browser is monitored, cursor shape notification information is generated and is issued to the client, so that the client can carry out cursor shape synchronization.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A cursor shape synchronization method applied to a remote browsing system and executed by a client in the remote browsing system is characterized by comprising the following steps:
after communication connection is established with a remote browsing server, cursor attribute information of a local browser is acquired, and information binding is carried out;
acquiring cursor shape notification information issued by the remote browsing server, and processing the cursor shape notification information to obtain cursor shape information;
and updating the bound cursor attribute information according to the cursor shape information, and synchronizing the cursor shape.
2. The method of claim 1, further comprising, after processing the cursor shape notification information to obtain cursor shape information:
determining the type of the cursor according to the cursor shape notification information;
when the cursor type is a custom type, performing base64 decoding processing on custom cursor text content in the cursor shape notification information, and generating cursor type information in an image format;
updating the bound cursor attribute information according to the cursor shape information, and performing cursor shape synchronization, wherein the cursor shape synchronization comprises the following steps:
and updating the bound cursor attribute information according to the cursor shape information and the cursor type information, and synchronizing the cursor shape.
3. The method of claim 2, wherein updating the bound cursor property information according to the cursor shape information and the cursor type information, and performing cursor shape synchronization comprises:
updating the cursor type in the bound cursor attribute information according to the cursor type information, and synchronizing the cursor type;
and under the cursor type, updating the cursor shape in the bound cursor attribute information according to the cursor shape information, and synchronizing the cursor shape under the cursor type.
4. The method according to claim 1, before acquiring the cursor shape notification information issued by the remote browsing server, further comprising:
and determining the target position of the current cursor and target content matched with the target position, and feeding back the target position and the target content to the remote browsing server.
5. A cursor shape synchronization method is applied to a remote browsing system and executed by a remote browsing server side in the remote browsing system, and is characterized by comprising the following steps:
monitoring the cursor shape change of a local browser after establishing communication connection with a client;
when the change of the cursor shape of the local browser is monitored, cursor shape notification information is generated and is issued to the client, so that the client can carry out cursor shape synchronization.
6. The method of claim 5, wherein generating the cursor shape notification information when the change of the cursor shape of the local browser is monitored comprises:
acquiring a target position and target content fed back by the client, and determining cursor shape information when the cursor shape changes according to the target position and the target content;
and generating cursor shape notification information according to the cursor shape information.
7. The method according to claim 6, after determining cursor shape information when the cursor shape changes according to the target position and the target content, further comprising:
extracting the cursor type of the local browser;
when the cursor type is determined to be a custom type, extracting custom cursor image information of a local browser;
performing base64 encoding processing on the user-defined cursor image information to generate user-defined cursor text content;
generating cursor shape notification information according to the cursor shape information, comprising:
and generating cursor shape notification information according to the cursor shape information and the self-defined cursor text content.
8. A remote browsing system, the system comprising:
the client is used for acquiring cursor attribute information of the local browser and binding the information after establishing communication connection with the remote browsing server;
the remote browsing server is used for monitoring the cursor shape change of the local browser after establishing communication connection with the client; when the change of the cursor shape of the local browser is monitored, cursor shape notification information is generated and is issued to the client;
the client is also used for acquiring cursor shape notification information issued by the remote browsing server and processing the cursor shape notification information to obtain cursor shape information; and updating the bound cursor attribute information according to the cursor shape information, and synchronizing the cursor shape.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a cursor shape synchronization method as claimed in any one of claims 1-4; or, implementing a cursor shape synchronization method as claimed in any one of claims 5-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a cursor shape synchronization method according to any one of claims 1 to 4; or, implementing a cursor shape synchronization method as claimed in any one of claims 5-7.
CN202110895075.0A 2021-08-03 2021-08-03 Cursor shape synchronization method, remote browsing system, equipment and storage medium Pending CN113515213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110895075.0A CN113515213A (en) 2021-08-03 2021-08-03 Cursor shape synchronization method, remote browsing system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110895075.0A CN113515213A (en) 2021-08-03 2021-08-03 Cursor shape synchronization method, remote browsing system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113515213A true CN113515213A (en) 2021-10-19

Family

ID=78068241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110895075.0A Pending CN113515213A (en) 2021-08-03 2021-08-03 Cursor shape synchronization method, remote browsing system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113515213A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124487A (en) * 2021-11-10 2022-03-01 恒安嘉新(北京)科技股份公司 Method, device and equipment for realizing webpage access and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012805A (en) * 2009-09-04 2011-04-13 腾讯科技(深圳)有限公司 Custom cursor realization method and device
CN103440090A (en) * 2013-07-31 2013-12-11 贝壳网际(北京)安全技术有限公司 Cursor control method and device and user terminal
CN103902295A (en) * 2014-04-01 2014-07-02 广东威创视讯科技股份有限公司 Cursor drawing method and related terminal equipment
CN106371695A (en) * 2016-08-30 2017-02-01 广州视睿电子科技有限公司 Processing method and device for user-defined cursor
CN106843537A (en) * 2012-12-31 2017-06-13 华为技术有限公司 The synchronous methods, devices and systems of mouse
CN107562325A (en) * 2017-09-21 2018-01-09 深信服科技股份有限公司 The cursor accelerated method and system of cursor software are carried in a kind of virtual machine
CN107580068A (en) * 2017-09-21 2018-01-12 深信服科技股份有限公司 A kind of method of cursor synchronization, relevant device and system
CN111610868A (en) * 2020-04-13 2020-09-01 西安万像电子科技有限公司 Mouse data processing method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012805A (en) * 2009-09-04 2011-04-13 腾讯科技(深圳)有限公司 Custom cursor realization method and device
CN106843537A (en) * 2012-12-31 2017-06-13 华为技术有限公司 The synchronous methods, devices and systems of mouse
CN103440090A (en) * 2013-07-31 2013-12-11 贝壳网际(北京)安全技术有限公司 Cursor control method and device and user terminal
CN103902295A (en) * 2014-04-01 2014-07-02 广东威创视讯科技股份有限公司 Cursor drawing method and related terminal equipment
CN106371695A (en) * 2016-08-30 2017-02-01 广州视睿电子科技有限公司 Processing method and device for user-defined cursor
CN107562325A (en) * 2017-09-21 2018-01-09 深信服科技股份有限公司 The cursor accelerated method and system of cursor software are carried in a kind of virtual machine
CN107580068A (en) * 2017-09-21 2018-01-12 深信服科技股份有限公司 A kind of method of cursor synchronization, relevant device and system
CN111610868A (en) * 2020-04-13 2020-09-01 西安万像电子科技有限公司 Mouse data processing method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124487A (en) * 2021-11-10 2022-03-01 恒安嘉新(北京)科技股份公司 Method, device and equipment for realizing webpage access and storage medium
CN114124487B (en) * 2021-11-10 2023-12-01 恒安嘉新(北京)科技股份公司 Webpage access realization method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104978277B (en) For debugging the method, terminal and server of the page
JP4982455B2 (en) Mobile web service system and method
US10853319B2 (en) System and method for display of document comparisons on a remote device
EP2775407A1 (en) Method and system for performing local invocation with webpage
CN105426448B (en) Interface display method, apparatus and system
AU2013317501A1 (en) Offline caching method and apparatus
WO2017174026A1 (en) Client connection method and system
CN113382083B (en) Webpage screenshot method and device
WO2018133772A1 (en) Method, device, storage medium, and electronic device for obtaining webpage resources
EP2790383A2 (en) Distribution control system, distribution system, distribution control method, and computer-readable storage medium
CN102694830A (en) Method, system and apparatus for realizing network content sharing
JP2005327154A (en) Html file processing method and program
CN109670132A (en) A kind of page method for drafting, device, terminal device and storage medium
JP2004220260A (en) Web page browsing system and image distribution server
CN113076294A (en) Information sharing method and device
CN114297544A (en) Remote browsing method, device, equipment and storage medium
CN113268955A (en) Message conversion method and device
CN111901218A (en) Message transmission method, SSLVPN proxy server, electronic device and storage medium
CN113515213A (en) Cursor shape synchronization method, remote browsing system, equipment and storage medium
CN109614592B (en) Text processing method and device, storage medium and electronic equipment
KR100692658B1 (en) Mobile communication terminal, gateway and method for providing wireless internet service
CN103793459B (en) Webpage opening method and device
CA2852982A1 (en) Data interchange system
CN112749353A (en) Processing method and device of webpage icon
CN103631935A (en) Mobile end text and graphics mixed display device and mobile end text and graphics mixed display method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination