Same-screen interaction method, device and system, storage medium, and electronic device

By detecting operation instructions during the same-screen interaction and sending permission transfer instructions, the problems of low communication efficiency and poor user experience in the existing technology are solved, and the operation rights transfer of the same page and real-time page information synchronization are realized, and communication is improved Efficiency and user experience.

CN114237473BActive Publication Date: 2025-02-07MICRO INSURANCE AGENCY LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111407088.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-24
Publication Date
2025-02-07
Estimated Expiration
2041-11-24

AI Technical Summary

Technical Problem

During the same-screen interaction process, communication efficiency is low and user experience is poor, especially when multi-party collaboration and real-time operation transfer are required, the existing technology cannot effectively solve it.

Method used

After the first terminal detects the operation instructions, the permission transfer instruction is sent to the second terminal, allowing operation on the target page on the second terminal, thereby realizing the operation rights transfer of the same page and real-time page information synchronization.

Benefits of technology

It realizes the transfer of operation rights between different users on the same page and real-time page information synchronization, improves communication efficiency and user experience, and is suitable for multi-channel interactive operations in complex scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114237473B_ABST
    Figure CN114237473B_ABST
Patent Text Reader

Abstract

The present application discloses a same-screen interaction method, device and system, storage medium, and electronic device. The method includes: detecting a first operation on a first terminal, the first operation is used to indicate that the operation right of a target page is transferred from the first terminal to a second terminal, the first terminal and the second terminal are terminals for same-screen interaction, and the target page includes the content of the same-screen interaction; in response to the first operation, sending a permission transfer instruction to the second terminal to allow the target page to be operated on the second terminal. The present application solves the technical problem of low communication efficiency in related technologies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of the Internet, and specifically, to a same-screen interaction method, device and system, storage medium, and electronic device. Background Art

[0002] The same-screen technology is used in many business scenarios, such as communication between business partners, internal meetings of companies located in different regions, and sales promotion of related products to users remotely.

[0003] Sharing the screen means that multiple mobile phones and PC computer devices can remotely watch the screen display information of one party together. It is a kind of remote sharing of the screen. The shared content includes but is not limited to videos, pictures, texts, etc. It can ensure that the information of both parties in the file sharing process is synchronized through visual, auditory and tactile channels, which is conducive to the communication of information.

[0004] During the interaction process, one party can write, annotate, draw and perform computer operations on the shared content. Through the network interaction function, remote data and annotation content sharing can be achieved. If the other party also needs to operate on the shared content, he needs to tell the other party, and the other party will operate according to the oral content, resulting in low communication efficiency and poor user experience.

[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0006] The embodiments of the present application provide a same-screen interaction method, device and system, storage medium, and electronic device to at least solve the technical problem of low communication efficiency in related technologies.

[0007] According to one aspect of an embodiment of the present application, a same-screen interaction method is provided, including: detecting a first operation on a first terminal, the first operation being used to indicate that the operation right of a target page is transferred from the first terminal to a second terminal, the first terminal and the second terminal being terminals for same-screen interaction, and the target page including content for same-screen interaction; in response to the first operation, sending a permission transfer instruction to the second terminal to allow the target page to be operated on the second terminal.

[0008] According to another aspect of an embodiment of the present application, a same-screen interaction method is also provided, including: receiving an authority transfer instruction sent by a first terminal, the authority transfer instruction is used by the first terminal to instruct the first terminal to transfer the operation right of a target page from the first terminal to a second terminal, the first terminal and the second terminal are terminals for same-screen interaction, and the target page includes content for same-screen interaction; in response to the authority transfer instruction, detecting the operation performed on the target page on the second terminal.

[0009] According to another aspect of an embodiment of the present application, a same-screen interaction method is also provided, including: displaying a target page in a display interface of a first terminal, wherein the display interface includes a permission transfer control; receiving a first operation on the permission transfer control, wherein the first operation is used to indicate that the operation right of the target page is transferred from the first terminal to the second terminal, the first terminal and the second terminal are terminals for same-screen interaction, and the target page includes content for the same-screen interaction; in response to the first operation, the first terminal displays the target page operated by the second terminal.

[0010] According to another aspect of an embodiment of the present application, a same-screen interaction system is also provided, including: a first terminal is used to: send an authority transfer instruction to a second terminal when a first operation is detected, the first operation is used to indicate that the operation right of a target page is transferred from the first terminal to the second terminal, and the authority transfer instruction is used to indicate that operations on the target page are allowed on the second terminal, and the target page includes content for same-screen interaction; the second terminal is used to: after receiving the authority transfer instruction sent by the second terminal, detect the operation performed on the target page on the second terminal.

[0011] According to another aspect of an embodiment of the present application, a same-screen interaction device is also provided, including: a first detection unit, used to detect a first operation on a first terminal, the first operation is used to indicate that the operation right of a target page is transferred from the first terminal to a second terminal, the first terminal and the second terminal are terminals for same-screen interaction, and the target page includes content for same-screen interaction; a sending unit, used to send a permission transfer instruction to the second terminal in response to the first operation, so as to allow the target page to be operated on the second terminal.

[0012] According to another aspect of an embodiment of the present application, a same-screen interaction device is also provided, including: a receiving unit, used to receive an authority transfer instruction sent by a first terminal, the authority transfer instruction is used by the first terminal to instruct the first terminal to transfer the operation right of a target page from the first terminal to a second terminal, the first terminal and the second terminal are terminals for same-screen interaction, and the target page includes content for same-screen interaction; a second detection unit, used to detect the operation performed on the target page on the second terminal in response to the authority transfer instruction.

[0013] According to another aspect of an embodiment of the present application, a storage medium is further provided, which includes a stored program, and the above method is executed when the program is run.

[0014] According to another aspect of an embodiment of the present application, an electronic device is further provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above method through the computer program.

[0015] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps of any one of the embodiments of the above method.

[0016] In an embodiment of the present application, when the first terminal and the second terminal are interacting on the same screen, the playback of screen operation behaviors on the same page and the changes on the screen will be synchronized in real time from one terminal to the screen of the other terminal, and the operation right can be transferred to the second terminal where the designated user is located on the first terminal (and can be withdrawn as needed during the operation, with the ability of secondary operation). Through this technology, the needs of transferring operation rights and real-time page information synchronization between different users on the same page can be met. It is suitable for multi-channel interactive operations in complex scenarios such as online explainers, and can solve the technical problem of low communication efficiency in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0018] Figure 1 is a schematic diagram of the hardware environment of the same-screen interaction method according to an embodiment of the present application;

[0019] Figure 2 is a flowchart of an optional same-screen interaction method according to an embodiment of the present application;

[0020] Figure 3 is a schematic diagram of an optional same-screen interactive interface according to an embodiment of the present application;

[0021] Figure 4 is a schematic diagram of an optional same-screen interactive interface according to an embodiment of the present application;

[0022] Figure 5 is a schematic diagram of an optional same-screen interactive interface according to an embodiment of the present application;

[0023] Figure 6 is a schematic diagram of an optional same-screen interactive interface according to an embodiment of the present application;

[0024] Figure 7 is a schematic diagram of an optional same-screen interactive interface according to an embodiment of the present application;

[0025] Figure 8is a schematic diagram of an optional same-screen interactive interface according to an embodiment of the present application;

[0026] Fig. 9 is a schematic diagram of an optional same-screen interactive interface according to an embodiment of the present application;

[0027] Fig.10 is a schematic diagram of an optional same-screen interactive interface according to an embodiment of the present application;

[0028] Fig.11 is a schematic diagram of an optional same-screen interaction solution according to an embodiment of the present application;

[0029] Fig.12 is a schematic diagram of an optional binary tree of web page elements according to an embodiment of the present application;

[0030] Fig.13 is a schematic diagram of an optional same-screen interaction device according to an embodiment of the present application;

[0031] Fig.14 is a schematic diagram of an optional same-screen interaction device according to an embodiment of the present application; and,

[0032] Fig.15 It is a structural block diagram of a terminal according to an embodiment of the present application. DETAILED DESCRIPTION

[0033] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0034] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0035] The same-screen explanation in the related technology is that one party plays and the other party views, which is only a reproduction of the operation of one party's page, and there is no transfer of operation rights under the real-time display state of the same page. Technically, the screen display and operation of one party are recorded and packaged and distributed to the screen of the other party for display and playback. In terms of interaction, one party operates and the other party views; another technology is to remotely operate the other party's screen to assist the other party in completing the operation. After one party A initiates a request for the other party B to control the computer to assist in the operation, the screen of the other party B displays the screen of the other party A in real time. At this time, B can operate A's screen on his own screen to complete the operation, but in this process, he has the real-time display and operation control of the other party's screen, but cannot realize the exchange of operations between the two parties, and the synchronization of the real-time information display and operation of the same information flow on both parties, as well as the transfer of operations.

[0036] In addition, the current solution does not have screen sharing across multiple WEB pages, and operations cannot be transferred across pages. When user A jumps to page C, user B cannot receive the synchronization information of page C. To solve the above problems, according to one aspect of the embodiments of the present application, an embodiment of a same-screen interaction method and system is provided. The present application can satisfy the real-time transfer of operation rights on the same page, and can also provide real-time feedback on the operation status of the page, which not only satisfies one-to-one operations, but also one-to-many situations. Technically, it satisfies the transfer of real-time screen operation control and the synchronous display of page changes caused by information changes, which can meet the use requirements of the explainer in complex scenarios, and the demonstration changes and operations of the information flow can ensure the real-time synchronous demonstration of page information. Technically, many innovations have been made in the operation display interaction process for complex usage scenarios.

[0037] Optionally, in this embodiment, the above same-screen interaction method can be applied to Figure 1 In the hardware environment shown as being composed of a terminal 101 and a server 103, the number of terminals is at least two, including a first terminal having the authority to manage operation rights and at least one second terminal having the right to use the operation rights. During the same-screen interaction between the first terminal and the second terminal, the first terminal sends a permission transfer instruction to the second terminal when detecting a first operation (indicating that the user instructs to transfer the operation rights of the target page from the first terminal to the second terminal), to indicate that the target page is allowed to be operated on the second terminal. After receiving the permission transfer instruction, the second terminal detects the operation performed on the target page on the second terminal.

[0038] like Figure 1As shown, the server 103 is connected to the terminal 101 via a network, and can be used to provide services with same-screen requirements (such as game services, remote conference services, same-screen explanation services, etc.) for the terminal or the user terminal installed on the terminal. A database 105 can be set on the server or independently of the server to provide data storage services for the server 103. The above-mentioned network includes but is not limited to: wide area network, metropolitan area network or local area network, and the terminal 101 is not limited to PC, mobile phone, tablet computer, etc.

[0039] The same-screen interaction method of the embodiment of the present application can be executed by the terminal 101, that is, one of the first terminal or the second terminal, or can be executed by the first terminal and the second terminal together. The latter is used as an example below. If the same-screen interaction method of the embodiment of the present application is executed on one of the first terminal and the second terminal, it is only necessary to refer to the side involved below. Among them, the terminal executing the same-screen interaction method of the embodiment of the present application can also be executed by the user terminal installed thereon.

[0040] Figure 2 is a flowchart of an optional same-screen interaction method according to an embodiment of the present application, such as Figure 2 As shown, the method may include the following steps:

[0041] Step S202, during the same-screen interaction between the first terminal and the second terminal, the first terminal detects a first operation, where the first operation is used to instruct to transfer the operation right of a target page from the first terminal to the second terminal, and the target page includes content of the same-screen interaction.

[0042] It can be understood that the target page displayed by the first terminal and the second terminal (the target page is located in the display interface of the terminal; if it is full screen, it can be considered that the target page and the display interface completely overlap) has a permission transfer control that converts the page operation rights. The permission transfer control can be located within the page, in the lower part of the page, or in the upper part of the page. The control itself can be displayed in a fixed form or in a collapsed form (the permission transfer control can be displayed through sliding, clicking, double-clicking, etc.). When the permission transfer control is clicked, the background obtains the first operation.

[0043] This solution mainly involves the function of transferring the operating rights in the same-screen display (it may also be other same-screen applicable scenarios), where the operating rights are the rights of the owner of the device to operate the device, which can be understood as various operations of the user on the target page, and the terminal user who does not have the operating rights cannot operate on the target page. In the same-screen process, the screen operation behavior can be played back (since the information is transmitted in real time, the "playback" delay here is imperceptible to the user), that is, one party (i.e. the first terminal or the second terminal) operates the same page, and the other party (i.e. the second terminal or the first terminal) can view the click behavior of one party in real time for the same-screen display; the same screen also supports the synchronization of the changes on the screen to another screen for playback, and the changes are non-operation or information synchronization during the filling process, such as sliding, clicking, etc.; it can also be filling operations, such as filling in user information.

[0044] Furthermore, the second terminal can be any target terminal among multiple user terminals. For example, when the second terminal is applied to an Internet explainer, the explainer terminal is the first terminal, and corresponds to one or more user terminals. When the first terminal needs to transfer the operation right to a certain user terminal among multiple user terminals, the first operation of the target page is triggered, and the background detects the first operation, and at this time a certain user terminal is used as the second terminal. Furthermore, when the target page triggers the first operation, the user terminal can also be selected to transfer the operation right to the selected user terminal as the second terminal.

[0045] Step S204, in response to the first operation, the first terminal sends a permission transfer instruction to the second terminal to allow the target page to be operated on the second terminal, thereby implementing the exchange of operation rights between (the user of) the first terminal and (the user of) the second terminal.

[0046] The same-screen operation right means that you can share the demonstration of operating the displayed content in your own device during the operation. The exchange of operation rights can be understood as the transfer of operation rights, which means that you can transfer your operating rights on the current screen to another person, allowing the other person to operate your screen. This can satisfy the effect of watching while the other person explains.

[0047] Step S206: The second terminal receives the authority transfer instruction sent by the first terminal.

[0048] Step S208: In response to the permission transfer instruction, the second terminal detects an operation performed on the target page.

[0049] Furthermore, when the second terminal responds to the permission transfer instruction, the background locks the target page of the first terminal and unlocks the target page of the second terminal, that is, the target page cannot be operated on the first terminal, but can be operated on the second terminal.

[0050] Through the above steps, when the first terminal and the second terminal are interacting on the same screen, the playback of screen operation behaviors on the same page and the changes on the screen will be synchronized in real time from one terminal to the screen of the other terminal, and the operation right can be transferred to the second terminal where the designated user is located on the first terminal (and can be withdrawn as needed during the operation, with the ability of secondary operation). Through this technology, the needs of transferring operation rights and real-time page information synchronization between different users on the same page can be met. It is suitable for multi-channel interactive operations in complex scenarios such as online explainers, and can solve the technical problem of low communication efficiency in related technologies.

[0051] The same-screen explanation in the related art is played by one party and viewed by the other party, which is only a reproduction of the operation of one party's page, and cannot transfer the operation rights of the same page in the real-time display state. However, the present application can meet the real-time transfer of operation rights on the same page, and can also provide real-time feedback on the operation status of the page, which not only meets one-to-one operation, but also meets one-to-many situations. It technically meets the transfer and playback of real-time screen operation control, can meet the use requirements of the explainer in complex scenarios, and the demonstration of information flow and synchronization of data can ensure real-time synchronous demonstration.

[0052] The technical solution of this application is further described in detail below in conjunction with specific implementation steps:

[0053] Step 1: Send the target page to the second terminal to synchronously display the target page on the second terminal, where the target page has multiple elements that can be operated, such as a web page sliding element, a web page switching element, a text box, a web page zooming element, etc.

[0054] Optionally, if the first terminal needs to provide explanations to users of multiple terminals, the target page displayed on the first terminal is sent to the terminal where each user is located.

[0055] Optionally, the target page includes one or more web pages. If there are multiple web pages, switching between these multiple web pages can be supported. The operating right of this application refers to the operating right of all these web pages. In other words, if the second terminal does not need to re-request the operating right after switching web pages, the operating process can be simplified and more user-friendly.

[0056] Step 2, execute the event monitoring task on the first terminal to monitor the events occurring on the first terminal, which mainly include two categories. One is the events occurring on the target page of the first terminal. This type of event needs to be directly synchronized to the interactive counterpart (i.e., the second terminal). The other is the operation right change event occurring on the first terminal.

[0057] Step 3, when the monitored event is an event occurring on the target page, after executing the event monitoring task on the first terminal, a second operation on the target page, that is, an operation on an element in the target page, is detected on the first terminal, and a first event execution instruction is sent to the second terminal (the second operation will be regarded as an event, and the first event execution instruction is equivalent to instructing the second terminal to reproduce the second operation, thereby achieving the effect of the first terminal and the second terminal being on the same screen) to reproduce the second operation on the second terminal.

[0058] Optionally, a second operation (i.e., an interactive operation) on the target page is detected on the first terminal, including at least one of the following: a sliding operation on the target page is detected on the first terminal; a zooming operation on the target page is detected on the first terminal; a clicking operation on the target page is detected on the first terminal; an input operation in the target page is detected on the first terminal; a page switching operation in the target page is detected on the first terminal.

[0059] Step 4, when the monitored event is an operation right change event (i.e., the first operation is detected on the first terminal), stop event monitoring for the target page on the first terminal, that is, the user will not get a response (i.e., the operation will not be successful) when operating the target page on the first terminal, and it will not be synchronized to the second terminal.

[0060] In the above scheme, the change of operating rights can be actively changed by the lecturer on the first terminal. For example, when it is determined during communication that the other party needs to operate the target page on the second terminal, the lecturer triggers the first operation on the first terminal to give the operating rights to the other party. The change of operating rights can also be applied to the lecturer by the second terminal. For example, when the user needs to fill in information, operate the web page, etc. during the process of listening to the explanation, the user initiates an application for operating rights on the second terminal (such as clicking a virtual button of "application for operating rights"). The application is sent from the second terminal to the first terminal via the network. The lecturer can choose to agree or reject the application on the second terminal. "Agreeing to the application" is equivalent to the first operation triggered on the first terminal.

[0061] Optionally, the smallest interactive unit in the web page of the present application is an element, so the above-mentioned operation right can be the operation right of all elements of the entire target web page, or the operation right of one or more target elements therein. For example, the user can apply for the operation right of the text control on the second terminal to fill in his or her personal information. At the same time, the first terminal still has the operation right of other controls except the target element, and can control and explain the web page while the user is filling in the information.

[0062] With the above scheme, when the lecturer uses the first terminal to explain a certain business to N second terminals (i.e., N users), in some places where these N users need to fill in relevant information, an interactive target element can be specified for each second terminal. For example, there are N rows of tables, each row of the table is equivalent to an element. The lecturer can specify a row of tables for each second terminal on the first terminal, and let each user fill in the relevant information on the second terminal. While the user is filling in the relevant information, the lecturer can still operate the target web page on the first terminal (such as instructing how to fill in the content, precautions, prompting key information on the web page, etc.), thereby improving work efficiency.

[0063] Optionally, when a first terminal releases operating rights to a second terminal, it can specify to exclude the operating rights of certain elements (such as information filled in by other second terminals); or during the operation of the second terminal, the operating rights of some elements can be withdrawn to improve the efficiency and security of the interaction.

[0064] Step 5: The first terminal sends a permission transfer instruction to the second terminal to allow the target page to be operated on the second terminal.

[0065] Step 6: The user can perform operations on the second terminal, and the operations performed by the user on the target page on the second terminal are detected.

[0066] Optionally, an event monitoring task can be executed on the second terminal to perform event monitoring on the target page and event monitoring on changes in operating rights on the second terminal; when the event monitoring task monitors a fourth operation (similar to the second operation) performed on an element in the target page, a second event execution instruction is sent to the first terminal to replicate the fourth operation on the first terminal.

[0067] Step 7, the first terminal takes back the operation right of the target page, and then restarts the event monitoring of the target page on the first terminal (that is, the operation performed by the user on the target page on the first terminal will be responded to, such as being able to enter text), and then the interactive operation on the first terminal can be synchronized to the second terminal.

[0068] Optionally, a permission revocation control may be displayed in the display interface of the first terminal (the specific position and shape are similar to those of the permission transfer control and may be set as needed); a third operation on the permission revocation control is received, the third operation being used to instruct the operation rights of the target page to be revoked from the second terminal to the first terminal, which may specifically be operations such as clicking, sliding, and pressing; the operation rights of the target page are revoked from the second terminal to the first terminal, and the target page operated by the first terminal is displayed on the same screen as the second terminal.

[0069] Optionally, similar to the above-mentioned transfer of operating rights from the first terminal to the second terminal, there are also two ways. One is that the lecturer actively retracts the right on the first terminal. For example, when it is determined that the other party has completed the operation of the target page, a third operation is triggered on the first terminal to indicate that the operating right of the target page is to be retracted from the second terminal to the first terminal, and a permission retraction instruction is sent to the second terminal to stop operating the target page on the second terminal. The change of operating rights can also be actively released by the second terminal. After the operation of the target page is completed on the second terminal, a permission retraction notification can be issued. At this time, the permission retraction notification will be received on the first terminal, and then the operating right of the target page will be retracted from the second terminal to the first terminal.

[0070] Optionally, on the second terminal, after the first terminal takes back the operation right of the target page, the event monitoring task is stopped on the second terminal.

[0071] The technical solution of the present application involves a technology of a same-screen explanation solution. Through this program, the explainer A and the explained person B can synchronize the same operation page information on different screens. At the same time, the operation rights of the explainer A can be transferred to the explained person B. At this time, the explained person B can operate, and the original explainer A can view. If the original explainer A needs to continue the operation, the operation rights will be taken back. At this time, A can continue to operate, and the explained person B can continue to view. If there is a need again, the operation rights can be transferred from the explainer A to B at any time to meet the more complex online operation guidance of the explainer. Similarly, the explainer A can give joint explanations to multiple users such as explained persons B, C, D, etc., and the operation rights can be transferred by designation, and the operation process is the same as above.

[0072] In one example, if Figure 3 As shown, the usage scenario of this exemplary embodiment is that the consultant introduces the product solution and related operations to the user. The overall operation process is that the consultant initiates a same-screen explanation room to the user. The user receives a small program card link. After clicking to enter, he needs to agree to the relevant agreement first; after confirming the agreement, the consultant will start to enter the same-screen explanation. The user can only view it at this time. When the user needs to fill in the information, or the user explains that he needs to view it himself, the consultant will transfer the operation right to the user. The user operates or fills in the information. When the user completes the operation and needs the consultant to explain or confirm again, the consultant can take back the operation right. At this time, the consultant operates and the user watches. The operation and viewing are separated and can be transferred to each other. In the process of explaining the configuration of Internet sales, the vision, hearing, and touch feel fully synchronized, which is conducive to user understanding. Compared with the previous telephone explainers and text explainers, the efficiency is significantly improved.

[0073] In addition, when multiple people enter the room, the consultant can transfer the operating rights to different users. At this time, the user who receives the operating rights can perform the operation, while other users and the consultant watch. When the consultant takes back the operating rights, the consultant operates and other users watch.

[0074] The operation process on the consultant side is as follows:

[0075] Step S1: The background system sends an invitation to the user for a same-screen explanation and creates a room. The room has a corresponding validity period, and any user can enter the room during the validity period.

[0076] Step S2: Generate a link based on the room and display it in the form of a card on the front end. When the consultant clicks the card, the system pops up a mini program window.

[0077] Wait for the user to come in and then go to step S3. The user comes in and the consultant informs the user of the relevant permissions. Click the button to start the explanation. Figure 3 shown.

[0078] Step S4: After the line is connected, the first frame of the page will be detected for synchronization. If the page is not synchronized, the page needs to be synchronized first, such as Figure 4 As shown, if the page synchronization is completed, such as Figure 5 As shown, the page content can be explained on the same screen. During the on-screen explanation, in addition to displaying the page content, related controls are also displayed, such as the control for transferring operation rights "operation transfer", the control for retracting operation rights "operation retraction", the control for controlling the microphone, etc.; the location of the related permission transfer controls is not specifically limited, and can be displayed in a collapsed display mode, a floating frame display mode, or a toolbar mode (such as Figure 6 in the example).

[0079] Step S5: When you need to hand over the operation right to the user, click "Operation Transfer" at the bottom. Figure 6 As shown, after confirmation, the user performs the operation and the consultant reviews it.

[0080] Step S6: When the consultant needs to perform an operation during the explanation, click the "Retract Operation" button. Figure 7 and Figure 8 As shown, after confirmation, the operating rights are withdrawn and the explanation continues.

[0081] Step S7: After the explanation, click the End button (such as Figure 8 button in the lower right corner) and exit after confirmation.

[0082] The viewing and operation process of the corresponding user end is as follows:

[0083] Step S1: The user receives an invitation and clicks on the card to enter. Fig. 9shown.

[0084] Step S2: After the user comes online, the consultant explains the same-screen agreement. The user needs to click the bottom button and proceed to the next step after agreeing.

[0085] Step S3: After entering the line, the synchronization of the first frame of the page will be detected. If the synchronization is completed, synchronization will be performed first. After synchronization, the consultant's explanation can be listened to and a conversation can be carried out.

[0086] Step S4: During the explanation process, the user needs to perform an operation. At this time, after the consultant transfers the operation right, the user side receives a reminder, such as Fig.10 As shown, click the OK button to agree and then proceed with the operation independently.

[0087] Step S5: The operation is completed and the consultant is requested to operate. At this time, the consultant takes back the operation rights and the user receives a reminder.

[0088] Step S6: The explanation is over, the consultant exits, and the user can perform independent operations on the current page.

[0089] like Figure 6 and Fig.10 As shown, the main operations are concentrated at the bottom of the page. The left side displays the user information avatar, and the right side displays the function operation buttons. The functions on the consultant side are: transfer / reclaim of operation rights, microphone switch, and hang up function; the functions on the user side are: microphone switch, hang up function, Figure 6 and Fig.10 For schematic illustration purposes, the specific location and shape of each control can be customized as needed.

[0090] The above-mentioned implementation scheme based on the same-screen explanation of pages and exchangeable operation rights is technically composed of two core components: instant messaging and event restoration. The operations of consultants or users are transmitted to the other user in real time. After the user receives it, it is dispatched to the event bound to the page, and the defined event types, such as: first connection, disconnection and reconnection, same-screen request, mutual transfer of operation rights, page clicks, page sliding, etc., are restored to the other user one by one.

[0091] like Fig.11 As shown, combined with the operations of consultants or users, the detailed steps are as follows:

[0092] Step S1: When a consultant or user enters the page, a command will be sent to notify the other user to enter. When the other user enters, the page prompt changes, indicating that both parties have been connected. At this time, both parties will maintain a long connection state.

[0093] Step S2: The consultant first sends a screen-to-screen invitation to the user and waits for the user to accept. The user can choose to refuse. After refusing, the two-way connection is disconnected and the screen-to-screen connection ends. After agreeing, the two-way connection automatically turns on the voice and synchronizes the consultant's current page information to the user, and the screen-to-screen connection begins.

[0094] Step S3: The consultant starts to explain on the same screen. At this time, the page seen by the user side is a relatively static page and cannot be operated. The consultant can click, slide, enter text and other operations on the page. At this time, the operation performed on a specific element will be calculated in real time. For example: when the consultant is sliding the page, sliding up and down frequently, but the data cannot be transmitted to the other side in real time at this time, because the consultant side may not have completed the sliding. The real-time sliding data is temporarily stored in the user's local area, and after the sliding is terminated, it will be fully transmitted to the other side, which can ensure that the current data is completed in one operation.

[0095] Step S4: Fig.12 As shown, in order to find the position of ".child-9", the page components can be treated as a tree structure, and the unique position of the element can be calculated from bottom to top using a deep recursive method, such as:

[0096] "root>#app3>.child-4>.child-9." After obtaining the location of the element, the action to be performed by the element and the corresponding operation value are sent to the user on the other side through instructions.

[0097] Step S5: After receiving the instruction, the user restores one by one according to the planned action types to ensure that the page is always consistent with the consultant side.

[0098] Step S6: Either the consultant or the user can actively close the same screen. After the same screen ends, the synchronization status of the page will be released, allowing the consultant or the user to operate the page, and it will no longer be synchronized to the other side.

[0099] If there are abnormal scenarios such as network, incoming calls, switching to other apps, etc., the user on the other side will be notified in real time and informed that the user has been disconnected. At the same time, the session reconnection mechanism will be retained. After the user reconnects, the page will be resynchronized to keep the page status on both sides consistent.

[0100] In the technical solution of the present application: the uniqueness of the element position can be calculated, the page is converted into a ROOT tree in advance, and all the elements in the page are in a certain order (such as bottom-up, bottom-up, etc.), and the position of each element in the whole tree is calculated recursively, so that the subsequent page operation behavior can be assigned to the smallest element DOM. When interacting between the first terminal and the second terminal, the element position and the corresponding operation are directly transmitted without transmitting the element content itself, which reduces the demand for network bandwidth and improves the same-screen performance. For example, when an operation on the element "operation transfer" is detected, the first terminal can directly " 1) The element position of the element "operation transfer" and the operation of "click" are notified to the second terminal; 2) Event-driven pages are consistent on the same screen. The event-driven method is adopted to record the user's behavior and actions, and transmit them to the user on the other side of the same screen in real time through webSocket. The transmitted data is used to parse the actions to be performed, and the events are restored one by one on the page; 3) The technical implementation of exchanging operation rights. After the consultant transfers the operation rights to the user, the consultant can no longer operate the page. At this time, the page is locked. After locking, the event monitoring of the entire page will be uninstalled, and the page sliding is prohibited. At this time, it is necessary to ensure that the page on the user side will not be on the same screen for this operation.

[0101] This application involves a method that can help users, without knowing the detailed parameters of the solution, to share the page on the mobile phone screen with the user by voice, so that the user can effectively and attentively understand the consultant's explanation. If the user does not understand something, the consultant can transfer the operation right to the user and let the user mark it, so as to achieve direct and effective communication between the two parties, help the user master the solution he configured, and choose a more suitable insurance.

[0102] On the technical side, permission controls for real-time voice calls and screen sharing have been established. On the one hand, this allows consultants to answer users' questions from an insurance professional perspective, compare different proposals, help users make choices, and avoid situations where users have difficulty in choosing. On the other hand, it will also expand the scope of use of this technology and bring more traffic and revenue to the company's other business scenarios.

[0103] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0104] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0105] According to another aspect of an embodiment of the present application, a same-screen interaction device for implementing the above-mentioned same-screen interaction method is also provided. Fig.13 is a schematic diagram of an optional same-screen interaction device according to an embodiment of the present application, such as Fig.13 As shown, the device may include:

[0106] A first detection unit 131 is configured to detect a first operation on a first terminal, wherein the first operation is used to instruct to transfer the operation right of a target page from the first terminal to a second terminal, the first terminal and the second terminal are terminals for same-screen interaction, and the target page includes content for same-screen interaction;

[0107] The sending unit 133 is configured to send a permission transfer instruction to the second terminal in response to the first operation, so as to allow the target page to be operated on the second terminal.

[0108] Optionally, the first detection unit is also used to: before detecting the first operation on the first terminal, execute an event monitoring task on the first terminal, wherein the event monitoring task is used to perform event monitoring on the target page and event monitoring on changes in operation rights on the first terminal; after detecting the first operation on the first terminal, stop event monitoring on the target page on the first terminal.

[0109] Optionally, the sending unit is also used to: before executing the event listening task on the first terminal, the method also includes: sending the target page to the second terminal to synchronously display the target page on the second terminal, wherein the target page has multiple elements that are allowed to be operated; the first detection unit is also used to: after executing the event listening task on the first terminal, detect a second operation on the target page on the first terminal, wherein the second operation is an operation on an element in the target page; send a first event execution instruction to the second terminal to replicate the second operation on the second terminal.

[0110] Optionally, the first detection unit is also used to perform at least one of the following: detecting a sliding operation on the target page on the first terminal; detecting a zooming operation on the target page on the first terminal; detecting a click operation on the target page on the first terminal; detecting an input operation in the target page on the first terminal; detecting a page switching operation in the target page on the first terminal.

[0111] Optionally, the first detection unit is further configured to: after stopping event monitoring of the target page on the first terminal and after the first terminal takes back the operation right of the target page, restart event monitoring of the target page on the first terminal.

[0112] Optionally, the first detection unit is also used to: detect the first operation on the first terminal when it is determined that the target page needs to be operated on the second terminal; or, after receiving an application for operation rights from the second terminal, detect the first operation indicating approval of the application on the first terminal.

[0113] Optionally, the first detection unit is also used to reclaim the operating rights of the target page in the following manner: a third operation is detected on the first terminal, wherein the third operation is used to instruct to reclaim the operating rights of the target page from the second terminal to the first terminal; in response to the third operation, a permission revocation instruction is sent to the second terminal to stop operating the target page on the second terminal; or, a permission revocation notification is received on the first terminal, wherein the permission revocation notification is issued after the operation of the target page on the second terminal is completed; in response to the permission revocation notification, the operating rights of the target page are reclaimed from the second terminal to the first terminal.

[0114] Optionally, the first detection unit 131 is also used to: display the target page in the display interface of the first terminal, wherein the display interface includes a permission transfer control; receive a first operation on the permission transfer control, wherein the first operation is used to indicate that the operation right of the target page is transferred from the first terminal to the second terminal, the first terminal and the second terminal are terminals for same-screen interaction, and the target page includes content for same-screen interaction; a sending unit 133 is used to respond to the first operation, and the first terminal displays the target page operated by the second terminal.

[0115] Optionally, the first detection unit 131 is also used to: after the first terminal displays the target page operated by the second terminal, the method also includes: displaying a permission revocation control in the display interface of the first terminal; receiving a third operation on the permission revocation control, wherein the third operation is used to instruct to reclaim the operating rights of the target page from the second terminal to the first terminal; in response to the first operation, reclaiming the operating rights of the target page from the second terminal to the first terminal, and displaying the target page operated by the first terminal on the same screen as the second terminal.

[0116] Optionally, the first detection unit 131 is also used to: before receiving the first operation on the permission transfer control, or after the operation right of the target page is withdrawn from the second terminal to the first terminal, the method also includes: detecting the interactive operation between the target page and the target page on the first terminal; synchronizing the interactive operation to the second terminal to reproduce the interactive operation on the second terminal.

[0117] According to another aspect of an embodiment of the present application, a same-screen interaction device for implementing the above-mentioned same-screen interaction method is also provided. Fig.14 is a schematic diagram of an optional same-screen interaction device according to an embodiment of the present application, such as Fig.14 As shown, the device may include:

[0118] The receiving unit 141 is configured to receive a permission transfer instruction sent by a first terminal, wherein the permission transfer instruction is used by the first terminal to instruct the first terminal to transfer the operation right of a target page from the first terminal to a second terminal, the first terminal and the second terminal are terminals for same-screen interaction, and the target page includes content for same-screen interaction;

[0119] The second detection unit 143 is configured to detect, in response to the permission transfer instruction, an operation performed on the target page on the second terminal.

[0120] Optionally, the device of the present application may also include a processing unit, used to: after receiving the permission transfer instruction sent by the first terminal, execute an event monitoring task on the second terminal, wherein the event monitoring task is used to perform event monitoring on the target page and event monitoring on changes in operating rights on the second terminal; the second detection unit is also used to send a second event execution instruction to the first terminal when the event monitoring task monitors a fourth operation performed on an element in the target page, so as to reproduce the fourth operation on the first terminal, wherein the second event execution instruction carries the element position of the operated element.

[0121] Optionally, the processing unit is also used to: after the second terminal detects the operation performed on the target page, receive a permission deactivation instruction sent by the first terminal, wherein the permission deactivation instruction is used to instruct to withdraw the operation right of the target page from the second terminal to the first terminal; and stop executing the event monitoring task on the second terminal.

[0122] Through the above steps, when the first terminal and the second terminal are interacting on the same screen, the playback of screen operation behaviors on the same page and the changes on the screen will be synchronized in real time from one terminal to the screen of the other terminal, and the operation right can be transferred to the second terminal where the designated user is located on the first terminal (and can be withdrawn as needed during the operation, with the ability of secondary operation). Through this technology, the needs of transferring operation rights and real-time page information synchronization between different users on the same page can be met. It is suitable for multi-channel interactive operations in complex scenarios such as online explainers, without the need for one user to express and another user to record, and can solve the technical problem of low communication efficiency in related technologies.

[0123] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above modules as part of the device can be run in Figure 1 In the hardware environment shown, it can be implemented by software or by hardware, wherein the hardware environment includes a network environment.

[0124] According to another aspect of an embodiment of the present application, a server or terminal for implementing the above-mentioned same-screen interaction method is also provided.

[0125] Fig.15 is a structural block diagram of a terminal according to an embodiment of the present application, such as Fig.15 As shown, the terminal may include: one or more (only one is shown in the figure) processors 1501, a memory 1503, and a transmission device 1505, such as Fig.15 As shown, the terminal may also include an input and output device 1507 .

[0126] Among them, the memory 1503 can be used to store software programs and modules, such as the program instructions / modules corresponding to the same-screen interaction method and device in the embodiment of the present application. The processor 1501 executes various functional applications and data processing by running the software programs and modules stored in the memory 1503, that is, realizing the above-mentioned same-screen interaction method. The memory 1503 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1503 may further include a memory remotely arranged relative to the processor 1501, and these remote memories can be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0127] The above-mentioned transmission device 1505 is used to receive or send data via a network, and can also be used for data transmission between a processor and a memory. Specific examples of the above-mentioned network may include a wired network and a wireless network. In one example, the transmission device 1505 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 1505 is a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.

[0128] Specifically, the memory 1503 is used to store application programs.

[0129] The processor 1501 may call the application stored in the memory 1503 through the transmission device 1505 to perform the following steps:

[0130] A first operation is detected on a first terminal, wherein the first operation is used to instruct to transfer the operation right of a target page from the first terminal to a second terminal, the first terminal and the second terminal are terminals for same-screen interaction, and the target page includes content for same-screen interaction;

[0131] In response to the first operation, a permission transfer instruction is sent to the second terminal to allow the target page to be operated on the second terminal.

[0132] The processor 1501 is further configured to execute the following steps:

[0133] Receiving a permission transfer instruction sent by a first terminal, wherein the permission transfer instruction is used by the first terminal to instruct the first terminal to transfer the operation right of a target page from the first terminal to a second terminal, the first terminal and the second terminal are terminals for same-screen interaction, and the target page includes content for same-screen interaction;

[0134] In response to the permission transfer instruction, an operation performed on the target page is detected on the second terminal.

[0135] By adopting the embodiment of the present application, when the first terminal and the second terminal are interacting on the same screen, the playback of the screen operation behavior of the same page and the changes on the screen will be synchronized in real time from one terminal to the screen of the other terminal, and the operation right can be transferred to the second terminal where the designated user is located on the first terminal (and can be withdrawn as needed during the operation, with the ability of secondary operation). Through this technology, the needs of transferring the operation right of different users on the same page and synchronizing the real-time page information can be met. It is suitable for multi-channel interactive operations in complex scenarios such as online explainers, without the need for one user to express and another user to record, and can solve the technical problem of low communication efficiency in related technologies.

[0136] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.

[0137] It can be understood by those skilled in the art that Fig.15 The structure shown is for illustration only, and the terminal may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other terminal devices. Fig.15 It does not limit the structure of the above electronic device. For example, the terminal may also include Fig.15 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Fig.15 Different configurations are shown.

[0138] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0139] The embodiment of the present application further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to execute the program code of the same-screen interaction method.

[0140] Optionally, in this embodiment, the storage medium may be located on at least one network device among a plurality of network devices in the network shown in the above embodiment.

[0141] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps:

[0142] A first operation is detected on a first terminal, wherein the first operation is used to instruct to transfer the operation right of a target page from the first terminal to a second terminal, the first terminal and the second terminal are terminals for same-screen interaction, and the target page includes content for same-screen interaction;

[0143] In response to the first operation, a permission transfer instruction is sent to the second terminal to allow the target page to be operated on the second terminal.

[0144] Optionally, the storage medium is further configured to store program codes for executing the following steps:

[0145] Receiving a permission transfer instruction sent by a first terminal, wherein the permission transfer instruction is used by the first terminal to instruct the first terminal to transfer the operation right of a target page from the first terminal to a second terminal, the first terminal and the second terminal are terminals for same-screen interaction, and the target page includes content for same-screen interaction;

[0146] In response to the permission transfer instruction, an operation performed on the target page is detected on the second terminal.

[0147] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.

[0148] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0149] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0150] If the integrated units in the above embodiments are implemented in the form of software functional units and explained or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for one or more computer devices (which can be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application.

[0151] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0152] In the several embodiments provided in the present application, it should be understood that the disclosed user end can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0153] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0154] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0155] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A same-screen interaction method, characterized in that: include: A first operation is detected on a first terminal, wherein the first operation is used to instruct to transfer the operation right of one or more target elements in a target page from the first terminal to a designated second terminal, different second terminals correspond to different target elements, the first terminal still has the operation right of other controls except the target elements, the first terminal and the second terminal are terminals for same-screen interaction, the target page includes content for same-screen interaction, the target page includes multiple web pages, and the operation right refers to the operation right of all web pages included in the target page; In response to the first operation, sending a permission transfer instruction to the second terminal to allow the target page to be operated on the second terminal; When the second terminal operates the target page, it is detected whether the operation of the target element by the second terminal is terminated; if not, the operation data of the target element is saved locally. When the operation of the target element by the second terminal is terminated, the position of the target element is determined by deep recursion, and the position of the target element, the action performed by the target element and the corresponding operation value are sent to the first terminal, so that the first terminal is restored at the position of the target element according to the action performed by the second terminal on the target element and the corresponding operation value.

2. The method according to claim 1, characterized in that Before the first operation is detected on the first terminal, the method further includes: executing an event monitoring task on the first terminal, wherein the event monitoring task is used to monitor the event of the target page and the event of the operation right change on the first terminal; After the first operation is detected on the first terminal, the method further includes: stopping event monitoring of the target page on the first terminal.

3. The method according to claim 2, characterized in that Before executing the event monitoring task on the first terminal, the method further includes: sending the target page to the second terminal to synchronously display the target page on the second terminal, wherein the target page has a plurality of elements that are allowed to be operated; After executing the event monitoring task on the first terminal, the method also includes: detecting a second operation on the target page on the first terminal, wherein the second operation is an operation on an element in the target page; and sending a first event execution instruction to the second terminal to reproduce the second operation on the second terminal.

4. The method according to claim 3, characterized in that Detecting a second operation on the target page on the first terminal includes at least one of the following: Detecting a sliding operation on the target page on the first terminal; Detecting a zooming operation on the target page on the first terminal; detecting a click operation on the target page on the first terminal; An input operation in the target page is detected on the first terminal; A page switching operation on the target page is detected on the first terminal.

5. The method according to claim 2, characterized in that: After stopping event monitoring of the target page on the first terminal, the method further includes: After the first terminal takes back the operation right of the target page, the event monitoring of the target page is restarted on the first terminal.

6. The method according to claim 1, characterized in that Detecting a first operation on a first terminal includes: In a case where it is determined that the target page needs to be operated on the second terminal, detecting the first operation triggered by the user on the first terminal; or, After receiving the operation right application from the second terminal, the first operation indicating approval of the application is detected on the first terminal.

7. The method according to any one of claims 1 to 6, characterized in that: The method further includes reclaiming the operation right of the target page in the following manner: A third operation is detected on the first terminal, wherein the third operation is used to instruct to take back the operation right of the target page from the second terminal to the first terminal; in response to the third operation, a permission taking back instruction is sent to the second terminal to stop operating the target page on the second terminal; or A permission revocation notification is received on the first terminal, wherein the permission revocation notification is issued after the operation on the target page is completed on the second terminal; in response to the permission revocation notification, the operation right of the target page is revoked from the second terminal to the first terminal.

8. A same-screen interaction method, characterized in that: include: receiving a permission transfer instruction sent by a first terminal, wherein the permission transfer instruction is used by the first terminal to instruct the operation right of one or more target elements in a target page to be transferred from the first terminal to a designated second terminal, different second terminals correspond to different target elements, the first terminal still has the operation right of other controls except the target elements, the first terminal and the second terminal are terminals for same-screen interaction, the target page includes content for same-screen interaction, the target page includes multiple web pages, and the operation right refers to the operation right of all web pages included in the target page; In response to the permission transfer instruction, detecting, on the second terminal, an operation performed on the target page; When the second terminal operates the target page, it is detected whether the operation of the target element by the second terminal is terminated; if not, the operation data of the target element is saved locally. When the operation of the target element by the second terminal is terminated, the position of the target element is determined by deep recursion, and the position of the target element, the action performed by the target element and the corresponding operation value are sent to the first terminal, so that the first terminal is restored at the position of the target element according to the action performed by the second terminal on the target element and the corresponding operation value.

9. The method according to claim 8, characterized in that After receiving the authority transfer instruction sent by the first terminal, the method further includes: executing an event monitoring task on the second terminal, wherein the event monitoring task is used to monitor events of the target page and events of operation right changes on the second terminal; Detecting an operation performed on the target page at the second terminal includes: when the event monitoring task monitors a fourth operation performed on an element in the target page, sending a second event execution instruction to the first terminal to reproduce the fourth operation on the first terminal, wherein the second event execution instruction carries an element position of the operated element.

10. The method according to claim 9, characterized in that After the second terminal detects the operation performed on the target page, the method further includes: receiving a permission deactivation instruction sent by the first terminal, wherein the permission deactivation instruction is used to instruct to withdraw the operation right of the target page from the second terminal to the first terminal; Stop executing the event monitoring task on the second terminal.

11. A same-screen interaction method, characterized in that: The method comprises: Displaying a target page in a display interface of the first terminal, wherein the display interface includes a permission transfer control, the target page includes multiple web pages, and the operation right refers to the operation right of all web pages included in the target page; receiving a first operation on the permission transfer control, wherein the first operation is used to instruct to transfer the operation rights of one or more target elements in the target page from the first terminal to a specified second terminal, different second terminals correspond to different target elements, the first terminal still has the operation rights of other controls except the target elements, the first terminal and the second terminal are terminals for same-screen interaction, and the target page includes content for same-screen interaction; In response to the first operation, the first terminal displays a target page operated by the second terminal; When the second terminal operates the target page, it is detected whether the operation of the target element by the second terminal is terminated; if not, the operation data of the target element is saved locally. When the operation of the target element by the second terminal is terminated, the position of the target element is determined by deep recursion, and the position of the target element, the action performed by the target element and the corresponding operation value are sent to the first terminal, so that the first terminal is restored at the position of the target element according to the action performed by the second terminal on the target element and the corresponding operation value.

12. The method according to claim 11, characterized in that After the first terminal displays the target page operated by the second terminal, the method further includes: Displaying a permission revocation control in a display interface of the first terminal; receiving a third operation on the permission reclaiming control, wherein the third operation is used to instruct to reclaim the operation right of the target page from the second terminal to the first terminal; In response to the first operation, the operation right of the target page is taken back from the second terminal to the first terminal, and the target page operated by the first terminal is displayed on the same screen as the second terminal.

13. The method according to claim 11, characterized in that Before receiving the first operation on the permission transfer control, or after taking back the operation right of the target page from the second terminal to the first terminal, the method further includes: detecting, on the first terminal, an interactive operation with the target page; The interactive operation is synchronized to the second terminal to replicate the interactive operation on the second terminal.

14. A same-screen interactive system, characterized in that: The method comprises a first terminal and a second terminal for same-screen interaction, wherein: The first terminal is used to: send a permission transfer instruction to the second terminal when a first operation is detected, the first operation is used to instruct to transfer the operation rights of one or more target elements in the target page from the first terminal to a specified second terminal, different second terminals correspond to different target elements, and the first terminal still has the operation rights of other controls except the target elements, the permission transfer instruction is used to indicate that the target page is allowed to be operated on the second terminal, the target page includes content for same-screen interaction, the target page includes multiple web pages, and the operation right refers to the operation right of all web pages included in the target page; The second terminal is used to: after receiving the permission transfer instruction sent by the second terminal, detect the operation performed on the target page on the second terminal; when the second terminal operates on the target page, detect whether the operation of the second terminal on the target element is terminated; if not, save the operation data of the target element locally, and when the operation of the target element by the second terminal is terminated, calculate and determine the position of the target element by deep recursion, and send the position of the target element, the action performed by the target element and the corresponding operation value to the first terminal, so that the first terminal restores the position of the target element according to the action performed by the second terminal on the target element and the corresponding operation value.

15. A same-screen interactive device, characterized in that: include: A first detection unit is configured to detect a first operation on a first terminal, wherein the first operation is used to instruct to transfer the operation right of one or more target elements in a target page from the first terminal to a specified second terminal, different second terminals correspond to different target elements, the first terminal still has the operation right of other controls except the target element, the first terminal and the second terminal are terminals for same-screen interaction, the target page includes content for same-screen interaction, the target page includes multiple web pages, and the operation right refers to the operation right of all web pages included in the target page; A sending unit is used to send a permission transfer instruction to the second terminal in response to the first operation to allow the target page to be operated on the second terminal; when the second terminal operates the target page, detect whether the operation of the target element by the second terminal is terminated; if not, save the operation data of the target element locally, and when the operation of the target element by the second terminal is terminated, calculate and determine the position of the target element by deep recursion, and send the position of the target element, the action performed by the target element and the corresponding operation value to the first terminal, so that the first terminal is restored at the position of the target element according to the action performed by the second terminal on the target element and the corresponding operation value.

16. A same-screen interactive device, characterized in that: include: a receiving unit, configured to receive a permission transfer instruction sent by a first terminal, wherein the permission transfer instruction is used by the first terminal to instruct the first terminal to transfer the operation rights of one or more target elements in a target page from the first terminal to a specified second terminal, different second terminals correspond to different target elements, the first terminal still has the operation rights of other controls except the target elements, the first terminal and the second terminal are terminals for same-screen interaction, the target page includes content for same-screen interaction, the target page includes multiple web pages, and the operation rights refer to the operation rights of all web pages included in the target page; A second detection unit is used to detect, in response to the permission transfer instruction, an operation performed on the target page on the second terminal; when the second terminal operates on the target page, detect whether the operation of the second terminal on the target element is terminated; if not, save the operation data on the target element locally, and when the operation of the target element by the second terminal is terminated, calculate and determine the position of the target element by deep recursion, and send the position of the target element, the action performed by the target element and the corresponding operation value to the first terminal, so that the first terminal is restored at the position of the target element according to the action performed by the second terminal on the target element and the corresponding operation value.

17. A storage medium, characterized in that: The storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 13 when executed.

18. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: The processor executes the method described in any one of claims 1 to 13 through the computer program.

19. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 13 are implemented.

Citation Information

Patent Citations

  • Online synchronous communication system based on HTML5 webpage

    CN111107145A