Disclosure of Invention
The application provides a method for managing multi-screen interaction, which aims to solve the problem that the conventional method cannot uniformly manage all terminals participating in multi-screen interaction. The application further provides a device for managing multi-screen interaction and a computer readable storage medium. The application further provides a method for implementing multi-screen interaction, a device for implementing multi-screen interaction and a computer readable storage medium. The application also provides a method for supporting multi-screen interaction, a device for supporting multi-screen interaction and a computer readable storage medium.
The application provides a method for managing multi-screen interaction, which comprises the following steps:
determining a group for multi-screen interaction;
determining terminals needing multi-screen interaction in the group;
and controlling multi-screen interaction operation of the terminals needing multi-screen interaction in the group.
Optionally, the determining a group for performing multi-screen interaction includes:
and receiving information of a group created by the terminal and used for multi-screen interaction.
Optionally, the method further includes:
providing login identification information for logging in a local area;
receiving login request information sent by a login terminal after the login identification information is identified;
returning login permission information to the login terminal;
the information of the group established by the receiving terminal and used for multi-screen interaction comprises the following steps:
and receiving information of a group which is created by the login terminal and used for multi-screen interaction.
Optionally, the method further includes:
providing group identification information for joining the group for multi-screen interaction.
Optionally, the determining a terminal that needs to perform multi-screen interaction in the group includes:
receiving request information for joining the group for multi-screen interaction sent by the group joining terminal after identifying the group identification information;
and receiving the request of the group adding terminal for adding into the group for multi-screen interaction.
Optionally, the controlling of the multi-screen interaction operation of the terminal in the group that needs to perform multi-screen interaction is implemented in the following manner:
and sending control information for controlling multi-screen interaction operation of the terminal needing multi-screen interaction to the terminal needing multi-screen interaction.
Optionally, the determining a terminal that needs to perform multi-screen interaction in the group includes:
selecting a first terminal and a second terminal which need to perform multi-screen interaction from terminals included in the group;
correspondingly, the controlling of the multi-screen interaction operation of the terminal which needs to perform multi-screen interaction in the group includes:
the method comprises the steps that a first terminal is indicated to serve as a main device for multi-screen interaction, and a multi-screen interaction request is sent to a second terminal;
and indicating a second terminal as a slave device of multi-screen interaction to accept the multi-screen interaction request sent by the first terminal.
Optionally, the number of the second terminals is at least 1.
Optionally, the controlling the terminal that needs to perform multi-screen interaction in the group includes:
and indicating the terminals needing multi-screen interaction in the group to start multi-screen interaction operation.
Optionally, the controlling the terminal that needs to perform multi-screen interaction in the group includes:
and indicating the terminals needing multi-screen interaction in the group to stop multi-screen interaction operation.
Optionally, the controlling the terminal that needs to perform multi-screen interaction in the group further includes:
and monitoring the process of multi-screen interaction of the terminal which needs multi-screen interaction.
Optionally, the method further includes:
and resolving the group for multi-screen interaction.
The application also provides a method for realizing multi-screen interaction, which comprises the following steps:
establishing or joining a group for multi-screen interaction;
receiving an operation instruction from a multi-screen interaction management terminal;
and performing multi-screen interaction operation with the appointed terminals in the group according to the operation instruction.
Optionally, the designated terminal includes: the multi-screen interaction system comprises a first terminal serving as a main device of multi-screen interaction or a second terminal serving as a slave device of multi-screen interaction;
correspondingly, the performing multi-screen interaction operation with the designated terminal in the group according to the operation instruction includes:
serving as a first terminal to send a multi-screen interaction request to a second terminal;
or
And the multi-screen interaction request sent by the first terminal is accepted as the second terminal.
Optionally, the number of the second terminals is at least 1.
Optionally, the receiving an operation instruction from a multi-screen interaction management end includes:
the method comprises the steps of receiving identity selection information of a first terminal serving as multi-screen interaction master equipment or a second terminal serving as multi-screen interaction slave equipment, and receiving operation items corresponding to the first terminal or the second terminal.
Optionally, the joining a group for performing multi-screen interaction includes:
sending a group joining request to a multi-screen interaction management terminal in a mode of identifying group joining identification information provided by the multi-screen interaction management terminal;
and receiving confirmation information which is sent by the multi-screen interaction management terminal and allowed to join the group.
Optionally, before the establishing a group for performing multi-screen interaction, the method further includes:
and identifying login identification information provided by the multi-screen interaction management terminal, and logging in the multi-screen interaction management terminal.
Optionally, the performing, according to the operation instruction, a multi-screen interaction operation with a designated terminal in the group includes:
and starting multi-screen interaction operation with the appointed terminals in the group according to the operation instruction.
Optionally, the performing, according to the operation instruction, a multi-screen interaction operation with a designated terminal in the group includes:
and stopping multi-screen interaction operation with the appointed terminals in the group according to the operation instruction.
The application also provides a method for supporting multi-screen interaction, which comprises the following steps:
determining group information for multi-screen interaction;
receiving control information sent by a multi-screen interaction management terminal for managing a multi-screen interaction process;
and controlling the multi-screen interaction operation of the terminal needing multi-screen interaction in the group according to the control information.
Optionally, the determining group information for performing multi-screen interaction includes:
and receiving information of a group created by the terminal and used for multi-screen interaction.
Optionally, the determining group information for performing multi-screen interaction includes:
receiving request information for joining a group for multi-screen interaction sent by a group joining terminal;
and receiving acceptance information allowing the group adding terminal to join a group for multi-screen interaction.
Optionally, the determining group information for performing multi-screen interaction includes:
and receiving identity determination information of a first terminal which is selected from the terminals contained in the group and is used as a primary device of multi-screen interaction and a second terminal which is selected from the terminals contained in the group and is used as a secondary device of multi-screen interaction.
Optionally, the number of the second terminals is at least 1.
Optionally, the method further includes:
and sending the group information to a multi-screen interaction management terminal for managing the multi-screen interaction process.
Optionally, the controlling, according to the control information, a multi-screen interaction operation of a terminal that needs to perform multi-screen interaction in the group includes:
the method comprises the steps that a selected first terminal serving as a main device of multi-screen interaction is indicated to send a multi-screen interaction request to a second terminal serving as a slave device of the multi-screen interaction;
and indicating a second terminal serving as slave equipment of multi-screen interaction to accept a multi-screen interaction request sent by the first terminal.
Optionally, the controlling, according to the control information, a multi-screen interaction operation of a terminal that needs to perform multi-screen interaction in the group includes:
and indicating the terminals needing multi-screen interaction in the group to start multi-screen interaction operation.
Optionally, the controlling, according to the control information, a multi-screen interaction operation of a terminal that needs to perform multi-screen interaction in the group includes:
and indicating the terminal needing multi-screen interaction in the group to stop multi-screen interaction operation.
The application also provides a device for managing multi-screen interaction, the device includes:
the group determination unit is used for determining a group for multi-screen interaction;
the terminal determining unit is used for determining terminals needing multi-screen interaction in the group;
and the operation control unit is used for controlling multi-screen interaction operation of the terminals needing multi-screen interaction in the group.
Optionally, the determining a terminal that needs to perform multi-screen interaction in the group includes:
selecting a first terminal and a second terminal which need to perform multi-screen interaction from terminals included in the group;
correspondingly, the controlling of the multi-screen interaction operation of the terminal which needs to perform multi-screen interaction in the group includes:
the method comprises the steps that a first terminal is indicated to serve as a main device for multi-screen interaction, and a multi-screen interaction request is sent to a second terminal;
and indicating a second terminal as a slave device of multi-screen interaction to accept the multi-screen interaction request sent by the first terminal.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
determining a group for multi-screen interaction;
determining terminals needing multi-screen interaction in the group;
and controlling multi-screen interaction operation of the terminals needing multi-screen interaction in the group.
The application also provides a device for realizing multi-screen interaction, which comprises:
the group establishing/joining unit is used for establishing or joining a group for multi-screen interaction;
the operation instruction receiving unit is used for receiving operation instructions from the multi-screen interaction management terminal;
and the multi-screen interaction operation unit is used for carrying out multi-screen interaction operation with the appointed terminals in the group according to the operation instruction.
Optionally, the designated terminal includes: the multi-screen interaction system comprises a first terminal serving as a main device of multi-screen interaction or a second terminal serving as a slave device of multi-screen interaction;
correspondingly, the performing multi-screen interaction operation with the designated terminal in the group according to the operation instruction includes:
serving as a first terminal to send a multi-screen interaction request to a second terminal;
or
And the multi-screen interaction request sent by the first terminal is accepted as the second terminal.
The present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, performs the steps of:
establishing or joining a group for multi-screen interaction;
receiving an operation instruction from a multi-screen interaction management terminal;
and performing multi-screen interaction operation with the appointed terminals in the group according to the operation instruction.
The application also provides a device for supporting multi-screen interaction, the device includes:
the group information determining unit is used for determining group information for multi-screen interaction;
the multi-screen interaction management terminal comprises a control information receiving unit, a multi-screen interaction management unit and a multi-screen interaction management unit, wherein the control information receiving unit is used for receiving control information sent by the multi-screen interaction management terminal for managing a multi-screen interaction process;
and the multi-screen interaction operation control unit is used for controlling the multi-screen interaction operation of the terminal needing multi-screen interaction in the group according to the control information.
Optionally, the controlling, according to the control information, a multi-screen interaction operation of a terminal that needs to perform multi-screen interaction in the group includes:
the method comprises the steps that a selected first terminal serving as a main device of multi-screen interaction is indicated to send a multi-screen interaction request to a second terminal serving as a slave device of the multi-screen interaction;
and indicating a second terminal serving as slave equipment of multi-screen interaction to accept a multi-screen interaction request sent by the first terminal.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
determining group information for multi-screen interaction;
receiving control information sent by a multi-screen interaction management terminal for managing a multi-screen interaction process;
and controlling the multi-screen interaction operation of the terminal needing multi-screen interaction in the group according to the control information.
Compared with the prior art, the method has the following advantages:
the method for managing multi-screen interaction introduces a group specially used for multi-screen interaction, takes a terminal needing multi-screen interaction as a member in the group, controls the terminal needing multi-screen interaction in the group, and enables the terminal needing multi-screen interaction to be capable of multi-screen interaction operation. By using the method, all terminals participating in multi-screen interaction can be uniformly managed in a group management mode, and the process of multi-screen interaction is controlled, so that all terminals participating in multi-screen interaction and the process of multi-screen interaction are in a controllable state.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The application provides a method for managing multi-screen interaction, a method for implementing multi-screen interaction, a method for supporting multi-screen interaction, a device corresponding to the method, and a computer readable storage medium. The following embodiments are provided to explain the method, apparatus, and computer-readable storage medium in detail.
A first embodiment of the present application provides a method for managing multi-screen interaction, where an implementation subject of the method is a multi-screen interaction management terminal introduced in the present application, and the management terminal may be any one of a PC, a smart phone, a tablet computer, and other intelligent terminals. In this embodiment, all terminals participating in multi-screen interaction are managed in a manner that the multi-screen interaction management terminal manages the group.
Referring to fig. 1, to understand this embodiment, as shown in fig. 1, the method includes the following steps:
s101, determining a group for multi-screen interaction.
The multi-screen interaction refers to a multimedia sharing technology for simultaneously displaying the same content on different terminals by performing a series of operations such as transmission, control and display of multimedia content among a plurality of intelligent terminals of the same type or different types. At present, the multi-screen interaction technology has a wide Application range, and for example, the multi-screen interaction technology can be applied to APP compatibility testing in a research and development stage of a mobile phone APP (mobile phone Application software), the multi-screen interaction technology is used for synchronously operating the same mobile phone APP on different types of mobile phone terminals, each terminal is monitored, and a compatibility testing result of the mobile phone APP corresponding to each type of mobile phone terminal is obtained, so that the efficiency of APP compatibility testing is improved.
The group refers to a combination of things with the same characteristics, which has a specific theme and related organization rules, for example, when a plurality of objects with the same characteristics need to be subjected to the same operation at the same time, the objects can be combined into a whole, and each object in the group still maintains the original attribute. In this embodiment, a group for performing multi-screen interaction is introduced, so that all terminals participating in multi-screen interaction are in the group, and unified management of the terminals is realized through control and management of the group. The effect of this step is to obtain in advance a group for multi-screen interaction.
The group may be created in various ways, for example, the group may be created locally through the implementation subject of the embodiment, or may be created through a terminal participating in multi-screen interaction or other terminals. In this embodiment, determining a group for performing multi-screen interaction is implemented by receiving information of the group for performing multi-screen interaction created by a terminal, and specifically, receiving information of the group for performing multi-screen interaction created by a login terminal, where the login terminal is one of known terminals participating in multi-screen interaction. Before determining a group for multi-screen interaction, login identification information for logging in the local is required to be provided, login request information sent by a login terminal after the login terminal identifies the login identification information is received, and finally login permission information is returned to the login terminal, so that the login terminal can log in the local through the mode, the local and the login terminal are connected, and local information is provided for the login terminal. The local information is local communication handle and basic equipment information.
In this embodiment, after determining the group for performing the multi-screen interaction, group identification information for joining the group for performing the multi-screen interaction needs to be provided for the terminal to identify, so as to join the group. The group identification information may be a two-dimensional code, a bar code, or other recognizable pattern information that can be recognized.
And S102, determining the terminals needing multi-screen interaction in the group.
After the group for multi-screen interaction is determined in the above steps, the step is used for determining the terminal which needs to be subjected to multi-screen interaction in the group.
The terminals needing multi-screen interaction are terminals which are determined in advance and have multi-screen interaction requirements in specific application scenes, for example, various types of smart phones in APP compatibility test scenes. The terminals requiring multi-screen interaction may include mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), navigation devices, and fixed terminals such as digital TVs, desktop computers, and the like.
A plurality of terminals may be included in the group, which may be obtained by: receiving request information sent by a group adding terminal to join the group for multi-screen interaction after identifying the group identification information provided after the group is established; and receiving the request of the group adding terminal for joining the group for multi-screen interaction. The group adding terminal is a terminal with the function of identifying the group identification information. The group identification information may be any of pattern identification information such as a two-dimensional code or a barcode.
In this embodiment, after the terminals included in the group are obtained, a first terminal and a second terminal that need to perform multi-screen interaction are further selected from the terminals included in the group, the first terminal is operated as a master device in a multi-screen interaction process, the second terminal is operated as a slave device in the multi-screen interaction process to copy the operation of the master device, and the number of the second terminals is at least 1.
It should be noted that, the login terminal for creating the group in step S101 may be a terminal that needs to perform multi-screen interaction. The first terminal and the second terminal may also be selected in other manners, for example, the login terminal of the created group may be selected as the first terminal by default, and the group adding terminal of the group may be selected as the second terminal.
And S103, controlling multi-screen interaction operation of terminals needing multi-screen interaction in the group.
After the terminal needing multi-screen interaction in the group is determined in the steps, the steps are used for controlling multi-screen interaction operation of the terminal needing multi-screen interaction in the group.
In this embodiment, a manner of sending control information for controlling a multi-screen interaction operation of a terminal that needs to perform multi-screen interaction to the terminal that needs to perform multi-screen interaction in the group is adopted, so as to control the multi-screen interaction operation of the terminal that needs to perform multi-screen interaction in the group.
In this embodiment, the multi-screen interaction operation for controlling the terminals in the group that need to perform multi-screen interaction mainly includes the following contents: instructing the first terminal to serve as a main device of multi-screen interaction to send a multi-screen interaction request to the second terminal, specifically instructing the first terminal to send an event synchronization message to the second terminal; and instructing a second terminal to serve as a slave device of multi-screen interaction to receive a multi-screen interaction request sent by the first terminal, specifically to instruct the second terminal to monitor an event synchronization message sent by the first terminal.
The purpose of the terminal that needs to carry out multi-screen interaction in the control group is to manage each terminal that participates in multi-screen interaction in an unified manner, and to control the whole process of multi-screen interaction, therefore, in this embodiment the control the terminal that needs to carry out multi-screen interaction in the group still includes: indicating the first terminal and the second terminal to start multi-screen interaction operation; monitoring a first terminal and a second terminal in multi-screen interaction to obtain required target data; and indicating the first terminal and the second terminal to stop multi-screen interaction operation.
After the first terminal and the second terminal complete the multi-screen interaction operation, the group for performing the multi-screen interaction can be disassembled.
The method for managing multi-screen interaction provided by this embodiment introduces a group specially used for multi-screen interaction, takes a terminal that needs multi-screen interaction as a member in the group, and controls the terminal that needs multi-screen interaction in the group, so that the terminal that needs multi-screen interaction can perform multi-screen interaction operation. By using the method, all terminals participating in multi-screen interaction can be uniformly managed in a group management mode, and the process of multi-screen interaction is controlled, so that all terminals participating in multi-screen interaction and the process of multi-screen interaction are in a controllable state.
A second embodiment of the present application provides a method for implementing multi-screen interaction, where an implementation subject of the method is a terminal participating in multi-screen interaction, that is, a terminal requiring multi-screen interaction in the first embodiment.
As shown in fig. 2, the method for implementing multi-screen interaction provided in this embodiment includes the following steps:
s201, establishing or joining a group for multi-screen interaction.
The function of this step is to enter a group for multi-screen interaction and become one member of the group, and the specific way may be to establish the group or join the group. Corresponding to the first embodiment, if the current implementation subject is the login terminal, the mode of entering the group is to establish group lease; and if the current implementation subject is the group adding terminal, the mode of entering the group is to be a group adding mode.
In this embodiment, before a group for performing multi-screen interaction is established, login identification information provided by a multi-screen interaction management terminal needs to be identified, where the login identification information may be pattern identification information such as a two-dimensional code or a barcode, and the login identification information is identified to log in the multi-screen interaction management terminal, that is, a connection is established with the multi-screen interaction management terminal. And after logging in the multi-screen interaction management terminal, acquiring the information of the multi-screen interaction management terminal and sending the acquired information of the multi-screen interaction management terminal.
In this embodiment, after the group is created, the information of the group needs to be sent, where the information of the group refers to information such as a group ID and a group name.
In this embodiment, the joining of the group for multi-screen interaction refers to sending a request for joining the group to the multi-screen interaction management terminal by identifying group-joining identification information provided by the multi-screen interaction management terminal, and obtaining confirmation information that is sent by the multi-screen interaction management terminal and allows the group to be joined, so as to join the group. In this embodiment, after joining the group, the group code of the joined group needs to be sent.
S202, receiving an operation instruction from a multi-screen interaction management terminal.
After the group for multi-screen interaction is established or added in the above steps and becomes one member of the group, the step is used for receiving the management information from the multi-screen interaction management terminal for controlling the process of multi-screen interaction, so as to be controlled by the multi-screen interaction management terminal.
In this embodiment, the receiving of the operation instruction from the multi-screen interaction management end includes receiving identity selection information of a first terminal serving as a local multi-screen interaction master device or a second terminal serving as a local multi-screen interaction slave device, and receiving an operation item corresponding to the first terminal or the second terminal. Through the steps, the role in the multi-screen interaction can be determined to be the first terminal or the second terminal, and the corresponding operation items can be obtained.
And S203, performing multi-screen interaction operation with the appointed terminals in the group according to the operation instruction.
After receiving the operation instruction from the multi-screen interaction management terminal through the above steps, the step is used for performing multi-screen interaction operation according to the operation instruction.
The designated terminal refers to a first terminal which can be used as a main device for multi-screen interaction or a second terminal which can be used as a slave device for multi-screen interaction, and if the implementation subject of the embodiment is the first terminal, the designated terminal is the second terminal; correspondingly, performing multi-screen interaction operation with the designated terminal in the group according to the operation instruction refers to sending a multi-screen interaction request to the second terminal as the first terminal, specifically sending an event synchronization message to the second terminal. If the implementation subject of the embodiment is the second terminal, the designated terminal is the first terminal; correspondingly, performing a multi-screen interaction operation with the designated terminal in the group according to the operation instruction refers to receiving a multi-screen interaction request sent by the first terminal as the second terminal, specifically, obtaining an event synchronization message sent by the first terminal through monitoring, and preparing to copy the operation of the first terminal.
In the process of multi-screen interaction, it is more common that a plurality of slave devices duplicate the operation of the same master device, or one slave device duplicates the operation of one master device, and this case is also called dual-screen interaction, so the number of the second terminals is at least 1.
In this embodiment, the multi-screen interaction operation with the designated terminal in the group further includes the following processes: and starting multi-screen interaction operation with the first terminal or the second terminal in the group according to a starting instruction sent by the multi-screen interaction management terminal, and stopping multi-screen interaction operation with the first terminal or the second terminal in the group according to an ending instruction sent by the multi-screen interaction management terminal.
It should be noted that the identity selection method as the first terminal and the second terminal may also be implemented in other ways, for example, the first terminal may be selected by default when the group is created, and the second terminal may be selected by default when the group is added by identifying and adding the group identification information.
A third embodiment of the present application provides a method for supporting multi-screen interaction, where an implementation subject of the method is a server, and the server is mainly configured to perform transfer management on control information of a multi-screen interaction management terminal controlling terminals participating in multi-screen interaction, and transfer interaction information between the terminals participating in multi-screen interaction, so as to implement management of multi-screen interaction operations of the terminals participating in multi-screen interaction by the multi-screen interaction management terminal.
As shown in fig. 3, the method for supporting multi-screen interaction provided by the embodiment includes the following steps:
s301, determining group information for multi-screen interaction.
The group information for multi-screen interaction comprises information of a group for multi-screen interaction and information of terminals which are contained in the group and need to be subjected to multi-screen interaction.
The group for performing multi-screen interaction may be created through a terminal, for example, the login terminal in the first embodiment and the login terminal in the second embodiment may be created, and the information of the group obtained after creation is sent, where the login terminal may be used as one of the groups that needs to perform multi-screen interaction, and the group adding terminal enters the group by recognizing the group adding identification information, and sends the information of the group added after joining the group. In this embodiment, the determining group information for performing multi-screen interaction includes: receiving information of a group which is created by a terminal and used for multi-screen interaction, wherein the terminal can be the login terminal; receiving request information for joining a group for multi-screen interaction sent by a group joining terminal; receiving acceptance information allowing the group adding terminal to join a group for multi-screen interaction; and receiving identity determination information of a first terminal which is selected from the terminals contained in the group and is used as a primary device of multi-screen interaction and a second terminal which is selected from the terminals contained in the group and is used as a secondary device of multi-screen interaction, wherein the number of the second terminals is at least 1.
And S302, receiving control information sent by a multi-screen interaction management terminal for managing the multi-screen interaction process.
The method comprises the steps of receiving control information sent by a multi-screen interaction management terminal for managing the process of multi-screen interaction, wherein the control information aims at the group determined in the step for multi-screen interaction, so that the multi-screen interaction management terminal can control the group.
Before this step is implemented, the group information obtained in the above step needs to be sent to the multi-screen interaction management end, so that the information of the multi-screen interaction management end needs to be received first, where the information of the multi-screen interaction management end refers to the basic device information and the communication handle of the multi-screen interaction management end, and for example, the login terminal in the second embodiment can obtain the information of the multi-screen interaction management end by recognizing the login identification information, and send the obtained information of the multi-screen interaction management end. In this embodiment, only the information of the multi-screen interaction management terminal sent by the login terminal needs to be received.
And S303, controlling multi-screen interaction operation of the terminals needing multi-screen interaction in the group according to the control information.
In this embodiment, the controlling, according to the control information, a multi-screen interaction operation of a terminal that needs to perform multi-screen interaction in the group mainly refers to: the method comprises the steps that a selected first terminal serving as a main device of multi-screen interaction is indicated to send a multi-screen interaction request to a second terminal serving as a slave device of the multi-screen interaction; and indicating a second terminal serving as a slave device of multi-screen interaction to accept a multi-screen interaction request sent by the first terminal.
In this embodiment, the controlling, according to the control information, a multi-screen interaction operation of a terminal that needs to perform multi-screen interaction in the group further includes: and indicating the first terminal and the second terminal to start multi-screen interaction operation, and indicating the first terminal and the second terminal to stop multi-screen interaction operation.
The fourth embodiment of the application also provides a method for realizing multi-screen interactive control based on the C terminal, the WebServer, the web terminal and the DataServer.
In this embodiment, the C-side is a terminal that needs to perform multi-screen interaction, the web-side is a multi-screen interaction management side, and the WebServer and the DataServer are server sides. Fig. 4 is a flowchart of the present embodiment, and as shown in fig. 4, the present embodiment includes the following steps:
step 1, starting a terminal C;
step 2, the C terminal initiates connection to the WebServer;
step 2.1, WebServer receives the connection initiated by C end, and sends the communication handle of the connection to C end;
step 2.11, the handshake between the C end and the WebServer is successful, the WebServer can receive the information sent by the C end, and the C end can be identified by the WebServer and manages the maintenance state;
step 3, the C terminal identifies login identification information;
step 4, the C terminal sends the web terminal communication handle and the basic equipment information obtained after identification to the WebServer;
step 4.1, updating the state of the web end;
step 5, generating real-time data;
step 6, the C end sends self data, and the WebServer corresponds to real-time data transmission;
step 6.1, data is persistent;
step 7, identifying the grouping identification information by the C terminal, and performing grouping operation;
step 8, calling a group maintenance interface;
step 9, the C end sends a grouping request to the WebServer;
step 9.1, adding a group operation interface;
step 10, finishing the grouping operation;
step 10.1, WebServer updates the display information of the web end;
step 11, a web side initiates starting and stopping instructions of multi-screen interaction, and simultaneously sends group information to a WebServer;
step 12, the WebServer receives starting and stopping instructions of multi-screen interaction;
and step 12.1, the WebServer sends starting and stopping instructions of multi-screen interaction to the C terminal.
In the foregoing first embodiment, a method for managing multi-screen interaction is provided, and correspondingly, a device for managing multi-screen interaction is also provided in the fifth embodiment of the present application. The device embodiments described below are merely illustrative. Please refer to fig. 5 to understand the embodiment, fig. 5 is a block diagram of a unit of the apparatus provided in the embodiment, and as shown in fig. 5, the apparatus includes:
agroup determination unit 501, configured to determine a group for performing multi-screen interaction;
aterminal determining unit 502, configured to determine a terminal in the group that needs to perform multi-screen interaction;
theoperation control unit 503 is configured to control a multi-screen interaction operation of a terminal that needs to perform multi-screen interaction in the group.
Optionally, the determining a group for performing multi-screen interaction includes:
and receiving information of a group created by the terminal and used for multi-screen interaction.
Optionally, the method further includes:
providing login identification information for logging in a local area;
receiving login request information sent by a login terminal after the login identification information is identified;
returning login permission information to the login terminal;
the information of the group established by the receiving terminal and used for multi-screen interaction comprises the following steps:
and receiving information of a group which is created by the login terminal and used for multi-screen interaction.
Optionally, the method further includes:
providing group identification information for joining the group for multi-screen interaction.
Optionally, the determining a terminal that needs to perform multi-screen interaction in the group includes:
receiving request information for joining the group for multi-screen interaction sent by the group joining terminal after identifying the group identification information;
and receiving the request of the group adding terminal for adding into the group for multi-screen interaction.
Optionally, the controlling of the multi-screen interaction operation of the terminal in the group that needs to perform multi-screen interaction is implemented in the following manner:
and sending control information for controlling multi-screen interaction operation of the terminal needing multi-screen interaction to the terminal needing multi-screen interaction.
Optionally, the determining a terminal that needs to perform multi-screen interaction in the group includes:
selecting a first terminal and a second terminal which need to perform multi-screen interaction from terminals included in the group;
correspondingly, the controlling of the multi-screen interaction operation of the terminal which needs to perform multi-screen interaction in the group includes:
the method comprises the steps that a first terminal is indicated to serve as a main device for multi-screen interaction, and a multi-screen interaction request is sent to a second terminal;
and indicating a second terminal as a slave device of multi-screen interaction to accept the multi-screen interaction request sent by the first terminal.
Optionally, the number of the second terminals is at least 1.
Optionally, the controlling the terminal that needs to perform multi-screen interaction in the group includes:
and indicating the terminals needing multi-screen interaction in the group to start multi-screen interaction operation.
Optionally, the controlling the terminal that needs to perform multi-screen interaction in the group includes:
and indicating the terminals needing multi-screen interaction in the group to stop multi-screen interaction operation.
Optionally, the controlling the terminal that needs to perform multi-screen interaction in the group further includes:
and monitoring the process of multi-screen interaction of the terminal which needs multi-screen interaction.
Optionally, the method further includes:
and resolving the group for multi-screen interaction.
In the foregoing embodiments, a method and an apparatus for managing multi-screen interactions are provided, and a sixth embodiment of the present application further provides a computer-readable storage medium for managing multi-screen interactions. Embodiments of the computer-readable storage medium provided in the present application are described more simply, and for relevant portions, reference may be made to the corresponding descriptions of the above method embodiments. The embodiments described below are merely illustrative.
The present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
determining a group for multi-screen interaction;
determining terminals needing multi-screen interaction in the group;
and controlling multi-screen interaction operation of the terminals needing multi-screen interaction in the group.
Optionally, the determining a group for performing multi-screen interaction includes:
and receiving information of a group created by the terminal and used for multi-screen interaction.
Optionally, the method further includes:
providing login identification information for logging in a local area;
receiving login request information sent by a login terminal after the login identification information is identified;
returning login permission information to the login terminal;
the information of the group established by the receiving terminal and used for multi-screen interaction comprises the following steps:
and receiving information of a group which is created by the login terminal and used for multi-screen interaction.
Optionally, the method further includes:
providing group identification information for joining the group for multi-screen interaction.
Optionally, the determining a terminal that needs to perform multi-screen interaction in the group includes:
receiving request information for joining the group for multi-screen interaction sent by the group joining terminal after identifying the group identification information;
and receiving the request of the group adding terminal for adding into the group for multi-screen interaction.
Optionally, the controlling of the multi-screen interaction operation of the terminal in the group that needs to perform multi-screen interaction is implemented in the following manner:
and sending control information for controlling multi-screen interaction operation of the terminal needing multi-screen interaction to the terminal needing multi-screen interaction.
Optionally, the determining a terminal that needs to perform multi-screen interaction in the group includes:
selecting a first terminal and a second terminal which need to perform multi-screen interaction from terminals included in the group;
correspondingly, the controlling of the multi-screen interaction operation of the terminal which needs to perform multi-screen interaction in the group includes:
the method comprises the steps that a first terminal is indicated to serve as a main device for multi-screen interaction, and a multi-screen interaction request is sent to a second terminal;
and indicating a second terminal as a slave device of multi-screen interaction to accept the multi-screen interaction request sent by the first terminal.
Optionally, the number of the second terminals is at least 1.
Optionally, the controlling the terminal that needs to perform multi-screen interaction in the group includes:
and indicating the terminals needing multi-screen interaction in the group to start multi-screen interaction operation.
Optionally, the controlling the terminal that needs to perform multi-screen interaction in the group includes:
and indicating the terminals needing multi-screen interaction in the group to stop multi-screen interaction operation.
Optionally, the controlling the terminal that needs to perform multi-screen interaction in the group further includes:
and monitoring the process of multi-screen interaction of the terminal which needs multi-screen interaction.
Optionally, the method further includes:
and resolving the group for multi-screen interaction.
The second embodiment provides a method for implementing multi-screen interaction, and correspondingly, a seventh embodiment of the present application further provides a device for implementing multi-screen interaction, which is basically similar to the method embodiment, and therefore the description is relatively simple, and relevant portions refer to the corresponding descriptions of the method embodiment provided above. The device embodiments described below are merely illustrative. Please refer to fig. 6 for understanding the embodiment, fig. 6 is a block diagram of a unit of the apparatus provided in the embodiment, and as shown in fig. 6, the apparatus includes:
a group establishing/joiningunit 601, configured to establish or join a group for performing multi-screen interaction;
an operationinstruction receiving unit 602, configured to receive an operation instruction from a multi-screen interaction management end;
and a multi-screeninteraction operation unit 603, configured to perform a multi-screen interaction operation with the designated terminal in the group according to the operation instruction.
Optionally, the designated terminal includes: the multi-screen interaction system comprises a first terminal serving as a main device of multi-screen interaction or a second terminal serving as a slave device of multi-screen interaction;
correspondingly, the performing multi-screen interaction operation with the designated terminal in the group according to the operation instruction includes:
serving as a first terminal to send a multi-screen interaction request to a second terminal;
or
And the multi-screen interaction request sent by the first terminal is accepted as the second terminal.
Optionally, the number of the second terminals is at least 1.
Optionally, the receiving an operation instruction from a multi-screen interaction management end includes:
the method comprises the steps of receiving identity selection information of a first terminal serving as multi-screen interaction master equipment or a second terminal serving as multi-screen interaction slave equipment, and receiving operation items corresponding to the first terminal or the second terminal.
Optionally, the joining a group for performing multi-screen interaction includes:
sending a group joining request to a multi-screen interaction management terminal in a mode of identifying group joining identification information provided by the multi-screen interaction management terminal;
and receiving confirmation information which is sent by the multi-screen interaction management terminal and allowed to join the group.
Optionally, before the establishing a group for performing multi-screen interaction, the method further includes:
and identifying login identification information provided by the multi-screen interaction management terminal, and logging in the multi-screen interaction management terminal.
Optionally, the performing, according to the operation instruction, a multi-screen interaction operation with a designated terminal in the group includes:
and starting multi-screen interaction operation with the appointed terminals in the group according to the operation instruction.
Optionally, the performing, according to the operation instruction, a multi-screen interaction operation with a designated terminal in the group includes:
and stopping multi-screen interaction operation with the appointed terminals in the group according to the operation instruction.
In the foregoing embodiments, a method and an apparatus for implementing multi-screen interaction are provided, and in addition, an eighth embodiment of the present application further provides a computer-readable storage medium for implementing multi-screen interaction. Embodiments of the computer-readable storage medium provided in the present application are described more simply, and for relevant portions, reference may be made to the corresponding descriptions of the above method embodiments. The embodiments described below are merely illustrative.
The present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
establishing or joining a group for multi-screen interaction;
receiving an operation instruction from a multi-screen interaction management terminal;
and performing multi-screen interaction operation with the appointed terminals in the group according to the operation instruction.
Optionally, the designated terminal includes: the multi-screen interaction system comprises a first terminal serving as a main device of multi-screen interaction or a second terminal serving as a slave device of multi-screen interaction;
correspondingly, the performing multi-screen interaction operation with the designated terminal in the group according to the operation instruction includes:
serving as a first terminal to send a multi-screen interaction request to a second terminal;
or
And the multi-screen interaction request sent by the first terminal is accepted as the second terminal.
Optionally, the number of the second terminals is at least 1.
Optionally, the receiving an operation instruction from a multi-screen interaction management end includes:
the method comprises the steps of receiving identity selection information of a first terminal serving as multi-screen interaction master equipment or a second terminal serving as multi-screen interaction slave equipment, and receiving operation items corresponding to the first terminal or the second terminal.
Optionally, the joining a group for performing multi-screen interaction includes:
sending a group joining request to a multi-screen interaction management terminal in a mode of identifying group joining identification information provided by the multi-screen interaction management terminal;
and receiving confirmation information which is sent by the multi-screen interaction management terminal and allowed to join the group.
Optionally, before the establishing a group for performing multi-screen interaction, the method further includes:
and identifying login identification information provided by the multi-screen interaction management terminal, and logging in the multi-screen interaction management terminal.
Optionally, the performing, according to the operation instruction, a multi-screen interaction operation with a designated terminal in the group includes:
and starting multi-screen interaction operation with the appointed terminals in the group according to the operation instruction.
Optionally, the performing, according to the operation instruction, a multi-screen interaction operation with a designated terminal in the group includes:
and stopping multi-screen interaction operation with the appointed terminals in the group according to the operation instruction.
The third embodiment provides a method for supporting multi-screen interaction, and correspondingly, the ninth embodiment of the present application further provides an apparatus for supporting multi-screen interaction, which is substantially similar to the method embodiments, so that the description is simple, and the related portions refer to the corresponding descriptions of the method embodiments provided above. The device embodiments described below are merely illustrative. Referring to fig. 7, to understand the embodiment, fig. 7 is a block diagram of a unit of the apparatus provided in the embodiment, as shown in fig. 7, the apparatus includes:
a groupinformation determining unit 701 configured to determine group information for performing multi-screen interaction;
a controlinformation receiving unit 702, configured to receive control information sent by a multi-screen interaction management terminal for managing a multi-screen interaction process;
and a multi-screen interactionoperation control unit 703, configured to control, according to the control information, a multi-screen interaction operation of a terminal that needs to perform multi-screen interaction in the group.
Optionally, the determining group information for performing multi-screen interaction includes:
and receiving information of a group created by the terminal and used for multi-screen interaction.
Optionally, the determining group information for performing multi-screen interaction includes:
receiving request information for joining a group for multi-screen interaction sent by a group joining terminal;
and receiving acceptance information allowing the group adding terminal to join a group for multi-screen interaction.
Optionally, the determining group information for performing multi-screen interaction includes:
and receiving identity determination information of a first terminal which is selected from the terminals contained in the group and is used as a primary device of multi-screen interaction and a second terminal which is selected from the terminals contained in the group and is used as a secondary device of multi-screen interaction.
Optionally, the number of the second terminals is at least 1.
Optionally, the method further includes:
and sending the group information to a multi-screen interaction management terminal for managing the multi-screen interaction process.
Optionally, the controlling, according to the control information, a multi-screen interaction operation of a terminal that needs to perform multi-screen interaction in the group includes:
the method comprises the steps that a selected first terminal serving as a main device of multi-screen interaction is indicated to send a multi-screen interaction request to a second terminal serving as a slave device of the multi-screen interaction;
and indicating a second terminal serving as slave equipment of multi-screen interaction to accept a multi-screen interaction request sent by the first terminal.
Optionally, the controlling, according to the control information, a multi-screen interaction operation of a terminal that needs to perform multi-screen interaction in the group includes:
and indicating the terminals needing multi-screen interaction in the group to start multi-screen interaction operation.
Optionally, the controlling, according to the control information, a multi-screen interaction operation of a terminal that needs to perform multi-screen interaction in the group includes:
and indicating the terminal needing multi-screen interaction in the group to stop multi-screen interaction operation.
In the foregoing embodiments, a method and an apparatus for supporting multi-screen interaction are provided, and a tenth embodiment of the present application further provides a computer-readable storage medium for supporting multi-screen interaction. Embodiments of the computer-readable storage medium provided in the present application are described more simply, and for relevant portions, reference may be made to the corresponding descriptions of the above method embodiments. The embodiments described below are merely illustrative.
The present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
determining group information for multi-screen interaction;
receiving control information sent by a multi-screen interaction management terminal for managing a multi-screen interaction process;
and controlling the multi-screen interaction operation of the terminal needing multi-screen interaction in the group according to the control information.
Optionally, the determining group information for performing multi-screen interaction includes:
and receiving information of a group created by the terminal and used for multi-screen interaction.
Optionally, the determining group information for performing multi-screen interaction includes:
receiving request information for joining a group for multi-screen interaction sent by a group joining terminal;
and receiving acceptance information allowing the group adding terminal to join a group for multi-screen interaction.
Optionally, the determining group information for performing multi-screen interaction includes:
and receiving identity determination information of a first terminal which is selected from the terminals contained in the group and is used as a primary device of multi-screen interaction and a second terminal which is selected from the terminals contained in the group and is used as a secondary device of multi-screen interaction.
Optionally, the number of the second terminals is at least 1.
Optionally, the method further includes:
and sending the group information to a multi-screen interaction management terminal for managing the multi-screen interaction process.
Optionally, the controlling, according to the control information, a multi-screen interaction operation of a terminal that needs to perform multi-screen interaction in the group includes:
the method comprises the steps that a selected first terminal serving as a main device of multi-screen interaction is indicated to send a multi-screen interaction request to a second terminal serving as a slave device of the multi-screen interaction;
and indicating a second terminal serving as slave equipment of multi-screen interaction to accept a multi-screen interaction request sent by the first terminal.
Optionally, the controlling, according to the control information, a multi-screen interaction operation of a terminal that needs to perform multi-screen interaction in the group includes:
and indicating the terminals needing multi-screen interaction in the group to start multi-screen interaction operation.
Optionally, the controlling, according to the control information, a multi-screen interaction operation of a terminal that needs to perform multi-screen interaction in the group includes:
and indicating the terminal needing multi-screen interaction in the group to stop multi-screen interaction operation.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
1. Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
2. As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application, and those skilled in the art can make variations and modifications without departing from the spirit and scope of the present application, therefore, the scope of the present application should be determined by the claims that follow.
Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application, and those skilled in the art can make variations and modifications without departing from the spirit and scope of the present application, therefore, the scope of the present application should be determined by the claims that follow.