CN114327321A - Wireless screen projection different-display different-touch method and system thereof - Google Patents

Wireless screen projection different-display different-touch method and system thereof Download PDF

Info

Publication number
CN114327321A
CN114327321A CN202011070249.1A CN202011070249A CN114327321A CN 114327321 A CN114327321 A CN 114327321A CN 202011070249 A CN202011070249 A CN 202011070249A CN 114327321 A CN114327321 A CN 114327321A
Authority
CN
China
Prior art keywords
transmitting
virtual
display
input
transmitting device
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
CN202011070249.1A
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.)
Shanghai Sunmi Technology Group Co Ltd
Original Assignee
Shanghai Sunmi Technology Group 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 Shanghai Sunmi Technology Group Co Ltd filed Critical Shanghai Sunmi Technology Group Co Ltd
Priority to CN202011070249.1A priority Critical patent/CN114327321A/en
Publication of CN114327321A publication Critical patent/CN114327321A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method and a system for wireless screen projection different display different touch, comprising the following steps: the method comprises the steps of establishing a transmitting device and a receiving device into a wireless local area network; the transmitting device creates a virtual display device and a virtual input device; the receiving device is connected with the transmitting device through the wireless local area network and prepares to forward the input event; the receiving device forwards the received input event to the transmitting device; and the virtual input equipment of the transmitting device collects the input events, binds the collected input events to the virtual display equipment, and updates the display interface. The technical scheme provided by the invention adopts wireless screen projection different-display different-touch, can realize free switching of single screen and double screens, and has good interactivity.

Description

Wireless screen projection different-display different-touch method and system thereof
Technical Field
The invention relates to the field of communication, in particular to a wireless screen projection different-display different-touch method and a wireless screen projection different-display different-touch system.
Background
At present, there are two general forms of desktop cash register devices on the market: single screen and dual screen; in the double-screen form, the two screens are mostly connected through physical wires, so that the distance between the two screens is limited, the longer the wire is, the higher the quality requirement on the wire is, the faster the signal attenuation is, and the wire layout in shops and supermarkets is particularly troublesome and unsightly, and the wire length is generally fixed in the factory leaving stage of manufacturers, so that the flexibility in equipment layout is lacked, the free switching of single and double screens cannot be realized, and the interactivity is not available.
Therefore, how to improve the flexibility of the device layout and achieve the free switching between the single screen and the dual screens and how to improve the interactivity of the device to meet the diversified demands in the market are still the urgent needs of the industry.
Disclosure of Invention
In view of the above, the present invention provides a method and a system for wirelessly projecting different-display different-touch on a screen, which can realize free switching between single and dual screens and have good interactivity.
The invention provides a wireless screen projection different-display different-touch method, which comprises the following steps:
the method comprises the steps of establishing a transmitting device and a receiving device into a wireless local area network;
the transmitting device creates a virtual display device and a virtual input device;
the receiving device is connected with the transmitting device through the wireless local area network and prepares to forward an input event;
the receiving device forwarding the received input event to the transmitting device; and
and the virtual input equipment of the transmitting device collects the input events, binds the collected input events to the virtual display equipment, and updates a display interface.
Preferably, after the step of the transmitting apparatus creating a virtual display device and a virtual input device, the method further comprises:
the transmitting device and the receiving device carry out negotiation and parameter configuration through a real-time stream transmission protocol.
Preferably, after the step of preparing to forward the input event, the method further comprises:
the transmitting device transmits audio data and video data to the receiving device via a real-time transport protocol.
Preferably, after the step of updating the display interface, the method further comprises:
judging whether the wireless local area network is disconnected or not;
if the connection is not disconnected, switching to the step execution that the transmitting device transmits audio data and video data to the receiving device through a real-time transmission protocol;
if the connection is broken, the communication is ended.
In another aspect, the present invention further provides a system for wireless screen projection and different display and different touch, comprising a transmitting device and a receiving device which are jointly configured as a wireless local area network, wherein,
the transmitting device is used for creating a virtual display device and a virtual input device; and
the receiving device is used for connecting the transmitting device through the wireless local area network, preparing to forward an input event and forwarding the received input event to the transmitting device;
the virtual input device of the transmitting device collects the input events, binds the collected input events to the virtual display device, and updates a display interface.
Preferably, the transmitting device and the receiving device perform negotiation and parameter configuration through a real-time streaming protocol.
Preferably, the transmitting device is further configured to transmit audio data and video data to the receiving device through a real-time transmission protocol.
Preferably, the receiving device is also used for
Judging whether the wireless local area network is disconnected or not;
if the connection is not disconnected, continuing to receive the audio data and the video data transmitted by the transmitting device through the real-time transmission protocol;
if the connection is broken, the communication is ended.
In another aspect, the present invention further provides a transmitting apparatus, wherein the transmitting apparatus and a corresponding receiving apparatus are jointly configured to form a wireless local area network, and the transmitting apparatus includes:
the creating module is used for creating a virtual display device and a virtual input device;
the configuration module is used for carrying out negotiation and parameter configuration on the receiving device through a real-time streaming transmission protocol;
the transmitting module is used for transmitting audio data and video data to the receiving device through a real-time transmission protocol; a receiving module for receiving an input event from the receiving device; and
and the updating module is used for collecting the input events by using the virtual input equipment, binding the collected input events to the virtual display equipment and updating a display interface.
In still another aspect, the present invention provides a receiving apparatus, wherein the receiving apparatus and a corresponding transmitting apparatus are jointly configured to form a wireless local area network, the transmitting apparatus creates a virtual display device and a virtual input device and performs negotiation and parameter configuration with the receiving apparatus through a real-time streaming protocol, and the receiving apparatus includes:
a connection module, configured to connect to the transmitting apparatus through the wireless lan, and prepare to forward an input event; and
a forwarding module for forwarding the received input event to the transmitting device;
the virtual input device of the transmitting device collects the input events, binds the collected input events to the virtual display device, and updates a display interface.
The technical scheme provided by the invention has the following advantages: adopt wireless screen different showing different touching of throwing, very big improvement flexibility on the equipment layout, can realize single double screen freely switching, and have good interactivity, can satisfy diversified demand on the market.
Drawings
FIG. 1 is a flowchart illustrating a method for wireless screen projection with different display and different touch according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a wireless screen projection different-display different-touch system according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The method for wireless screen projection and different display and different touch provided by the invention will be described in detail below.
Fig. 1 is a schematic flow chart of a method for wireless screen projection different display different touch according to an embodiment of the present invention.
In step S11, the transmitting apparatus and the receiving apparatus are configured as a wireless local area network.
In this embodiment, through WIFI P2P basic technology, couple together two independent equipment wireless connections of emitter and receiving arrangement, constitute a interim wireless local area network, through adopting wireless screen and the different mode that touches of different apparent, very big improvement the flexibility in the equipment overall arrangement to connect through the physics wire rod and lead to the defect that lacks the flexibility in the equipment overall arrangement among the traditional prior art has been avoided.
In step S12, the transmitting apparatus creates a virtual display device and a virtual input device.
In this embodiment, the virtual display device is created in the transmitting apparatus, so that the system knows that a plurality of display devices are available for selection, and the transmitting end of the system can support multiple display devices by virtualizing an internal display device on the transmitting apparatus, thereby achieving the purpose of multiple display targets. In this embodiment, after the transmitting apparatus and the receiving apparatus are assembled into the wireless local area network, a virtual input device is also created at the transmitting apparatus for starting the event reception service.
In step S13, the transmitting device and the receiving device perform negotiation and parameter configuration through the real-time streaming protocol.
In the present embodiment, the transmitting device and the receiving device perform negotiation and parameter configuration through a Real Time Streaming Protocol (RTSP), for example, specify how both sides communicate, how to perform parameter configuration, how to transmit a video stream and an audio stream in Real Time, and the like, which all require the RTSP Protocol to contract.
In step S14, the receiving apparatus connects to the transmitting apparatus through the wireless local area network and prepares to forward the input event.
In this embodiment, after the receiving apparatus performs normal communication with the transmitting apparatus through the wireless lan, the receiving apparatus enters a state in which it is ready to forward an input event, which in this embodiment includes a touch event of a user touching a device,
in step S15, the transmitting device transmits audio data and video data to the receiving device through a real-time transmission protocol.
In this embodiment, the transmitting device transmits audio data and video data to the receiving device via a Real-time Transport Protocol (RTP), and the RTP Protocol ensures stability and Real-time performance of data transmission.
In step S16, the receiving device forwards the received input event to the transmitting device.
In this embodiment, the receiving device forwards the received input event to the transmitting device via the wireless local area network.
In step S17, the virtual input device of the transmitting apparatus collects the input events, binds the collected input events to the virtual display device, and updates the display interface.
In this embodiment, the virtual input device of the transmitting apparatus receives the input events collected by the virtual input device from the receiving apparatus, binds the collected input events to the virtual display device, distributes the input events to the user display interface if the input events are touch events, and updates the display interface, thereby achieving good interaction.
In step S18, it is determined whether the wireless lan is disconnected.
If the connection is not disconnected, the process proceeds to step S15 where the transmitting device transmits the audio data and the video data to the receiving device through the real-time transmission protocol.
If the connection is disconnected, in step S17, the communication is ended.
Fig. 2 is a schematic structural diagram of a wireless screen projection different-display different-touch system according to an embodiment of the present invention.
In the present embodiment, the wireless screen-projection and different-display and different-touch system 1 includes a transmitting apparatus 2 and a receiving apparatus 3 which are jointly configured as a wireless local area network. In this embodiment, through WIFI P2P basic technology, couple together two independent equipment wireless connections of emitter 2 and receiving arrangement 3, constitute a interim wireless local area network, through adopting wireless screen and the different mode that touches of different apparent, very big improvement the flexibility in the equipment overall arrangement to connect through the physical wire rod among the traditional prior art and lead to the defect that lacks the flexibility in the equipment overall arrangement.
In this embodiment, the transmitting device 2 is used to create a virtual display device and a virtual input device. In this embodiment, a virtual display device is created in the transmitting apparatus 2, so that the system knows that a plurality of display devices are available for selection, and the transmitting end of the system can support multiple display devices by virtualizing an internal display device on the transmitting apparatus 2, thereby achieving the purpose of multiple display targets. In the present embodiment, after the transmitting apparatus 2 and the receiving apparatus 3 are configured into the wireless local area network, a virtual input device is also created at the transmitting apparatus 2 for starting the event reception service.
In the present embodiment, the transmitting apparatus 2 and the receiving apparatus 3 perform negotiation and parameter configuration by a real-time streaming protocol. In the present embodiment, the transmitting device 2 and the receiving device 3 perform negotiation and parameter configuration by the RTSP protocol, for example, specify how both parties communicate, how parameter configuration is performed, how video streams and audio streams are transmitted in real time, and the like, which all require the RTSP protocol to make an agreement.
And a receiving device 3 for connecting the transmitting device 2 through the wireless local area network, preparing to forward the input event, and forwarding the received input event to the transmitting device 2.
In the present embodiment, the transmitting device 2 is further configured to transmit audio data and video data to the receiving device 3 through a real-time transport protocol, and the RTP protocol is utilized to ensure stability and real-time performance of data transmission.
In the present embodiment, the virtual input device of the transmitting apparatus 2 collects input events, binds the collected input events to the virtual display device, and updates the display interface.
In this embodiment, the virtual input device of the transmitting apparatus 2 receives the input events it has collected from the receiving apparatus 3, binds the collected input events to the virtual display device, distributes to the user display interface if the input events are touch events, and updates the display interface, thus achieving good interaction.
In this embodiment, the receiving device 3 is further configured to determine whether the wireless lan is disconnected; if the connection is not broken, continuing to receive the audio data and the video data transmitted by the transmitting device 2 through the real-time transmission protocol; if the connection is broken, the communication is ended.
In the present embodiment, the transmitting apparatus 2 includes a creating module 21, a configuring module 22, a transmitting module 23, a receiving module 24, and an updating module 25.
In the present embodiment, the receiving apparatus 3 includes a connection module 31 and a forwarding module 32.
A creating module 21 for creating a virtual display device and a virtual input device.
And a configuration module 22, configured to perform negotiation and parameter configuration with the receiving apparatus through the real-time streaming protocol.
A sending module 23, configured to transmit the audio data and the video data to the receiving apparatus through a real-time transport protocol.
A receiving module 24, configured to receive an input event from a receiving device.
And the updating module 25 is used for collecting input events by using the virtual input device, binding the collected input events to the virtual display device, and updating the display interface.
A connection module 31, configured to connect to the transmitting device through the wireless lan, and prepare to forward the input event.
A forwarding module 32 for forwarding the received input event to the transmitting device.
The virtual input device of the transmitting device 2 collects input events, binds the collected input events to the virtual display device, and updates the display interface.
The technical scheme provided by the invention has the following advantages: adopt wireless screen different showing different touching of throwing, very big improvement flexibility on the equipment layout, can realize single double screen freely switching, and have good interactivity, can satisfy diversified demand on the market.
It should be noted that, in the above embodiments, the included units are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In addition, it can be understood by those skilled in the art that all or part of the steps in the method for implementing the embodiments described above can be implemented by instructing the relevant hardware through a program, and the corresponding program can be stored in a computer-readable storage medium, such as a ROM/RAM, a magnetic disk, or an optical disk.
It should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the invention and are not to be construed as limiting the embodiments of the present invention, and that various other changes and modifications may be made by those skilled in the art based on the above description. All documents mentioned in this application are incorporated by reference into this application as if each were individually incorporated by reference.

Claims (10)

1. A method for wireless screen projection and different display and different touch, which is characterized by comprising the following steps:
the method comprises the steps of establishing a transmitting device and a receiving device into a wireless local area network;
the transmitting device creates a virtual display device and a virtual input device;
the receiving device is connected with the transmitting device through the wireless local area network and prepares to forward an input event;
the receiving device forwarding the received input event to the transmitting device; and
and the virtual input equipment of the transmitting device collects the input events, binds the collected input events to the virtual display equipment, and updates a display interface.
2. The method of wireless screen projection and iso-display touch as recited in claim 1, wherein after the step of the transmitting apparatus creating a virtual display device and a virtual input device, the method further comprises:
the transmitting device and the receiving device carry out negotiation and parameter configuration through a real-time stream transmission protocol.
3. The method of wireless screen projection iso-display iso-touch as recited in claim 1, wherein after the step of preparing to forward an input event, the method further comprises:
the transmitting device transmits audio data and video data to the receiving device via a real-time transport protocol.
4. The method of wireless screen projection and iso-display iso-touch as recited in claim 3, wherein after the step of updating the display interface, the method further comprises:
judging whether the wireless local area network is disconnected or not;
if the connection is not disconnected, switching to the step execution that the transmitting device transmits audio data and video data to the receiving device through a real-time transmission protocol;
if the connection is broken, the communication is ended.
5. A wireless screen-projection different-display different-touch system is characterized by comprising a transmitting device and a receiving device which are jointly built into a wireless local area network, wherein,
the transmitting device is used for creating a virtual display device and a virtual input device; and
the receiving device is used for connecting the transmitting device through the wireless local area network, preparing to forward an input event and forwarding the received input event to the transmitting device;
the virtual input device of the transmitting device collects the input events, binds the collected input events to the virtual display device, and updates a display interface.
6. The system of claim 5, wherein the transmitting device and the receiving device negotiate and configure parameters via a real-time streaming protocol.
7. The system of claim 5, wherein the transmitting device is further configured to transmit audio data and video data to the receiving device via a real-time transmission protocol.
8. The system for wireless screen projection and different display and different touch as claimed in claim 7, wherein the receiving device is further used for
Judging whether the wireless local area network is disconnected or not;
if the connection is not disconnected, continuing to receive the audio data and the video data transmitted by the transmitting device through the real-time transmission protocol;
if the connection is broken, the communication is ended.
9. A transmitting apparatus, wherein the transmitting apparatus and a corresponding receiving apparatus are jointly configured as a wireless local area network, the transmitting apparatus comprising:
the creating module is used for creating a virtual display device and a virtual input device;
the configuration module is used for carrying out negotiation and parameter configuration on the receiving device through a real-time streaming transmission protocol;
the transmitting module is used for transmitting audio data and video data to the receiving device through a real-time transmission protocol;
a receiving module for receiving an input event from the receiving device; and
and the updating module is used for collecting the input events by using the virtual input equipment, binding the collected input events to the virtual display equipment and updating a display interface.
10. A reception apparatus which constitutes a wireless local area network together with a corresponding transmission apparatus, which creates a virtual display device and a virtual input device and performs negotiation and parameter configuration with the reception apparatus by a real-time streaming protocol, comprising:
a connection module, configured to connect to the transmitting apparatus through the wireless lan, and prepare to forward an input event; and
a forwarding module for forwarding the received input event to the transmitting device;
the virtual input device of the transmitting device collects the input events, binds the collected input events to the virtual display device, and updates a display interface.
CN202011070249.1A 2020-09-30 2020-09-30 Wireless screen projection different-display different-touch method and system thereof Pending CN114327321A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011070249.1A CN114327321A (en) 2020-09-30 2020-09-30 Wireless screen projection different-display different-touch method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011070249.1A CN114327321A (en) 2020-09-30 2020-09-30 Wireless screen projection different-display different-touch method and system thereof

Publications (1)

Publication Number Publication Date
CN114327321A true CN114327321A (en) 2022-04-12

Family

ID=81032379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011070249.1A Pending CN114327321A (en) 2020-09-30 2020-09-30 Wireless screen projection different-display different-touch method and system thereof

Country Status (1)

Country Link
CN (1) CN114327321A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090256780A1 (en) * 2008-04-11 2009-10-15 Andrea Small Digital display devices having communication capabilities
CN105678926A (en) * 2016-01-12 2016-06-15 青岛海信智能商用系统有限公司 Customer touch display screen, POS terminal and POS system
CN105869314A (en) * 2016-04-18 2016-08-17 龙海鹏 Dual-display electronic payment system and method
CN106933523A (en) * 2015-12-30 2017-07-07 阿里巴巴集团控股有限公司 A kind of multi-screen interaction method and device
CN107368272A (en) * 2017-06-30 2017-11-21 百富计算机技术(深圳)有限公司 A kind of double screen is different to touch different aobvious method, apparatus and computer-readable recording medium
CN109830073A (en) * 2019-03-04 2019-05-31 中国工商银行股份有限公司 POS machine and its control method, operating method and method of payment
CN210072832U (en) * 2019-07-12 2020-02-14 腾讯科技(深圳)有限公司 Cash register with double display screens

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090256780A1 (en) * 2008-04-11 2009-10-15 Andrea Small Digital display devices having communication capabilities
CN106933523A (en) * 2015-12-30 2017-07-07 阿里巴巴集团控股有限公司 A kind of multi-screen interaction method and device
CN105678926A (en) * 2016-01-12 2016-06-15 青岛海信智能商用系统有限公司 Customer touch display screen, POS terminal and POS system
CN105869314A (en) * 2016-04-18 2016-08-17 龙海鹏 Dual-display electronic payment system and method
CN107368272A (en) * 2017-06-30 2017-11-21 百富计算机技术(深圳)有限公司 A kind of double screen is different to touch different aobvious method, apparatus and computer-readable recording medium
CN109830073A (en) * 2019-03-04 2019-05-31 中国工商银行股份有限公司 POS machine and its control method, operating method and method of payment
CN210072832U (en) * 2019-07-12 2020-02-14 腾讯科技(深圳)有限公司 Cash register with double display screens

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
丁宇,林其: "《网络管理与维护》", vol. 2006, 31 July 2006, 冶金工业出版社, pages: 20 - 21 *

Similar Documents

Publication Publication Date Title
US9178712B2 (en) Remote audio
CN102883134B (en) Screen sharing and controlling method for video conference system
JP5542707B2 (en) Configuration for sending messages for audio / video streaming in device topology
CN1972468B (en) An information push-delivery apparatus and method
CN101997916B (en) Method and device for file transmission based on network
CN102790764A (en) Media projection playing method and system
CN108521591A (en) A kind of throwing screen method, apparatus and system
US20050212687A1 (en) Control system, controlling device, control method, and program
CN204390222U (en) A kind of equipment room is to the system of display information split screen display
CN103873326A (en) Method for transmitting contents in a smart home environment
CN104079597A (en) Transfer method of media stream and user equipment
JP4988487B2 (en) Data transfer method, apparatus, and program
CN108055577A (en) A kind of live streaming exchange method, system, device and electronic equipment
CN106303651A (en) Display system and the display packing of display system
CN105653225A (en) Screen projecting method and projecting target side device
CN107040498A (en) With screen method and terminal
CN101990123B (en) Set top box device and method for realizing triple play function
WO2014169557A1 (en) Interface switching method and device
CN104852987A (en) Screen capture transmission system for family internet equipment
US20070050829A1 (en) Data transmitter and receiver, data transmitting/receiving system and method, and terminal device
CN114327321A (en) Wireless screen projection different-display different-touch method and system thereof
CN102761860B (en) A kind of terminal traffic rendering method and system
CN102457775A (en) Wired digital television system and method for data interaction through wireless terminal
CN102480644A (en) Cabled digital television system and method adopting wireless terminal to realize data interaction
CN105101148A (en) Screen and operation control sharing method, system and main sharing end

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