Multi-screen interactive method, device, equipment, system and storage medium
Obtaining and transmitting page operation requests to the large-screen display terminal through the small-screen display terminal solves the problem of cumbersome control of the large-screen display terminal and realizes convenient multi-screen interactive control.
Patent Information
- Application Number
- CN202111494582.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-08
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-12-08
AI Technical Summary
The control of large-screen display terminals is cumbersome, especially through remote control, and the convenience of operating the equipment is poor.
The page operation request is obtained through the small-screen display terminal, and broadcasted to the large-screen display terminal through server transfer, so that it can perform corresponding operations, thereby realizing the function of the small-screen terminal controlling the large-screen terminal.
The operation convenience of the large-screen display terminal is improved, allowing users to perform touch operations through the small-screen display terminal and directly control the display page of the large-screen display terminal.
Smart Images

Figure CN114253497B
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a multi-screen interaction method, device, equipment, system and storage medium. Background Art
[0002] Terminal devices can be divided into large-screen display terminals and small-screen display terminals according to the size of their display screens. Among them, small-screen display terminals, such as smart phones and tablet computers, are generally equipped with touch screens. Users can hold small-screen display terminals and touch the screen to operate the terminal, which is relatively convenient. For large-screen display terminals, such as televisions and large display screens, due to their large display screens, they are generally not equipped with touch screens but ordinary display screens. Moreover, due to the large size of the devices, users cannot operate them by hand like small-screen display terminals.
[0003] Usually, it is necessary to control the large-screen display terminal through a remote control. For example, first select a page element on the display page of the large-screen display terminal by clicking the direction key of the remote control, and then click the confirmation key of the remote control to achieve the effect of clicking the page element. The way of operating the large-screen display terminal through the remote control is relatively cumbersome, especially when the key process is long, it is necessary to click the remote control button multiple times to achieve the operation purpose, and the device operation convenience is poor. Summary of the invention
[0004] Based on the above technical status, the present application proposes a multi-screen interaction method, device, equipment, system and storage medium. The solution is applied to the control of large-screen display terminals, which can realize the control of large-screen display terminals through small-screen display terminals, thereby making the control of large-screen display terminals more convenient.
[0005] A multi-screen interaction method, comprising:
[0006] Acquire a page operation request sent by the first display terminal, wherein the page operation request includes information of an operated page, information of an operated page element, and operation type information determined based on the page operation sensed by the first display terminal;
[0007] at least broadcasting the page operation request to a second display terminal, so that the second display terminal performs an operation corresponding to the page operation request on the page displayed by the second display terminal;
[0008] The first display terminal and the second display terminal display the same page content.
[0009] Optionally, at least broadcasting the page operation request to a second display terminal so that the second display terminal performs an operation corresponding to the page operation request on the page displayed by the second display terminal includes:
[0010] The page operation request is broadcasted to the first display terminal and the second display terminal, so that the first display terminal and the second display terminal respectively perform operations corresponding to the page operation request on the pages displayed thereon.
[0011] Optionally, after obtaining the page operation request sent by the first display terminal, the method further includes:
[0012] According to the information of the operated page in the page operation request and the predetermined page operation request serial numbers corresponding to the respective pages, setting a serial number for the page operation request;
[0013] The page operation request after the sequence number is set is stored.
[0014] Optionally, according to information of the operated page in the page operation request and predetermined page operation request serial numbers corresponding to each page, setting a serial number for the page operation request includes:
[0015] Determine, according to the information of the operated page in the page operation request, the largest serial number among the pre-acquired page operation requests corresponding to the operated page; wherein the serial numbers of the pre-acquired page operation requests corresponding to the operated page are set in ascending order according to a set step size based on the acquisition order of the pre-acquired page operation requests;
[0016] The sequence number obtained by increasing the maximum sequence number by one step is determined as the sequence number of the page operation request.
[0017] Optionally, the method further includes:
[0018] receiving an operation record request sent by the first display terminal and / or the second display terminal; the operation record request includes serial number information of the page operation request and / or information of the operated page;
[0019] A page operation request corresponding to the serial number information and / or the information of the operated page in the operation record request is sent to the first display terminal and / or the second display terminal.
[0020] A multi-screen interaction method, the method comprising:
[0021] Determine the operated page, the operated page element and the operation type according to the page operation sensed from the first display terminal;
[0022] Generate a page operation request according to the operated page, the operated page element and the operation type;
[0023] Sending the generated page operation request to the server, so that the server at least broadcasts the page operation request to the second display terminal, so that the second display terminal performs an operation corresponding to the page operation request on the page displayed by the second display terminal;
[0024] The first display terminal and the second display terminal display the same page content.
[0025] Optionally, the method further includes:
[0026] When a page operation is sensed from the display page of the first display terminal, an operation corresponding to the page operation is performed on the display page;
[0027] Alternatively, a page operation request broadcast by the server is received, and an operation corresponding to the received page operation request is performed on the displayed page.
[0028] A multi-screen interaction method, the method comprising:
[0029] receiving a page operation request broadcast by the server, and performing an operation corresponding to the page operation request on a display page of the second display terminal;
[0030] Wherein, the page operation request is generated by the first display terminal and sent to the server, and the page operation request includes information of the operated page, information of the operated page element and operation type information determined based on the page operation sensed by the first display terminal; the first display terminal and the second display terminal display the same page content.
[0031] Optionally, the server sets a serial number for the received page operation request and broadcasts it to the first display terminal and the second display terminal;
[0032] The first display terminal and the second display terminal perform operations corresponding to the received page operation request, including:
[0033] Determine whether the received page operation request and the last received and executed page operation request correspond to the same operated page and have adjacent sequence numbers;
[0034] If they correspond to the same operated page and the sequence numbers are adjacent, an operation corresponding to the received page operation request is performed on the displayed page;
[0035] If they correspond to the same operated page and the serial numbers are not adjacent, an operation record request is sent to the server, so that the server feeds back a page operation request corresponding to the operation record request and performs operations corresponding to each received page operation request; wherein the operation record request includes the serial number and operated page information of the received page operation request, and the serial number and operated page information of the last received and executed page operation request;
[0036] If it corresponds to a different operated page, the displayed page is updated to the operated page corresponding to the received page operation request, and the operation corresponding to the received page operation request is performed on the updated displayed page.
[0037] A multi-screen interactive system, comprising:
[0038] A first display terminal, a second display terminal, and a server that establishes communication connections with the first display terminal and the second display terminal respectively; the first display terminal and the second display terminal display the same page content;
[0039] The first display terminal is used to determine the operated page, the operated page element and the operation type according to the page operation sensed from the display page of the first display terminal; generate a page operation request according to the operated page, the operated page element and the operation type; and send the generated page operation request to the server;
[0040] The server is configured to obtain a page operation request sent by the first display terminal, and at least broadcast the page operation request to the second display terminal;
[0041] The second display terminal is used to receive the page operation request broadcast by the server, and perform an operation corresponding to the page operation request on the display page.
[0042] A multi-screen interactive device, comprising:
[0043] a request acquisition unit, configured to acquire a page operation request sent by the first display terminal, wherein the page operation request includes information of an operated page, information of an operated page element, and operation type information determined based on the page operation sensed by the first display terminal;
[0044] a request broadcasting unit, configured to broadcast at least the page operation request to a second display terminal, so that the second display terminal performs an operation corresponding to the page operation request on the page displayed by the second display terminal;
[0045] The first display terminal and the second display terminal display the same page content.
[0046] A multi-screen interactive device, comprising:
[0047] An operation sensing unit, used to determine the operated page, the operated page element and the operation type according to the page operation sensed from the first display terminal;
[0048] A request generating unit, configured to generate a page operation request according to the operated page, the operated page element and the operation type;
[0049] a request sending unit, configured to send the generated page operation request to a server, so that the server at least broadcasts the page operation request to a second display terminal, so that the second display terminal performs an operation corresponding to the page operation request on a page displayed thereon;
[0050] The first display terminal and the second display terminal display the same page content.
[0051] A multi-screen interactive device, comprising:
[0052] a request receiving unit, configured to receive a page operation request broadcast by the server, and perform an operation corresponding to the page operation request on a display page of the second display terminal;
[0053] Wherein, the page operation request is generated by the first display terminal and sent to the server, and the page operation request includes information of the operated page, information of the operated page element and operation type information determined based on the page operation sensed by the first display terminal; the first display terminal and the second display terminal display the same page content.
[0054] A multi-screen interactive device, comprising:
[0055] Memory and processor;
[0056] The memory is connected to the processor and is used to store programs;
[0057] The processor is used to implement the above-mentioned multi-screen interaction method by running the program in the memory.
[0058] A storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the multi-screen interaction method described above is implemented.
[0059] In the multi-screen interactive method proposed in the present application, the first display terminal and the second display terminal display the same page content. After the first display terminal senses a page operation from its display page, it generates a page operation request according to the operated page, the operated page element and the operation type corresponding to the page operation, and transfers the page operation request to the second display terminal through the server, and the second display terminal performs the operation corresponding to the page operation request on its display page. This processing realizes the mapping of the operation performed by the user on the first display terminal to the second display terminal, so that the user can control the display page of the second display terminal by operating on the first display terminal.
[0060] By adopting the above-mentioned technical solution of controlling another display terminal through one display terminal, it is possible to control the large-screen display terminal through the small-screen display terminal, that is, the large-screen display terminal is set as the above-mentioned second display terminal, and the small-screen display terminal is set as the above-mentioned first display terminal. When the large-screen display terminal and the small-screen display terminal log in to the same application, both display the same page content. On this basis, the user can directly perform touch operations on the small-screen display terminal, and the operations can be mapped to the large-screen display terminal to realize display control of the large-screen display terminal. This control solution makes it more convenient to control the large-screen display terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0062] Figure 1 It is a structural diagram of a multi-screen interactive system provided in an embodiment of the present application;
[0063] Figure 2 It is a schematic diagram of page display contents of a first display terminal and a second display terminal of a multi-screen interactive system provided in an embodiment of the present application;
[0064] Figure 3 It is a timing flow chart of a multi-screen interaction method provided in an embodiment of the present application;
[0065] Figure 4 It is a schematic diagram of the structure of a request message provided in an embodiment of the present application;
[0066] Figure 5 It is a schematic diagram of the structure of another request message provided in an embodiment of the present application;
[0067] Figure 6It is a schematic diagram of a page initialization request message provided in an embodiment of the present application;
[0068] Figure 7 It is a schematic diagram of a page click request message provided in an embodiment of the present application;
[0069] Figure 8 Yes Figure 7 The schematic diagram of the request message obtained after clicking the request message to set the sequence number on the page shown;
[0070] Fig. 9 is a structural schematic diagram of a multi-screen interactive device provided in an embodiment of the present application;
[0071] Fig.10 is a structural schematic diagram of another multi-screen interactive device provided in an embodiment of the present application;
[0072] Fig.11 It is a structural schematic diagram of another multi-screen interactive device provided in an embodiment of the present application;
[0073] Fig.12 It is a structural diagram of a multi-screen interactive device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0074] The technical solution of the embodiment of the present application is suitable for application scenarios of multi-screen linkage control. By adopting the technical solution of the embodiment of the present application, interactive control of display pages of different display terminals can be realized, so that the page operations performed by the user on the display page of one display terminal can be mapped to the display page of another display terminal, thereby achieving the purpose of operating another display terminal through one display terminal.
[0075] By applying the technical solution proposed in the embodiment of the present application to the control of the display terminal, it is possible to implement operational control of the large-screen display terminal by performing touch operations on the small-screen display terminal, thereby improving the convenience of operating the large-screen display terminal.
[0076] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions 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 are within the scope of protection of this application.
[0077] The present application embodiment first proposes a multi-screen interactive system, see Figure 1 As shown, the system includes:
[0078] A first display terminal 1, a second display terminal 2, and a server 3 that establishes communication connections with the first display terminal 1 and the second display terminal 2 respectively; the first display terminal 1 and the second display terminal 2 display the same page content;
[0079] The first display terminal 1 is used to determine information of the operated page, information of the operated page element and operation type information according to the page operation sensed from the display page of the first display terminal 1; generate a page operation request according to the information of the operated page, information of the operated page element and operation type information; and send the generated page operation request to the server 3;
[0080] The server 3 is used to obtain the page operation request sent by the first display terminal 1, and at least broadcast the page operation request to the second display terminal 2;
[0081] The second display terminal 2 is used to receive the page operation request broadcast by the server 3, and perform an operation corresponding to the page operation request on the display page.
[0082] Specifically, the first display terminal 1 and the second display terminal 2 are terminal devices with screen display functions, such as mobile phones, tablet computers, televisions, etc.
[0083] As a preferred embodiment, the first display terminal 1 is a small-screen display terminal with a touch display screen, such as a mobile phone, a tablet computer, etc., which can be operated by a user by hand-held touch. The second display terminal 2 is a large-screen display terminal, and its display screen can be a touch screen or a common display screen, such as a TV, a large-size display screen, etc.
[0084] The first display terminal 1 establishes a communication connection with the second display terminal 2 through the server 3 .
[0085] As an exemplary implementation, the first display terminal 1, the second display terminal 2 and the server 3 establish a network connection based on websocket.
[0086] Specifically, the user logs in to the server from each display terminal to be connected, and then the server can create a socket room based on the unique identifier of the user's display terminal. The user clicks the "Interact on the same screen" button on the system homepage through any display terminal, and the system displays the information of different display terminals that the user has logged in, and the user can select the corresponding display terminal (supports multiple display terminals for synchronous interaction). When the user selects a display terminal, the corresponding display terminal confirms and enters the created socket room; finally, after the socket connection is completed, two-way real-time communication between various display devices can be achieved through server transfer.
[0087] According to the above method, a communication connection is established between the first display terminal 1 and the second display terminal 2 through the server. At this time, the first display terminal 1 and the second display terminal 2 can perform signaling or data transmission through the server. The above-mentioned solution of establishing a network connection based on websocket can also be implemented with reference to the implementation solution of establishing a network connection based on websocket in the prior art. In addition, when actually implementing the technical solution of the embodiment of the present application, other solutions can also be used to establish a communication connection for the first display terminal 1, the second display terminal 2 and the server 3.
[0088] At the same time, in order to facilitate direct mapping of page operations, the first display terminal 1 and the second display terminal 2 display the same page content, that is, the first display terminal 1 and the second display terminal 2 display the same application interface, specifically, the same set of codes are used for rendering, and the page display is displayed using H5 page display, so that the display content of the first display terminal 1 and the second display terminal 2 is the same, and automatically adapts to the screen size of the first display terminal 1 and the second display terminal 2.
[0089] Specifically, see Figure 2 As shown, the page contents displayed by the first display terminal 1 and the second display terminal 2 are the same, specifically, the page elements in the displayed page are the same, and the layout of the page elements in the display interface is the same or different, that is, the same page content can be adapted to the layout depending on the different sizes of the display interfaces of the first display terminal 1 and the second display terminal 2. As a preferred implementation scheme, the page layout, page content, etc. of the displayed pages of the first display terminal 1 and the second display terminal 2 are completely consistent.
[0090] Based on the above introduction, the display contents of the first display terminal 1 and the second display terminal 2 are the same, and the first display terminal 1 and the second display terminal 2 establish a communication connection through the server. Therefore, in theory, the operations performed by the user on the first display terminal 1 or the second display terminal 2 can be transmitted to the other end through the communication link, so that the other end can also obtain the operation information and perform corresponding operations.
[0091] Based on the above settings, the embodiment of the present application proposes that the first display terminal 1 collects in real time the user's operations on the display page of the first display terminal 1, for example, the first display terminal 1 collects in real time the touch operations on the display page performed by the user on the touch display screen of the first display terminal 1. When the first display terminal 1 collects the user's operations on the display page, the user operations are analyzed to determine the operated page, the operated page element, and the operation type corresponding to the user operations.
[0092] The operated page specifically refers to the page displayed by the first display terminal 1 when the user performs a page operation on the first display terminal 1. The operated page element refers to the page element of the displayed page corresponding to the operation when the user performs a page operation on the first display terminal 1. The operation type refers to the specific operation type of the operation performed by the user on the first display terminal 1, such as single click, double click, long press, etc.
[0093] For example, assuming that the page operation performed by the user on the first display terminal 1 is clicking a page element on the display page of the first display terminal 1, then the display page of the first display terminal 1 is the operated page, the page element clicked by the user is the operated page element, and the user operation type is click.
[0094] In an embodiment of the present application, each page displayed by the display terminal and each element in each page are distinguished and identified in advance. At the same time, various operation types are also identified separately, so that each page, each page element in each page, and various operation types have a globally unique identifier.
[0095] Exemplarily, each page displayed by the display terminal can be uniquely identified by the page URL address; the elements in the page can be uniquely identified by the page element name, or uniquely identified by the "page URL + page element name" method; the operation type can be uniquely identified by the operation type name.
[0096] On the basis of the above identification processing, when the first display terminal 1 senses a page operation from the display page of the first display terminal 1, the page being operated, the page element being operated, and the type of operation are analyzed and determined, and then, based on the page being operated, the page element being operated, and the type of operation, a page operation request is generated, in which the identification information of the page being operated, the identification information of the page element being operated, and the identification information of the type of operation are included. Then, based on the page operation request, the page, page element, and operation type corresponding to the operation can be clearly identified, that is, all necessary information for a complete operation action can be clearly identified.
[0097] The first display terminal 1 sends the generated page operation request to the server 3 , and the server 3 sends the page operation request to at least the second display terminal 2 .
[0098] After receiving the page operation request sent by the server, the second display terminal 2 parses it to determine information such as the operated page, the operated page element and the operation type, and then performs an operation corresponding to the page operation request on the display page of the second display terminal 2 based on the parsed information.
[0099] For example, the first display terminal 1 senses that the user clicks on element 1 in the page being displayed by the first display terminal 1 (assuming the page url is http: / / ip:port / A.html), then the first display terminal 1 generates a page operation instruction, in which the information of the operated page is "page url (http: / / ip:port / A.html)", the information of the operated page element is "element 1", and the operation type information is "click".
[0100] The first display terminal 1 sends the page operation request to the server 3, and the server 3 then sends the page operation request to the second display terminal 2. After receiving the page operation request, the second display terminal 2 parses it to determine that the operated page is the page with the URL http: / / ip:port / A.html, the operated page element is "element 1", and the operation type is "click". Then, the second display terminal 2 clicks on the element 1 in the page with the URL http: / / ip:port / A.html, that is, executes the operation corresponding to the received page operation request.
[0101] Since the display contents of the first display terminal 1 and the second display terminal 2 are the same, the first display terminal 1 sends the relevant information of the operation performed by the user on the display page of the first display terminal 1 to the second display terminal 2 in the form of a page operation request, so that the second display terminal 2 performs the operation corresponding to the page operation request, and the operation performed by the user on the first display terminal 1 can be synchronously mapped to the second display terminal 2, that is, the user can control the second display terminal 2 by operating on the first display terminal 1.
[0102] From the above introduction, it can be seen that in the multi-screen interactive system proposed in the embodiment of the present application, the first display terminal and the second display terminal display the same page content. After the first display terminal senses the page operation from its display page, it generates a page operation request according to the operated page, the operated page element and the operation type corresponding to the page operation, and transfers the page operation request to the second display terminal through the server, and the second display terminal performs the operation corresponding to the page operation request on its display page. This processing realizes the mapping of the operation performed by the user on the first display terminal to the second display terminal, so that the user can control the display page of the second display terminal by operating on the first display terminal.
[0103] By adopting the above-mentioned technical solution of controlling another display terminal through one display terminal, it is possible to control the large-screen display terminal through the small-screen display terminal, that is, the large-screen display terminal is set as the above-mentioned second display terminal, and the small-screen display terminal is set as the above-mentioned first display terminal. When the large-screen display terminal and the small-screen display terminal log in to the same application, both display the same page content. On this basis, the user can directly perform touch operations on the small-screen display terminal, and the operations can be mapped to the large-screen display terminal to realize display control of the large-screen display terminal. This control solution makes it more convenient to control the large-screen display terminal.
[0104] Based on the above multi-screen interactive system, the embodiment of the present application also proposes a multi-screen interactive method applicable to the system, which can achieve the purpose of the user operating on the first display terminal and controlling the second display terminal through the interaction between the first display terminal, the second display terminal and the server. Among them, the first display terminal and the second display terminal establish a communication connection through the server, and at the same time, the display content of the first display terminal and the second display terminal is rendered using the same set of codes, and its page display is displayed using H5 page display, so that the display content of the first display terminal and the second display terminal is the same, and automatically adapts with the screen size of the first display terminal and the second display terminal. The specific implementation scheme of the above communication connection and page display can be referred to the introduction of the above embodiment.
[0105] The following is a detailed description of the multi-screen interactive method in the embodiment of the present application. It can be understood that the specific functions and working contents of each part in the above multi-screen interactive system can refer to the introduction of the corresponding processing contents in the multi-screen interactive method introduced in this embodiment.
[0106] See also Figure 3 As shown, the multi-screen interaction method proposed in the embodiment of the present application includes:
[0107] S301, the first display terminal determines an operated page, an operated page element, and an operation type according to a page operation sensed from the first display terminal;
[0108] Specifically, the first display terminal monitors the user's page operation on the display page of the first display terminal in real time. As an exemplary implementation, the first display terminal is a small-screen display terminal with a touch screen, and the user can hold the first display terminal and perform page operation on the display page of the first display terminal by touching the display screen of the first display terminal. Accordingly, the first display terminal monitors the touch operation performed by the user on the display screen of the first display terminal in real time.
[0109] When the first display terminal detects that the user performs a page operation on the display page of the first display terminal, for example, when the user performs a touch operation on the screen of the first display terminal, the operated page, the operated page element and the operation type are determined according to the user's operation action. For example, when the user performs a touch operation, the page displayed by the first display terminal is determined as the operated page; the page element corresponding to the user's touch point is determined as the operated page element; and the type of the user's touch action is determined as the operation type.
[0110] S302: The first display terminal generates a page operation request according to the operated page, the operated page element and the operation type.
[0111] The first display terminal, the second display terminal and the server pre-agree on the identification of each page displayed by the display terminal and the identification of each element in each page. At the same time, various operation types are also identified separately, so that each page, each page element of each page, and various operation types have a globally unique identification.
[0112] Exemplarily, each page displayed by the display terminal can be uniquely identified by the page URL address; the elements in the page can be uniquely identified by the page element name, or uniquely identified by the "page URL + page element name" method; the operation type can be uniquely identified by the operation type name.
[0113] Based on the above-mentioned pre-agreed agreement, after the first display terminal senses the page operation performed by the user and determines the operated page, the operated page element and the operation type corresponding to the user operation, the first display terminal integrates the information of the operated page, the information of the operated page element and the information of the operation type to generate a page operation request. For example, the identifier of the operated page, the identifier of the operated page element and the identifier of the operation type are combined to generate a page operation request. The page operation request is used to request that the "operated page element" on the "operated page" in the page operation request perform an operation corresponding to the "operation type" in the page operation request.
[0114] As a preferred implementation, the page operation request generated by the first display terminal is in the form of a request message.
[0115] In the request message, the page id, element id and operation type id are used to represent the operated page, the operated page element and the operation type respectively, so that the data volume of the request message can be smaller, which is conducive to faster transmission of the request message.
[0116] Based on the above agreement, when the first display terminal generates a page operation request according to the operated page, the operated page element and the operation type, it specifically combines the id of the operated page, the id of the operated page element and the operation type id to generate a request message. The specific structure of the request message can be found in Figure 4 shown.
[0117] As a more preferred implementation, the page operation request generated by the first display terminal adopts Figure 5 The format of the request message is shown.
[0118] The length of the entire request message is 9 bytes in total, of which the sequence number of the request message occupies 4 bytes (32 bits). The sequence number is used to record the sequence number of the current page operation request. The sequence number is strongly related to the operated page. When the operated page switches, the corresponding sequence number also switches accordingly. That is, for each page, there is a series of sequence numbers corresponding to the page.
[0119] The page ID in the request message occupies 2 bytes (16 bits) and is used to record the ID of the page being operated. The page ID and the URL address of the page are uniquely corresponding, as shown in Table 1. Therefore, according to the page ID in the request message, the corresponding page URL address can be clearly identified, and then the corresponding page can be accessed.
[0120] Table 1
[0121] Page id Page URL 1 http: / / ip:port / A.html 2 http: / / ip:port / B.html 3 http: / / ip:port / C.html ...... ......
[0122] The operation type id in the request message occupies 1 byte (8 bits) and is used to record the id of the operation type. Each operation type corresponds to a unique id, as shown in Table 2. Therefore, according to the operation type id in the request message, the corresponding operation type can be clearly identified.
[0123] Table 2
[0124] Type id Operation Type 0 move 1 Page initialization 2 Click 3 Long press ...... ......
[0125] The element id in the request message occupies 2 bytes (16 bits) and is used to record the id of the element of the page being operated. The id of the page element is strongly related to the page. For each element in a page, an id is set starting from 1. When the page id is clear, the corresponding page can be accessed according to the page id, and then, combined with the element id, the corresponding page element in the page can be accessed.
[0126] Based on the above introduction, when the first display terminal generates a page operation request, the id of the operated page, the id of the operated page element and the operation type id are added to the request message respectively.
[0127] When the first display terminal sends a page operation request to the second display terminal for the first time, the following is first generated: Figure 6 The page initialization request message shown in the figure. In this message, the sequence number is all 0, which has no actual meaning. When the message is sent to the server, the server updates the sequence number, as described later; the page id is the id of the display page operated by the user; the operation type id is the id corresponding to the page initialization; the element id is all 0, because it is an initialization operation, there is no clear page element being operated.
[0128] The initialization request message is used to control the display terminal that receives the message to perform initialization, that is, to switch the display page to the display page corresponding to the page ID in the message.
[0129] When the user clicks on a page element in the display page of the first display terminal, for example, clicks on the first page element in the display page after the initialization (assuming that the page element id is 0000000000000001), the first display terminal generates the following Figure 7 In the request message shown, the page id is the id of the displayed page after the initialization, the operation type id is the id corresponding to "click", and the element id is the id of the page element clicked by the user in the above page.
[0130] The request message may be used to control a display terminal that receives the message to execute a click operation on the first page element in the page corresponding to the page ID in the message.
[0131] S303: The first display terminal sends the generated page operation request to the server.
[0132] S304: The server obtains a page operation request sent by the first display terminal.
[0133] S305: The server sets a serial number for the page operation request according to the information of the operated page in the page operation request and the predetermined page operation request serial number corresponding to each page.
[0134] Specifically, after the first display terminal generates the page operation request in the above format, it sends the page operation request to the server. After receiving the page operation request sent by the first display terminal, the server first sets a serial number for the page operation request.
[0135] As described above, the serial number in the page operation request is strongly related to the operated page. For each operated page, a series of serial numbers corresponding to it are maintained on the server. Specifically, the serial numbers of the page operation requests corresponding to the same operated page are set incrementally according to the order in which the page operation requests are received, specifically, according to the set step size.
[0136] For example, when setting serial numbers for each page operation request corresponding to page A, the serial number of the first page operation request received for the corresponding page A is set to 1, the serial number of the second page operation request received for the corresponding page A is set to 2 (that is, the step size is 1), the serial number of the third page operation request received for the corresponding page A is set to 3, and so on.
[0137] Based on the above processing, after receiving the page operation request, the server first determines the largest serial number in each pre-acquired page operation request corresponding to the operated page according to the information of the operated page in the received page operation request.
[0138] That is, the server obtains the operated page information from the page operation request, and then retrieves each page operation request corresponding to the operated page from the received historical page operation requests, and determines the largest sequence number among the retrieved page operation requests. Generally, according to the above-mentioned sequence number setting rule, the sequence number of the latest page operation request among the retrieved page operation requests is the largest sequence number.
[0139] Then, the server increases the retrieved maximum sequence number by a step size to obtain a new sequence number, and determines the new sequence number as the sequence number of the received page operation request.
[0140] For example, suppose the received page operation request message is as follows Figure 7 As shown, the server first determines the maximum sequence number in the received historical page operation request corresponding to the page id "00000000 00000001", assuming it is "000000000000000 00000000 00000001", then the server increases the maximum sequence number by a step size, assuming the step size is 1, then the sequence number is increased by 1, and a new sequence number is obtained as "000000000 00000000 00000000 00000010", and the new sequence number is used as Figure 7 The serial number of the page operation request shown in the figure is updated into the page operation request message to obtain Figure 8 The page operation request.
[0141] S306: The server stores the page operation request after setting the serial number.
[0142] Specifically, each time the server receives a page operation request, it sets a serial number for the page operation request according to the information of the operated page in the page operation request, and stores the page operation request after the serial number is set.
[0143] The server locally stores each page operation request it receives. When the server receives a new page operation request, it can directly set a serial number for the newly received page operation request by retrieving the serial number of the page operation request and the operated page information stored locally.
[0144] On the other hand, the server stores all the page operation requests received, thereby realizing the function of recording page operation.
[0145] S307: The server broadcasts the page operation request to the first display terminal and the second display terminal.
[0146] Specifically, after receiving the page operation request and setting a serial number for it, the server broadcasts the page operation request message including the serial number, that is, broadcasts it to the first display terminal and the second display terminal.
[0147] S308: The first display terminal receives the page operation request broadcast by the server, and performs an operation corresponding to the received page operation request on the display page.
[0148] After receiving the page operation request broadcast by the server, the first display terminal parses and determines the operated page, the operated page element and the operation type, and then performs the corresponding type of operation on the operated page element in the operated page.
[0149] As another exemplary implementation, since the page operation request is generated by the first display terminal based on the page operation performed by the user on the first display terminal, the first display terminal can determine the operated page, the operated page element and the operation type after sensing the operation performed by the user on the display page of the first display terminal. Then, while the first display terminal generates a page operation request and sends it to the server, the first display terminal directly performs the corresponding operation locally, that is, performs the corresponding type of operation on the operated page element in the operated page.
[0150] When the first display terminal generates and sends a page operation request and performs a corresponding operation locally, when the first display terminal receives the page operation request broadcast by the server, it no longer executes the received page operation request, that is, skips step S308.
[0151] S309: The second display terminal receives the page operation request broadcast by the server, and performs an operation corresponding to the page operation request on the display page.
[0152] Specifically, after receiving the page operation request broadcast by the server, the second display terminal parses and determines the operated page, the operated page element and the operation type, then switches the display content to the operated page, and performs the corresponding type of operation on the operated page element in the operated page.
[0153] As an exemplary implementation scheme, the second display terminal is a large-screen display terminal, and it is inconvenient for the user to directly operate the large-screen display terminal, but the user can only remotely control it through a remote controller, voice, or the like.
[0154] By utilizing the embodiment of the present application, a user can perform handheld operations on a small-screen display terminal (first display terminal) to perform the same operations on a large-screen display terminal (second display terminal), that is, the user can control the large-screen display terminal through the small-screen display terminal, and the operation method and operation process are completely synchronized, which can greatly improve the convenience of the user's operation of the large-screen display terminal.
[0155] As a preferred implementation, after receiving the page operation request broadcast by the server, the first display terminal and the second display terminal perform corresponding operations according to the steps shown in A1-A4 below:
[0156] A1. Determine whether the received page operation request and the last received and executed page operation request correspond to the same operated page and have adjacent sequence numbers.
[0157] Specifically, the first display terminal and the second display terminal respectively store locally the information of each page operation request executed by them, especially the serial number of the executed page operation request and the information of the operated page.
[0158] Based on the above storage, when the first display terminal and the second display terminal receive a page operation request broadcast by the server, the operated page and serial number in the newly received page operation request are first compared with the operated page and serial number in the page operation request received and executed last time, to determine whether the currently received page operation request and the page operation request received and executed last time correspond to the same operated page and the serial numbers are adjacent.
[0159] If they correspond to the same operated page and the serial numbers are adjacent, step A2 is executed to perform an operation corresponding to the received page operation request on the displayed page.
[0160] Specifically, if the currently received page operation request corresponds to the same operated page as the last received and executed page operation request, and the sequence numbers are adjacent, it can be explained that the currently received page operation request is still an operation request for the currently displayed page, and the current page operation request is an operation request that is continuous with the operation performed by the user on the page last time. At this time, the first display terminal and the second display terminal perform the operation corresponding to the currently received page operation request on their display pages.
[0161] If they correspond to the same operated page and the sequence numbers are not adjacent, step A3 is executed to send an operation record request to the server, so that the server feeds back a page operation request corresponding to the operation record request and performs operations corresponding to each received page operation request. The operation record request includes the sequence number of the received page operation request and the sequence number of the last received and executed page operation request.
[0162] Specifically, since the server broadcasting the page operation request and the display terminal receiving and executing the page operation request may not be completely synchronized, for example, it takes a certain amount of time for the display terminal to execute the operation corresponding to the page operation request, but during this period the server sends one or more page operation requests, which results in the page operation request executed by the display terminal being discontinuous with the sequence number of the page operation request currently received. If the display terminal directly executes the operation corresponding to the same display page but with discontinuous sequence numbers, the user operation will be missed.
[0163] In order to avoid the above situation, when the first display terminal and / or the second display terminal determine that the currently received page operation request corresponds to the same operated page as the last executed page operation request, but the sequence numbers are not adjacent, an operation record request is first sent to the server, and the operation record request is used to request the server for page operation requests with sequence numbers between the sequence number of the currently received page operation request and the sequence number of the last received and executed page operation request. Therefore, the operation record request contains the sequence number and operated page information of the currently received page operation request, as well as the sequence number and operated page information of the last received and executed page operation request.
[0164] When the server receives an operation record request sent by the first display terminal and / or the second display terminal, the server retrieves from the local computer the page operation request corresponding to the operated page in the operation record request and the page operation request whose serial number is between the two serial numbers in the operation record request based on the operated page information contained in the operation record request and the two serial numbers contained therein, and feeds it back to the first display terminal and / or the second display terminal.
[0165] After receiving the page operation request fed back by the server, the first display terminal and / or the second display terminal sequentially executes the operations corresponding to the page operation requests according to the sequence number order of the page operation requests fed back by the server. After executing the operations corresponding to the page operation requests fed back by the server, the operation corresponding to the currently received page operation request is executed. It can be seen that through the processing of step A3, the display terminal can achieve the purpose of operation compensation.
[0166] If it corresponds to a different operated page, step A4 is executed to update the displayed page to the operated page corresponding to the received page operation request, and perform the operation corresponding to the received page operation request on the updated displayed page.
[0167] Specifically, if the page operation request received by the first display terminal and / or the second display terminal corresponds to a different operated page than the page operation request executed last time, it means that the currently operated page has undergone a page switch compared to the last operated page. At this time, the first display terminal and / or the second display terminal performs page initialization according to the currently received page operation request, and updates the display page to the operated page corresponding to the currently received page operation request. Then, the first display terminal and / or the second display terminal performs the operation corresponding to the currently received page operation request on the updated display page.
[0168] When the first display terminal and / or the second display terminal performs an operation corresponding to the currently received page operation request on the updated display page, they can also follow the introduction of the above step A1 to first determine whether the serial number of the currently received page operation request is continuous with the serial number of the page operation request corresponding to the same operated page (that is, the operated page corresponding to the currently received page operation request) received and executed last time. If so, the operation corresponding to the currently received page operation request can be directly performed on the updated display page. If not, refer to the processing of A3 above, first request a page operation request from the server and perform the corresponding operation, and then perform the operation corresponding to the page operation request received this time.
[0169] It can be seen from the above introduction that the first display terminal and the second display terminal each store information of each page operation request executed by them. Based on the above storage, each time the first display terminal and the second display terminal receive a page operation request broadcast by the server, they first determine whether the received page operation request is a continuous page operation request with the page operation request executed last time. If not, they request and execute intermittent page operation requests from the server, and then execute the page operation request received this time. Executing according to the above scheme can avoid the first display terminal and the second display terminal from missing page operation requests, and avoid the situation where the user's operation on the first display terminal cannot be accurately reflected on the first display terminal and the second display terminal.
[0170] In addition, the first display terminal and / or the second display terminal may also directly send an operation record request containing only information of the operated page to the server. When the server receives the operation record request, it feeds back to the first display terminal and / or the second display terminal each page operation request corresponding to the operated page contained in the operation record request. After the first display terminal and / or the second display terminal receives each page operation request corresponding to the operated page fed back by the server, it sequentially executes the operations corresponding to each page operation request in the order of the serial numbers of each page operation request, thereby achieving the purpose of refreshing the page or replaying the page operation process.
[0171] From the above introduction, it can be seen that the multi-screen interaction method proposed in the embodiment of the present application realizes the mapping of the operations performed by the user on the first display terminal to the second display terminal, so that the user can control the display page of the second display terminal by operating on the first display terminal.
[0172] By adopting the above-mentioned technical solution of controlling another display terminal through one display terminal, it is possible to control the large-screen display terminal through the small-screen display terminal, that is, the large-screen display terminal is set as the above-mentioned second display terminal, and the small-screen display terminal is set as the above-mentioned first display terminal. When the large-screen display terminal and the small-screen display terminal log in to the same application, both display the same page content. On this basis, the user can directly perform touch operations on the small-screen display terminal, and the operations can be mapped to the large-screen display terminal to realize display control of the large-screen display terminal. This control solution makes it more convenient to control the large-screen display terminal.
[0173] Furthermore, in the multi-screen interaction method proposed in the embodiment of the present application, the server uniformly sets a serial number for the page operation request sent by the first display terminal, and stores the page operation request received and broadcasted by the server. At the same time, the first display terminal and the second display terminal respectively record the page operation request received and executed by the first display terminal and / or the second display terminal. After the first display terminal and / or the second display terminal receive the page operation request broadcasted by the server, the page operation request corresponding to the operated page and the serial number can be used to request the missing page operation request from the server, so as to achieve the purpose of compensating for the execution of the missing page operation request. In addition, the first display terminal and / or the second display terminal can also request any historical page operation request from the server, so as to achieve the purpose of refreshing the page or replaying the page operation process.
[0174] Based on the above introduction, the embodiments of the present application also propose a multi-screen interaction method applied to the above-mentioned server, a multi-screen interaction method applied to the above-mentioned first display terminal, and a multi-screen interaction method applied to the above-mentioned second display terminal.
[0175] Specifically, the multi-screen interaction method applied to the above server includes:
[0176] First, a page operation request sent by the first display terminal is obtained, wherein the page operation request includes information of an operated page, information of an operated page element, and operation type information determined based on the page operation sensed by the first display terminal;
[0177] Then, at least broadcast the page operation request to the second display terminal, so that the second display terminal performs an operation corresponding to the page operation request on the page displayed by the second display terminal;
[0178] The first display terminal and the second display terminal display the same page content.
[0179] The multi-screen interaction method applied to the first display terminal includes:
[0180] First, according to the page operation sensed from the first display terminal, the operated page, the operated page element and the operation type are determined;
[0181] Then, a page operation request is generated according to the operated page, the operated page element and the operation type;
[0182] Finally, the generated page operation request is sent to the server, so that the server at least broadcasts the page operation request to the second display terminal, so that the second display terminal performs an operation corresponding to the page operation request on the page displayed thereon;
[0183] The first display terminal and the second display terminal display the same page content.
[0184] The multi-screen interaction method applied to the second display terminal includes:
[0185] receiving a page operation request broadcast by the server, and performing an operation corresponding to the page operation request on a display page of the second display terminal;
[0186] Wherein, the page operation request is generated by the first display terminal and sent to the server, and the page operation request includes information of the operated page, information of the operated page element and operation type information determined based on the page operation sensed by the first display terminal; the first display terminal and the second display terminal display the same page content.
[0187] Specifically, the specific processing contents of the multi-screen interaction method applied to the server, the multi-screen interaction method applied to the first display terminal, and the multi-screen interaction method applied to the second display terminal can be found in Figure 3 The introduction of the corresponding processing contents in the multi-screen interaction method shown will not be repeated in this embodiment.
[0188] Corresponding to the above-mentioned multi-screen interaction method, the embodiments of the present application also propose a multi-screen interaction device that can be applied to the above-mentioned server, a multi-screen interaction device that can be applied to the above-mentioned first display terminal, and a multi-screen interaction device that can be applied to the above-mentioned second display terminal.
[0189] For details, see Fig. 9 As shown, the multi-screen interactive device applicable to the server includes:
[0190] The request acquisition unit 001 is used to acquire a page operation request sent by the first display terminal, wherein the page operation request includes information of an operated page, information of an operated page element, and operation type information determined based on the page operation sensed by the first display terminal;
[0191] A request broadcasting unit 002, configured to broadcast at least the page operation request to a second display terminal, so that the second display terminal performs an operation corresponding to the page operation request on the page displayed by the second display terminal;
[0192] The first display terminal and the second display terminal display the same page content.
[0193] Optionally, at least broadcasting the page operation request to a second display terminal so that the second display terminal performs an operation corresponding to the page operation request on the page displayed by the second display terminal includes:
[0194] The page operation request is broadcasted to the first display terminal and the second display terminal, so that the first display terminal and the second display terminal respectively perform operations corresponding to the page operation request on the pages displayed thereon.
[0195] Optionally, the multi-screen interactive device further includes:
[0196] The request processing unit is used to set a serial number for the page operation request according to the information of the operated page in the page operation request and the predetermined page operation request serial number corresponding to each page; and store the page operation request after the serial number is set.
[0197] Optionally, according to information of the operated page in the page operation request and predetermined page operation request serial numbers corresponding to each page, setting a serial number for the page operation request includes:
[0198] Determine, according to the information of the operated page in the page operation request, the largest serial number among the pre-acquired page operation requests corresponding to the operated page; wherein the serial numbers of the pre-acquired page operation requests corresponding to the operated page are set in ascending order according to a set step size based on the acquisition order of the pre-acquired page operation requests;
[0199] The sequence number obtained by increasing the maximum sequence number by one step is determined as the sequence number of the page operation request.
[0200] Optionally, the multi-screen interactive device further includes:
[0201] A request response unit, configured to receive an operation record request sent by the first display terminal and / or the second display terminal; the operation record request includes serial number information of the page operation request and / or information of the operated page;
[0202] Sending a page operation request corresponding to the serial number information and / or the information of the operated page in the operation record request to the first display terminal and / or the second display terminal.
[0203] See also Fig.10 As shown, the multi-screen interactive device applicable to the first display terminal includes:
[0204] The operation sensing unit 011 is used to determine the operated page, the operated page element and the operation type according to the page operation sensed from the first display terminal;
[0205] A request generating unit 012, configured to generate a page operation request according to the operated page, the operated page element and the operation type;
[0206] A request sending unit 013, configured to send the generated page operation request to the server, so that the server at least broadcasts the page operation request to the second display terminal, so that the second display terminal performs an operation corresponding to the page operation request on the page displayed by the second display terminal;
[0207] The first display terminal and the second display terminal display the same page content.
[0208] Optionally, the multi-screen interactive device further includes:
[0209] an operation execution unit, configured to execute an operation corresponding to the page operation on the display page when a page operation is sensed from the display page of the first display terminal;
[0210] Alternatively, a page operation request broadcast by the server is received, and an operation corresponding to the received page operation request is performed on the displayed page.
[0211] See also Fig.11 As shown, the multi-screen interactive device applicable to the second display terminal includes:
[0212] The request receiving unit 021 is used to receive the page operation request broadcast by the server, and perform an operation corresponding to the page operation request on the display page of the second display terminal;
[0213] Wherein, the page operation request is generated by the first display terminal and sent to the server, and the page operation request includes information of the operated page, information of the operated page element and operation type information determined based on the page operation sensed by the first display terminal; the first display terminal and the second display terminal display the same page content.
[0214] Optionally, after the multi-screen interaction device applied to the server sets a serial number for the received page operation request, the serial number is broadcasted to the multi-screen interaction device applied to the first display terminal and the multi-screen interaction device applied to the second display terminal;
[0215] The multi-screen interaction device applied to the first display terminal and the multi-screen interaction device applied to the second display terminal perform operations corresponding to the received page operation request, including:
[0216] Determine whether the received page operation request and the last received and executed page operation request correspond to the same operated page and have adjacent sequence numbers;
[0217] If they correspond to the same operated page and the sequence numbers are adjacent, an operation corresponding to the received page operation request is performed on the displayed page;
[0218] If they correspond to the same operated page and the serial numbers are not adjacent, an operation record request is sent to the server, so that the server feeds back a page operation request corresponding to the operation record request and performs operations corresponding to each received page operation request; wherein the operation record request includes the serial number and operated page information of the received page operation request, and the serial number and operated page information of the last received and executed page operation request;
[0219] If it corresponds to a different operated page, the displayed page is updated to the operated page corresponding to the received page operation request, and the operation corresponding to the received page operation request is performed on the updated displayed page.
[0220] Specifically, the specific working contents of each part of each of the above-mentioned multi-screen interactive devices can be found in the specific processing contents of each processing step in the introduction of the embodiment of the above-mentioned multi-screen interactive method, which will not be repeated in this embodiment.
[0221] Another embodiment of the present application also provides a multi-screen interactive device, see Fig.12 As shown, the device includes:
[0222] Memory 200 and processor 210;
[0223] The memory 200 is connected to the processor 210 and is used to store programs;
[0224] The processor 210 is used to implement the multi-screen interaction method disclosed in any of the above embodiments by running the program stored in the memory 200.
[0225] Specifically, the multi-screen interactive device may further include: a bus, a communication interface 220 , an input device 230 and an output device 240 .
[0226] The processor 210, the memory 200, the communication interface 220, the input device 230 and the output device 240 are connected to each other via a bus.
[0227] A bus may include a pathway that transfers information between components of a computer system.
[0228] The processor 210 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0229] The processor 210 may include a main processor, and may also include a baseband chip, a modem, and the like.
[0230] The memory 200 stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes a computer operation instruction. More specifically, the memory 200 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.
[0231] The input device 230 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.
[0232] Output device 240 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.
[0233] The communication interface 220 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0234] The processor 210 executes the program stored in the memory 200 and calls other devices, which can be used to implement each step of any multi-screen interaction method provided in the above embodiments of the present application.
[0235] Another embodiment of the present application further provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, each step of any multi-screen interaction method provided in the above embodiments of the present application is implemented.
[0236] Specifically, the specific working contents of each part of the above-mentioned multi-screen interactive device, as well as the specific processing contents of the computer program on the above-mentioned storage medium when being executed by the processor, can all be found in the contents of the various embodiments of the above-mentioned multi-screen interactive method, and will not be repeated here.
[0237] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some 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.
[0238] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0239] The steps in the methods of each embodiment of the present application can be adjusted in order, combined and deleted according to actual needs, and the technical features recorded in each embodiment can be replaced or combined.
[0240] The modules and sub-modules in the devices and terminals of the various embodiments of the present application can be combined, divided and deleted according to actual needs.
[0241] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, for example, multiple submodules or modules can be combined or integrated into another module, 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 an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0242] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0243] In addition, each functional module or submodule in each embodiment of the present application may be integrated into one processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into one module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or in the form of software functional modules or submodules.
[0244] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0245] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly by hardware, software units executed by a processor, or a combination of the two. The software units may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0246] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0247] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A multi-screen interactive method, characterized in that: include: Acquire a page operation request sent by the first display terminal, wherein the page operation request includes information of an operated page, information of an operated page element, and operation type information determined based on the page operation sensed by the first display terminal; Determine, according to the information of the operated page in the page operation request, the largest serial number among the pre-acquired page operation requests corresponding to the operated page; wherein the serial numbers of the pre-acquired page operation requests corresponding to the operated page are set in ascending order according to a set step size based on the acquisition order of the pre-acquired page operation requests; The maximum sequence number is increased by one step to obtain a sequence number, and the sequence number is determined as the sequence number of the page operation request; the sequence number of the page operation request is strongly related to the operated page, and for each page, there is a series of sequence numbers corresponding to the page; storing the page operation request after setting the serial number; at least broadcasting the page operation request to a second display terminal, so that the second display terminal performs an operation corresponding to the page operation request on the page displayed by the second display terminal; Wherein, the first display terminal and the second display terminal display the same page content; The invention also includes: receiving an operation record request sent by the first display terminal and / or the second display terminal; the operation record request includes serial number information of the page operation request and / or information of the operated page, and the operation record request is used to request the server for a page operation request with a serial number between the serial number of the currently received page operation request and the serial number of the last received and executed page operation request; A page operation request corresponding to the serial number information and / or the information of the operated page in the operation record request is sent to the first display terminal and / or the second display terminal to compensate for the missed page operation request.
2. The method according to claim 1, characterized in that At least broadcasting the page operation request to the second display terminal so that the second display terminal performs an operation corresponding to the page operation request on the page displayed by the second display terminal, including: The page operation request is broadcasted to the first display terminal and the second display terminal, so that the first display terminal and the second display terminal respectively perform operations corresponding to the page operation request on the pages displayed thereon.
3. A multi-screen interactive method, characterized in that: The method comprises: Determine the operated page, the operated page element and the operation type according to the page operation sensed from the first display terminal; Generate a page operation request according to the operated page, the operated page element and the operation type; The generated page operation request is sent to the server, so that the server determines the largest serial number among the pre-acquired page operation requests corresponding to the operated page according to the information of the operated page in the page operation request; wherein the serial numbers of the pre-acquired page operation requests corresponding to the operated page are obtained by sequentially increasing the acquisition order of the pre-acquired page operation requests according to the set step length; the serial number obtained by increasing the largest serial number by one step length is determined as the serial number of the page operation request; the serial number of the page operation request is strongly related to the operated page, and there is a series of serial numbers corresponding to each page; the page operation request after the serial number is set is stored; the page operation request is at least broadcast to the second display terminal, so that the second display terminal performs the operation corresponding to the page operation request on the page displayed by it; Wherein, the first display terminal and the second display terminal display the same page content; Also includes: An operation record request is sent to the server; the operation record request includes serial number information of the page operation request and / or information of the operated page; the operation record request is used to request the server for a page operation request with a serial number between the serial number of the currently received page operation request and the serial number of the last received and executed page operation request; so that the server sends a page operation request corresponding to the serial number information and / or information of the operated page in the operation record request to the first display terminal and / or the second display terminal to compensate for the missed execution of the page operation request.
4. The method according to claim 3, characterized in that: The method further comprises: When a page operation is sensed from the display page of the first display terminal, an operation corresponding to the page operation is performed on the display page; Alternatively, a page operation request broadcast by the server is received, and an operation corresponding to the received page operation request is performed on the displayed page.
5. A multi-screen interaction method, characterized in that: The method comprises: receiving a page operation request broadcast by the server, and performing an operation corresponding to the page operation request on a display page of the second display terminal; wherein the page operation request is generated by the first display terminal and sent to the server, so that the server determines the largest serial number among the pre-acquired page operation requests corresponding to the operated page according to the information of the operated page in the page operation request; wherein the serial numbers of the pre-acquired page operation requests corresponding to the operated page are set in sequence and incremented according to the set step length based on the acquisition order of the pre-acquired page operation requests; the serial number obtained by increasing the largest serial number by one step length is determined as the serial number of the page operation request; the serial number of the page operation request is strongly related to the operated page, and corresponding to each page, there is a series of serial numbers corresponding to the page; the page operation request after the serial number is set is stored; and the page operation request includes information of the operated page, information of the operated page element and operation type information determined based on the page operation sensed by the first display terminal; the first display terminal and the second display terminal display the same page content; Also includes: An operation record request is sent to the server; the operation record request includes serial number information of the page operation request and / or information of the operated page; the operation record request is used to request the server for a page operation request with a serial number between the serial number of the currently received page operation request and the serial number of the last received and executed page operation request; so that the server sends a page operation request corresponding to the serial number information and / or information of the operated page in the operation record request to the first display terminal and / or the second display terminal to compensate for the missed execution of the page operation request.
6. The method according to claim 3 or 5, characterized in that: The server sets a serial number for the received page operation request and broadcasts it to the first display terminal and the second display terminal; The first display terminal and the second display terminal perform operations corresponding to the received page operation request, including: Determine whether the received page operation request and the last received and executed page operation request correspond to the same operated page and have adjacent sequence numbers; If they correspond to the same operated page and the sequence numbers are adjacent, an operation corresponding to the received page operation request is performed on the displayed page; If they correspond to the same operated page and the serial numbers are not adjacent, an operation record request is sent to the server, so that the server feeds back a page operation request corresponding to the operation record request and performs operations corresponding to each received page operation request; wherein the operation record request includes the serial number and operated page information of the received page operation request, and the serial number and operated page information of the last received and executed page operation request; If it corresponds to a different operated page, the displayed page is updated to the operated page corresponding to the received page operation request, and the operation corresponding to the received page operation request is performed on the updated displayed page.
7. A multi-screen interactive system, characterized in that: include: A first display terminal, a second display terminal, and a server that establishes communication connections with the first display terminal and the second display terminal respectively; The first display terminal and the second display terminal display the same page content; The first display terminal is used to determine the operated page, the operated page element and the operation type according to the page operation sensed from the display page of the first display terminal; Generate a page operation request according to the operated page, the operated page element and the operation type; Sending the generated page operation request to the server; The server is used to obtain the page operation request sent by the first display terminal, and determine the largest serial number among the pre-acquired page operation requests corresponding to the operated page according to the information of the operated page in the page operation request; wherein the serial numbers of the pre-acquired page operation requests corresponding to the operated page are set in sequence and incremented according to a set step length based on the acquisition order of the pre-acquired page operation requests; the serial number obtained by increasing the largest serial number by one step length is determined as the serial number of the page operation request; the serial number of the page operation request is strongly related to the operated page, and there is a series of serial numbers corresponding to each page; the page operation request after the serial number is set is stored; and the page operation request is broadcasted to at least the second display terminal; The second display terminal is used to receive the page operation request broadcast by the server, and perform an operation corresponding to the page operation request on the display page; The server also includes: receiving an operation record request sent by the first display terminal and / or the second display terminal; the operation record request includes serial number information of the page operation request and / or information of the operated page, and the operation record request is used to request the server for a page operation request with a serial number between the serial number of the currently received page operation request and the serial number of the last received and executed page operation request; The server sends a page operation request corresponding to the serial number information and / or the information of the operated page in the operation record request to the first display terminal and / or the second display terminal to compensate for the missed page operation request.
8. A multi-screen interactive device, characterized in that: include: a request acquisition unit, configured to acquire a page operation request sent by the first display terminal, wherein the page operation request includes information of an operated page, information of an operated page element, and operation type information determined based on the page operation sensed by the first display terminal; a request broadcasting unit, configured to broadcast at least the page operation request to a second display terminal, so that the second display terminal performs an operation corresponding to the page operation request on the page displayed by the second display terminal; Wherein, the first display terminal and the second display terminal display the same page content; The device is also used to: determine the largest serial number among the pre-acquired page operation requests corresponding to the operated page according to the information of the operated page in the page operation request; wherein the serial numbers of the pre-acquired page operation requests corresponding to the operated page are set in sequence and incremented according to a set step length based on the acquisition order of the pre-acquired page operation requests; the serial number obtained by increasing the largest serial number by one step length is determined as the serial number of the page operation request; the serial number of the page operation request is strongly related to the operated page, and corresponding to each page, there is a series of serial numbers corresponding to the page; the page operation request after the serial number is set is stored; The device is also used to: receive an operation record request sent by the first display terminal and / or the second display terminal; the operation record request includes serial number information of the page operation request and / or information of the operated page; the operation record request is used to request the server for a page operation request whose serial number is between the serial number of the currently received page operation request and the serial number of the last received and executed page operation request; A page operation request corresponding to the serial number information and / or the information of the operated page in the operation record request is sent to the first display terminal and / or the second display terminal to compensate for the missed page operation request.
9. A multi-screen interactive device, characterized in that: include: An operation sensing unit, used to determine the operated page, the operated page element and the operation type according to the page operation sensed from the first display terminal; A request generating unit, configured to generate a page operation request according to the operated page, the operated page element and the operation type; A request sending unit, used to send the generated page operation request to the server, so that the server determines the largest serial number among the pre-acquired page operation requests corresponding to the operated page according to the information of the operated page in the page operation request; wherein the serial numbers of the pre-acquired page operation requests corresponding to the operated page are obtained by sequentially increasing the acquisition order of the pre-acquired page operation requests according to the set step length; the serial number obtained by increasing the largest serial number by one step length is determined as the serial number of the page operation request; the serial number of the page operation request is strongly related to the operated page, and there is a series of serial numbers corresponding to each page; the page operation request after the serial number is set is stored; and the page operation request is at least broadcast to the second display terminal, so that the second display terminal performs the operation corresponding to the page operation request on the page displayed by it; Wherein, the first display terminal and the second display terminal display the same page content; The device is also used to: send an operation record request to the server; the operation record request contains serial number information of the page operation request and / or information of the operated page; the operation record request is used to request the server for a page operation request with a serial number between the serial number of the currently received page operation request and the serial number of the last received and executed page operation request; so that the server sends a page operation request corresponding to the serial number information and / or information of the operated page in the operation record request to the first display terminal and / or the second display terminal to compensate for the missed execution of the page operation request.
10. A multi-screen interactive device, characterized in that: include: a request receiving unit, configured to receive a page operation request broadcast by the server, and perform an operation corresponding to the page operation request on a display page of the second display terminal; wherein the page operation request is generated by the first display terminal and sent to the server, so that the server determines the largest serial number among the pre-acquired page operation requests corresponding to the operated page according to the information of the operated page in the page operation request; wherein the serial numbers of the pre-acquired page operation requests corresponding to the operated page are set in sequence and incremented according to the set step length based on the acquisition order of the pre-acquired page operation requests; the serial number obtained by increasing the largest serial number by one step length is determined as the serial number of the page operation request; the serial number of the page operation request is strongly related to the operated page, and corresponding to each page, there is a series of serial numbers corresponding to the page; the page operation request after the serial number is set is stored; and the page operation request includes information of the operated page, information of the operated page element and operation type information determined based on the page operation sensed by the first display terminal; the first display terminal and the second display terminal display the same page content; The device is also used to: send an operation record request to the server; the operation record request contains serial number information of the page operation request and / or information of the operated page; the operation record request is used to request the server for a page operation request with a serial number between the serial number of the currently received page operation request and the serial number of the last received and executed page operation request; so that the server sends a page operation request corresponding to the serial number information and / or information of the operated page in the operation record request to the first display terminal and / or the second display terminal to compensate for the missed execution of the page operation request.
11. A multi-screen interactive device, characterized in that: include: Memory and processor; The memory is connected to the processor and is used to store programs; The processor is used to implement the multi-screen interaction method as described in any one of claims 1 to 6 by running the program in the memory.
12. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the multi-screen interaction method according to any one of claims 1 to 6 is implemented.
