[go: up one dir, main page]

CN106610763B - Method and device for synchronizing user operation across screens - Google Patents

Method and device for synchronizing user operation across screens Download PDF

Info

Publication number
CN106610763B
CN106610763B CN201510701698.4A CN201510701698A CN106610763B CN 106610763 B CN106610763 B CN 106610763B CN 201510701698 A CN201510701698 A CN 201510701698A CN 106610763 B CN106610763 B CN 106610763B
Authority
CN
China
Prior art keywords
user operation
interface
synchronized
equipment
user
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
CN201510701698.4A
Other languages
Chinese (zh)
Other versions
CN106610763A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510701698.4A priority Critical patent/CN106610763B/en
Publication of CN106610763A publication Critical patent/CN106610763A/en
Application granted granted Critical
Publication of CN106610763B publication Critical patent/CN106610763B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides a method and a device for synchronizing user operation across screens. The method comprises the following steps: determining at least two devices needing synchronous user operation; acquiring at least one user operation generated on at least two interfaces which need to be synchronized and are displayed by at least two devices; if an interface to be synchronized exists in at least two interfaces needing user operation for synchronization, wherein the interface to be synchronized refers to an interface which does not have any user operation in the at least one user operation, simulating to execute the user operation which does not occur on the interface to be synchronized. According to the method and the device, the synchronization of user operation can be realized among different terminals, and the service efficiency in a multi-user cooperative application scene is improved.

Description

Method and device for synchronizing user operation across screens
[ technical field ] A method for producing a semiconductor device
The application relates to the technical field of internet, in particular to a method and a device for synchronizing user operation across screens.
[ background of the invention ]
With the development of internet technology, internet-based applications are increasing. A general application may run on multiple devices simultaneously. The user uses the corresponding application through respective equipment to complete the related service operation.
In practical application, some business operations are not individual behaviors and need to be completed by multiple persons in a cooperative manner, that is, a business scene with multi-user cooperation exists. For example, online purchasing in the field of electronic commerce is generally not a personal behavior, requiring multiple people to negotiate to determine the commodity object being purchased. In a multi-user collaborative business scenario, users need to communicate with other users about operations among the users through other ways besides completing relevant operations through their own devices using corresponding applications, so as to ensure successful execution of business operations, which makes business efficiency lower.
[ summary of the invention ]
Various aspects of the present application provide a method and an apparatus for synchronizing user operations across screens, so as to implement synchronization of user operations between different terminals and improve service efficiency in a multi-user collaborative application scenario.
One aspect of the present application provides a method for synchronizing user operations across screens, including:
determining at least two devices needing synchronous user operation;
acquiring at least one user operation generated on at least two interfaces which need synchronous user operation and are displayed by the at least two devices;
if an interface to be synchronized exists in the at least two interfaces needing user operation for synchronization, and the interface to be synchronized refers to an interface where any user operation in the at least one user operation does not occur, simulating to execute the user operation which does not occur on the interface to be synchronized.
In an optional embodiment of the present application, the acquiring at least one user operation occurring on at least two interfaces displayed by the at least two devices includes:
and acquiring at least one user operation which can cause the content change on any interface in the interfaces needing synchronous user operation, wherein the at least two interfaces needing synchronous user operation are displayed on the at least two devices.
In an optional implementation manner of the present application, the simulating, on the interface to be synchronized, execution of a user operation that does not occur on the interface to be synchronized includes:
generating a simulation operation instruction required for simulating and executing the user operation which does not occur on the interface to be synchronized according to the user operation which does not occur on the interface to be synchronized;
and issuing the simulation operation instruction to the application needing the synchronous user operation to which the interface to be synchronized belongs so as to control the application needing the synchronous user operation to simulate and execute the user operation which does not occur on the interface to be synchronized.
In an optional implementation manner of the present application, the generating, according to the user operation that does not occur on the interface to be synchronized, a simulation operation instruction required for simulating and executing the user operation that does not occur on the interface to be synchronized includes:
generating a simulation operation instruction required for simulating and executing each user operation which does not occur on the interface to be synchronized according to each user operation which does not occur on the interface to be synchronized; or
Integrating the user operation which does not occur on the interface to be synchronized to generate a user operation sequence which does not occur on the interface to be synchronized;
and generating a simulation operation instruction required for simulating the user operation sequence according to the user operation sequence.
In an optional embodiment of the present application, the determining at least two devices that need to synchronize user operations includes:
receiving a synchronization request sent by an application needing synchronous user operation, to which an interface needing synchronous user operation displayed by any one of the at least two devices belongs;
and determining other equipment except any one equipment in the at least two equipment according to the synchronous request.
In an optional implementation manner of the present application, the determining, according to the synchronization request, other devices of the at least two devices except the one device includes:
acquiring the identifier of the equipment positioned in the appointed range of any equipment from the synchronous request;
determining the device identified by the identification as the other device of the at least two devices; or
Acquiring account information used by any equipment for accessing the interface needing the synchronous user operation from the synchronous request;
and acquiring other equipment which uses the account information to access the interface needing the synchronous user operation and is positioned in the same network environment with the any equipment as other equipment in the at least two pieces of equipment.
In an optional implementation manner of the present application, after determining, according to the synchronization request, other devices of the at least two devices except the one device, the method includes:
sending a synchronization inquiry request to the application needing the synchronous user operation on the other equipment in the at least two equipment, so that a user of the other equipment in the at least two equipment can determine whether to synchronize the user operation with any equipment;
when the user of the other equipment in the at least two pieces of equipment determines to synchronize the user operation with the any equipment, controlling the application needing the synchronized user operation on the other equipment in the at least two pieces of equipment to display the interface needing the synchronized user operation.
In an optional embodiment of the present application, the method further comprises:
receiving a synchronization cancellation request sent by the application needing the synchronization user operation on any equipment;
and according to the synchronization canceling request, prohibiting execution of at least one user operation which occurs on at least two interfaces which need to be synchronized and are displayed by the at least two devices, and when an interface to be synchronized exists in the at least two interfaces which need to be synchronized, simulating execution of user operations which do not occur on the interface to be synchronized.
In another aspect of the present application, an apparatus for synchronizing user operations across screens is provided, including:
the device comprises a determining module, a synchronization module and a judging module, wherein the determining module is used for determining at least two devices which need to be synchronized and operated by a user;
the acquisition module is used for acquiring at least one user operation generated on at least two interfaces which need to be synchronized and are displayed by the at least two devices;
and the synchronization module is used for simulating to execute the user operation which does not occur on the interface to be synchronized when the interface to be synchronized exists in the at least two interfaces which need to be synchronized and the interface to be synchronized refers to the interface in which any user operation does not occur in the at least one user operation.
In an optional implementation manner of the present application, the obtaining module is specifically configured to:
and acquiring at least one user operation which can cause the content change on any interface of the at least two interfaces needing synchronous user operation and occurs on the at least two interfaces needing synchronous user operation and displayed on the at least two devices.
In an optional implementation manner of the present application, the synchronization module is specifically configured to:
generating a simulation operation instruction required for simulating and executing the user operation which does not occur on the interface to be synchronized according to the user operation which does not occur on the interface to be synchronized;
and issuing the simulation operation instruction to the application needing the synchronous user operation to which the interface to be synchronized belongs so as to control the application needing the synchronous user operation to simulate and execute the user operation which does not occur on the interface to be synchronized.
In an optional implementation manner of the present application, the synchronization module is specifically configured to:
generating a simulation operation instruction required for simulating and executing each user operation which does not occur on the interface to be synchronized according to each user operation which does not occur on the interface to be synchronized; or
Integrating the user operation which does not occur on the interface to be synchronized to generate a user operation sequence which does not occur on the interface to be synchronized;
and generating a simulation operation instruction required for simulating the user operation sequence according to the user operation sequence.
In an optional implementation manner of the present application, the determining module is specifically configured to:
receiving a synchronization request sent by an application needing synchronous user operation, to which an interface needing synchronous user operation displayed by any one of the at least two devices belongs;
and determining other equipment except any one equipment in the at least two equipment according to the synchronous request.
In an optional implementation manner of the present application, the determining module is specifically configured to:
acquiring the identifier of the equipment positioned in the appointed range of any equipment from the synchronous request;
determining the device identified by the identification as the other device of the at least two devices; or
Acquiring account information used by any equipment for accessing the interface needing the synchronous user operation from the synchronous request;
and acquiring other equipment which uses the account information to access the interface needing the synchronous user operation and is positioned in the same network environment with the any equipment as other equipment in the at least two pieces of equipment.
In an optional embodiment of the present application, the determining module is further configured to:
sending a synchronization inquiry request to the application needing the synchronous user operation on the other equipment in the at least two equipment, so that a user of the other equipment in the at least two equipment can determine whether to synchronize the user operation with any equipment;
and when the user of the other equipment determines to synchronize the user operation with any equipment, controlling the application needing the synchronized user operation on the other equipment in the at least two pieces of equipment to display the interface needing the synchronized user operation.
In an optional embodiment of the present application, the determining module is further configured to:
receiving a synchronization cancellation request sent by the application needing the synchronization user operation on any equipment;
and prohibiting the acquisition module and the synchronization module from executing corresponding operations according to the synchronization canceling request.
In the application, at least two devices needing synchronous user operation are determined, at least one user operation occurring on at least two interfaces needing synchronous user operation displayed by the at least two devices is obtained, an interface which does not occur any user operation in the at least two interfaces needing synchronous user operation is called as an interface to be synchronized, if the interface to be synchronized exists in the at least two interfaces needing synchronous user operation, the user operation which does not occur on the interface to be synchronized is simulated and executed on the interface to be synchronized, thereby synchronizing the user operation on the interface which is displayed by each device and needs to synchronize the user operation, therefore, the user of each device can see the operation of other users on the device of the user, and the user does not need to communicate with the user operation in other modes, thereby being beneficial to improving the service efficiency in a multi-user cooperation application scene.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and those skilled in the art can also obtain other drawings according to the drawings without inventive labor.
Fig. 1 is a schematic flowchart of a method for synchronizing user operations across screens according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a device for synchronizing user operations across screens according to another embodiment of the present application.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In practical application, there is a multi-user cooperative service scenario, that is, a service scenario that can be completed only by requiring a plurality of users to cooperate with each other. For example, a scene of downloading network resources in a division manner, a scene of purchasing on the internet in the field of electronic commerce and the like. In order to ensure successful execution of service operation, multiple users need to negotiate, for example, in a scenario of downloading network resources in a time division manner, the users need to negotiate the network resources to be downloaded, so as to avoid the problem of repeated downloading or missing downloading; for example, in the online purchasing business, the commodities selected from each other need to be negotiated to determine the final purchasing object, etc., which may result in inefficient business operation. Aiming at the problem that the service execution efficiency is low in the existing multi-user cooperation scene, the application provides a solution, and the main idea is as follows: the method comprises the steps of performing cross-screen synchronization on user operations on the same interfaces displayed by at least two devices, namely performing mutual synchronization of the user operations between at least two interfaces which need to be synchronized and are displayed by at least two devices, so that users of each device can see the operations of other users on own device, thereby saving programs for communication in other modes and improving the service efficiency.
The following is a detailed description of the implementation principle of the present application through specific embodiments.
Fig. 1 is a schematic flowchart of a method for synchronizing user operations across screens according to an embodiment of the present application. As shown in fig. 1, the method includes:
101. at least two devices requiring synchronized user operation are determined.
102. And acquiring at least one user operation generated on at least two interfaces which need synchronous user operation and are displayed by the at least two devices.
103. If the interface to be synchronized exists in the at least two interfaces needing the user operation for synchronization, and the interface to be synchronized refers to an interface which does not have any user operation in the at least one user operation, simulating to execute the user operation which does not occur on the interface to be synchronized.
The method provided by the embodiment is particularly suitable for a multi-user cooperative business scenario, but is not limited to this. The method provided by the embodiment can be adopted in all application scenes requiring synchronous user operation between at least two devices.
In addition, the embodiment does not limit the type of the device that needs to be synchronized with the user operation, for example, the device may be a PC, a mobile phone, a tablet computer, or the like, and all devices that can run the same application that needs to be synchronized with the user operation and can display an interface that needs to be synchronized with the user operation in the application are suitable for the embodiment. According to different service scenes, applications which need to be synchronized and run on the equipment which needs to be synchronized and operated by the user also need to be synchronized and operated by the user. The application may be, for example, a browser, various third-party internet-based applications, such as e-commerce-type applications, instant messaging-type applications, game-type applications, and the like. It should be noted that the application related to this embodiment mainly refers to the same application running on at least two devices that need to synchronize user operations, and the application is an application that needs to synchronize user operations.
The method flow of the embodiment may be executed by a device (simply referred to as a synchronization device) that synchronizes user operations across screens. The synchronization device may be implemented as a plug-in or a patch in the client of the application that needs to be synchronized with the user operation, and may be operated on each device of the at least two devices, so that each device may execute the method flow to achieve synchronization of the user operation on each device. Or, the synchronization apparatus may be implemented as a plug-in or a patch in the server of the application that needs to be synchronized, and the whole process of the cross-screen synchronization user operation may be completed by the server.
In particular, the synchronization means may determine at least two devices that need to be synchronized for user operation. The types of the at least two devices which need to be synchronized with the user operation may include one or more of a PC, a mobile phone, a tablet computer, and the like.
In practical applications, a multi-user collaboration scenario generally requires multiple users to operate on the same interface, but is not limited thereto, so that the interfaces that need to synchronize user operations and are displayed on at least two devices in this embodiment may be the same interface (for example, a detail page of the same item or an interface that displays the same part in a search result), or may be different interfaces (for example, detail pages of different items or interfaces that display different parts in a search result).
In an alternative embodiment, the application itself that needs to synchronize user operations provides the synchronization functionality, allowing the user to initiate synchronization of user operations. In particular, the application may provide a synchronization portal, which may be located on various interfaces of the application, to facilitate user initiated synchronization of user operations. Through which a user may issue a synchronization instruction to the application. For example, the synchronization entry may be a button located on the application interface, or a function option in a function menu of the application, and the user may click the corresponding button or function option to issue a synchronization instruction to the application. And the application sends a synchronization request to the synchronization device according to the synchronization instruction of the user. The application sending the synchronization request to the synchronization apparatus may be an application that needs to be synchronized and operated by a user running on any one of the at least two devices, and preferably, the user may instruct the application that needs to be synchronized and operated by the user to send the synchronization request through an interface that needs to be synchronized and operated by the user.
Based on the above, a specific implementation manner of determining at least two devices that need to synchronize user operations is as follows:
an application needing synchronous user operation and belonging to an interface needing synchronous user operation and displayed by any one of at least two devices needing synchronous user operation sends a synchronous request to a synchronous device; the method comprises the steps that a synchronization device receives a synchronization request sent by an application needing synchronous user operation, to which an interface needing synchronous user operation and displayed by any equipment belongs; determining other devices of the at least two devices except any one device according to the synchronization request.
Further, the application that needs to be synchronized and operated by the user and sends the synchronization request may carry, in the synchronization request, the identifier of the device located within the specified range of any device that carries the application, so that the synchronization apparatus may obtain, from the synchronization request, the identifier of the device located within the specified range of any device, and determine that the device identified by the identifier is used as another device, except for the device, of the at least two devices that need to be synchronized and operated by the user. When users of at least two devices need to synchronize user operations between at least two devices, the at least two devices can be close to each other, and the distance sensor on each device of the at least two devices can detect other devices located within the specified range of the device, so as to provide the identified identifiers of the other devices located within the specified range of the device to the application running on the device, which needs to synchronize user operations, so that the application running on the device, which needs to synchronize user operations, can carry the identified identifiers of the other devices located within the specified range of the device in a synchronization request and send the synchronization request to the synchronization apparatus.
The present embodiment does not limit the value of the above specified range, and for example, the value may be 0, or 1 cm, or 0.3 m, or more, which may be determined according to the recognition accuracy of the distance sensor.
In the above alternative embodiment, whether the user operation needs to be synchronized between the devices is determined by the distance between the devices, but is not limited thereto. For example, it may also be determined whether a synchronous user operation is required between devices based on account information, e.g., it may be determined that a synchronous user operation is required between devices that log in the same application using the same account information.
Specifically, the application sending the synchronization request and needing the synchronization user operation may carry account information of any device carrying the application accessing the interface needing the synchronization user operation in the synchronization request, so that the synchronization apparatus may obtain the account information of any device accessing the interface needing the synchronization user operation from the synchronization request, and further obtain other devices, which use the account information to access the interface needing the synchronization user operation and are located in the same network environment as the other devices in the at least two devices needing the synchronization user operation, except for the any device. The synchronization device can obtain information from the server of the application, such as which devices use the account information to access the interface needing the user operation for synchronization, the used network environment information, and the like.
It should be noted that the interface that needs to synchronize the user operation may be any interface provided by the application that needs to synchronize the user operation, and in addition, the interface may also be different according to different application scenarios.
After determining at least two devices needing synchronous user operation, ensuring that the at least two devices needing synchronous user operation display an interface needing synchronous user operation.
If some devices in at least two devices that need to be synchronized with the user operation do not display the interface that needs to be synchronized with the user operation, the user of these devices may manually control the devices to display the interface that needs to be synchronized with the user operation, or the synchronization device may control at least two devices that need to be synchronized with the user operation to display the interface that needs to be synchronized with the user operation.
The process that the synchronizer controls at least two devices needing synchronous user operation to display the interface needing synchronous user operation comprises the following steps:
after determining other equipment except any equipment in at least two pieces of equipment, the synchronization device sends a synchronization inquiry request to an application needing synchronous user operation on the other equipment so as to enable a user of the other equipment to determine whether to synchronize the user operation with the any equipment; the user can determine whether the equipment participates in the user operation synchronization according to the synchronization inquiry request; when the user of the other device determines to participate in the user operation for synchronization, an agreement instruction may be sent to the application that needs the user operation for synchronization, the application sends a synchronization instruction to the synchronization device, the synchronization device determines, according to the synchronization instruction, that the user of the other device determines to synchronize the user operation with the any device, and at this time, the application that needs the user operation for synchronization on the other device is controlled to display an interface displayed by the any device (i.e., an interface that needs the user operation for synchronization). It is worth noting that in this embodiment, one way to easily implement is for each device to display the same interface.
After determining at least two devices needing synchronous user operation and ensuring that the at least two devices needing synchronous user operation display an interface needing synchronous user operation, the synchronization device acquires at least one user operation on the at least two interfaces needing synchronous user operation displayed by the at least two devices. In this embodiment, at least two interfaces that need to be synchronized are provided, but from the viewpoint of the displayed content, the at least two interfaces that need to be synchronized may be the same or different.
The operation of the user on the interface is referred to as a user operation on the interface, and the user operation may be a click operation, a check operation, a modification operation, a synchronization operation, a download operation, a preview operation, and the like.
For example, the synchronization apparatus may employ an event monitoring mechanism to obtain the user operation occurring on the interface displayed by each device, which needs to be synchronized with the user operation, but is not limited thereto. Alternatively, the synchronization device may be matched with an application that needs to synchronize user operations, and the user operations occurring on the application interface are acquired through the application. For example, when an application that needs to synchronize user operations monitors user operations on an interface, the application may actively report the user operations to the synchronization apparatus, or the synchronization apparatus may periodically send an acquisition request to the application that needs to synchronize user operations, and the application reports the monitored user operations on the interface to the synchronization apparatus according to the acquisition request.
Preferably, the synchronization device may obtain at least one user operation that occurs on at least two interfaces that need to be synchronized and are displayed by at least two pieces of equipment, where the at least one user operation can cause a content on any interface of the at least two interfaces that need to be synchronized to change. The user operation that can cause the content on the interface to change may be a checking operation, a modifying operation, a synchronizing operation, a downloading operation, and the like.
After acquiring at least one user operation occurring on at least two interfaces which need to be synchronized and are displayed by at least two devices, the synchronization device may determine whether an interface to be synchronized exists in the at least two interfaces which need to be synchronized, that is, whether an interface which does not have any user operation in the at least one user operation has yet occurred. If the interface exists, the interface is called an interface to be synchronized, and user operation which does not occur on the interface to be synchronized is simulated and executed on the interface to be synchronized, so that the user operation on the interface displayed by each device is synchronized. On the contrary, if the determination result is that the user operation is not present, it indicates that all the user operations in the at least one user operation occur on each of the at least two interfaces requiring the synchronous user operation, which means that the user operations occurring on the at least two interfaces requiring the synchronous user operation are completely the same and are already in a synchronous state, and the operation can be ended without performing the synchronous operation. The interface to be synchronized refers to an interface which does not have any user operation in the at least one user operation in at least two interfaces needing user operation for synchronization. The interface to be synchronized may be one interface or a plurality of interfaces.
For example, assuming that there are three devices, and all three devices display the same shopping interface, where the user operation on the interface displayed by the first device is an operation of selecting a commodity a, the user operation on the interface displayed by the second device is an operation of selecting a commodity a and a commodity B, and no user operation is performed on the interface displayed by the third device, the user operations on the interfaces displayed by the three devices collectively include: an operation of selecting an article a and an operation of selecting an article B. The shopping interfaces displayed by the first device and the third device are to-be-synchronized interfaces, the user operation which does not occur on the interface displayed by the first device is the operation of selecting the commodity B, and the user operation which does not occur on the interface displayed by the third device is the operation of selecting the commodity A and the operation of selecting the commodity B. The operation of selecting the commodity A is simulated and executed on the shopping interface displayed by the first device, and the operation of selecting the commodity A and the operation of selecting the commodity B are simulated and executed on the shopping interface displayed by the third device, so that the operation of selecting the commodity A and the operation of selecting the commodity B are performed on the shopping interfaces displayed by the three devices, users of the three devices can see the operation executed by other users on the respective devices, the communication with other users about the operation among the users is not needed, and the quick execution of business operation is facilitated.
The implementation method for simulating and executing the user operation which does not occur on the interface to be synchronized comprises the following steps:
generating a simulation operation instruction required for simulating and executing the user operation which does not occur on the interface to be synchronized according to the user operation which does not occur on the interface to be synchronized;
and issuing the simulation operation instruction to the application needing the synchronous user operation to which the interface to be synchronized belongs so as to control the application needing the synchronous user operation to simulate and execute the user operation which does not occur on the interface to be synchronized.
Optionally, the synchronization device may generate a simulation operation instruction required for performing each non-occurring user operation in a simulated manner according to each non-occurring user operation on the interface to be synchronized, and send the simulation instruction required for each non-occurring user operation to the application needing the user operation to be synchronized, to which the interface to be synchronized belongs, so that the application needing the user operation to be synchronized performs each non-occurring user operation in the simulated manner on the interface to be synchronized. Or,
optionally, the synchronization device may integrate user operations that do not occur on the interface to be synchronized, to generate a user operation sequence that does not occur on the interface to be synchronized, that is, to form a user operation sequence; then, a simulation operation command required for simulating the user operation sequence is generated according to the user operation sequence. For example, if the user operations that do not occur on the interface to be synchronized include a commodity selection a operation and a commodity selection B operation, the user operation sequence generated by the synchronization device includes: the operation of selecting the article a and the operation of selecting the article B, and the order of these two operations is not limited.
After the simulation operation instruction is generated, the simulation operation instruction can be issued to the application of the interface to be synchronized, which needs to be synchronized. The application to which the interface to be synchronized belongs and which needs to be synchronized by the user operation is the application running on the device displaying the interface to be synchronized. And receiving a simulation operation instruction by the application needing the synchronous user operation and belonging to the interface to be synchronized, and then executing the simulation operation instruction, wherein the process of executing the simulation operation instruction is a process of simulating the user operation which does not occur on the different interfaces to be synchronized on the interface to be synchronized. For example, the application needing the synchronous user operation and belonging to the interface to be synchronized performs commodity check-in operation, shopping cart adding operation, canceling operation, previewing operation, audition operation and the like on the interface to be synchronized. It should be noted that the process of the application requiring the user operation to be synchronized, which belongs to the interface to be synchronized, simulating the user operation on the interface to be synchronized is not the process of the user actually executing the operation, but simulates the operation executed by the user on other devices.
It should be noted that, if the synchronization apparatus is implemented as a plug-in or a patch of the application client, the process of issuing the simulation operation instruction to the application to be synchronized to which the interface to be synchronized belongs and which needs to be synchronized by the user operation belongs to the communication process inside the application. If the synchronization device is implemented as a plug-in or a patch of the application server, the process of issuing the simulation operation instruction to the application needing the user operation to be synchronized to which the interface to be synchronized belongs to a communication process between the application client and the application server.
Further, when the user wishes to end the user operation synchronization process, the application that needs to synchronize user operations on any device that sends the synchronization request may send a synchronization cancellation request to the synchronization apparatus, at this time, the synchronization apparatus receives the synchronization cancellation request, and according to the synchronization cancellation request, stops executing operations that acquire user operations that occur on at least two interfaces that need to synchronize user operations and are displayed on at least two devices, and when an interface to be synchronized exists in the at least two interfaces that need to synchronize user operations, simulates operations that do not occur on the interface to be synchronized.
As can be seen from the above description, in this embodiment, at least two devices that need to synchronize user operations are determined, at least one user operation that occurs on at least two interfaces that need to synchronize user operations and are displayed on the at least two devices is obtained, an interface that does not have any user operation in the at least one user operation and exists in the at least two interfaces that need to synchronize user operations is referred to as an interface to be synchronized, if an interface to be synchronized exists in the at least two interfaces that need to synchronize user operations, the user operation that does not occur on the interface to be synchronized is simulated and executed on the interface to be synchronized, thereby synchronizing the user operation on the interface which is displayed by each device and needs to synchronize the user operation, therefore, the user of each device can see the operation of other users on the device of the user, and the user does not need to communicate with the user operation in other modes, thereby being beneficial to improving the service efficiency in a multi-user cooperation application scene.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
Fig. 2 is a schematic structural diagram of a device for synchronizing user operations across screens according to another embodiment of the present application. As shown in fig. 2, the apparatus includes: a determination module 21, an acquisition module 22 and a synchronization module 23.
A determining module 21, configured to determine at least two devices that need to be synchronized for user operation.
An obtaining module 22, configured to obtain at least one user operation occurring on at least two interfaces, which need to be synchronized, displayed by at least two devices and determined by the determining module 21.
The synchronization module 23 is configured to, when an interface to be synchronized exists in at least two interfaces that need to be synchronized, where the interface to be synchronized refers to an interface that does not have any user operation in at least one user operation acquired by the acquisition module 22, and simulate, on the interface to be synchronized, execution of the user operation that does not occur on the interface to be synchronized.
In an alternative embodiment, the obtaining module 22 may be specifically configured to:
the method comprises the steps of obtaining at least one user operation which can cause the content on any interface of at least two interfaces needing synchronous user operation to change, wherein the at least one user operation occurs on at least two interfaces needing synchronous user operation and displayed on at least two devices.
In an alternative embodiment, the synchronization module 23 is specifically configured to:
generating a simulation operation instruction required for simulating and executing the user operation which does not occur on the interface to be synchronized according to the user operation which does not occur on the interface to be synchronized;
and issuing the simulation operation instruction to the application needing the synchronous user operation to which the interface to be synchronized belongs so as to control the application needing the synchronous user operation to simulate and execute the user operation which does not occur on the interface to be synchronized.
In an optional embodiment, when the synchronization module 23 generates a simulation operation instruction required for simulating and executing a user operation that does not occur on the interface to be synchronized according to a user operation that does not occur on the interface to be synchronized, the synchronization module may be specifically configured to:
generating a simulation operation instruction required for simulating and executing each user operation which does not occur according to each user operation which does not occur on the interface to be synchronized; or
Integrating the user operation which does not occur on the interface to be synchronized to generate a user operation sequence which does not occur on the interface to be synchronized;
and generating a simulation operation instruction required by simulating the user operation sequence according to the user operation sequence.
In an optional embodiment, when determining at least two devices that need to be synchronized for user operation, the determining module 21 is specifically configured to:
acquiring the identifier of the equipment positioned in the appointed range of any equipment from the synchronous request;
determining to identify the identified device as the other device of the at least two devices; or
Acquiring account information used by any equipment for accessing an interface needing synchronous user operation from the synchronous request;
and acquiring the interface which needs synchronous user operation and is accessed by using the account information, wherein other equipment which is positioned in the same network environment with any equipment is taken as other equipment in at least two pieces of equipment.
In an alternative embodiment, the determining module 21 is further configured to:
after determining other devices except any device in the at least two devices according to the synchronization request, sending a synchronization inquiry request to an application needing synchronous user operation on the other devices in the at least two devices, so that a user of the other devices in the at least two devices can determine whether to synchronize the user operation with any device;
when the user of the other device of the at least two devices determines to synchronize the user operation with any device, the application needing the synchronized user operation on the other device of the at least two devices is controlled to display the interface needing the synchronized user operation (namely, the interface needing the synchronized user operation displayed by any device).
In an alternative embodiment, the determining module 21 is further configured to:
receiving a synchronization canceling request sent by an application needing synchronous user operation on any equipment;
and according to the synchronization canceling request, prohibiting the acquisition module 22 and the synchronization module 23 from executing corresponding operations.
The application referred to in this embodiment mainly refers to the same application that runs on at least two devices that need to be synchronized in user operation, and the application is an application that needs to be synchronized in user operation.
The device for synchronizing user operations across screens in this embodiment may be implemented as a plug-in or a patch in the client of the application that needs to be synchronized, and run on each device of the at least two devices, so that each device may execute the above method flow, thereby achieving synchronization of user operations on each device. Or, the synchronization apparatus may be implemented as a plug-in or a patch in the server of the application that needs to be synchronized, and the whole process of the cross-screen synchronization user operation may be completed by the server.
The cross-screen synchronization user operation apparatus provided in this embodiment determines at least two devices that need to be synchronized, obtains at least one user operation occurring on at least two interfaces that need to be synchronized, and calls, as an interface to be synchronized, an interface that does not have any user operation among the at least two interfaces that need to be synchronized, from among the at least two interfaces that need to be synchronized, if an interface to be synchronized exists among the at least two interfaces that need to be synchronized, the user operation that does not occur on the interface to be synchronized is simulated and executed on the interface to be synchronized, so that the user operations on the interfaces that need to be synchronized, which are displayed on each device, are synchronized, so that a user of each device can see operations of other users on its own device, and the user does not need to perform communication related to the user operations in other manners, the method is beneficial to improving the service efficiency in the multi-user cooperative application scene.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (16)

1. A method for synchronizing user operations across screens, comprising:
determining at least two devices needing synchronous user operation;
acquiring at least one user operation generated on at least two interfaces which need synchronous user operation and are displayed by the at least two devices;
if an interface to be synchronized exists in the at least two interfaces needing user operation for synchronization, and the interface to be synchronized refers to an interface where any user operation in the at least one user operation does not occur, simulating to execute the user operation which does not occur on the interface to be synchronized.
2. The method of claim 1, wherein the obtaining at least one user operation occurring on at least two interfaces displayed by the at least two devices comprises:
and acquiring at least one user operation which can cause the content change on any interface in the interfaces needing synchronous user operation, wherein the at least two interfaces needing synchronous user operation are displayed on the at least two devices.
3. The method according to claim 1, wherein the simulating, on the interface to be synchronized, execution of the user operation that does not occur on the interface to be synchronized comprises:
generating a simulation operation instruction required for simulating and executing the user operation which does not occur on the interface to be synchronized according to the user operation which does not occur on the interface to be synchronized;
and issuing the simulation operation instruction to the application needing the synchronous user operation to which the interface to be synchronized belongs so as to control the application needing the synchronous user operation to simulate and execute the user operation which does not occur on the interface to be synchronized.
4. The method according to claim 3, wherein the generating, according to the user operation that does not occur on the interface to be synchronized, a simulation operation instruction required for simulating and executing the user operation that does not occur on the interface to be synchronized comprises:
generating a simulation operation instruction required for simulating and executing each user operation which does not occur on the interface to be synchronized according to each user operation which does not occur on the interface to be synchronized; or
Integrating the user operation which does not occur on the interface to be synchronized to generate a user operation sequence which does not occur on the interface to be synchronized;
and generating a simulation operation instruction required for simulating the user operation sequence according to the user operation sequence.
5. The method according to any of claims 1-4, wherein said determining at least two devices requiring synchronized user operation comprises:
receiving a synchronization request sent by an application needing synchronous user operation, to which an interface needing synchronous user operation displayed by any one of the at least two devices belongs;
and determining other equipment except any one equipment in the at least two equipment according to the synchronous request.
6. The method of claim 5, wherein the determining the other devices of the at least two devices except the any device according to the synchronization request comprises:
acquiring the identifier of the equipment positioned in the appointed range of any equipment from the synchronous request;
determining the device identified by the identification as the other device of the at least two devices; or
Acquiring account information used by any equipment for accessing the interface needing the synchronous user operation from the synchronous request;
and acquiring other equipment which uses the account information to access the interface needing the synchronous user operation and is positioned in the same network environment with the any equipment as other equipment in the at least two pieces of equipment.
7. The method of claim 5, wherein the determining other devices of the at least two devices except the any device according to the synchronization request comprises:
sending a synchronization inquiry request to the application needing the synchronous user operation on the other equipment in the at least two equipment, so that a user of the other equipment in the at least two equipment can determine whether to synchronize the user operation with any equipment;
when the user of the other equipment in the at least two pieces of equipment determines to synchronize the user operation with the any equipment, controlling the application needing the synchronized user operation on the other equipment in the at least two pieces of equipment to display the interface needing the synchronized user operation.
8. The method of claim 5, further comprising:
receiving a synchronization cancellation request sent by the application needing the synchronization user operation on any equipment;
and according to the synchronization canceling request, prohibiting execution of at least one user operation which occurs on at least two interfaces which need to be synchronized and are displayed by the at least two devices, and when an interface to be synchronized exists in the at least two interfaces which need to be synchronized, simulating execution of user operations which do not occur on the interface to be synchronized.
9. An apparatus for synchronizing user operations across screens, comprising:
the device comprises a determining module, a synchronization module and a judging module, wherein the determining module is used for determining at least two devices which need to be synchronized and operated by a user;
the acquisition module is used for acquiring at least one user operation generated on at least two interfaces which need to be synchronized and are displayed by the at least two devices;
and the synchronization module is used for simulating to execute the user operation which does not occur on the interface to be synchronized when the interface to be synchronized exists in the at least two interfaces which need to be synchronized and the interface to be synchronized refers to the interface in which any user operation does not occur in the at least one user operation.
10. The apparatus of claim 9, wherein the obtaining module is specifically configured to:
and acquiring at least one user operation which can cause the content change on any interface of the at least two interfaces needing synchronous user operation and occurs on the at least two interfaces needing synchronous user operation and displayed on the at least two devices.
11. The apparatus of claim 9, wherein the synchronization module is specifically configured to:
generating a simulation operation instruction required for simulating and executing the user operation which does not occur on the interface to be synchronized according to the user operation which does not occur on the interface to be synchronized;
and issuing the simulation operation instruction to the application needing the synchronous user operation to which the interface to be synchronized belongs so as to control the application needing the synchronous user operation to simulate and execute the user operation which does not occur on the interface to be synchronized.
12. The apparatus of claim 11, wherein the synchronization module is specifically configured to:
generating a simulation operation instruction required for simulating and executing each user operation which does not occur on the interface to be synchronized according to each user operation which does not occur on the interface to be synchronized; or
Integrating the user operation which does not occur on the interface to be synchronized to generate a user operation sequence which does not occur on the interface to be synchronized;
and generating a simulation operation instruction required for simulating the user operation sequence according to the user operation sequence.
13. The apparatus of claim 9, wherein the determining module is specifically configured to:
receiving a synchronization request sent by an application needing synchronous user operation, to which an interface needing synchronous user operation displayed by any one of the at least two devices belongs;
and determining other equipment except any one equipment in the at least two equipment according to the synchronous request.
14. The apparatus of claim 13, wherein the determining module is specifically configured to:
acquiring the identifier of the equipment positioned in the appointed range of any equipment from the synchronous request;
determining the device identified by the identification as the other device of the at least two devices; or
Acquiring account information used by any equipment for accessing the interface needing the synchronous user operation from the synchronous request;
and acquiring other equipment which uses the account information to access the interface needing the synchronous user operation and is positioned in the same network environment with the any equipment as other equipment in the at least two pieces of equipment.
15. The apparatus of claim 13, wherein the determining module is further configured to:
sending a synchronization inquiry request to the application needing the synchronous user operation on the other equipment in the at least two equipment, so that a user of the other equipment in the at least two equipment can determine whether to synchronize the user operation with any equipment;
and when the user of the other equipment determines to synchronize the user operation with any equipment, controlling the application needing the synchronized user operation on the other equipment in the at least two pieces of equipment to display the interface needing the synchronized user operation.
16. The apparatus of any of claims 13-15, wherein the determining module is further configured to:
receiving a synchronization cancellation request sent by the application needing the synchronization user operation on any equipment;
and prohibiting the acquisition module and the synchronization module from executing corresponding operations according to the synchronization canceling request.
CN201510701698.4A 2015-10-26 2015-10-26 Method and device for synchronizing user operation across screens Active CN106610763B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510701698.4A CN106610763B (en) 2015-10-26 2015-10-26 Method and device for synchronizing user operation across screens

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510701698.4A CN106610763B (en) 2015-10-26 2015-10-26 Method and device for synchronizing user operation across screens

Publications (2)

Publication Number Publication Date
CN106610763A CN106610763A (en) 2017-05-03
CN106610763B true CN106610763B (en) 2020-11-20

Family

ID=58612906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510701698.4A Active CN106610763B (en) 2015-10-26 2015-10-26 Method and device for synchronizing user operation across screens

Country Status (1)

Country Link
CN (1) CN106610763B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413273A (en) * 2018-09-16 2019-03-01 苏州云巢文化传媒有限公司 Electric room synchronous method, system and electronic lock screen synch system and medium

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090158171A1 (en) * 2007-12-18 2009-06-18 Li-Te Cheng Computer method and system for creating spontaneous icebreaking activities in a shared synchronous online environment using social data
CN101587392B (en) * 2008-05-20 2011-01-19 宏碁股份有限公司 Remote system synchronization operation method and local touch screen synchronization operation method
CN101587396A (en) * 2008-05-21 2009-11-25 深圳富泰宏精密工业有限公司 Touch-control input and output synchronous system and touch-control input and output synchronous method
JP2011070511A (en) * 2009-09-28 2011-04-07 Sony Corp Terminal device, server device, display control method, and program
US8789131B2 (en) * 2010-05-14 2014-07-22 Lg Electronics Inc. Electronic device and method of sharing contents thereof with other devices
US9967388B2 (en) * 2012-02-21 2018-05-08 Qualcomm Incorporated Mirrored interface navigation of multiple user interfaces
CN103593153B (en) * 2012-08-21 2016-08-31 百度在线网络技术(北京)有限公司 Mobile terminal and the striding equipment synchronisation control means of the page for it
US9703473B2 (en) * 2013-01-24 2017-07-11 Facebook, Inc. Predicting touch input
CN103237075B (en) * 2013-04-24 2016-07-06 广州市动景计算机科技有限公司 A kind of method of data synchronization, Apparatus and system
CN103389797B (en) * 2013-07-16 2016-08-31 贝壳网际(北京)安全技术有限公司 instruction synchronization method, terminal and system
CN103927288B (en) * 2014-04-30 2018-12-07 惠州Tcl移动通信有限公司 Information transfer and shared method and system between a kind of mobile device
CN104506907B (en) * 2014-11-25 2018-03-13 上海众应信息科技有限公司 Interactive operation method and system between control terminal and multiple long-range controlled terminals
CN104506650B (en) * 2015-01-04 2018-07-03 华为技术有限公司 A kind of user equipment cooperative control method, user equipment and communication system
CN104572311A (en) * 2015-01-23 2015-04-29 山东卡尔电气股份有限公司 Application program synchronization device and method based on Bluetooth
CN104794008B (en) * 2015-04-28 2021-06-15 北京数字天域科技有限责任公司 Application program synchronization method, device and system
CN104902017B (en) * 2015-05-20 2018-05-15 广州祈讯信息技术有限公司 A kind of remote interaction method that multi-screen synchronous for supporting QoS is shown

Also Published As

Publication number Publication date
CN106610763A (en) 2017-05-03

Similar Documents

Publication Publication Date Title
US8682977B1 (en) Communication associated with a webpage
US20220383394A1 (en) Live shopping broadcast
CN104202718A (en) Method and device for providing information for user
KR20180005689A (en) Information processing method, terminal and computer storage medium
TW201533687A (en) Method, apparatus, and system for displaying order information
CN104268154A (en) Recommended information providing method and device
US20200128287A1 (en) Captured content sharing interface
WO2014200797A1 (en) Systems and methods for operating and managing enterprise systems on a mobile electronic device
US12198175B2 (en) Object comparison method, and device
US11064008B2 (en) Methods for facilitating a remote interface and devices thereof
US10129346B1 (en) Analyzing navigation with a webpage
CN104123070B (en) A kind of information processing method and electronic equipment
CN105872767A (en) Method and apparatus for guiding sharing based on user behaviors
US9547943B2 (en) Framework and method for creating virtual model of three-dimensional space
CN110674023B (en) Interface testing method and device
CN106610763B (en) Method and device for synchronizing user operation across screens
CN105488072A (en) Target object selection method, device and system in target library
Weißker et al. The massive mobile multiuser framework: enabling ad-hoc realtime interaction on public displays with mobile devices
CN110673886A (en) Method and device for generating thermodynamic diagram
CN107346197B (en) Information display method and device
CN105512208B (en) Information publishing method, device and system
CN114897573B (en) Commodity information processing method, device, readable medium and electronic device
CN112699047B (en) Application testing method and device, computer equipment and storage medium
CN104243455A (en) Method and system for processing image
CN112348546A (en) Information processing method and device

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