CN116860189A - Control method and terminal for convenient switching of single screen and double screens - Google Patents

Control method and terminal for convenient switching of single screen and double screens Download PDF

Info

Publication number
CN116860189A
CN116860189A CN202210312073.9A CN202210312073A CN116860189A CN 116860189 A CN116860189 A CN 116860189A CN 202210312073 A CN202210312073 A CN 202210312073A CN 116860189 A CN116860189 A CN 116860189A
Authority
CN
China
Prior art keywords
screen
double
video stream
display
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210312073.9A
Other languages
Chinese (zh)
Inventor
刘艳涛
蓝贞发
郭峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Star Net eVideo Information Systems Co Ltd
Original Assignee
Fujian Star Net eVideo Information Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Star Net eVideo Information Systems Co Ltd filed Critical Fujian Star Net eVideo Information Systems Co Ltd
Priority to CN202210312073.9A priority Critical patent/CN116860189A/en
Publication of CN116860189A publication Critical patent/CN116860189A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Abstract

The invention discloses a control method and a terminal for convenient single-screen and double-screen switching, wherein the method comprises the following steps: when entering a double-screen mode, an operation interface in a first video stream is sent to control equipment, and a playing video in a second video stream is output to a main screen for display; and receiving operation information of the control equipment on the operation interface, and outputting the playing video responded by the operation information to the main screen for display as an updated second video stream. According to the invention, two special hardware screens are not required to be equipped, so that the interface operation and the screen display of the user cannot conflict, and the conflict problem of the screen display and the interface operation can be solved conveniently and rapidly with low cost.

Description

Control method and terminal for convenient switching of single screen and double screens
Technical Field
The invention relates to the technical field of screen display control, in particular to a control method and a terminal for conveniently switching single screen and double screens.
Background
When a user uses a single-screen product which can only be connected with one display screen, the operator and the viewer see the same screen, so that the operator cannot play the content in the next link without affecting the viewer to watch the screen to play the content. When an operator performs the operation of content playing preparation, the interface operation process can be watched by a viewer, such as searching and searching scenes of playing content, previewing and playing confirmation content and the like, and the single-screen product has a plurality of inconveniences in the use process of public viewing; if the double-screen product is adopted for use, two special hardware screens are needed to be equipped, one is used for displaying and the other is used for controlling, and the two screens are matched for use, so that the cost is high, and the use is not convenient enough.
There are also some applications of screen-casting, for example, screen-casting the display content of the mobile phone end to a television. In this way, the television serves as a display screen, resembling a projection screen, displaying the contents of the cell phone interface. When other operations are performed on the mobile phone or the display needs to be switched, the current screen projection is required to be ended, the display can be performed on the television end again after the screen projection is performed again on the content to be switched, and the control operation cannot be performed on the mobile phone end while the screen projection display is established.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: the control method and the terminal for conveniently switching the single screen and the double screens are provided, so that the conflict problem of screen display and interface operation is conveniently solved at low cost.
In order to solve the technical problems, the invention adopts the following technical scheme:
a control method for conveniently switching single screen and double screens comprises the following steps:
when entering a double-screen mode, an operation interface in a first video stream is sent to control equipment, and a playing video in a second video stream is output to a main screen for display;
and receiving operation information of the control equipment on the operation interface, and outputting the playing video responded by the operation information to a main screen for display as an updated second video stream.
In order to solve the technical problems, the invention adopts another technical scheme that:
the control terminal comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the processor realizes each step in the control method for conveniently switching the single screen and the double screens when executing the computer program.
The invention has the beneficial effects that: for a single-screen product, only one output interface is connected to a main screen, the control method and the terminal for conveniently switching between the single-screen product and the double-screen product can output two paths of different video streams, when the double-screen mode is entered, an operation interface in a first video stream is sent to control equipment, a play video in a second video stream is output to the main screen for display, then operation information of a user on the control equipment is received, the play video corresponding to the operation information is obtained, and the play video corresponding to the operation information is output to the main screen for updating and displaying as an updated second video stream, so that two special hardware display screens are not needed, interface operation and screen display of the user can not be in conflict, and the problem of conflict between the screen display and the interface operation can be solved conveniently and rapidly at low cost.
Drawings
FIG. 1 is a schematic flow chart of a control method for conveniently switching between single and double screens according to an embodiment of the invention;
fig. 2 is a schematic structural diagram of a control terminal with single and double screens convenient to switch according to an embodiment of the present invention.
Description of the reference numerals:
1. a control terminal with single screen and double screens convenient to switch; 2. a processor; 3. a memory.
Detailed Description
In order to describe the technical contents, the achieved objects and effects of the present invention in detail, the following description will be made with reference to the embodiments in conjunction with the accompanying drawings.
Referring to fig. 1, a control method for convenient switching between single screen and double screen includes the steps of:
when entering a double-screen mode, an operation interface in a first video stream is sent to control equipment, and a playing video in a second video stream is output to a main screen for display;
and receiving operation information of the control equipment on the operation interface, and outputting the playing video responded by the operation information to a main screen for display as an updated second video stream.
From the above description, the beneficial effects of the invention are as follows: for a single-screen product, only one output interface is connected to the main screen, two paths of different video streams can be output, when the double-screen mode is entered, the operation interface in the first video stream is sent to the control equipment, the playing video in the second video stream is output to the main screen for display, then the operation information of a user in the control equipment is received, the playing video corresponding to the operation information is obtained, and the playing video corresponding to the operation information is output to the main screen for updating display as the updated second video stream, so that two special hardware display screens are not needed to be arranged, interface operation and screen display of the user can not be in conflict, and the problem of conflict between screen display and interface operation can be solved conveniently and rapidly at low cost.
Further, the method also comprises the following steps: in the single screen mode, outputting the first video stream to a main screen by default for display;
when the single-screen mode is switched to the double-screen mode, the step of outputting the playing video in the second video stream to the main screen for display is specifically as follows: and switching the output video stream of the main screen from the first video stream to the second video stream so as to output the playing video in the second video stream to the main screen for display.
As can be seen from the above description, under the existing display framework, the underlying logic defaults to using the first video stream as the display content of the main screen and only the first video stream can be manipulated; when the single-screen mode is switched to the double-screen mode, the display content of the main screen is switched from a default first video stream to a second video stream, and an operation interface in the first video stream is sent to the operation equipment to perform interface operation, so that the output display of the main screen is ensured not to conflict with the interface operation, and the underlying logic is not required to be modified.
Further, the method also comprises the following steps:
and when the double-screen mode is switched back to the single-screen mode, switching the display video stream of the main screen from the second video stream to the first video stream.
As can be seen from the above description, in the single-screen mode, the display video stream of the main screen is kept as the default first video stream, so as to achieve the effect of switching from the dual-screen different display mode to the single-screen mode.
Further, the sending the operation interface in the first video stream to the control device specifically includes:
recording the operation interface in the first video stream, packaging the operation interface into a video stream, and pushing the video stream to the control equipment.
As can be seen from the above description, the operation interface in the default video stream can be acquired by the control device for independent control through screen recording.
Further, the receiving the operation information of the operation device on the operation interface specifically includes:
receiving relative coordinate information of the operation of the control equipment on the operation interface;
and converting the relative coordinate information into real coordinate information according to the proportional relation between the control equipment and the main screen, and taking the real coordinate information as operation information.
From the above description, it is known that the operation event performed on the main screen is simulated by performing coordinate transformation on the operation of the control device, so as to achieve the purpose of controlling the single-screen product by the control device.
Further, the proportional relationship between the control device and the main screen is specifically a proportional relationship between the control device and the main screen in resolution.
From the above description, the purpose of simulating the operation of the main screen is achieved through the proportional relation in resolution.
Further, the method specifically includes the following steps when entering the dual-screen mode: when receiving confirmation information which is sent by the control equipment and enters the double-screen mode, switching the single-screen mode to the double-screen mode;
the method also comprises the steps of: and when receiving confirmation information of exiting the double-screen mode triggered by the control equipment through a display button or a combined key, switching the double-screen mode back to the single-screen mode.
From the above description, it is known that the control device can switch the current mode in a plurality of ways, so as to facilitate the user to switch the dual-screen mode and the single-screen mode.
Further, the switching between the single screen mode and the double screen mode is notified to the control device through an HTTP protocol and a broadcast message.
As is apparent from the above description, the communication connection with the manipulation device is realized by the HTTP protocol and the broadcast message.
Further, the control device is a mobile device.
From the above description, the mobile device is used for controlling the main screen at the current popularization of the mobile device, so that the mobile device has high universality and convenience.
Referring to fig. 2, a control terminal for convenient single-screen and double-screen switching includes a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor implements each step in the control method for convenient single-screen and double-screen switching when executing the computer program.
The control method and the terminal for conveniently switching the single screen and the double screens can be suitable for scenes needing to be simultaneously displayed and controlled, such as a main display screen of a household audio and video playing device, an external display screen of a display field, a television, a projector and the like, and the control method and the terminal are described in the following specific embodiments:
referring to fig. 1, a first embodiment of the present invention is as follows:
a control method for conveniently switching single screen and double screens comprises the following steps:
s1, outputting a first video stream to a main screen by default for display in a single screen mode;
in this embodiment, only one output interface of the single-screen product is connected to the main screen, the system on the single-screen product is an android system, the system defaults to support two paths of different video streams (including a first video stream and a second video stream) to be displayed, the two paths of different video streams correspond to the virtual Display screen Display0 and the virtual Display screen Display1 respectively, when the system defaults to be started, the content of the virtual Display screen Display0 is output to the main screen to be displayed, and only the Display0 can perform operation. The DisPlay0 correspondingly displays the first video stream, and the DisPlay1 correspondingly displays the second video stream, so that in the single-screen mode, a single-screen product defaults to output the playing video in the first video stream to the main screen for DisPlay;
s2, when entering a double-screen mode, an operation interface in a first video stream is sent to control equipment, and a playing video in a second video stream is output to a main screen for display;
in step S2, the outputting the playing video in the second video stream to the main screen for displaying specifically includes: and switching the display video stream of the main screen from the first video stream to the second video stream so as to output the playing video in the second video stream to the main screen for display.
In this embodiment, the control device is a mobile device, that is, a mobile device mobile phone or tablet needs to be equipped, and the APP matched with the two-dimensional code download and installation provided by the specific portal of the single-screen product is scanned by connecting with an RJ45 wired network and a Wi-Fi wireless network;
in the present embodiment, the switching of the single screen mode and the double screen mode is notified to the manipulation device by the HTTP protocol and the broadcast message. Therefore, when the user opens the APP and clicks a corresponding touch screen entry on the mobile device, the user notifies the single-screen product through the HTTP protocol to confirm whether to enter the double-screen different display mode, and when receiving confirmation information which is sent by the control device and enters the double-screen mode, the user switches the single-screen mode to the double-screen mode.
The sending the operation interface in the first video stream to the control device specifically includes:
recording an operation interface in a first video stream, packaging the operation interface into a video stream, and pushing the video stream to the control equipment;
in the dual-screen mode, screen information of the virtual Display screen Display0 is recorded and video streams are packaged through screen recording, the video streams are pushed to the mobile device through RTSP service, the mobile device is responsible for receiving the video streams and creating a player to play so as to realize real-time Display of an operation page of the virtual Display screen Display0, and meanwhile, a single-screen product switches the main screen Display of the system to the virtual Display screen Display1.
S3, receiving operation information of the control equipment on the operation interface, and outputting the playing video responded by the operation information to the main screen for display as an updated second video stream.
The method for receiving the operation information of the control equipment on the operation interface specifically comprises the following steps:
s31, receiving relative coordinate information of operation of the control equipment on an operation interface;
s32, converting the relative coordinate information into real coordinate information according to the proportional relation between the control equipment and the main screen, and taking the real coordinate information as operation information.
The proportional relation between the control device and the main screen is specifically a proportional relation between the control device and the main screen in resolution.
Therefore, in the dual-screen different display mode, it is assumed that gesture operations performed on the mobile device, such as a touch click event, are performed, relative coordinate information is collected by the mobile device, and is packaged and pushed to a single-screen product through WebSocket (full duplex communication protocol based on TCP), after the single-screen product receives the relative coordinate information, the single-screen product converts the relative coordinate information according to the resolution ratio to obtain real coordinate information, and then performs a simulated touch click event, so that the purpose of controlling the single-screen product by the mobile device is achieved, and other gesture operations are the same.
After the mobile device is controlled, the single-screen product displays the corresponding content page according to the operation of the mobile device. When video is requested on an operation interface of the mobile device, the mobile device collects relative coordinate information, packages and pushes the relative coordinate information to a single-screen product through WebSocket, the single-screen product receives the relative coordinate information and then converts the relative coordinate information according to the resolution ratio to obtain real coordinate information, then a simulated touch click event is carried out, then a play video corresponding to the touch click event is obtained, the play video is displayed to a display1 as an updated second video stream, then the display1 outputs the updated second video stream to a main screen connected with the single-screen device for display, and the screen of the mobile device continues to display the operation interface, so that the aim of double-screen abnormal display is achieved.
And S4, switching the display video stream of the main screen from the second video stream to the first video stream when the double-screen mode is switched back to the single-screen mode.
In this embodiment, when receiving the confirmation information of exiting the dual-screen mode triggered by the control device through the display button or through the combination button, the single-screen product switches the dual-screen mode back to the single-screen mode.
Wherein the display button is an exit control button, and the combination key can be a combination of a volume down key and a volume up key, a combination of a power-on key and a volume down key, or a combination of a power-on key and a volume up key, etc. At this time, the mobile device switches the main screen output of the system to Display0 by informing the single screen product through the HTTP protocol and the broadcast message, so as to achieve the effect of switching from the double-screen different Display mode to the single screen mode.
Referring to fig. 2, a second embodiment of the present invention is as follows:
the control terminal 1 with single and double screens convenient to switch comprises a memory 3, a processor 2 and a computer program stored in the memory 3 and capable of running on the processor 2, wherein the processor 2 realizes the steps of the first embodiment when executing the computer program.
In summary, for a single-screen product, only one output interface is connected to a main screen, in addition, in the bottom logic, a first video stream is displayed as the main screen and only the first video stream can be controlled, and the control method and terminal for the single-screen product, which are provided by the invention, can output two paths of video streams.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent changes made by the specification and drawings of the present invention, or direct or indirect application in the relevant art, are included in the scope of the present invention.

Claims (10)

1. The control method for the convenient switching of the single screen and the double screens is characterized by comprising the following steps:
when entering a double-screen mode, an operation interface in a first video stream is sent to control equipment, and a playing video in a second video stream is output to a main screen for display;
and receiving operation information of the control equipment on the operation interface, and outputting the playing video responded by the operation information to a main screen for display as an updated second video stream.
2. The control method for single and double screen convenient switching according to claim 1, further comprising the steps of: in the single screen mode, outputting the first video stream to a main screen by default for display;
when the single-screen mode is switched to the double-screen mode, the step of outputting the playing video in the second video stream to the main screen for display is specifically as follows: and switching the output video stream of the main screen from the first video stream to the second video stream so as to output the playing video in the second video stream to the main screen for display.
3. The control method for single and double screen convenient switching according to claim 2, further comprising the steps of:
and when the double-screen mode is switched back to the single-screen mode, switching the display video stream of the main screen from the second video stream to the first video stream.
4. The method for controlling convenient switching between single and double screens according to claim 1, wherein the step of sending the operation interface in the first video stream to the control device is specifically:
recording the operation interface in the first video stream, packaging the operation interface into a video stream, and pushing the video stream to the control equipment.
5. The method for controlling convenient single-screen and double-screen switching according to claim 1, wherein the receiving the operation information of the control device on the operation interface is specifically:
receiving relative coordinate information of the operation of the control equipment on the operation interface;
and converting the relative coordinate information into real coordinate information according to the proportional relation between the control equipment and the main screen, and taking the real coordinate information as operation information.
6. The method for controlling convenient switching between single and double screens according to claim 5, wherein the proportional relationship between the control device and the main screen is specifically a proportional relationship between the control device and the main screen in resolution.
7. The control method for the convenient switching between the single screen and the double screen according to claim 1, wherein the method is specifically characterized in that when the mode of the double screen is entered: when receiving confirmation information which is sent by the control equipment and enters the double-screen mode, switching the single-screen mode to the double-screen mode;
the method also comprises the steps of: and when receiving confirmation information of exiting the double-screen mode triggered by the control equipment through a display button or a combined key, switching the double-screen mode back to the single-screen mode.
8. The method for controlling single and double screen convenient switching according to claim 7, wherein the switching between the single screen mode and the double screen mode is notified to the control device through HTTP protocol and broadcast message.
9. The method for controlling convenient single-screen and double-screen switching according to any one of claims 1 to 8, wherein the control device is a mobile device.
10. The control terminal for the single-screen and double-screen convenient switching comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, and is characterized in that the processor realizes each step in the control method for the single-screen and double-screen convenient switching according to any one of claims 1 to 9 when executing the computer program.
CN202210312073.9A 2022-03-28 2022-03-28 Control method and terminal for convenient switching of single screen and double screens Pending CN116860189A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210312073.9A CN116860189A (en) 2022-03-28 2022-03-28 Control method and terminal for convenient switching of single screen and double screens

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210312073.9A CN116860189A (en) 2022-03-28 2022-03-28 Control method and terminal for convenient switching of single screen and double screens

Publications (1)

Publication Number Publication Date
CN116860189A true CN116860189A (en) 2023-10-10

Family

ID=88222130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210312073.9A Pending CN116860189A (en) 2022-03-28 2022-03-28 Control method and terminal for convenient switching of single screen and double screens

Country Status (1)

Country Link
CN (1) CN116860189A (en)

Similar Documents

Publication Publication Date Title
CN111741372B (en) Screen projection method for video call, display device and terminal device
US10114522B2 (en) Method of controlling display of display device by mobile terminal and mobile terminal for the same
CN103338398B (en) Mobile terminal controls method and the mobile terminal of Set Top Box
WO2020244266A1 (en) Remote control method for smart television, mobile terminal, and smart television
US9088814B2 (en) Image display method and apparatus
US8711285B2 (en) Output device, source apparatus, television set, system, output method, program, and recording medium
CN109618177A (en) Method for processing video frequency, device, electronic equipment and computer readable storage medium
US20090295998A1 (en) Information processing device, display method and program
CN103037256A (en) Method for sharing screen between mobile terminal and TV receiving terminal and TV receiving terminal
US20240053944A1 (en) Display apparatus and method for controlling screen projections from multiple devices to same screen
US20070011706A1 (en) Video browsing system and method
US11943514B2 (en) EPG interface presentation method and display apparatus
CN106598213A (en) Virtual reality device, and control method and system thereof
CN103748586B (en) Smart television
CN114281288A (en) Screen projection processing method and device and electronic equipment
CN113518257A (en) Multi-system screen projection processing method and equipment
CN111385631A (en) Display device, communication method and storage medium
CN116860189A (en) Control method and terminal for convenient switching of single screen and double screens
CN103782603B (en) The system and method that user interface shows
KR101812172B1 (en) Remote controller and method for processing data in multimedia device
CN112073812B (en) Application management method on smart television and display device
CN111026497A (en) Device for providing multiple screens and method for dynamically configuring multiple screens
US20100146578A1 (en) System and method for providing an embedded test signal from a multimedia processor
CN111953838A (en) Call dialing method, display device and mobile terminal
CN113031890A (en) Method and device for controlling mobile terminal to perform screen projection interaction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination