CN111694897B - Remote synchronization method, device and system - Google Patents

Remote synchronization method, device and system Download PDF

Info

Publication number
CN111694897B
CN111694897B CN202010532242.0A CN202010532242A CN111694897B CN 111694897 B CN111694897 B CN 111694897B CN 202010532242 A CN202010532242 A CN 202010532242A CN 111694897 B CN111694897 B CN 111694897B
Authority
CN
China
Prior art keywords
browser
information
slave
binding
server
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.)
Active
Application number
CN202010532242.0A
Other languages
Chinese (zh)
Other versions
CN111694897A (en
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.)
Suzhou Vica Fairyland Intelligent Technology Co ltd
Original Assignee
Suzhou Vica Fairyland Intelligent 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 Suzhou Vica Fairyland Intelligent Technology Co ltd filed Critical Suzhou Vica Fairyland Intelligent Technology Co ltd
Priority to CN202010532242.0A priority Critical patent/CN111694897B/en
Publication of CN111694897A publication Critical patent/CN111694897A/en
Application granted granted Critical
Publication of CN111694897B publication Critical patent/CN111694897B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a remote synchronization method, a device and a system, which can acquire binding information of a browser of a master device, wherein the binding information comprises a user name of a login application system through the browser and a slave device identifier set of a slave device corresponding to the master device; when remote interaction information sent by a browser of the main equipment is received, generating a message body based on the binding information and the remote interaction information; the method and the device can realize remote control by only using the server and the browser, realize remote control without installing corresponding remote interaction software, save installation resources and further improve the operation efficiency of the equipment.

Description

Remote synchronization method, device and system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for remote synchronization.
Background
The existing remote interaction system generally adopts a CS (Client/Server) architecture, and a plurality of devices are required to install corresponding remote interaction software, so that the service scenario of the user in any time and any place cannot be met, and the installation of the remote interaction software occupies a large amount of resources, so that the operation efficiency of the devices is low.
Disclosure of Invention
Accordingly, the present invention is directed to a method, apparatus and system for remote synchronization, so as to alleviate the above-mentioned technical problems.
In a first aspect, an embodiment of the present invention provides a method for remote synchronization, where the method is applied to a server, and the server is communicatively connected to a master device and a plurality of slave devices, where the method includes: binding information of a browser of the main equipment is obtained; the binding information comprises a user name of logging in the application system through a browser and a slave device identifier set of a slave device corresponding to the master device; when remote interaction information sent by a browser of the main equipment is received, generating a message body based on the binding information and the remote interaction information; the message body carries binding information and remote interaction information; and sending the message body to a plurality of slave devices in a broadcast mode so as to enable the slave devices corresponding to the binding information carried by the message body to execute remote interaction information.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the step of obtaining binding information of a browser of a host device includes: when a binding request sent by a browser of a main device is received, resolving a user name logging in an application system from the binding request; searching the equipment identification of the slave equipment with the same user name as the user name logging in the application system to obtain a slave equipment identification set; the method comprises the steps that a slave device identification set is sent to a browser of a master device to be displayed, so that the master device generates and returns binding information based on the slave device selected from the slave device identification set; and receiving binding information returned by the browser of the main equipment.
With reference to the first aspect, the embodiment of the present invention provides a second possible implementation manner of the first aspect, where the remote interaction information includes interaction content data and operation page action information; the step of generating a message body based on the binding information and the remote interaction information includes: receiving an encryption instruction sent by a browser of a main device; and encrypting the interactive content data and the binding information by using an AES encryption method, and encoding the action of the operation page to generate a message body.
In a second aspect, an embodiment of the present invention further provides a method for remote synchronization, where the method is applied to a browser of a host device, and the method includes: binding information is provided for a server through a browser of the main equipment; the binding information comprises a user name of logging in an application system through a browser of the master device and a slave device identification set of a slave device corresponding to the master device; the method comprises the steps that remote interaction information is sent to a server through a browser, so that the server generates a message body based on binding information and the remote interaction information, and the message body is sent to a plurality of slave devices in a broadcasting mode through the server, so that the remote interaction information is executed on the slave devices; the message body carries binding information and remote interaction information.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the step of providing, by a browser of the host device, binding information to the server includes: sending a binding request to a server through a browser, wherein the binding request carries a user name for logging in an application system through the browser; receiving a slave device identification set returned by the server based on the binding request; the method comprises the steps that a slave device identifier set comprises a device identifier corresponding to a slave device with the same user name as that of a browser login application system of a master device; displaying a slave device identification set for a user to select slave devices needing to be bound; generating binding information based on the slave device identification selected by the user; and sending the binding information to the server through the browser of the master device.
With reference to the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the step of sending, by the browser, the remote interaction information to the server includes: generating remote interaction information based on the operation of a user on a browser; the remote interaction information comprises interaction content data and operation page action information; the remote interaction information and the encryption instruction are sent to the server through the browser, so that the server encrypts the interaction content data and the binding information by using an AES encryption method, and encodes the action of the operation page to obtain a message body.
In a third aspect, an embodiment of the present invention further provides a method for remote synchronization, where the method is applied to a browser of a slave device, and the method includes: receiving a message body sent by a server through a browser of the slave device; the message body carries binding information and remote interaction information, wherein the binding information comprises a user name and a slave device identifier set of a browser login application system of a master device corresponding to the slave device; binding information and remote interaction information are both sent to a server by a browser of the main equipment; and if the slave equipment is equipment corresponding to the binding information carried by the message body, executing remote interaction information.
With reference to the third aspect, an embodiment of the present invention provides a first possible implementation manner of the third aspect, where, if the slave device is a device corresponding to the binding information carried by the message body, the step of executing remote interaction information includes: judging whether the user name of logging in the application system through the browser of the slave device is consistent with the user name of logging in the application system through the browser of the master device, which is included in the binding information; if yes, judging whether the slave device identifier of the slave device exists in the slave device identifier set in the binding information; if so, the remote interaction information is executed.
In a fourth aspect, an embodiment of the present invention further provides a remote synchronization apparatus, where the apparatus is applied to a server, where the server is communicatively connected to a master device and a plurality of slave devices, and the apparatus includes: the acquisition module is used for acquiring binding information of the browser of the main equipment; the binding information comprises a user name of logging in the application system through a browser and a slave device identifier set of a slave device corresponding to the master device; the generation module is used for generating a message body based on the binding information and the remote interaction information when the remote interaction information sent by the browser of the main equipment is received; the message body carries binding information and remote interaction information; and the sending module is used for sending the message body to a plurality of slave devices in a broadcasting mode so as to enable the slave devices corresponding to the binding information carried by the message body to execute the remote interactive information browser.
In a fifth aspect, an embodiment of the present invention further provides a remote synchronization system, where the system includes a server, and a master device and a plurality of slave devices that are communicatively connected to the server, where the server is configured with the apparatus described above.
The embodiment of the invention has the following beneficial effects:
The embodiment of the invention provides a remote synchronization method, a device and a system, which can acquire binding information of a browser of a master device, wherein the binding information comprises a user name of a login application system through the browser and a slave device identifier set of a slave device corresponding to the master device; when remote interaction information sent by a browser of the main equipment is received, generating a message body based on the binding information and the remote interaction information; the message body is sent to a plurality of slave devices in a broadcast mode, so that the slave devices corresponding to the binding information carried by the message body execute a remote interactive information browser.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are some embodiments of the invention and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for remote synchronization according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for remote synchronization according to an embodiment of the present invention;
FIG. 3 is a flow chart of another method for remote synchronization according to an embodiment of the present invention;
FIG. 4 is a flow chart of another method for remote synchronization according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a remote synchronization device according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another remote synchronization device according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another remote synchronization device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a remote synchronization system according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
At present, a CS architecture is often adopted for realizing remote interaction, but the realization mode needs to install remote interaction software on synchronous equipment, so that a great deal of resources are occupied, and the equipment operation efficiency is reduced.
For the sake of understanding the present embodiment, a method for remote synchronization disclosed in the present embodiment is first described in detail.
Example 1:
the present embodiment provides a remote synchronization method, which is applied to a server, where the server is communicatively connected to a master device and a plurality of slave devices, and see a flowchart of a remote synchronization method shown in fig. 1, where the remote synchronization method includes the following steps:
Step S102, binding information of a browser of a main device is obtained; the binding information comprises a user name of logging in the application system through a browser and a slave device identifier set of a slave device corresponding to the master device;
The master device and the slave device may be devices capable of realizing man-machine interaction, such as a computer, a mobile phone, a tablet computer, and the like, and are not limited herein; the master device is a device operated by a current user, the server can acquire a website input into the application system when the user opens a browser on the master device, a user name input on a login interface displayed by the application system, and a slave device identifier set of a slave device synchronous with the master device, wherein a device identifier corresponding to the slave device is stored in the slave device identifier set, and the device identifier can be represented in a digital or symbol form, and the like, so that the method is not limited.
Step S104, when the remote interaction information sent by the browser of the main equipment is received, a message body is generated based on the binding information and the remote interaction information; the message body carries binding information and remote interaction information;
when a user operates the application system, corresponding remote interaction information can be generated, the remote interaction information is sent to a server through a browser of the main equipment, and the server encrypts and codes the acquired binding information and the remote interaction information to generate a message body.
Step S106, the message body is sent to a plurality of slave devices in a broadcast mode, so that the slave devices corresponding to the binding information carried by the message body execute remote interaction information.
The broadcasting mode adopts a distributed publishing and subscribing message mode to send the message body to a plurality of slave devices, so that the slave devices which are the same as the binding information carried in the message body execute remote interaction information to complete synchronization of the master device and the slave devices.
The embodiment of the invention provides a remote synchronization method, which can acquire binding information of a browser of a master device, wherein the binding information comprises a user name for logging in an application system through the browser and a slave device identifier set of a slave device corresponding to the master device; when remote interaction information sent by a browser of the main equipment is received, generating a message body based on the binding information and the remote interaction information; the message body is sent to a plurality of slave devices in a broadcast mode, so that the slave devices corresponding to the binding information carried by the message body execute a remote interactive information browser.
Example 2:
The present embodiment provides another remote synchronization method, which is implemented on the basis of the foregoing embodiments; the present embodiment focuses on a specific embodiment of acquiring binding information of a browser of a host device. As shown in the flowchart of another remote synchronization method in fig. 2, the remote synchronization method in this embodiment includes the following steps:
Step S202, when a binding request sent by a browser of a main device is received, a user name logging in an application system is analyzed from the binding request;
When a user clicks a function key of 'remote interaction binding equipment' on an interface of a logged-in application system to send a binding request carrying a user name of the logged-in application system to a server, the server analyzes the user name of the logged-in application system in the binding request, for example, the user name is SSS.
Step S204, searching the equipment identification of the slave equipment with the same user name as the login application system to obtain a slave equipment identification set;
For convenience of explanation, in this embodiment, 3 slave devices are illustrated as examples, where each of the 3 slave devices is communicatively connected to the server, the device identifier corresponding to the slave device 1 is 1, the device identifier corresponding to the slave device 2 is 2, the device identifier corresponding to the slave device 3 is 3, when the 3 slave devices log in the application system, the server stores the user name and the device identifier of the slave device logging in the application system, and after receiving the binding request, the server searches for the device identifier corresponding to the slave device identical to the user name SSS of the master device logging in the application system, so as to obtain a slave device identifier set, for example, the user names of the slave device 1 and the slave device 2 logging in the application system are SSS, and the user names of the slave device 3 logging in the application system are not SSS, and only include 1 and 2 in the slave device identifier set, which indicates that the user names used by the slave device 1 and the slave device 2 logging in the application system are identical to the user name used when logging in the application system on the master device.
Step S206, the slave device identification set is sent to a browser of the master device for display, so that the master device generates and returns binding information based on the slave device selected from the slave device identification set;
The device identifiers included in the slave device identifier set may be displayed on the browser of the master device in a list form, so that the user can conveniently view the device identifiers, click the device identifiers in the list according to actual needs to bind the master device and the slave device, and generate and return binding information, for example, the user can click 1 or 2, or any one of the device identifiers is not limited herein.
Step S208, binding information returned by the browser of the main equipment is received;
step S210, when remote interaction information sent by a browser of a main device is received, a message body is generated based on the binding information and the remote interaction information;
The process of generating the message body based on the binding information and the remote interaction information can be realized by steps A1-A2:
step A1, receiving an encryption instruction sent by a browser of a main device;
and the browser of the main equipment sends the remote interaction information to the server and simultaneously sends an encryption instruction to the server, so that the server encrypts the remote interaction information and the binding information.
And step A2, encrypting the interactive content data and the binding information by using an AES (Advanced Encryption Standard ) encryption method, and encoding the action of the operation page to generate a message body.
The AES encryption method is commonly used in symmetric encryption because the same key is used for encryption and decryption, so in this embodiment, the AES encryption method may be used to encrypt the interactive content data and the binding information, and the operation page action is custom-action-encoded to generate the message body.
Step S212, the message body is sent to a plurality of slave devices in a broadcast mode, so that the slave devices corresponding to the binding information carried by the message body execute remote interaction information.
According to the remote synchronization method provided by the embodiment of the invention, when the binding request sent by the browser of the main equipment is received, the user name of the login application system can be analyzed from the binding request; searching the equipment identification of the slave equipment with the same user name as the user name logging in the application system to obtain a slave equipment identification set; the method comprises the steps that a slave device identification set is sent to a browser of a master device to be displayed, so that the master device generates and returns binding information based on the slave device selected from the slave device identification set; binding information returned by a browser of the main equipment is received; when remote interaction information sent by a browser of the main equipment is received, generating a message body based on the binding information and the remote interaction information; the method for remotely synchronizing the message body is characterized in that the message body is sent to a plurality of slave devices in a broadcasting mode, so that the slave devices corresponding to the binding information carried by the message body execute a remote interactive information browser, the slave devices synchronized with the master device can be determined through the browser and the server, remote control is realized without installing corresponding remote interactive software, installation resources are saved, and further the operation efficiency of the device is improved.
Example 3:
The present embodiment provides another remote synchronization method, which is implemented on the basis of the foregoing embodiments; the embodiment focuses on describing a specific implementation of the above method applied to the browser of the host device. As shown in fig. 3, the method for remote synchronization in this embodiment includes the following steps:
Step S302, binding information is provided to a server through a browser of a main device; the binding information comprises a user name of logging in an application system through a browser of the master device and a slave device identification set of a slave device corresponding to the master device;
Specifically, the above process of providing binding information to the server through the browser of the host device may be implemented by steps B1 to B5:
step B1, a binding request is sent to a server through a browser, wherein the binding request carries a user name for logging in an application system through the browser;
step B2, receiving a slave device identification set returned by the server based on the binding request; the method comprises the steps that a slave device identifier set comprises a device identifier corresponding to a slave device with the same user name as that of a browser login application system of a master device;
the server searches for device identifiers of the slave devices, which are identical to the user names of the browser login application system of the master device, based on the user names of the browser login application system of the master device, which are analyzed in the binding request, in the stored user names of the plurality of slave device login application systems, stores the device identifiers corresponding to the searched slave devices in a slave device identifier set, and sends the slave device identifier set to the browser of the master device.
Step B3, displaying the slave device identification set for a user to select the slave device to be bound;
And displaying the device identifications in the slave device identification set on an interface of an application system of the master device in a list form for a user to select the slave device needing to be bound.
Step B4, binding information is generated based on the slave device identification selected by the user;
The binding information includes a user name of logging in the application system through the browser of the master device and a device identifier corresponding to the selected bound slave device, for example, the binding information includes a user name SSS and device identifiers 1 and 2.
And step B5, the binding information is sent to the server through the browser of the master device.
Step S304, the remote interaction information is sent to the server through the browser, so that the server generates a message body based on the binding information and the remote interaction information, and the message body is sent to a plurality of slave devices in a broadcasting mode through the server, so that the remote interaction information is executed on the slave devices; the message body carries binding information and remote interaction information.
Specifically, the process of sending the remote interaction information to the server through the browser may be implemented by steps C1-C2:
Step C1, generating remote interaction information based on the operation of a user on a browser; the remote interaction information comprises interaction content data and operation page action information;
The interactive content data may be input data input by a user on an interface of the application system, or may be data content selected on the interface of the application system; the operation page action information may be action information of the mouse operating on the interface of the application system, so in this embodiment, the interactive content data and the operation page action information are not limited.
And step C2, transmitting remote interaction information and an encryption instruction to the server through the browser, so that the server encrypts the interaction content data and the binding information by using an AES encryption method, and encodes the action of the operation page to obtain a message body.
The other remote synchronization method provided by the embodiment of the invention can receive the message body sent by the server from the browser of the equipment; the message body carries binding information and remote interaction information, wherein the binding information comprises a user name and a slave device identifier set of a browser login application system of a master device corresponding to the slave device; binding information and remote interaction information are both sent to a server by a browser of the main equipment; and if the slave equipment is equipment corresponding to the binding information carried by the message body, executing remote interaction information. The remote synchronization method does not need to install corresponding remote interactive software to realize remote control, and only needs to utilize the browser to communicate with the server to realize one-to-many remote control, so that installation resources are saved, and the operation efficiency of the equipment is improved.
Example 4:
The present embodiment provides another remote synchronization method, which is implemented on the basis of the foregoing embodiments; this embodiment focuses on the specific implementation of the above method applied to the browser of the slave device. As shown in fig. 4, the method for remote synchronization in this embodiment includes the following steps:
Step S402, receiving a message body sent by a server through a browser of the slave device; the message body carries binding information and remote interaction information, wherein the binding information comprises a user name and a slave device identifier set of a browser login application system of a master device corresponding to the slave device; binding information and remote interaction information are both sent to a server by a browser of the main equipment;
in step S404, if the slave device is a device corresponding to the binding information carried by the message body, the remote interaction information is executed.
The server sends the generated message body to the slave device 1, the slave device 2 and the slave device 3 logging in the application system, and when the browser of the slave device monitors the message, the message body is decrypted to obtain binding information and remote interaction information carried in the message body, so that the slave device corresponding to the binding information executes the remote interaction information.
If the slave device is a device corresponding to the binding information carried by the message body, the process of executing the remote interaction information may be implemented by steps D1-D2:
Step D1, judging whether the user name of logging in the application system through the browser of the slave device is consistent with the user name of logging in the application system through the browser of the master device, wherein the user name is included in the binding information;
Step D2, if yes, judging whether the slave device identifier of the slave device exists in the slave device identifier set in the binding information; if so, the remote interaction information is executed.
When the slave device is the device corresponding to the binding information carried by the message body, firstly, the user name is matched, if the user name of the browser login application system of the slave device is the same as the user name of the browser login application system of the master device, the device identification is matched, if the device identification corresponding to the slave device exists in the slave device identification set in the binding information, the slave device is bound with the master device, and then the slave device decodes and translates the remote interaction information, triggers different actions and displays different contents.
The other remote synchronization method provided by the embodiment of the invention can receive the message body sent by the server from the browser of the equipment; the message body carries binding information and remote interaction information, wherein the binding information comprises a user name and a slave device identifier set of a browser login application system of a master device corresponding to the slave device; binding information and remote interaction information are both sent to a server by a browser of the main equipment; and if the slave equipment is equipment corresponding to the binding information carried by the message body, executing remote interaction information. The remote synchronization method does not need to install corresponding remote interactive software to realize remote control, and only needs to use a browser and a server to carry out remote control, so that installation resources are saved, and the operation efficiency of equipment is improved.
It should be noted that, the foregoing method embodiments are all described in a progressive manner, and each embodiment focuses on the differences from the other embodiments, and the same similar parts between the embodiments are all mutually referred to.
Example 5:
Corresponding to the above method embodiment, the embodiment of the present invention provides a remote synchronization apparatus, which is applied to a server, where the server is communicatively connected to a master device and a plurality of slave devices, as shown in a schematic structural diagram of a remote synchronization apparatus shown in fig. 5, where the remote synchronization apparatus includes:
An obtaining module 502, configured to obtain binding information of a browser of a master device; the binding information comprises a user name of logging in the application system through a browser and a slave device identifier set of a slave device corresponding to the master device;
A generating module 504, configured to generate a message body based on the binding information and the remote interaction information when the remote interaction information sent by the browser of the master device is received; the message body carries binding information and remote interaction information;
The first sending module 506 is configured to send the message body to the plurality of slave devices in a broadcast manner, so that the slave devices corresponding to the binding information carried by the message body execute the remote interactive information browser.
Further, the obtaining module 502 is further configured to, when receiving a binding request sent by a browser of the master device, parse a user name logged in to the application system from the binding request; searching the equipment identification of the slave equipment with the same user name as the user name logging in the application system to obtain a slave equipment identification set; the method comprises the steps that a slave device identification set is sent to a browser of a master device to be displayed, so that the master device generates and returns binding information based on the slave device selected from the slave device identification set; and receiving binding information returned by the browser of the main equipment.
Further, the generating module 504 is further configured to receive an encryption instruction sent by the browser of the master device; and encrypting the interactive content data and the binding information by using an AES encryption method, and encoding the action of the operation page to generate a message body.
Example 6:
Corresponding to the above method embodiment, the embodiment of the present invention provides another remote synchronization apparatus, where the apparatus is applied to a browser of a host device, as shown in a schematic structural diagram of another remote synchronization apparatus shown in fig. 6, where the remote synchronization apparatus includes:
a providing module 602, configured to provide binding information to a server through a browser of a host device; the binding information comprises a user name of logging in an application system through a browser of the master device and a slave device identification set of a slave device corresponding to the master device;
The second sending module 604 is configured to send, through the browser, remote interaction information to the server, so that the server generates a message body based on the binding information and the remote interaction information, and send, through the server, the message body to the plurality of slave devices in a broadcast manner, so as to implement execution of the remote interaction information on the slave devices; the message body carries binding information and remote interaction information.
Further, the providing module 602 is further configured to send a binding request to the server through the browser, where the binding request carries a user name for logging in to the application system through the browser; receiving a slave device identification set returned by the server based on the binding request; the method comprises the steps that a slave device identifier set comprises a device identifier corresponding to a slave device with the same user name as that of a browser login application system of a master device; displaying a slave device identification set for a user to select slave devices needing to be bound; generating binding information based on the slave device identification selected by the user; and sending the binding information to the server through the browser of the master device.
Further, the second sending module 604 is further configured to generate remote interaction information based on the operation of the user on the browser; the remote interaction information comprises interaction content data and operation page action information; the remote interaction information and the encryption instruction are sent to the server through the browser, so that the server encrypts the interaction content data and the binding information by using an AES encryption method, and encodes the action of the operation page to obtain a message body.
Example 7:
corresponding to the above method embodiment, the embodiment of the present invention provides another remote synchronization apparatus, where the apparatus is applied to a browser of a slave device, as shown in a schematic structural diagram of another remote synchronization apparatus shown in fig. 7, where the remote synchronization apparatus includes:
a receiving module 702, configured to receive, through a browser of a slave device, a message body sent by a server; the message body carries binding information and remote interaction information, wherein the binding information comprises a user name and a slave device identifier set of a browser login application system of a master device corresponding to the slave device; binding information and remote interaction information are both sent to a server by a browser of the main equipment;
and the execution module 704 is configured to execute the remote interaction information if the slave device is a device corresponding to the binding information carried by the message body.
Further, the executing module 704 is further configured to determine whether the user name of the application system logged in through the browser of the slave device is consistent with the user name of the application system logged in through the browser of the master device included in the binding information; if yes, judging whether the slave device identifier of the slave device exists in the slave device identifier set in the binding information; if so, the remote interaction information is executed.
The remote synchronization device provided by the embodiment of the invention has the same technical characteristics as the remote synchronization method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
Example 8:
The embodiment of the invention also provides a remote synchronization system, as shown in fig. 8, which is a schematic structural diagram of a remote synchronization system, and includes: a server 800, and a master device 801 and a plurality of slave devices 802 communicatively connected to the server 800, wherein the server is configured with the above-described remote synchronization apparatus.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again.
In addition, in the description of embodiments of the present invention, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood by those skilled in the art in specific cases.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention for illustrating the technical solution of the present invention, but not for limiting the scope of the present invention, and although the present invention has been described in detail with reference to the foregoing examples, it will be understood by those skilled in the art that the present invention is not limited thereto: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (6)

1. A method of remote synchronization, the method being applied to a server communicatively coupled to a master device and a plurality of slave devices, the method comprising:
When a binding request sent by a browser of the main equipment is received, resolving a user name logging in an application system from the binding request;
Searching the equipment identification of the slave equipment with the same user name as the user name logging in the application system to obtain a slave equipment identification set;
The slave equipment identification set is sent to a browser of the master equipment for display, so that the master equipment generates and returns binding information based on the slave equipment selected by the slave equipment identification set;
Receiving the binding information returned by the browser of the main equipment;
When remote interaction information sent by a browser of the main equipment is received, generating a message body based on the binding information and the remote interaction information; the message body carries the binding information and the remote interaction information; the remote interaction information comprises interaction content data and operation page action information;
The step of generating a message body based on the binding information and the remote interaction information includes:
receiving an encryption instruction sent by a browser of the main equipment;
encrypting the interactive content data and the binding information by using an AES encryption method, and encoding the operation page action to generate the message body;
And sending the message body to a plurality of slave devices in a broadcast mode so that the slave devices corresponding to the binding information carried by the message body execute the remote interaction information.
2. A method of remote synchronization, the method being applied to a browser of a host device, the method comprising:
Sending a binding request to a server through the browser, wherein the binding request carries a user name for logging in an application system through the browser;
Receiving a slave device identification set returned by the server based on the binding request; the slave equipment identification set comprises equipment identifications corresponding to slave equipment with the same user name as that of the browser login application system of the master equipment;
displaying the slave device identification set for a user to select slave devices to be bound;
generating binding information based on the slave device identification selected by the user;
Transmitting the binding information to the server through a browser of the master device; binding information is provided for a server through a browser of the main equipment; the binding information comprises a user name for logging in an application system through a browser of the master device and a slave device identification set of a slave device corresponding to the master device;
The remote interaction information is sent to the server through the browser, so that the server generates a message body based on the binding information and the remote interaction information, and the message body is sent to a plurality of slave devices in a broadcasting mode through the server, so that the remote interaction information is executed on the slave devices; the message body carries the binding information and the remote interaction information.
3. The method of claim 2, wherein the step of sending remote interactive information to the server via the browser comprises:
Generating remote interaction information based on the operation of a user on the browser; the remote interaction information comprises interaction content data and operation page action information;
And sending the remote interaction information and the encryption instruction to the server through the browser, so that the server encrypts the interaction content data and the binding information by using an AES encryption method, and encodes the operation page action to obtain the message body.
4. A method of remote synchronization, the method being applied to a browser of a slave device, the method comprising:
Receiving a message body sent by a server through a browser of the slave device; the message body carries binding information and remote interaction information, wherein the binding information comprises a user name and a slave device identifier set of a browser login application system of a master device corresponding to the slave device; the binding information and the remote interaction information are both sent to the server by the browser of the main equipment;
If the slave device is a device corresponding to the binding information carried by the message body,
Judging whether the user name of logging in the application system through the browser of the slave device is consistent with the user name of logging in the application system through the browser of the master device, wherein the user name is included in the binding information;
if yes, judging whether the equipment identifier of the slave equipment exists in the slave equipment identifier set in the binding information;
and if so, executing the remote interaction information.
5. An apparatus for remote synchronization, the apparatus being applied to a server, the server being communicatively coupled to a master device and a plurality of slave devices, the apparatus comprising:
The request receiving and analyzing module is used for analyzing the user name logging in the application system from the binding request when receiving the binding request sent by the browser of the main equipment;
The searching module is used for searching the equipment identifiers of the slave equipment with the same user name as the user name logging in the application system to obtain a slave equipment identifier set;
the binding module is used for sending the slave equipment identification set to a browser of the master equipment for displaying, so that the master equipment generates and returns binding information based on the slave equipment selected by the slave equipment identification set;
the binding information receiving module is used for receiving the binding information returned by the browser of the main equipment;
The generation module is used for generating a message body based on the binding information and the remote interaction information when the remote interaction information sent by the browser of the main equipment is received; the message body carries the binding information and the remote interaction information; the remote interaction information comprises interaction content data and operation page action information;
The step of generating a message body based on the binding information and the remote interaction information includes:
receiving an encryption instruction sent by a browser of the main equipment;
encrypting the interactive content data and the binding information by using an AES encryption method, and encoding the operation page action to generate the message body;
and the sending module is used for sending the message body to a plurality of slave devices in a broadcasting mode so as to enable the slave devices corresponding to the binding information carried by the message body to execute the remote interactive information browser.
6. A system for remote synchronization, the system comprising a server, a master device and a plurality of slave devices communicatively coupled to the server, wherein the server is configured with the apparatus of claim 5.
CN202010532242.0A 2020-06-11 2020-06-11 Remote synchronization method, device and system Active CN111694897B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010532242.0A CN111694897B (en) 2020-06-11 2020-06-11 Remote synchronization method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010532242.0A CN111694897B (en) 2020-06-11 2020-06-11 Remote synchronization method, device and system

Publications (2)

Publication Number Publication Date
CN111694897A CN111694897A (en) 2020-09-22
CN111694897B true CN111694897B (en) 2024-05-14

Family

ID=72480480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010532242.0A Active CN111694897B (en) 2020-06-11 2020-06-11 Remote synchronization method, device and system

Country Status (1)

Country Link
CN (1) CN111694897B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100031153A1 (en) * 2008-08-04 2010-02-04 Ortwein Andrew M Method and system for dispatching events to multiple browser windows/tabs using a single connection
CN103297420A (en) * 2013-04-27 2013-09-11 Tcl集团股份有限公司 Method, device and system for multi-screen sharing control
CN104038503A (en) * 2014-06-24 2014-09-10 北京奇虎科技有限公司 Cross-site logging method, cross-site logging device and cross-site logging system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100031153A1 (en) * 2008-08-04 2010-02-04 Ortwein Andrew M Method and system for dispatching events to multiple browser windows/tabs using a single connection
CN103297420A (en) * 2013-04-27 2013-09-11 Tcl集团股份有限公司 Method, device and system for multi-screen sharing control
CN104038503A (en) * 2014-06-24 2014-09-10 北京奇虎科技有限公司 Cross-site logging method, cross-site logging device and cross-site logging system

Also Published As

Publication number Publication date
CN111694897A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
US10972908B2 (en) Wireless network connection method, apparatus, and system
JP6093482B2 (en) Method and apparatus for displaying search results on portable terminal
US20230394892A1 (en) System and method for acquiring vehicle information, and vehicle
CN117055833A (en) Screen transmission method, device and storage medium
CN112399130B (en) Processing method and device of cloud video conference information, storage medium and communication equipment
CN105721462A (en) Information pushing method and device
KR20120088008A (en) A terminal having interworking function for contents and method thereof
CN102710736A (en) Head-mounted display and client apparatus
CN111757422B (en) Equipment activation method and device, user terminal, equipment to be activated and storage medium
US20160286591A1 (en) Communication method, information processing apparatus, and non-transitory computer-readable recording medium
CN113099440A (en) Network configuration method, device, equipment and system
CN103812829A (en) Method and system for improving security of remote desktop, and remote desktop server
CN105245418A (en) Method, device and system for controlling smart home devices
US20210377898A1 (en) Terminal device locating method, terminal device, system and server
KR20120086564A (en) Apparatus for remote controlling and electronic apparatus controlled by thereof remotely
KR20130065777A (en) Apparatus and method for sharing web contents using inspector script
JP2015070517A (en) Electronic apparatus, program, and information control method
JP2014192638A (en) Information output device, information operation device and program
CN111694897B (en) Remote synchronization method, device and system
CN101316350B (en) Double-screen interactive digital television system and method
EP2464154B1 (en) Apparatus and method of open mobile alliance
KR100692658B1 (en) Mobile communication terminal, gateway and method for providing wireless internet service
CN113852474B (en) Task processing method, gateway, computer readable storage medium and electronic device
CN102868766A (en) Method, system and device for achieving remote control
CN104936010A (en) Television remote control method, device and system based on input 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
GR01 Patent grant
GR01 Patent grant