WO2016062004A1 - Method and wireless terminal for screen sharing between wireless terminals - Google Patents

Method and wireless terminal for screen sharing between wireless terminals Download PDF

Info

Publication number
WO2016062004A1
WO2016062004A1 PCT/CN2015/075068 CN2015075068W WO2016062004A1 WO 2016062004 A1 WO2016062004 A1 WO 2016062004A1 CN 2015075068 W CN2015075068 W CN 2015075068W WO 2016062004 A1 WO2016062004 A1 WO 2016062004A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
client
server
touch
information
Prior art date
Application number
PCT/CN2015/075068
Other languages
French (fr)
Chinese (zh)
Inventor
郝志坚
李明
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016062004A1 publication Critical patent/WO2016062004A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home

Definitions

  • This article covers the field of screen sharing between terminals.
  • the method of sharing content between the above terminals requires a third device, such as a projector or a server, or can be shared with one other member at a time, such as circulating a mobile phone to read a picture.
  • a third device such as a projector or a server
  • the embodiments of the present invention provide a screen sharing method and a wireless terminal between wireless terminals to solve the technical problem of how to share the content of the respective terminals by using only the wireless terminals.
  • the embodiment of the invention provides a screen sharing method between wireless terminals, and the method includes:
  • the server device providing the screen data continuously screens the screen and sends the screen capture data to the client device;
  • the client device obtains screen touch information after displaying the screen capture data, and returns the screen touch information to the server device;
  • the server device responds to the screen touch information.
  • the screen touch information obtained by the client device after displaying the screen capture data includes:
  • the client device acquires coordinates of the screen touch point located on the client screen, including:
  • the server device responds to the screen touch information, including:
  • the server device parses out the coordinates of the screen touch point sent by the client device on the client screen;
  • the server device obtains the native screen size, wherein the native screen size includes: long server_screen_x and wide server_screen_y;
  • the server-side device calculates the coordinate values Server_x_i and Server_y_i of the screen touch point i from the client device located at the local machine:
  • Server_x_i server_screen_x*client_x_i/client_screen_x;
  • Server_y_i server_screen_y*client_y_i/client_screen_y;
  • the server side device performs a response action according to the touch state at a point corresponding to the coordinate values Server_x_i and Server_y_i.
  • the server device responds to the screen touch information, including:
  • the server device performs a response action according to the button key value.
  • An embodiment of the present invention provides a server device that provides screen sharing, and the device includes:
  • Screen data transfer unit set to continuously screen the screen and send screenshot data to Client device
  • Remote controlled unit set to respond to screen touch information from remote clients.
  • the screen touch information from the remote client includes: a coordinate of the screen touch point located at the client screen or a key value of the touched button that controls the server end device;
  • the screen touch point is located at coordinates of the client screen, and includes: an identifier i assigned to the touch point, an x-axis coordinate value of the touch point i located on the client screen, client_x_i, a y-axis coordinate value client_y_i, a client screen size, and Touching the status information; wherein the client screen size comprises: a long client_screen_x and a wide client_screen_y, the touch status information comprising: pressing or lifting.
  • the remote controlled unit is configured to respond to screen touch information from a remote client in the following manner:
  • the screen touch information is the coordinates of the screen touch point located on the client screen, parsing out the coordinates of the screen touch point sent by the client device on the client screen;
  • Get the native screen size where the native screen size includes: long server_screen_x and wide server_screen_y;
  • Server_x_i server_screen_x*client_x_i/client_screen_x;
  • Server_y_i server_screen_y*client_y_i/client_screen_y;
  • a response action is made according to the touch state at a point corresponding to the coordinate values Server_x_i and Server_y_i.
  • the remote controlled unit is configured to respond to screen touch information from the remote client by:
  • the screen touch information is a key value of a touched button that controls the server device
  • a response action is made according to the button key value.
  • the embodiment of the invention further provides a client device for screen sharing, the device comprising:
  • a screen data receiving unit configured to receive screen capture data sent by the remote server device
  • a remote control unit configured to display screen capture data and obtain screen touch information, and return the screen touch information to the remote server device.
  • the remote control unit is configured to obtain screen touch information by:
  • the remote control unit is configured to obtain coordinates of the screen touch point located on the client screen by:
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for performing the above method.
  • the screen content of one wireless terminal can be shared to other wireless terminals, and further controlled by the screen touch of the other wireless terminals, the purpose of sharing the respective terminal contents with each other using only the wireless terminal is realized.
  • FIG. 1 is a flowchart of a method for sharing a screen between wireless terminals according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a setting menu of applying a screen sharing process on a wireless terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a virtual button displayed on a screen of a client device according to an embodiment of the present invention.
  • FIG. 4 is a block diagram of a component of a server device that provides screen sharing according to an embodiment of the present invention
  • FIG. 5 is a block diagram of a component of a client device for screen sharing according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for sharing a screen between wireless terminals according to an embodiment of the present invention.
  • a server-side device that provides shared content and a client device that receives the shared content, establishing a connection between the server-side device and the client device, wherein the connection manner includes: a Wifi connection, a Bluetooth connection, an infrared connection; optionally, a server end
  • the device can select whether to allow the client to control the server device. Only after the server device allows the client to control the server device, the subsequent operations are performed;
  • FIG. 2 A schematic diagram of a setting menu for applying a screen sharing process on a wireless terminal is shown in FIG. 2;
  • the S101 server device continuously screens its own screen and sends the screen capture data to the client device.
  • the S102 client device displays the screen capture data, the screen touch information is acquired, and the screen touch information is returned to the server device;
  • the acquiring, by the client device, the screen touch information after the screen capture data is obtained including: acquiring coordinates of the screen touch point located on the client screen; and the coordinates of the screen touch point located on the client screen include: an identifier i assigned to the touch point, The touch point i is located at the x-axis coordinate value client_x_i of the client screen, the y-axis coordinate value client_y_i, the client screen size, and the touch state information; wherein the client screen size includes: a long client_screen_x and a wide client_screen_y, the touch state information Includes: Press or lift.
  • the screen touch information acquired by the client device may further include: the paired server device that is touched The key value of the control button; the virtual button is as shown in FIG. 3, the virtual button is suspended on the screen of the client device, and when the “function trigger” button is clicked, the four buttons Back, Home, Menu and Power; the user can directly click the virtual button to issue a control command;
  • the server device responds to the screen touch information.
  • the server side parses out the coordinates of the screen touch point sent by the client device on the client screen; obtains the native screen size, the native screen size: long server_screen_x and wide server_screen_y; calculating the screen touch point i from the client device is located in the present Machine coordinate values Server_x_i and Server_y_i:
  • Server_x_i server_screen_x*client_x_i/client_screen_x;
  • Server_y_i server_screen_y*client_y_i/client_screen_y;
  • the server device when the screen touch information is a key value of the touched button that controls the server device, the server device performs a response action according to the button key value.
  • the above server device is not limited to one.
  • the screen content of one wireless terminal can be shared to other wireless terminals, and further controlled by the screen touch of the other wireless terminals, the purpose of sharing the respective terminal contents with each other using only the wireless terminal is realized.
  • Smartphone A and Smartphone B use Smartphone A as a server device to allow external devices to control it, using Smartphone B as a client device.
  • the setting B is a client device shared by the screen
  • the virtual button on the client device that exists only in the form of a floating window under the screen sharing process is activated.
  • Step 1 Smartphone A and Smartphone B establish a connection
  • Step 2 Smartphone A opens thread 1, takes a screenshot of its own screen, and compresses the screen capture data and sends it to smartphone B;
  • Step 3 The smart phone B displays the successfully received screen capture data on the screen, and sends a success message to the smart phone A, and performs step 4; at the same time, the smart phone B opens the thread 2 to determine whether the screen touch information is detected, if the detection To touch the information on the screen, perform step five;
  • Step 4 After receiving the success message, the smartphone A continues to use the thread 1 to take a screenshot of its own screen, and compresses the screen capture data and sends it to the smartphone B, and the smartphone B becomes The screen capture data received by the function is displayed on the screen, and the receiving success message is sent to the smartphone A, and step 4 is performed;
  • Step 5 The smartphone B determines whether the screen touch information is a key value of the virtual button, and if yes, performs step 6; if not, step 8 is performed;
  • Step six the key value of the virtual button is packed into a byte, the first digit of the byte is marked with "1", and the key value is sent to the smart phone A;
  • Step 7 The smartphone A responds according to the button key value, and performs step 10;
  • the thread 1 Since the thread 1 continuously screens the screen of the smartphone A, after the screen data of the smartphone A is changed, the thread 1 can send the changed screen data to the smart phone B in time;
  • Step eight the screen touch point is located on the client screen coordinates packed into a byte, the first bit of the byte is marked with "0", the coordinates are sent to the smart phone A;
  • the coordinates of the screen touch point located on the client screen include: an identifier i assigned to the touch point, an x-axis coordinate value client_x_i of the touch screen i located on the client screen, a y-axis coordinate value client_y_i, a client screen size, and touch state information;
  • the client screen size includes: a long client_screen_x and a wide client_screen_y, and the touch state information includes: pressing or lifting;
  • Step 9 The smartphone A parses out the coordinates of the screen touch point sent by the client device on the client screen; obtains the screen size of the local machine, and the screen size of the machine includes: long server_screen_x and wide server_screen_y; calculating the screen touch from the client device
  • the point i is located in the coordinates of the machine Server_x_i and Server_y_i:
  • Server_x_i server_screen_x*client_x_i/client_screen_x;
  • Server_y_i server_screen_y*client_y_i/client_screen_y;
  • a response action is performed according to the touch state at a point corresponding to the coordinate values Server_x_i and Server_y_i;
  • Step 10 the thread 2 of the smartphone A waits for the next screen touch information from the smartphone B.
  • FIG. 4 is a block diagram of a server-side device that provides screen sharing according to an embodiment of the present invention.
  • the server device includes:
  • the screen data transmission unit is configured to continuously screen the screen and send the screen capture data to the client device;
  • Remote controlled unit set to respond to screen touch information from remote clients.
  • the screen touch information from the remote client includes: a coordinate of the screen touch point located at the client screen or a key value of the touched button that controls the server end device;
  • the screen touch point is located at coordinates of the client screen, and includes: an identifier i assigned to the touch point, an x-axis coordinate value of the touch point i located on the client screen, client_x_i, a y-axis coordinate value client_y_i, a client screen size, and Touching the status information; wherein the client screen size comprises: a long client_screen_x and a wide client_screen_y, the touch status information includes: pressing or lifting;
  • the remote controlled unit is configured to respond to the screen touch information from the remote client by: parsing out the client device
  • the screen touch point is located at the coordinates of the client screen;
  • the native screen size is: the long server_screen_x and the wide server_screen_y;
  • the screen touch point i from the client device is calculated at the coordinate values of the machine Server_x_i and Server_y_i :
  • Server_x_i server_screen_x*client_x_i/client_screen_x;
  • Server_y_i server_screen_y*client_y_i/client_screen_y;
  • the remote controlled unit is configured to respond to the screen touch information from the remote client by: The button key value responds.
  • the screen content of the server-side device can be shared to the client device, and further controlled by the screen touch of the client device, the purpose of sharing the respective terminal content with each other using only the wireless terminal is realized.
  • FIG. 5 is a block diagram of a component of a client device for screen sharing according to an embodiment of the present invention.
  • the client device includes:
  • a screen data receiving unit configured to receive screen capture data sent by the remote server device
  • a remote control unit configured to display screen capture data and obtain screen touch information, and return the screen touch information to the remote server device;
  • the remote control unit is configured to obtain screen touch information by:
  • the screen touch point is located at coordinates of the client screen, and includes: an identifier i assigned to the touch point, an x-axis coordinate value client_x_i of the touch screen i located on the client screen, a y-axis coordinate value client_y_i, a client screen size, and a touch state.
  • Information wherein the client screen size comprises: a long client_screen_x and a wide client_screen_y, the touch status information includes: pressing or lifting.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for performing the above method.
  • the screen sharing method and the wireless terminal between the wireless terminals provided by the embodiments of the present invention enable the screen content of one wireless terminal to be shared to other wireless terminals, and are also controlled by the screen touch of the other wireless terminals, thereby realizing the use of only the wireless terminal. It is possible to share the contents of their respective terminals with each other.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Provided are a method and wireless terminal for screen sharing between wireless terminals, said method comprising: a server device providing screen data performs a sustained capture of a screen, and sends the screen capture data to a client device; the client device displays the screen capture data, then obtains screen touch information, and returns the screen touch information to the server device; the server device responds to the screen touch information.

Description

一种无线终端间屏幕共享的方法和无线终端Method for sharing screen between wireless terminals and wireless terminal 技术领域Technical field
本文涉及终端间的屏幕共享领域。This article covers the field of screen sharing between terminals.
背景技术Background technique
目前,智能手机越来越普及,其功能也越来越丰富和智能,用户对智能手机高智能化的需求也与日俱增。At present, smart phones are becoming more and more popular, their functions are becoming more and more abundant and intelligent, and the demand for high intelligence of smart phones is increasing day by day.
日常生活中,人们经常会彼此分享各自终端上的内容,如,开会时,演讲者通过投影仪经自己电脑上的内容分享给其他与会人员;平时工作中,公司员工将分享的内容上传到服务器,供其他员工下载阅读;旅途中,人们彼此传阅手机分享各自终端上的图片。In daily life, people often share the contents of their respective terminals. For example, during a meeting, the speaker shares the contents of the computer with other participants through the projector; during normal work, the company employees upload the shared content to the server. For other employees to download and read; during the trip, people circulate the mobile phones to share pictures on their respective terminals.
上述终端间分享内容的方法要么需要第三设备,如投影仪、服务器;要么每次仅能分享给一个其他成员,如传阅手机阅读图片。The method of sharing content between the above terminals requires a third device, such as a projector or a server, or can be shared with one other member at a time, such as circulating a mobile phone to read a picture.
如果能利用现在越来越普及的智能手机实现各自终端内容的分享,势必为人们生活提供便利,同时也节约了企业经济成本。If you can use the smart phones that are becoming more and more popular to realize the sharing of their own terminal content, it will certainly facilitate people's lives, and at the same time save the economic cost of enterprises.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种无线终端间的屏幕共享方法和无线终端,以解决如何实现仅利用无线终端彼此分享各自终端内容的技术问题。The embodiments of the present invention provide a screen sharing method and a wireless terminal between wireless terminals to solve the technical problem of how to share the content of the respective terminals by using only the wireless terminals.
本发明实施例提供了一种无线终端间的屏幕共享方法,所述方法包括:The embodiment of the invention provides a screen sharing method between wireless terminals, and the method includes:
提供屏幕数据的服务器端设备持续对屏幕进行截屏,并把截屏数据发送至客户端设备;The server device providing the screen data continuously screens the screen and sends the screen capture data to the client device;
客户端设备显示截屏数据后获取屏幕触摸信息,并将所述屏幕触摸信息返回至服务器端设备; The client device obtains screen touch information after displaying the screen capture data, and returns the screen touch information to the server device;
服务器端设备响应所述屏幕触摸信息。The server device responds to the screen touch information.
可选地,所述客户端设备显示截屏数据后获取的屏幕触摸信息,包括:Optionally, the screen touch information obtained by the client device after displaying the screen capture data includes:
获取屏幕触摸点位于客户端屏幕的坐标或被触摸的对服务器端设备起控制作用的按键的键值。Gets the key of the button on the screen of the client touch screen or the touched button that controls the server-side device.
可选地,所述客户端设备获取屏幕触摸点位于客户端屏幕的坐标,包括:Optionally, the client device acquires coordinates of the screen touch point located on the client screen, including:
获取为触摸点分配的标识i、触摸点i位于客户端屏幕的x轴坐标值client_x_i、y轴坐标值client_y_i、客户端屏幕尺寸,以及触摸状态信息;其中所述客户端屏幕尺寸包括:长client_screen_x和宽client_screen_y,所述触摸状态信息包括:按下或抬起。Obtaining an identifier i assigned to the touch point, the x-axis coordinate value client_x_i of the client screen, the y-axis coordinate value client_y_i, the client screen size, and the touch state information; wherein the client screen size includes: long client_screen_x And wide client_screen_y, the touch status information includes: press or lift.
可选地,所述服务器端设备响应所述屏幕触摸信息,包括:Optionally, the server device responds to the screen touch information, including:
当触摸信息为屏幕触摸点位于客户端屏幕的坐标时,服务器端设备解析出客户端设备发来的屏幕触摸点位于客户端屏幕的坐标;When the touch information is the coordinates of the screen touch point located on the client screen, the server device parses out the coordinates of the screen touch point sent by the client device on the client screen;
服务器端设备获取本机屏幕尺寸,其中所述本机屏幕尺寸包括:长server_screen_x和宽server_screen_y;The server device obtains the native screen size, wherein the native screen size includes: long server_screen_x and wide server_screen_y;
服务器端设备计算来自客户端设备的屏幕触摸点i位于本机的坐标值Server_x_i和Server_y_i:The server-side device calculates the coordinate values Server_x_i and Server_y_i of the screen touch point i from the client device located at the local machine:
Server_x_i=server_screen_x*client_x_i/client_screen_x;Server_x_i=server_screen_x*client_x_i/client_screen_x;
Server_y_i=server_screen_y*client_y_i/client_screen_y;Server_y_i=server_screen_y*client_y_i/client_screen_y;
服务器端设备在所述坐标值Server_x_i和Server_y_i对应的点上根据所述触摸状态作出响应动作。The server side device performs a response action according to the touch state at a point corresponding to the coordinate values Server_x_i and Server_y_i.
可选地,所述服务器端设备响应所述屏幕触摸信息,包括:Optionally, the server device responds to the screen touch information, including:
当屏幕触摸信息为被触摸的对服务器端设备起控制作用的按键的键值时,When the screen touch information is the key value of the touched button that controls the server device,
服务器端设备根据所述按键键值作出响应动作。The server device performs a response action according to the button key value.
本发明实施例提供了一种提供屏幕共享的服务器端设备,所述设备包括:An embodiment of the present invention provides a server device that provides screen sharing, and the device includes:
屏幕数据传输单元,设置为持续对屏幕进行截屏,并把截屏数据发送至 客户端设备;Screen data transfer unit, set to continuously screen the screen and send screenshot data to Client device
远程受控单元,设置为响应来自远程客户端的屏幕触摸信息。Remote controlled unit, set to respond to screen touch information from remote clients.
可选地,Optionally,
所述来自远程客户端的屏幕触摸信息包括:屏幕触摸点位于客户端屏幕的坐标或被触摸的对服务器端设备起控制作用的按键的键值;The screen touch information from the remote client includes: a coordinate of the screen touch point located at the client screen or a key value of the touched button that controls the server end device;
其中,所述屏幕触摸点位于客户端屏幕的坐标,包括:为触摸点分配的标识i、触摸点i位于客户端屏幕的x轴坐标值client_x_i、y轴坐标值client_y_i、客户端屏幕尺寸,以及触摸状态信息;其中所述客户端屏幕尺寸包括:长client_screen_x和宽client_screen_y,所述触摸状态信息包括:按下或抬起。The screen touch point is located at coordinates of the client screen, and includes: an identifier i assigned to the touch point, an x-axis coordinate value of the touch point i located on the client screen, client_x_i, a y-axis coordinate value client_y_i, a client screen size, and Touching the status information; wherein the client screen size comprises: a long client_screen_x and a wide client_screen_y, the touch status information comprising: pressing or lifting.
可选地,所述远程受控单元,设置为通过以下方式响应来自远程客户端的屏幕触摸信息:Optionally, the remote controlled unit is configured to respond to screen touch information from a remote client in the following manner:
当屏幕触摸信息为屏幕触摸点位于客户端屏幕的坐标时,解析出客户端设备发来的屏幕触摸点位于客户端屏幕的坐标;When the screen touch information is the coordinates of the screen touch point located on the client screen, parsing out the coordinates of the screen touch point sent by the client device on the client screen;
获取本机屏幕尺寸,其中所述本机屏幕尺寸包括:长server_screen_x和宽server_screen_y;Get the native screen size, where the native screen size includes: long server_screen_x and wide server_screen_y;
计算来自客户端设备的屏幕触摸点i位于本机的坐标值Server_x_i和Server_y_i:Calculate the coordinate values Server_x_i and Server_y_i from the screen touch point i from the client device:
Server_x_i=server_screen_x*client_x_i/client_screen_x;Server_x_i=server_screen_x*client_x_i/client_screen_x;
Server_y_i=server_screen_y*client_y_i/client_screen_y;Server_y_i=server_screen_y*client_y_i/client_screen_y;
在所述坐标值Server_x_i和Server_y_i对应的点上根据所述触摸状态作出响应动作。A response action is made according to the touch state at a point corresponding to the coordinate values Server_x_i and Server_y_i.
可选地,所述远程受控单元,设置为通过下述方式响应来自远程客户端的屏幕触摸信息,包括:Optionally, the remote controlled unit is configured to respond to screen touch information from the remote client by:
当屏幕触摸信息为被触摸的对服务器端设备起控制作用的按键的键值时,根据所述按键键值作出响应动作。When the screen touch information is a key value of a touched button that controls the server device, a response action is made according to the button key value.
本发明实施例还提供了一种用于屏幕共享的客户端设备,所述设备包括: The embodiment of the invention further provides a client device for screen sharing, the device comprising:
屏幕数据接收单元,设置为接收远程服务器端设备发送的截屏数据;a screen data receiving unit configured to receive screen capture data sent by the remote server device;
远程控制单元,设置为显示截屏数据并获取屏幕触摸信息,以及将所述屏幕触摸信息返回至所述远程服务器端设备。a remote control unit configured to display screen capture data and obtain screen touch information, and return the screen touch information to the remote server device.
可选地,远程控制单元,设置为通过下述方式获取屏幕触摸信息:Optionally, the remote control unit is configured to obtain screen touch information by:
获取屏幕触摸点位于客户端屏幕的坐标或被触摸的对服务器端设备起控制作用的按键的键值。Gets the key of the button on the screen of the client touch screen or the touched button that controls the server-side device.
可选地,所述远程控制单元,设置为通过下述方式获取屏幕触摸点位于客户端屏幕的坐标:Optionally, the remote control unit is configured to obtain coordinates of the screen touch point located on the client screen by:
获取为触摸点分配的标识i、触摸点i位于客户端屏幕的x轴坐标值client_x_i、y轴坐标值client_y_i、客户端屏幕尺寸,以及触摸状态信息;其中所述客户端屏幕尺寸包括:长client_screen_x和宽client_screen_y,所述触摸状态信息包括:按下或抬起。Obtaining an identifier i assigned to the touch point, the x-axis coordinate value client_x_i of the client screen, the y-axis coordinate value client_y_i, the client screen size, and the touch state information; wherein the client screen size includes: long client_screen_x And wide client_screen_y, the touch status information includes: press or lift.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for performing the above method.
上述技术方案中,一个无线终端的屏幕内容可分享至其他无线终端,此外还受所述其他无线终端的屏幕触摸控制,实现了仅利用无线终端就可彼此分享各自终端内容的目的。In the above technical solution, the screen content of one wireless terminal can be shared to other wireless terminals, and further controlled by the screen touch of the other wireless terminals, the purpose of sharing the respective terminal contents with each other using only the wireless terminal is realized.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例的无线终端间的屏幕共享方法流程图;1 is a flowchart of a method for sharing a screen between wireless terminals according to an embodiment of the present invention;
图2为本发明实施例的在无线终端上应用屏幕共享进程的设置菜单示意图;2 is a schematic diagram of a setting menu of applying a screen sharing process on a wireless terminal according to an embodiment of the present invention;
图3为本发明实施例的在客户端设备屏幕上显示的虚拟按键示意图;3 is a schematic diagram of a virtual button displayed on a screen of a client device according to an embodiment of the present invention;
图4为本发明实施例的提供屏幕共享的服务器端设备组成模块图;4 is a block diagram of a component of a server device that provides screen sharing according to an embodiment of the present invention;
图5为本发明实施例的用于屏幕共享的客户端设备组成模块图。 FIG. 5 is a block diagram of a component of a client device for screen sharing according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
图1为本发明实施例的无线终端间的屏幕共享方法流程图。FIG. 1 is a flowchart of a method for sharing a screen between wireless terminals according to an embodiment of the present invention.
选择提供共享内容的服务器端设备以及接收共享内容的客户端设备,建立服务器端设备与客户端设备之间的连接,其中连接方式包括:Wifi连接、蓝牙连接、红外连接;可选地,服务器端设备可选择“是否允许客户端控制服务器端设备”,只有在服务器端设备允许客户端控制服务器端设备的条件下,才执行后续操作;Selecting a server-side device that provides shared content and a client device that receives the shared content, establishing a connection between the server-side device and the client device, wherein the connection manner includes: a Wifi connection, a Bluetooth connection, an infrared connection; optionally, a server end The device can select whether to allow the client to control the server device. Only after the server device allows the client to control the server device, the subsequent operations are performed;
在无线终端上应用屏幕共享进程的设置菜单示意图如图2所示;A schematic diagram of a setting menu for applying a screen sharing process on a wireless terminal is shown in FIG. 2;
S101服务器端设备持续对自身的屏幕进行截屏,并将截屏数据发送至客户端设备;The S101 server device continuously screens its own screen and sends the screen capture data to the client device.
S102客户端设备显示截屏数据后获取屏幕触摸信息,并将所述屏幕触摸信息返回至服务器端设备;After the S102 client device displays the screen capture data, the screen touch information is acquired, and the screen touch information is returned to the server device;
可选地,客户端设备显示截屏数据后获取屏幕触摸信息,包括:获取屏幕触摸点位于客户端屏幕的坐标;所述屏幕触摸点位于客户端屏幕的坐标包括:为触摸点分配的标识i、触摸点i位于客户端屏幕的x轴坐标值client_x_i、y轴坐标值client_y_i、客户端屏幕尺寸,以及触摸状态信息;其中所述客户端屏幕尺寸包括:长client_screen_x和宽client_screen_y,所述触摸状态信息包括:按下或抬起。Optionally, the acquiring, by the client device, the screen touch information after the screen capture data is obtained, including: acquiring coordinates of the screen touch point located on the client screen; and the coordinates of the screen touch point located on the client screen include: an identifier i assigned to the touch point, The touch point i is located at the x-axis coordinate value client_x_i of the client screen, the y-axis coordinate value client_y_i, the client screen size, and the touch state information; wherein the client screen size includes: a long client_screen_x and a wide client_screen_y, the touch state information Includes: Press or lift.
为了方便用户操作,如果设置了仅应用在屏幕共享进程下在客户端屏幕上显示以浮窗形式存在的虚拟按键时,客户端设备获取的屏幕触摸信息还可以包括:被触摸的对服务器端设备起控制作用的按键的键值;所述虚拟按键如图3所示,该虚拟按键悬浮在客户端设备的屏幕上,当点击“功能触发”按键时,弹出或收缩四个按键Back、Home、Menu和Power;用户可直接点击所述虚拟按键发出控制指令;In order to facilitate the operation of the user, if the virtual button that exists in the form of a floating window is displayed on the client screen under the screen sharing process, the screen touch information acquired by the client device may further include: the paired server device that is touched The key value of the control button; the virtual button is as shown in FIG. 3, the virtual button is suspended on the screen of the client device, and when the “function trigger” button is clicked, the four buttons Back, Home, Menu and Power; the user can directly click the virtual button to issue a control command;
S103服务器端设备响应所述屏幕触摸信息;S103. The server device responds to the screen touch information.
可选地,当触摸信息为屏幕触摸点位于客户端屏幕的坐标时,服务器端 设备解析出客户端设备发来的屏幕触摸点位于客户端屏幕的坐标;获取本机屏幕尺寸,所述本机屏幕尺寸:长server_screen_x和宽server_screen_y;计算来自客户端设备的屏幕触摸点i位于本机的坐标值Server_x_i和Server_y_i:Optionally, when the touch information is the coordinates of the screen touch point located on the client screen, the server side The device parses out the coordinates of the screen touch point sent by the client device on the client screen; obtains the native screen size, the native screen size: long server_screen_x and wide server_screen_y; calculating the screen touch point i from the client device is located in the present Machine coordinate values Server_x_i and Server_y_i:
Server_x_i=server_screen_x*client_x_i/client_screen_x;Server_x_i=server_screen_x*client_x_i/client_screen_x;
Server_y_i=server_screen_y*client_y_i/client_screen_y;Server_y_i=server_screen_y*client_y_i/client_screen_y;
在所述坐标值Server_x_i和Server_y_i对应的点上根据所述触摸状态作出响应动作;Responding to the touch state at a point corresponding to the coordinate values Server_x_i and Server_y_i;
可选地,当屏幕触摸信息为被触摸的对服务器端设备起控制作用的按键的键值时,服务器端设备根据所述按键键值作出响应动作。Optionally, when the screen touch information is a key value of the touched button that controls the server device, the server device performs a response action according to the button key value.
上述服务器设备不限于一个。The above server device is not limited to one.
上述技术方案中,一个无线终端的屏幕内容可分享至其他无线终端,此外还受所述其他无线终端的屏幕触摸控制,实现了仅利用无线终端就可彼此分享各自终端内容的目的。In the above technical solution, the screen content of one wireless terminal can be shared to other wireless terminals, and further controlled by the screen touch of the other wireless terminals, the purpose of sharing the respective terminal contents with each other using only the wireless terminal is realized.
下面以一个应用示例对上述实施例进行进一步详细说明。The above embodiment will be further described in detail below with an application example.
选择智能手机A和智能手机B,将智能手机A作为服务器端设备,允许外部设备对其进行控制,将智能手机B作为客户端设备。当设置B为屏幕共享的客户端设备时,激活客户端设备上仅应用在屏幕共享进程下的以浮窗形式存在的虚拟按键。Select Smartphone A and Smartphone B, and use Smartphone A as a server device to allow external devices to control it, using Smartphone B as a client device. When the setting B is a client device shared by the screen, the virtual button on the client device that exists only in the form of a floating window under the screen sharing process is activated.
步骤一,智能手机A和智能手机B建立连接;Step 1: Smartphone A and Smartphone B establish a connection;
步骤二,智能手机A开启线程1,对自身的屏幕进行截屏,并将截屏数据压缩打包后发送至智能手机B;Step 2: Smartphone A opens thread 1, takes a screenshot of its own screen, and compresses the screen capture data and sends it to smartphone B;
步骤三,智能手机B将成功接收的截屏数据在屏幕上进行显示,并向智能手机A发送接收成功消息,执行步骤四;同时智能手机B开启线程2,判断是否检测到屏幕触摸信息,如果检测到屏幕触摸信息,执行步骤五;Step 3: The smart phone B displays the successfully received screen capture data on the screen, and sends a success message to the smart phone A, and performs step 4; at the same time, the smart phone B opens the thread 2 to determine whether the screen touch information is detected, if the detection To touch the information on the screen, perform step five;
步骤四,智能手机A收到接收成功消息后,继续使用线程1对自身的屏幕进行截屏,并将截屏数据压缩打包后发送至智能手机B,智能手机B将成 功接收的截屏数据在屏幕上进行显示,并向智能手机A发送接收成功消息,执行步骤四;Step 4: After receiving the success message, the smartphone A continues to use the thread 1 to take a screenshot of its own screen, and compresses the screen capture data and sends it to the smartphone B, and the smartphone B becomes The screen capture data received by the function is displayed on the screen, and the receiving success message is sent to the smartphone A, and step 4 is performed;
步骤五,智能手机B判断屏幕触摸信息是否为虚拟按键的键值,如果是,执行步骤六;如果不是,执行步骤八;Step 5: The smartphone B determines whether the screen touch information is a key value of the virtual button, and if yes, performs step 6; if not, step 8 is performed;
步骤六,将虚拟按键的键值打包成一个字节,字节的首位以“1”标记,将该键值发送至智能手机A;Step six, the key value of the virtual button is packed into a byte, the first digit of the byte is marked with "1", and the key value is sent to the smart phone A;
步骤七,智能手机A根据所述按键键值作出响应动作,执行步骤十;Step 7: The smartphone A responds according to the button key value, and performs step 10;
由于线程1不断的对智能手机A的屏幕进行截屏,因此在智能手机A的屏幕数据改变后,线程1能够及时将发生变化的屏幕数据发送至智能手机B;Since the thread 1 continuously screens the screen of the smartphone A, after the screen data of the smartphone A is changed, the thread 1 can send the changed screen data to the smart phone B in time;
步骤八,将屏幕触摸点位于客户端屏幕的坐标打包成一个字节,字节的首位以“0”标记,将该坐标发送至智能手机A;Step eight, the screen touch point is located on the client screen coordinates packed into a byte, the first bit of the byte is marked with "0", the coordinates are sent to the smart phone A;
屏幕触摸点位于客户端屏幕的坐标包括:为触摸点分配的标识i、触摸点i位于客户端屏幕的x轴坐标值client_x_i、y轴坐标值client_y_i、客户端屏幕尺寸,以及触摸状态信息;其中所述客户端屏幕尺寸包括:长client_screen_x和宽client_screen_y,所述触摸状态信息包括:按下或抬起;The coordinates of the screen touch point located on the client screen include: an identifier i assigned to the touch point, an x-axis coordinate value client_x_i of the touch screen i located on the client screen, a y-axis coordinate value client_y_i, a client screen size, and touch state information; The client screen size includes: a long client_screen_x and a wide client_screen_y, and the touch state information includes: pressing or lifting;
步骤九,智能手机A解析出客户端设备发来的屏幕触摸点位于客户端屏幕的坐标;获取本机屏幕尺寸,本机屏幕尺寸包括:长server_screen_x和宽server_screen_y;计算来自客户端设备的屏幕触摸点i位于本机的坐标值Server_x_i和Server_y_i:Step 9: The smartphone A parses out the coordinates of the screen touch point sent by the client device on the client screen; obtains the screen size of the local machine, and the screen size of the machine includes: long server_screen_x and wide server_screen_y; calculating the screen touch from the client device The point i is located in the coordinates of the machine Server_x_i and Server_y_i:
Server_x_i=server_screen_x*client_x_i/client_screen_x;Server_x_i=server_screen_x*client_x_i/client_screen_x;
Server_y_i=server_screen_y*client_y_i/client_screen_y;Server_y_i=server_screen_y*client_y_i/client_screen_y;
在所述坐标值Server_x_i和Server_y_i对应的点根据所述触摸状态作出响应动作;A response action is performed according to the touch state at a point corresponding to the coordinate values Server_x_i and Server_y_i;
步骤十,智能手机A的线程2等待下一个来自智能手机B的屏幕触摸信息。Step 10, the thread 2 of the smartphone A waits for the next screen touch information from the smartphone B.
图4为本发明实施例的提供屏幕共享的服务器端设备组成模块图。 FIG. 4 is a block diagram of a server-side device that provides screen sharing according to an embodiment of the present invention.
该服务器端设备包括:The server device includes:
屏幕数据传输单元,设置为持续对屏幕进行截屏,并把截屏数据发送至客户端设备;The screen data transmission unit is configured to continuously screen the screen and send the screen capture data to the client device;
远程受控单元,设置为响应来自远程客户端的屏幕触摸信息。Remote controlled unit, set to respond to screen touch information from remote clients.
所述来自远程客户端的屏幕触摸信息包括:屏幕触摸点位于客户端屏幕的坐标或被触摸的对服务器端设备起控制作用的按键的键值;The screen touch information from the remote client includes: a coordinate of the screen touch point located at the client screen or a key value of the touched button that controls the server end device;
其中,所述屏幕触摸点位于客户端屏幕的坐标,包括:为触摸点分配的标识i、触摸点i位于客户端屏幕的x轴坐标值client_x_i、y轴坐标值client_y_i、客户端屏幕尺寸,以及触摸状态信息;其中所述客户端屏幕尺寸包括:长client_screen_x和宽client_screen_y,所述触摸状态信息包括:按下或抬起;The screen touch point is located at coordinates of the client screen, and includes: an identifier i assigned to the touch point, an x-axis coordinate value of the touch point i located on the client screen, client_x_i, a y-axis coordinate value client_y_i, a client screen size, and Touching the status information; wherein the client screen size comprises: a long client_screen_x and a wide client_screen_y, the touch status information includes: pressing or lifting;
可选地,当屏幕触摸信息为屏幕触摸点位于客户端屏幕的坐标时,所述远程受控单元,是设置为通过下述方式响应来自远程客户端的屏幕触摸信息:解析出客户端设备发来的屏幕触摸点位于客户端屏幕的坐标;获取本机屏幕尺寸,所述本机屏幕尺寸包括:长server_screen_x和宽server_screen_y;计算来自客户端设备的屏幕触摸点i位于本机的坐标值Server_x_i和Server_y_i:Optionally, when the screen touch information is the coordinates of the screen touch point located on the client screen, the remote controlled unit is configured to respond to the screen touch information from the remote client by: parsing out the client device The screen touch point is located at the coordinates of the client screen; the native screen size is: the long server_screen_x and the wide server_screen_y; the screen touch point i from the client device is calculated at the coordinate values of the machine Server_x_i and Server_y_i :
Server_x_i=server_screen_x*client_x_i/client_screen_x;Server_x_i=server_screen_x*client_x_i/client_screen_x;
Server_y_i=server_screen_y*client_y_i/client_screen_y;Server_y_i=server_screen_y*client_y_i/client_screen_y;
在所述坐标值Server_x_i和Server_y_i对应的点上根据所述触摸状态作出响应动作;Responding to the touch state at a point corresponding to the coordinate values Server_x_i and Server_y_i;
可选地,当屏幕触摸信息为被触摸的对服务器端设备起控制作用的按键的键值时,所述远程受控单元,是设置为通过下述方式响应来自远程客户端的屏幕触摸信息:根据所述按键键值作出响应动作。Optionally, when the screen touch information is a touched key value of a button that controls the server end device, the remote controlled unit is configured to respond to the screen touch information from the remote client by: The button key value responds.
上述技术方案中,服务器端设备的屏幕内容可分享至客户端设备,此外还受所述客户端设备的屏幕触摸控制,实现了仅利用无线终端就可彼此分享各自终端内容的目的。In the above technical solution, the screen content of the server-side device can be shared to the client device, and further controlled by the screen touch of the client device, the purpose of sharing the respective terminal content with each other using only the wireless terminal is realized.
图5为本发明实施例的用于屏幕共享的客户端设备组成模块图。 FIG. 5 is a block diagram of a component of a client device for screen sharing according to an embodiment of the present invention.
该客户端设备包括:The client device includes:
屏幕数据接收单元,设置为接收远程服务器端设备发送的截屏数据;a screen data receiving unit configured to receive screen capture data sent by the remote server device;
远程控制单元,设置为显示截屏数据并获取屏幕触摸信息,以及将所述屏幕触摸信息返回至所述远程服务器端设备;a remote control unit configured to display screen capture data and obtain screen touch information, and return the screen touch information to the remote server device;
可选地,远程控制单元,是设置为通过下述方式获取屏幕触摸信息:Optionally, the remote control unit is configured to obtain screen touch information by:
获取屏幕触摸点位于客户端屏幕的坐标或被触摸的对服务器端设备起控制作用的按键的键值;Obtaining a key value of a button of a screen touch point located at a client screen or a touched button that controls the server device;
所述屏幕触摸点位于客户端屏幕的坐标,包括:为触摸点分配的标识i、触摸点i位于客户端屏幕的x轴坐标值client_x_i、y轴坐标值client_y_i、客户端屏幕尺寸,以及触摸状态信息;其中所述客户端屏幕尺寸包括:长client_screen_x和宽client_screen_y,所述触摸状态信息包括:按下或抬起。The screen touch point is located at coordinates of the client screen, and includes: an identifier i assigned to the touch point, an x-axis coordinate value client_x_i of the touch screen i located on the client screen, a y-axis coordinate value client_y_i, a client screen size, and a touch state. Information; wherein the client screen size comprises: a long client_screen_x and a wide client_screen_y, the touch status information includes: pressing or lifting.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for performing the above method.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现,相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,以上所述是本发明的可选实施方式,并不用于限定本发的保护范围。One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic or optical disk, and the like. Optionally, all or part of the steps of the foregoing embodiments may also be implemented by using one or more integrated circuits. Accordingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, or may be implemented by using a software function module. Formal realization. It should be noted that the above description is an optional embodiment of the present invention and is not intended to limit the scope of protection of the present invention.
工业实用性Industrial applicability
本发明实施例提供的无线终端间的屏幕共享方法和无线终端,使一个无线终端的屏幕内容可分享至其他无线终端,此外还受所述其他无线终端的屏幕触摸控制,实现了仅利用无线终端就可彼此分享各自终端内容的目的。 The screen sharing method and the wireless terminal between the wireless terminals provided by the embodiments of the present invention enable the screen content of one wireless terminal to be shared to other wireless terminals, and are also controlled by the screen touch of the other wireless terminals, thereby realizing the use of only the wireless terminal. It is possible to share the contents of their respective terminals with each other.

Claims (13)

  1. 一种无线终端间的屏幕共享方法,所述方法包括:A screen sharing method between wireless terminals, the method comprising:
    提供屏幕数据的服务器端设备持续对屏幕进行截屏,并把截屏数据发送至客户端设备;The server device providing the screen data continuously screens the screen and sends the screen capture data to the client device;
    客户端设备显示截屏数据后获取屏幕触摸信息,并将所述屏幕触摸信息返回至服务器端设备;The client device obtains screen touch information after displaying the screen capture data, and returns the screen touch information to the server device;
    服务器端设备响应所述屏幕触摸信息。The server device responds to the screen touch information.
  2. 如权利要求1所述的方法,其中,所述客户端设备显示截屏数据后获取屏幕触摸信息,包括:The method of claim 1, wherein the obtaining, by the client device, the screen touch information after displaying the screen capture data comprises:
    获取屏幕触摸点位于客户端屏幕的坐标或被触摸的对服务器端设备起控制作用的按键的键值。Gets the key of the button on the screen of the client touch screen or the touched button that controls the server-side device.
  3. 如权利要求2所述的方法,其中,所述客户端设备获取屏幕触摸点位于客户端屏幕的坐标,包括:The method of claim 2, wherein the client device obtains coordinates of the screen touch point located on the client screen, including:
    获取为触摸点分配的标识i、触摸点i位于客户端屏幕的x轴坐标值client_x_i、y轴坐标值client_y_i、客户端屏幕尺寸,以及触摸状态信息;其中所述客户端屏幕尺寸包括:长client_screen_x和宽client_screen_y,所述触摸状态信息包括:按下或抬起。Obtaining an identifier i assigned to the touch point, the x-axis coordinate value client_x_i of the client screen, the y-axis coordinate value client_y_i, the client screen size, and the touch state information; wherein the client screen size includes: long client_screen_x And wide client_screen_y, the touch status information includes: press or lift.
  4. 如权利要求3所述的方法,其中,所述服务器端设备响应所述屏幕触摸信息,包括:The method of claim 3, wherein the server device responds to the screen touch information, comprising:
    当触摸信息为屏幕触摸点位于客户端屏幕的坐标时,服务器端设备解析出客户端设备发来的屏幕触摸点位于客户端屏幕的坐标;When the touch information is the coordinates of the screen touch point located on the client screen, the server device parses out the coordinates of the screen touch point sent by the client device on the client screen;
    服务器端设备获取本机屏幕尺寸,其中所述本机屏幕尺寸包括:长server_screen_x和宽server_screen_y;The server device obtains the native screen size, wherein the native screen size includes: long server_screen_x and wide server_screen_y;
    服务器端设备计算来自客户端设备的屏幕触摸点i位于本机的坐标值Server_x_i和Server_y_i:The server-side device calculates the coordinate values Server_x_i and Server_y_i of the screen touch point i from the client device located at the local machine:
    Server_x_i=server_screen_x*client_x_i/client_screen_x;Server_x_i=server_screen_x*client_x_i/client_screen_x;
    Server_y_i=server_screen_y*client_y_i/client_screen_y; Server_y_i=server_screen_y*client_y_i/client_screen_y;
    服务器端设备在所述坐标值Server_x_i和Server_y_i对应的点上根据所述触摸状态作出响应动作。The server side device performs a response action according to the touch state at a point corresponding to the coordinate values Server_x_i and Server_y_i.
  5. 如权利要求2所述的方法,其中所述服务器端设备响应所述屏幕触摸信息,包括:The method of claim 2, wherein the server device responds to the screen touch information, comprising:
    当屏幕触摸信息为被触摸的对服务器端设备起控制作用的按键的键值时,When the screen touch information is the key value of the touched button that controls the server device,
    服务器端设备根据所述按键键值作出响应动作。The server device performs a response action according to the button key value.
  6. 一种提供屏幕共享的服务器端设备,所述设备包括:A server-side device that provides screen sharing, the device comprising:
    屏幕数据传输单元,设置为持续对屏幕进行截屏,并把截屏数据发送至客户端设备;The screen data transmission unit is configured to continuously screen the screen and send the screen capture data to the client device;
    远程受控单元,设置为响应来自远程客户端的屏幕触摸信息。Remote controlled unit, set to respond to screen touch information from remote clients.
  7. 如权利要求6所述的服务器端设备,其中,The server device according to claim 6, wherein
    所述来自远程客户端的屏幕触摸信息包括:屏幕触摸点位于客户端屏幕的坐标或被触摸的对服务器端设备起控制作用的按键的键值;The screen touch information from the remote client includes: a coordinate of the screen touch point located at the client screen or a key value of the touched button that controls the server end device;
    其中,所述屏幕触摸点位于客户端屏幕的坐标,包括:为触摸点分配的标识i、触摸点i位于客户端屏幕的x轴坐标值client_x_i、y轴坐标值client_y_i、客户端屏幕尺寸,以及触摸状态信息;其中所述客户端屏幕尺寸包括:长client_screen_x和宽client_screen_y,所述触摸状态信息包括:按下或抬起。The screen touch point is located at coordinates of the client screen, and includes: an identifier i assigned to the touch point, an x-axis coordinate value of the touch point i located on the client screen, client_x_i, a y-axis coordinate value client_y_i, a client screen size, and Touching the status information; wherein the client screen size comprises: a long client_screen_x and a wide client_screen_y, the touch status information comprising: pressing or lifting.
  8. 如权利要求7所述的服务器端设备,其中,所述远程受控单元,设置为通过以下方式响应来自远程客户端的屏幕触摸信息:The server-side device of claim 7, wherein the remote controlled unit is configured to respond to screen touch information from a remote client in the following manner:
    当屏幕触摸信息为屏幕触摸点位于客户端屏幕的坐标时,解析出客户端设备发来的屏幕触摸点位于客户端屏幕的坐标;When the screen touch information is the coordinates of the screen touch point located on the client screen, parsing out the coordinates of the screen touch point sent by the client device on the client screen;
    获取本机屏幕尺寸,其中所述本机屏幕尺寸包括:长server_screen_x和宽server_screen_y;Get the native screen size, where the native screen size includes: long server_screen_x and wide server_screen_y;
    计算来自客户端设备的屏幕触摸点i位于本机的坐标值Server_x_i和Server_y_i:Calculate the coordinate values Server_x_i and Server_y_i from the screen touch point i from the client device:
    Server_x_i=server_screen_x*client_x_i/client_screen_x; Server_x_i=server_screen_x*client_x_i/client_screen_x;
    Server_y_i=server_screen_y*client_y_i/client_screen_y;Server_y_i=server_screen_y*client_y_i/client_screen_y;
    在所述坐标值Server_x_i和Server_y_i对应的点上根据所述触摸状态作出响应动作。A response action is made according to the touch state at a point corresponding to the coordinate values Server_x_i and Server_y_i.
  9. 如权利要求6所述的服务器端设备,其中,所述远程受控单元,是设置为通过下述方式响应来自远程客户端的屏幕触摸信息:The server-side device according to claim 6, wherein said remote controlled unit is configured to respond to screen touch information from a remote client in the following manner:
    当屏幕触摸信息为被触摸的对服务器端设备起控制作用的按键的键值时,根据所述按键键值作出响应动作。When the screen touch information is a key value of a touched button that controls the server device, a response action is made according to the button key value.
  10. 一种用于屏幕共享的客户端设备,所述设备包括:A client device for screen sharing, the device comprising:
    屏幕数据接收单元,设置为接收远程服务器端设备发送的截屏数据;a screen data receiving unit configured to receive screen capture data sent by the remote server device;
    远程控制单元,设置为显示截屏数据并获取屏幕触摸信息,以及将所述屏幕触摸信息返回至所述远程服务器端设备。a remote control unit configured to display screen capture data and obtain screen touch information, and return the screen touch information to the remote server device.
  11. 如权利要求10所述的设备,其中,所述远程控制单元是设置为通过下述方式获取屏幕触摸信息:The device of claim 10, wherein the remote control unit is configured to acquire screen touch information in the following manner:
    获取屏幕触摸点位于客户端屏幕的坐标或被触摸的对服务器端设备起控制作用的按键的键值。Gets the key of the button on the screen of the client touch screen or the touched button that controls the server-side device.
  12. 如权利要求11所述的设备,其中,所述远程控制单元是设置为通过下述方式获取屏幕触摸点位于客户端屏幕的坐标:The apparatus of claim 11, wherein the remote control unit is configured to acquire coordinates of a screen touch point located on a client screen by:
    获取为触摸点分配的标识i、触摸点i位于客户端屏幕的x轴坐标值client_x_i、y轴坐标值client_y_i、客户端屏幕尺寸,以及触摸状态信息;其中所述客户端屏幕尺寸包括:长client_screen_x和宽client_screen_y,所述触摸状态信息包括:按下或抬起。Obtaining an identifier i assigned to the touch point, the x-axis coordinate value client_x_i of the client screen, the y-axis coordinate value client_y_i, the client screen size, and the touch state information; wherein the client screen size includes: long client_screen_x And wide client_screen_y, the touch status information includes: press or lift.
  13. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至5中任一项所述的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any one of claims 1 to 5.
PCT/CN2015/075068 2014-10-24 2015-03-25 Method and wireless terminal for screen sharing between wireless terminals WO2016062004A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410578256.0A CN105592349A (en) 2014-10-24 2014-10-24 Method for screen sharing between wireless terminals and wireless terminal
CN201410578256.0 2014-10-24

Publications (1)

Publication Number Publication Date
WO2016062004A1 true WO2016062004A1 (en) 2016-04-28

Family

ID=55760169

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/075068 WO2016062004A1 (en) 2014-10-24 2015-03-25 Method and wireless terminal for screen sharing between wireless terminals

Country Status (2)

Country Link
CN (1) CN105592349A (en)
WO (1) WO2016062004A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120880A (en) * 2018-09-19 2019-01-01 电子科技大学 Real-time conferencing annotation method and system based on intelligent terminal

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354505A (en) * 2016-08-29 2017-01-25 武汉启目科技有限公司 Method for operating shared screen
CN109783041A (en) * 2018-12-29 2019-05-21 广州华欣电子科技有限公司 Screen Sharing System, method and medium
CN110087126A (en) * 2019-04-15 2019-08-02 广州视源电子科技股份有限公司 Screen transmission method and multi-screen interactive device, system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101802755A (en) * 2007-09-18 2010-08-11 汤姆森许可贸易公司 User interface for set top box
CN101888608A (en) * 2010-07-20 2010-11-17 中兴通讯股份有限公司 Remote control method, device and system
CN102752727A (en) * 2012-05-30 2012-10-24 北京三星通信技术研究有限公司 Terminal remote guide method and terminal remote guide device
CN103049190A (en) * 2012-12-12 2013-04-17 北京奇虎科技有限公司 Mobile communication terminal and method controlling device operation
CN103984494A (en) * 2013-02-07 2014-08-13 上海帛茂信息科技有限公司 System and method for intuitive user interaction among multiple pieces of equipment
CN104135712A (en) * 2014-07-30 2014-11-05 上海斐讯数据通信技术有限公司 Short-range control method and system for mobile terminal
CN104426990A (en) * 2013-09-09 2015-03-18 联想(北京)有限公司 Control method and control device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120173622A1 (en) * 2011-01-04 2012-07-05 Samsung Electronics Co., Ltd. Social screen casting
CN102148874A (en) * 2011-03-30 2011-08-10 北京彩讯科技股份有限公司 Remote multi-keyboard mouse control method for network computer
CN103093594B (en) * 2011-11-01 2016-04-13 北京红云融通技术有限公司 Touch-type remote-controller
CN102968274A (en) * 2012-11-22 2013-03-13 广东欧珀移动通信有限公司 Free screen capturing method and free screen capturing system in mobile device
CN103037014A (en) * 2012-12-30 2013-04-10 中山市嘉盛电子有限公司 Vehicle-mounted system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101802755A (en) * 2007-09-18 2010-08-11 汤姆森许可贸易公司 User interface for set top box
CN101888608A (en) * 2010-07-20 2010-11-17 中兴通讯股份有限公司 Remote control method, device and system
CN102752727A (en) * 2012-05-30 2012-10-24 北京三星通信技术研究有限公司 Terminal remote guide method and terminal remote guide device
CN103049190A (en) * 2012-12-12 2013-04-17 北京奇虎科技有限公司 Mobile communication terminal and method controlling device operation
CN103984494A (en) * 2013-02-07 2014-08-13 上海帛茂信息科技有限公司 System and method for intuitive user interaction among multiple pieces of equipment
CN104426990A (en) * 2013-09-09 2015-03-18 联想(北京)有限公司 Control method and control device
CN104135712A (en) * 2014-07-30 2014-11-05 上海斐讯数据通信技术有限公司 Short-range control method and system for mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120880A (en) * 2018-09-19 2019-01-01 电子科技大学 Real-time conferencing annotation method and system based on intelligent terminal

Also Published As

Publication number Publication date
CN105592349A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
US20220353228A1 (en) Dynamic configuration of application component tiles
RU2670786C9 (en) System, method and apparatus for device group control
US10110549B2 (en) Method, server and electronic devices of synchronizing notification messages for electronic devices
JP6282785B2 (en) Target function starting method, apparatus, system, program, and recording medium
US10455542B2 (en) Method of synchronizing notification messages for electronic devices and electronic devices
US9807219B2 (en) Method and terminal for executing user instructions
WO2015184770A1 (en) Information processing method, system and terminal
WO2016062004A1 (en) Method and wireless terminal for screen sharing between wireless terminals
JP6283749B2 (en) Method and apparatus for prompting device connection
WO2018121193A1 (en) Vr device control method, apparatus, and remote controller
US20200186484A1 (en) Method and apparatus for processing image in application, terminal device and storage medium
US20230138804A1 (en) Enhanced video call method and system, and electronic device
JP2014175956A (en) Transmission terminal, transmission system, and program
US20220166685A1 (en) Communication apparatus and control method for the same
CN114265641A (en) Control method, electronic device, and computer-readable storage medium
KR102461009B1 (en) Method for providing a tethering service and electronic device using the same
CN102983889A (en) Method of information cooperative processing between smart mobile phone and computer through Bluetooth wireless pairing
CN114285681A (en) Conference initiating method, conference responding method, device and storage medium
JP2018525744A (en) Method for mutual sharing of applications and data between touch screen computers and computer program for implementing this method
KR102256290B1 (en) Method and apparatus for creating communication group of electronic device
JP2015162040A (en) Electronic apparatus
WO2017201999A1 (en) File encryption method, device, terminal and storage medium
KR102277217B1 (en) Electronic device and method for setting up blocks
KR102095666B1 (en) Information input methods, devices, programs and storage media
CN104519057A (en) Qualification awarding method, qualification acquiring device and qualification acquiring device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15852319

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15852319

Country of ref document: EP

Kind code of ref document: A1