WO2018209869A1 - 无线传屏中信息共享的方法、装置及存储介质 - Google Patents

无线传屏中信息共享的方法、装置及存储介质 Download PDF

Info

Publication number
WO2018209869A1
WO2018209869A1 PCT/CN2017/103774 CN2017103774W WO2018209869A1 WO 2018209869 A1 WO2018209869 A1 WO 2018209869A1 CN 2017103774 W CN2017103774 W CN 2017103774W WO 2018209869 A1 WO2018209869 A1 WO 2018209869A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
screen
information
content
data
Prior art date
Application number
PCT/CN2017/103774
Other languages
English (en)
French (fr)
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 WO2018209869A1 publication Critical patent/WO2018209869A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay

Definitions

  • the present invention relates to the field of computer information processing technologies, and in particular, to a method, an apparatus, and a storage medium for information sharing in a wireless screen.
  • the wireless transmission technology mainly realizes the synchronization of the content and sound displayed on the screen of the source device to the receiving terminal device such as a projector, a television and a conference tablet, and the wireless transmission technology can process the source device (such as a computer). It is widely used in combination with the receiving terminal device (such as a TV set or a conference tablet) to display good effects.
  • the existing wireless screen transmission technology is mainly implemented by using the screen transmission software, and the corresponding screen transmission software is installed on the source device and the receiving terminal device, and the source device and the receiving terminal device are ensured to be in the same wireless network.
  • Wireless transmission of multimedia information including pictures, audio, video, etc.
  • multi-source on-screen display can be realized, that is, multiple source devices can display the content distribution of the respective screens in the receiving terminal device.
  • there are 4 computers that simultaneously transmit wirelessly with a conference tablet and the desktops of the 4 computers can be displayed in the conference tablet in the form of a quad screen.
  • the interaction form is relatively simple, and only the sharing of the screen can be realized, and the sharing of the software content cannot be realized.
  • information needs to be shared or other information such as pictures, web pages, etc.
  • sharing users need a lot of operations, which affects the user experience.
  • an embodiment of the present invention provides a method for information sharing in a wireless screen, which solves the problem that software content sharing cannot be realized.
  • the location information of the content program in the screen program is obtained, Determining a target computer corresponding to the location information, the current computer and the target computer simultaneously performing wireless screen transmission with a receiving terminal;
  • the screen uploading program and the content program of the current computer are overlapped, and the screen uploading program is located at the lower layer of the content program, it indicates that the user needs Sharing the content program, and then determining the target computer according to the location information of the content program in the screen program, and subsequently forwarding the operation data when the user operates the content program to the target through the receiving terminal when the user operates the content program a computer, the target computer capable of calling a corresponding program of the content program, and starting the corresponding program according to the operation data, restoring operation of the content program by the user, thereby realizing sharing of software content, enriching wireless transmission
  • the interaction mode, and the entire process does not require too many user operations, improving the interactive experience.
  • the method for information sharing in the wireless screen according to the above embodiment of the present invention may further have the following additional technical features:
  • the step of acquiring operation data when the user operates the content program, and forwarding the operation data to the target computer by the receiving terminal comprises:
  • the state data and the user data are encapsulated once by the content program to obtain an encapsulated data packet, and the primary encapsulated data packet is sent to the screencasting program;
  • the sending the once encapsulated data packet to Before the step of the screencasting process further comprises:
  • the source program information includes program ID information and version information
  • the step of causing the target computer to invoke a corresponding program of the content program and starting the corresponding program according to the operation data includes:
  • the target computer finds a corresponding program of the content program according to the ID program information and the version information, and simultaneously parses the secondary encapsulated data packet to obtain the status data and the user data, and The status data and the user data start the corresponding program as a startup parameter.
  • the step of acquiring the location information of the content program in the screen program to determine a target computer corresponding to the location information comprises:
  • a split screen corresponding to the coordinate data is found according to the coordinate data to determine a target computer corresponding to the split screen.
  • Another embodiment of the present invention provides an apparatus for information sharing in a wireless screen, which solves the problem that software content sharing cannot be realized.
  • a determining module configured to acquire location information of the content program in the screen program when the screen program and the content program of the current computer are overlapped, and the screen program is located under the content program Determining, by the target computer corresponding to the location information, the current computer and the target computer simultaneously perform wireless screen transmission with a receiving terminal;
  • Obtaining a forwarding module configured to acquire operation data when the user operates the content program, and forward the operation data to the target computer by the receiving terminal, so that the target computer invokes a corresponding program of the content program And starting the corresponding program according to the operation data.
  • the device for information sharing in the wireless screen according to the above embodiment of the present invention may further have the following additional technical features:
  • the acquiring forwarding module is specifically configured to:
  • the state data and the user data are encapsulated once by the content program to obtain an encapsulated data packet, and the primary encapsulated data packet is sent to the screencasting program;
  • the device further includes:
  • Opening a module configured to enable a local communication service before the obtaining and forwarding module sends the once encapsulated data packet to the screencasting program
  • connection relationship establishing module configured to establish, by the local communication service, a connection relationship between the screen printing program and the content program.
  • the source program information includes program ID information and version information
  • the obtaining and forwarding module is specifically configured to:
  • the target computer finds a corresponding program of the content program according to the ID program information and the version information, and simultaneously parses the secondary encapsulated data packet to obtain the status data and the user data, and The status data and the user data start the corresponding program as a startup parameter.
  • Another embodiment of the present invention also provides a storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the above method.
  • FIG. 1 is a flowchart of a method of information sharing in a wireless screen according to a first embodiment of the present invention
  • FIG. 2 is a schematic diagram of a split screen of a current computer and a receiving terminal in a method for information sharing in a wireless screen according to a first embodiment of the present invention
  • FIG. 3 is a detailed flowchart of obtaining operation data when the user operates the content program in FIG. 1 and forwarding the operation data to the target computer by the receiving terminal;
  • FIG. 4 is a flowchart of a method for information sharing in a wireless screen according to a second embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an apparatus for information sharing in a wireless screen according to another embodiment of the present invention.
  • a method for information sharing in a wireless screen according to a first embodiment of the present invention includes:
  • the receiving terminal performs wireless screen transmission with the current computer and the target computer at the same time, and the screens of all the computers are respectively displayed in the respective split screens of the receiving terminal.
  • the receiving terminal has windows or Android.
  • the conference tablet of the system is taken as an example for description. There are 4 computers that perform wireless screen transmission with the conference tablet. The screens of the four computers are displayed in the conference tablet in a quad screen manner, and the distribution of the quadrant screen can be Referring to FIG.
  • the first split screen and the second split screen respectively correspond to the current computer and the target computer in the above steps
  • the third split screen and the fourth split screen respectively correspond to the third computer and the fourth computer
  • the current computer The target computer, the third computer, and the fourth computer are respectively operated and controlled by the user 1, the user 2, the user 3, and the user 4.
  • Each computer has a screen program and a number of content programs, wherein the screen program is used for wireless screen transmission with the conference tablet, and the conference tablet that is understandable also has a screen program, and each screen program Zhongdu showed four split screens.
  • the content program is a software program other than the screen program, such as a web browser, a picture player, a video player, office software, and the like.
  • step S101 when the screen program and the content program of the current computer are overlapped, and the screen program is located in the lower layer of the content program, the location information of the content program in the screen program is obtained.
  • the target computer corresponding to the location information may be specifically implemented by the following steps:
  • a split screen corresponding to the coordinate data is found according to the coordinate data to determine a target computer corresponding to the split screen.
  • the current computer desktop has a windowed screen uploading program and a content program, as shown in FIG. 2, the content program is described by using a browser as an example, when the user drags the browser to the screen.
  • the browser is located on the upper layer of the screen-casting program, and at this time, the coordinate data of the cursor in the screen-casting program at the time of dragging is obtained, and the coordinate data is found and described according to the coordinate data.
  • the split screen corresponding to the coordinate data is used to determine the target computer corresponding to the split screen. For example, if the coordinate data falls in the second split screen, it is determined that the computer corresponding to the second split screen is the target computer.
  • the user's operation data is acquired. For example, if the user opens the People's Network in the browser, the operation data of opening the People's Network in the browser is obtained, and then the conference tablet is used. The operation data is forwarded to the target computer, so that the target computer calls a corresponding program with the browser in the current computer, and the corresponding program is started according to the operation data. For example, if there is a browser in the target computer, the People's Network will be opened in the browser of the target computer based on the above operation data.
  • a method for information sharing in a wireless screen when listening to a current computer
  • the screen program and the content program overlap, and the screen program is located below the content program, indicating that the user needs to share the content program at this time, and then determining according to the location information of the content program in the screen program.
  • the target computer can invoke a corresponding program of the content program, and according to the operation The data starts the corresponding program, restores the user's operation on the content program, thereby realizing the sharing of the software content, enriching the interaction mode of the wireless screen, and the whole process does not require too many user operations, thereby improving the interactive experience.
  • step S102 the step of acquiring operation data when the user operates the content program, and forwarding the operation data to the target computer by the receiving terminal includes: :
  • Step S1021 Acquire operation data when the user operates the content program, where the operation data includes status data and user data;
  • Step S1022 Perform, by the content program, the state data and the user data to be encapsulated once to obtain a packaged data packet, and send the once encapsulated data packet to the screencasting program;
  • the one-package data packet obtained in one package can be some byte array, and these byte arrays only need the content program to parse, and the screen program does not need to parse these byte arrays.
  • Step S2023 performing secondary encapsulation on the primary encapsulated data packet by using the screencasting program to obtain a secondary encapsulated data packet;
  • the secondary encapsulation is mainly for network transmission needs, and the secondary encapsulation data packet may be a network transmission data packet.
  • Step S1024 the secondary encapsulated data packet and the source program information of the content program are sent to the receiving terminal through a network, so that the receiving terminal forwards the secondary encapsulated data packet and the source program information to the The target computer.
  • the source program information includes program ID information and version information.
  • the program ID information is a certain browser
  • the version information is V2.0.
  • the step of causing the target computer to invoke a corresponding program of the content program and starting the corresponding program according to the operation data includes:
  • the target computer finds the content program according to the ID program information and the version information. And corresponding to the program, parsing the secondary encapsulated data packet to obtain the state data and the user data, and starting the corresponding program by using the state data and the user data as a startup parameter.
  • the method before the step of transmitting the once encapsulated data packet to the screencasting program in step S2022, the method further includes:
  • the local communication service may be a socket service dedicated to local communication, and the socket service can establish a connection relationship between the screen printing program and the content program, and ensure that the content program can send a packaged data packet to the screen printing program. .
  • a method for information sharing in a wireless screen according to a second embodiment of the present invention is applied to a host computer, a plurality of secondary computers, and simultaneously performs wireless transmission with the host computer and each of the secondary computers.
  • Receiving terminal, each computer screen is correspondingly displayed in each split screen of the receiving terminal, wherein the host computer, each sub-computer and the receiving terminal have a screen-laying program, and the host computer has a content program, each of which is
  • the computer has a corresponding program corresponding to the content program, and a system service process exists in each computer, and the communication between the screen program and the content program in the host computer is completed by the system service process, and the host computer
  • the screen program and the content program each open a listener service for monitoring the push sent by the system service process, and the secondary computer is the same.
  • the method includes:
  • the system service process of the host computer monitors that the screen program of the host computer overlaps with the content program, and the screen program is located below the content program, the system service process of the host computer sends a push message to the screen program of the host computer.
  • the push information carries coordinates of the content program in the screen program;
  • the screen program of the host computer parses the push information to obtain a target sub-screen corresponding to the target split screen and the target split screen, and the host computer simultaneously opens the local communication service, and sends feedback information to the system service process of the host computer;
  • the host computer's screen transmitting program After receiving the encapsulated data, the host computer's screen transmitting program performs secondary encapsulation, and then adds the source program information to obtain a secondary encapsulated data packet, and forwards the secondary encapsulated data packet to the receiving terminal. program;
  • the screen transmitting program of the receiving terminal forwards the secondary encapsulated data packet to the target secondary computer, and the target secondary computer parses the secondary encapsulated data packet, and initiates a corresponding program corresponding to the content program of the host computer, and the status data is And user data is passed as a parameter to the corresponding program;
  • the corresponding program in the target sub-computer checks the parameters at startup, and restores the operation state and data of the user according to the status data and the user data.
  • the communication module between the screen application program and the content program used in the above solution is uniformly packaged as an SDK, and is accessed by the application developer, and the system service process is installed into the system for self-starting. It can be understood that, when the implementation is implemented, the application provider of the content program can be used for application integration and the secondary development of the pre-installed application by using the system API interface, and the API is mainly responsible for the function of the screen-casting program. Communication of content programs.
  • an apparatus for information sharing in a wireless screen includes:
  • a determining module 10 configured to acquire a position of the content program in the screen program when the screen program and the content program of the current computer are overlapped, and the screen program is located below the content program Information to determine a target computer corresponding to the location information, the current computer Performing wireless screen transmission with a receiving terminal simultaneously with the target computer;
  • the obtaining and forwarding module 20 is specifically configured to:
  • the state data and the user data are encapsulated once by the content program to obtain an encapsulated data packet, and the primary encapsulated data packet is sent to the screencasting program;
  • the device further includes:
  • the opening module 30 is configured to enable the local communication service before the obtaining and forwarding module 20 sends the once encapsulated data packet to the screencasting program;
  • connection relationship establishing module 40 is configured to establish a connection relationship between the screen printing program and the content program by using the local communication service.
  • the source program information includes program ID information and version information
  • the obtaining and forwarding module 20 is specifically configured to:
  • the target computer finds a corresponding program of the content program according to the ID program information and the version information, and simultaneously parses the secondary encapsulated data packet to obtain the status data and the user data, and The status data and the user data start the corresponding program as a startup parameter.
  • the determining module 10 is specifically configured to:
  • embodiments of the present invention also provide a storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the above method.
  • a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with such an instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
  • portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种无线传屏中信息共享的方法、装置及存储介质,所述方法包括:当监听到当前计算机的传屏程序和内容程序发生重叠,且所述传屏程序位于所述内容程序的下层时,获取所述内容程序在所述传屏程序中的位置信息,以确定与所述位置信息对应的目标计算机(S101),所述当前计算机和所述目标计算机同时与一接收终端进行无线传屏;获取用户操作所述内容程序时的操作数据,并通过所述接收终端将所述操作数据转发至所述目标计算机,以使所述目标计算机调用所述内容程序的对应程序,并根据所述操作数据启动所述对应程序(S102)。所述方法能够实现软件内容的共享,丰富了无线传屏的交互方式,且整个过程无需过多的用户操作,提升了交互体验。

Description

无线传屏中信息共享的方法、装置及存储介质 技术领域
本发明涉及计算机信息处理技术领域,特别是涉及一种无线传屏中信息共享的方法、装置及存储介质。
背景技术
无线传屏技术主要实现将源端装置屏幕上显示的内容和声音同步到投影仪、电视机和会议平板等接收终端装置进行展示,无线传屏技术能够将源端装置(如计算机)处理能力强和接收终端装置(如电视机或会议平板)展示效果好的特点结合起来,因此得到了广泛应用。
现有的无线传屏技术主要采用传屏软件实现,在源端装置和接收终端装置上均安装相应的传屏软件,同时保证源端装置和接收终端装置在同一个无线网络中,即可实现多媒体信息(包括图片、音频、视频等)的无线传屏。当有多个源端装置同时与一个接收终端装置进行无线传屏时,可以实现多源同屏显示,即多个源端装置可以将各自屏幕的内容分配显示在接收终端装置中。例如有4台计算机同时与1台会议平板进行无线传屏,该4台计算机的桌面可以以四分屏的形式显示在会议平板中。
但现有的无线传屏方案中,交互形式还比较单一,只能做到画面的共享,无法实现软件内容的共享,当临时有些内容较多的资料需要共享或者其他诸如图片、网页等信息需要共享时,用户需要大量的操作,影响了用户体验。
发明内容
为此,本发明的一个实施例提出一种无线传屏中信息共享的方法,解决无法实现软件内容共享的问题。
根据本发明一实施例的无线传屏中信息共享的方法,包括:
当监听到当前计算机的传屏程序和内容程序发生重叠,且所述传屏程序位于所述内容程序的下层时,获取所述内容程序在所述传屏程序中的位置信息, 以确定与所述位置信息对应的目标计算机,所述当前计算机和所述目标计算机同时与一接收终端进行无线传屏;
获取用户操作所述内容程序时的操作数据,并通过所述接收终端将所述操作数据转发至所述目标计算机,以使所述目标计算机调用所述内容程序的对应程序,并根据所述操作数据启动所述对应程序。
根据本发明实施例的无线传屏中信息共享的方法,当监听到当前计算机的传屏程序和内容程序发生重叠,且所述传屏程序位于所述内容程序的下层时,表明此时用户需要对内容程序进行共享,然后会根据内容程序在传屏程序中的位置信息,确定目标计算机,后续当用户在操作该内容程序时,通过接收终端将用户操作该内容程序时的操作数据转发至目标计算机,所述目标计算机能够调用所述内容程序的对应程序,并根据所述操作数据启动所述对应程序,还原用户对该内容程序的操作,从而实现了软件内容的共享,丰富了无线传屏的交互方式,且整个过程无需过多的用户操作,提升了交互体验。
另外,根据本发明上述实施例的无线传屏中信息共享的方法,还可以具有如下附加的技术特征:
进一步地,在本发明的一个实施例中,所述获取用户操作所述内容程序时的操作数据,并通过所述接收终端将所述操作数据转发至所述目标计算机的步骤包括:
获取用户操作所述内容程序时的操作数据,所述操作数据包括状态数据和用户数据;
通过所述内容程序对所述状态数据和所述用户数据进行一次封装,以获得一次封装数据包,并将所述一次封装数据包发送至所述传屏程序;
通过所述传屏程序对所述一次封装数据包进行二次封装,以获得二次封装数据包;
将所述二次封装数据包和所述内容程序的源程序信息通过网络发送至所述接收终端,以使所述接收终端将所述二次封装数据包和源程序信息转发至所述目标计算机。
进一步地,在本发明的一个实施例中,所述将所述一次封装数据包发送至 所述传屏程序的步骤之前,所述方法还包括:
开启本地通信服务;
通过所述本地通信服务建立所述传屏程序和所述内容程序的连接关系;
进一步地,在本发明的一个实施例中,所述源程序信息包括程序ID信息和版本信息;
所述以使所述目标计算机调用所述内容程序的对应程序,并根据所述操作数据启动所述对应程序的步骤包括:
以使所述目标计算机根据所述ID程序信息和所述版本信息找到所述内容程序的对应程序,同时解析所述二次封装数据包,以获得所述状态数据和所述用户数据,并将所述状态数据和所述用户数据作为启动参数启动所述对应程序。
进一步地,在本发明的一个实施例中,所述获取所述内容程序在所述传屏程序中的位置信息,以确定与所述位置信息对应的目标计算机的步骤包括:
获取用户将所述内容程序拖拽到所述传屏程序时的光标在所述传屏程序中的坐标数据;
根据所述坐标数据找到与所述坐标数据对应的分屏,以确定与所述分屏对应的目标计算机。
本发明的另一个实施例提出一种无线传屏中信息共享的装置,解决无法实现软件内容共享的问题。
根据本发明实施例的无线传屏中信息共享的装置,包括:
确定模块,用于当监听到当前计算机的传屏程序和内容程序发生重叠,且所述传屏程序位于所述内容程序的下层时,获取所述内容程序在所述传屏程序中的位置信息,以确定与所述位置信息对应的目标计算机,所述当前计算机和所述目标计算机同时与一接收终端进行无线传屏;
获取转发模块,用于获取用户操作所述内容程序时的操作数据,并通过所述接收终端将所述操作数据转发至所述目标计算机,以使所述目标计算机调用所述内容程序的对应程序,并根据所述操作数据启动所述对应程序。
另外,根据本发明上述实施例的无线传屏中信息共享的装置,还可以具有如下附加的技术特征:
进一步地,在本发明的一个实施例中,所述获取转发模块具体用于:
获取用户操作所述内容程序时的操作数据,所述操作数据包括状态数据和用户数据;
通过所述内容程序对所述状态数据和所述用户数据进行一次封装,以获得一次封装数据包,并将所述一次封装数据包发送至所述传屏程序;
通过所述传屏程序对所述一次封装数据包进行二次封装,以获得二次封装数据包;
将所述二次封装数据包和所述内容程序的源程序信息通过网络发送至所述接收终端,以使所述接收终端将所述二次封装数据包和源程序信息转发至所述目标计算机。
进一步地,在本发明的一个实施例中,所述装置还包括:
开启模块,用于在所述获取转发模块将所述一次封装数据包发送至所述传屏程序之前,开启本地通信服务;
连接关系建立模块,用于通过所述本地通信服务建立所述传屏程序和所述内容程序的连接关系。
进一步地,在本发明的一个实施例中,所述源程序信息包括程序ID信息和版本信息;
所述获取转发模块具体用于:
以使所述目标计算机根据所述ID程序信息和所述版本信息找到所述内容程序的对应程序,同时解析所述二次封装数据包,以获得所述状态数据和所述用户数据,并将所述状态数据和所述用户数据作为启动参数启动所述对应程序。
本发明的另一个实施例还提出一种存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述方法的步骤。
本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实施例了解到。
附图说明
本发明实施例的上述和/或附加的方面和优点从结合下面附图对实施例的描 述中将变得明显和容易理解,其中:
图1是根据本发明第一实施例的无线传屏中信息共享的方法的流程图;
图2是根据本发明第一实施例的无线传屏中信息共享的方法中当前计算机和接收终端的分屏示意图;
图3是图1中获取用户操作所述内容程序时的操作数据,并通过所述接收终端将所述操作数据转发至所述目标计算机的详细流程图;
图4是根据本发明第二实施例的无线传屏中信息共享的方法的流程图;
图5是根据本发明另一实施例的无线传屏中信息共享的装置的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
请参阅图1,本发明第一实施例提出的无线传屏中信息共享的方法,包括:
S101,当监听到当前计算机的传屏程序和内容程序发生重叠,且所述传屏程序位于所述内容程序的下层时,获取所述内容程序在所述传屏程序中的位置信息,以确定与所述位置信息对应的目标计算机,所述当前计算机和所述目标计算机同时与一接收终端进行无线传屏;
其中,所述接收终端至少同时与当前计算机和目标计算机进行无线传屏,所有计算机的画面分别对应显示在所述接收终端的各个分屏中,本实施例中,该接收终端以具有windows或安卓系统的会议平板为例进行说明,与该会议平板进行无线传屏的计算机有4台,这4台计算机的画面以四分屏的方式无线传屏显示在会议平板中,四分屏的分布可参阅图2,其中,第1分屏和第2分屏分别对应上述步骤中的当前计算机和目标计算机,第3分屏和第4分屏分别对应第三计算机和第四计算机,且当前计算机、目标计算机、第三计算机和第四计算机分别由用户1、用户2、用户3和用户4操作控制。
每台计算机中都有一个传屏程序和若干个内容程序,其中,传屏程序用于与会议平板进行无线传屏,可以理解的会议平板中也对应有一个传屏程序,每个传屏程序中都展示了4个分屏。内容程序是除传屏程序以外的软件程序,例如网页浏览器、图片播放器、视频播放器、office软件等。
步骤S101中,当监听到当前计算机的传屏程序和内容程序发生重叠,且所述传屏程序位于所述内容程序的下层时,获取所述内容程序在所述传屏程序中的位置信息,以确定与所述位置信息对应的目标计算机具体可以通过以下步骤实现:
获取用户将所述内容程序拖拽到所述传屏程序时的光标在所述传屏程序中的坐标数据;
根据所述坐标数据找到与所述坐标数据对应的分屏,以确定与所述分屏对应的目标计算机。
其中,具体实施时,当前计算机的桌面中有一个窗口化的传屏程序和一个内容程序,可参阅图2,该内容程序以浏览器为例进行说明,当用户将浏览器拖拽到传屏程序中时,在窗口堆叠层次上,浏览器位于传屏程序的上一层,此时会获取拖拽时的光标在所述传屏程序中的坐标数据,根据所述坐标数据找到与所述坐标数据对应的分屏,以确定与所述分屏对应的目标计算机,例如,坐标数据落在第2分屏中,则确定第2分屏对应的计算机即为目标计算机。
S102,获取用户操作所述内容程序时的操作数据,并通过所述接收终端将所述操作数据转发至所述目标计算机,以使所述目标计算机调用所述内容程序的对应程序,并根据所述操作数据启动所述对应程序。
其中,当用户在当前计算机操作浏览器时,会获取用户的操作数据,例如,用户在浏览器中打开人民网,则会获取在浏览器中打开人民网这一操作数据,然后通过会议平板将该操作数据转发至目标计算机,以使目标计算机调用与当前计算机中浏览器的对应程序,并根据所述操作数据启动所述对应程序。例如,目标计算机中也有一个一样的浏览器,则会根据上述操作数据,在目标计算机的浏览器中打开人民网。
根据本发明实施例的无线传屏中信息共享的方法,当监听到当前计算机的 传屏程序和内容程序发生重叠,且所述传屏程序位于所述内容程序的下层时,表明此时用户需要对内容程序进行共享,然后会根据内容程序在传屏程序中的位置信息,确定目标计算机,后续当用户在操作该内容程序时,通过接收终端将用户操作该内容程序时的操作数据转发至目标计算机,所述目标计算机能够调用所述内容程序的对应程序,并根据所述操作数据启动所述对应程序,还原用户对该内容程序的操作,从而实现了软件内容的共享,丰富了无线传屏的交互方式,且整个过程无需过多的用户操作,提升了交互体验。
此外,作为一个具体示例,请参阅图3,步骤S102中,所述获取用户操作所述内容程序时的操作数据,并通过所述接收终端将所述操作数据转发至所述目标计算机的步骤包括:
步骤S1021,获取用户操作所述内容程序时的操作数据,所述操作数据包括状态数据和用户数据;
步骤S1022,通过所述内容程序对所述状态数据和所述用户数据进行一次封装,以获得一次封装数据包,并将所述一次封装数据包发送至所述传屏程序;
其中,一次封装得到的一次封装数据包可以是一些字节数组,这些字节数组只需要内容程序去解析,传屏程序不用解析这些字节数组。
步骤S2023,通过所述传屏程序对所述一次封装数据包进行二次封装,以获得二次封装数据包;
其中,二次封装主要是为了网络传输需要,二次封装数据包可以是一个网络传输的数据包。
步骤S1024,将所述二次封装数据包和所述内容程序的源程序信息通过网络发送至所述接收终端,以使所述接收终端将所述二次封装数据包和源程序信息转发至所述目标计算机。
其中,所述源程序信息包括程序ID信息和版本信息,例如程序ID信息为某某浏览器,版本信息为V2.0版。
所述以使所述目标计算机调用所述内容程序的对应程序,并根据所述操作数据启动所述对应程序的步骤包括:
以使所述目标计算机根据所述ID程序信息和所述版本信息找到所述内容程 序的对应程序,同时解析所述二次封装数据包,以获得所述状态数据和所述用户数据,并将所述状态数据和所述用户数据作为启动参数启动所述对应程序。
此外,作为一个具体示例,在步骤S2022中,将所述一次封装数据包发送至所述传屏程序的步骤之前,所述方法还包括:
开启本地通信服务;
通过所述本地通信服务建立所述传屏程序和所述内容程序的连接关系。
其中,本地通信服务可以是专门用于本地通信的socket服务,通过该socket服务能够建立所述传屏程序和所述内容程序的连接关系,保证内容程序能够将一次封装数据包发送至传屏程序。
请参阅图4,本发明第二实施例提出的无线传屏中信息共享的方法,应用在主计算机、多个副计算机、同时与所述主计算机和每个所述副计算机进行无线传屏的接收终端,每个计算机的画面分别对应显示在接收终端的各个分屏中,其中,主计算机、每个副计算机和接收终端都有一个传屏程序,主计算机中有一个内容程序,每个副计算机中有一个与该内容程序对应的对应程序,且每个计算机中都存在一个系统服务进程,主计算机中的传屏程序和内容程序的通信会借助该系统服务进程来完成,主计算机中的传屏程序与内容程序各自都会开启一个监听服务用于监听系统服务进程发出的推送,副计算机同理。所述方法包括:
S201,当主计算机的系统服务进程监听到主计算机的传屏程序和内容程序发生重叠,且传屏程序位于内容程序的下层时,主计算机的系统服务进程向主计算机的传屏程序发出推送信息,所述推送信息携带内容程序在传屏程序中的坐标;
S202,主计算机的传屏程序解析所述推送信息,以获取目标分屏及目标分屏对应的目标副计算机,主计算机同时打开本地通信服务,并向主计算机的系统服务进程发送反馈信息;
S203,主计算机的系统服务进程接收到反馈信息后,转推送到主计算机的内容程序;
S204,主计算机的内容程序监听到主计算机的系统服务进程的推送后,对 用户操作该内容程序时产生的状态数据以及用户数据进行封装,然后通过本地通信服务与主计算机的传屏程序建立连接,并将封装好的数据发送给主计算机的传屏程序;
S205,主计算机的传屏程序接收到封装好的数据后,进行二次封装,再附加上源程序信息,得到二次封装数据包,并将该二次封装数据包转发给接收终端的传屏程序;
S206,接收终端的传屏程序将该二次封装数据包转发至目标副计算机,目标副计算机对二次封装数据包进行解析,并发起调用与主计算机的内容程序对应的对应程序,将状态数据以及用户数据作为参数传递给该对应程序;
S207,目标副计算机中的对应程序在启动时检查参数,按状态数据以及用户数据还原用户的操作状态及数据。
此外,上述方案中使用到的传屏程序与内容程序间的通信模块,统一封装为SDK,给到应用开发商进行接入,而系统服务进程是安装到系统中进行自启动。可以理解的,具体实施时,可以通过使用系统API接口提供给内容程序的应用厂商进行应用集成和自身对预装应用进行二次开发的时候使用,而这套API主要负责功能为传屏程序与内容程序的通信。
下面给出一个具体应用环境,会议中,用户1、用户2、用户3和用户4在各自的电脑上启动传屏软件进行桌面传送(无线传屏),每台电脑上的桌面内容都被传送至会议平板中进行分屏显示。展示中,用户1正在用浏览器查看某站点的内容,这时候用户1需要用户2也打开同样的站点并浏览里面某部分的内容的时候,通过此方案,用户1只需要将浏览器拖拽到传屏软件中用户2对应的分屏中,用户2那边会自动打开相应的浏览器并跳转到对应站点上的内容位置。
请参阅图5,基于同一发明构思,本发明另一实施例提出的无线传屏中信息共享的装置,包括:
确定模块10,用于当监听到当前计算机的传屏程序和内容程序发生重叠,且所述传屏程序位于所述内容程序的下层时,获取所述内容程序在所述传屏程序中的位置信息,以确定与所述位置信息对应的目标计算机,所述当前计算机 和所述目标计算机同时与一接收终端进行无线传屏;
获取转发模块20,用于获取用户操作所述内容程序时的操作数据,并通过所述接收终端将所述操作数据转发至所述目标计算机,以使所述目标计算机调用所述内容程序的对应程序,并根据所述操作数据启动所述对应程序。
本实施例中,所述获取转发模块20具体用于:
获取用户操作所述内容程序时的操作数据,所述操作数据包括状态数据和用户数据;
通过所述内容程序对所述状态数据和所述用户数据进行一次封装,以获得一次封装数据包,并将所述一次封装数据包发送至所述传屏程序;
通过所述传屏程序对所述一次封装数据包进行二次封装,以获得二次封装数据包;
将所述二次封装数据包和所述内容程序的源程序信息通过网络发送至所述接收终端,以使所述接收终端将所述二次封装数据包和源程序信息转发至所述目标计算机。
本实施例中,所述装置还包括:
开启模块30,用于在所述获取转发模块20将所述一次封装数据包发送至所述传屏程序之前,开启本地通信服务;
连接关系建立模块40,用于通过所述本地通信服务建立所述传屏程序和所述内容程序的连接关系。
本实施例中,所述源程序信息包括程序ID信息和版本信息;
所述获取转发模块20具体用于:
以使所述目标计算机根据所述ID程序信息和所述版本信息找到所述内容程序的对应程序,同时解析所述二次封装数据包,以获得所述状态数据和所述用户数据,并将所述状态数据和所述用户数据作为启动参数启动所述对应程序。
本实施例中,所述确定模块10具体用于:
获取用户将所述内容程序拖拽到所述传屏程序时的光标在所述传屏程序中的坐标数据;
根据所述坐标数据找到与所述坐标数据对应的分屏,以确定与所述分屏对 应的目标计算机。
本发明实施例提出的无线传屏中信息共享的装置的技术特征和技术效果与本发明实施例提出的方法相同,在此不予赘述。
此外,本发明的实施例还提出一种存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述方法的步骤。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,“计算机可读介质”可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。
计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、 “具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
尽管已经示出和描述了本发明的实施例,本领域的普通技术人员可以理解:在不脱离本发明的原理和宗旨的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由权利要求及其等同物限定。

Claims (10)

  1. 一种无线传屏中信息共享的方法,其特征在于,包括:
    当监听到当前计算机的传屏程序和内容程序发生重叠,且所述传屏程序位于所述内容程序的下层时,获取所述内容程序在所述传屏程序中的位置信息,以确定与所述位置信息对应的目标计算机,所述当前计算机和所述目标计算机同时与一接收终端进行无线传屏;
    获取用户操作所述内容程序时的操作数据,并通过所述接收终端将所述操作数据转发至所述目标计算机,以使所述目标计算机调用所述内容程序的对应程序,并根据所述操作数据启动所述对应程序。
  2. 根据权利要求1所述的无线传屏中信息共享的方法,其特征在于,所述获取用户操作所述内容程序时的操作数据,并通过所述接收终端将所述操作数据转发至所述目标计算机的步骤包括:
    获取用户操作所述内容程序时的操作数据,所述操作数据包括状态数据和用户数据;
    通过所述内容程序对所述状态数据和所述用户数据进行一次封装,以获得一次封装数据包,并将所述一次封装数据包发送至所述传屏程序;
    通过所述传屏程序对所述一次封装数据包进行二次封装,以获得二次封装数据包;
    将所述二次封装数据包和所述内容程序的源程序信息通过网络发送至所述接收终端,以使所述接收终端将所述二次封装数据包和源程序信息转发至所述目标计算机。
  3. 根据权利要求2所述的无线传屏中信息共享的方法,其特征在于,所述将所述一次封装数据包发送至所述传屏程序的步骤之前,所述方法还包括:
    开启本地通信服务;
    通过所述本地通信服务建立所述传屏程序和所述内容程序的连接关系;
  4. 根据权利要求3所述的无线传屏中信息共享的方法,其特征在于,所述源程序信息包括程序ID信息和版本信息;
    所述以使所述目标计算机调用所述内容程序的对应程序,并根据所述操作数据启动所述对应程序的步骤包括:
    以使所述目标计算机根据所述ID程序信息和所述版本信息找到所述内容程序的对应程序,同时解析所述二次封装数据包,以获得所述状态数据和所述用户数据,并将所述状态数据和所述用户数据作为启动参数启动所述对应程序。
  5. 根据权利要求1所述的无线传屏中信息共享的方法,其特征在于,所述获取所述内容程序在所述传屏程序中的位置信息,以确定与所述位置信息对应的目标计算机的步骤包括:
    获取用户将所述内容程序拖拽到所述传屏程序时的光标在所述传屏程序中的坐标数据;
    根据所述坐标数据找到与所述坐标数据对应的分屏,以确定与所述分屏对应的目标计算机。
  6. 一种无线传屏中信息共享的装置,其特征在于,包括:
    确定模块,用于当监听到当前计算机的传屏程序和内容程序发生重叠,且所述传屏程序位于所述内容程序的下层时,获取所述内容程序在所述传屏程序中的位置信息,以确定与所述位置信息对应的目标计算机,所述当前计算机和所述目标计算机同时与一接收终端进行无线传屏;
    获取转发模块,用于获取用户操作所述内容程序时的操作数据,并通过所述接收终端将所述操作数据转发至所述目标计算机,以使所述目标计算机调用所述内容程序的对应程序,并根据所述操作数据启动所述对应程序。
  7. 根据权利要求6所述的无线传屏中信息共享的装置,其特征在于,所述获取转发模块具体用于:
    获取用户操作所述内容程序时的操作数据,所述操作数据包括状态数据和用户数据;
    通过所述内容程序对所述状态数据和所述用户数据进行一次封装,以获得一次封装数据包,并将所述一次封装数据包发送至所述传屏程序;
    通过所述传屏程序对所述一次封装数据包进行二次封装,以获得二次封装数据包;
    将所述二次封装数据包和所述内容程序的源程序信息通过网络发送至所述接收终端,以使所述接收终端将所述二次封装数据包和源程序信息转发至所述 目标计算机。
  8. 根据权利要求7所述的无线传屏中信息共享的装置,其特征在于,所述装置还包括:
    开启模块,用于在所述获取转发模块将所述一次封装数据包发送至所述传屏程序之前,开启本地通信服务;
    连接关系建立模块,用于通过所述本地通信服务建立所述传屏程序和所述内容程序的连接关系。
  9. 根据权利要求8所述的无线传屏中信息共享的装置,其特征在于,所述源程序信息包括程序ID信息和版本信息;
    所述获取转发模块具体用于:
    以使所述目标计算机根据所述ID程序信息和所述版本信息找到所述内容程序的对应程序,同时解析所述二次封装数据包,以获得所述状态数据和所述用户数据,并将所述状态数据和所述用户数据作为启动参数启动所述对应程序。
  10. 一种存储介质,其上存储有计算机指令,其特征在于,该指令被处理器执行时实现权利要求1至5任意一项所述方法的步骤。
PCT/CN2017/103774 2017-05-19 2017-09-27 无线传屏中信息共享的方法、装置及存储介质 WO2018209869A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710359586.4A CN107291411B (zh) 2017-05-19 2017-05-19 无线传屏中信息共享的方法、装置及存储介质
CN201710359586.4 2017-05-19

Publications (1)

Publication Number Publication Date
WO2018209869A1 true WO2018209869A1 (zh) 2018-11-22

Family

ID=60094557

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103774 WO2018209869A1 (zh) 2017-05-19 2017-09-27 无线传屏中信息共享的方法、装置及存储介质

Country Status (2)

Country Link
CN (1) CN107291411B (zh)
WO (1) WO2018209869A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943722A (zh) * 2017-11-16 2018-04-20 杭州楷知科技有限公司 一种基于usb设备实现传屏的方法及系统
CN110515580B (zh) * 2019-09-02 2022-08-19 联想(北京)有限公司 一种显示控制方法、装置及终端
CN113407134A (zh) * 2021-06-16 2021-09-17 烽火通信科技股份有限公司 基于分屏显示实现多客户端之间文件共享的方法和装置
CN113542862A (zh) * 2021-07-22 2021-10-22 广州朗国电子科技股份有限公司 一种无线传屏中信息共享的方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120169638A1 (en) * 2011-01-03 2012-07-05 Samsung Electronics Co., Ltd. Device and method for transmitting data in portable terminal
CN103150132A (zh) * 2013-02-21 2013-06-12 海信集团有限公司 一种传屏方法及电子设备
CN103490800A (zh) * 2013-09-25 2014-01-01 深圳市欧珀通信软件有限公司 一种蓝牙传输文件的方法及装置
CN105262974A (zh) * 2015-08-12 2016-01-20 北京恒泰实达科技股份有限公司 一种实现多人屏幕无线共享的方法
CN106227480A (zh) * 2016-07-22 2016-12-14 深圳天珑无线科技有限公司 一种服务器、客户端和多屏互动方法、系统
CN106603823A (zh) * 2016-11-28 2017-04-26 努比亚技术有限公司 一种内容分享方法、装置及终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120169638A1 (en) * 2011-01-03 2012-07-05 Samsung Electronics Co., Ltd. Device and method for transmitting data in portable terminal
CN103150132A (zh) * 2013-02-21 2013-06-12 海信集团有限公司 一种传屏方法及电子设备
CN103490800A (zh) * 2013-09-25 2014-01-01 深圳市欧珀通信软件有限公司 一种蓝牙传输文件的方法及装置
CN105262974A (zh) * 2015-08-12 2016-01-20 北京恒泰实达科技股份有限公司 一种实现多人屏幕无线共享的方法
CN106227480A (zh) * 2016-07-22 2016-12-14 深圳天珑无线科技有限公司 一种服务器、客户端和多屏互动方法、系统
CN106603823A (zh) * 2016-11-28 2017-04-26 努比亚技术有限公司 一种内容分享方法、装置及终端

Also Published As

Publication number Publication date
CN107291411B (zh) 2019-01-29
CN107291411A (zh) 2017-10-24

Similar Documents

Publication Publication Date Title
CN108536524B (zh) 资源更新方法、装置、终端及存储介质
US11019119B2 (en) Web-based live broadcast
WO2018209869A1 (zh) 无线传屏中信息共享的方法、装置及存储介质
EP3046331B1 (en) Media control method and system based on cloud desktop
US9229734B2 (en) Hospitality media system employing virtual user interfaces
WO2020233142A1 (zh) 多媒体文件播放方法、装置、电子设备和存储介质
EP3780637A1 (en) Webpage video playback method and apparatus, electronic device and storage medium
US11243737B2 (en) Method and system for remote collaboration
CN109542614B (zh) 资源配置方法、装置、终端及存储介质
WO2019228340A1 (zh) 程序优化方法、装置、终端及存储介质
CN104539977A (zh) 直播预览方法及装置
US20180213274A1 (en) Apparatus and method for playing back and seeking media in web browser
KR102121358B1 (ko) 데이터 전송 방법 및 디바이스
WO2019201340A1 (zh) 处理器核心调度方法、装置、终端及存储介质
WO2022057677A1 (zh) 振动控制方法、装置、电子设备和计算机可读存储介质
CN113784049B (zh) 安卓系统虚拟机的摄像头调用方法、电子设备和存储介质
WO2015176352A1 (zh) 一种基于安卓系统的应用间信息交互方法及装置
TW202147834A (zh) 同步本地房間和遠端共享
WO2018192183A1 (zh) 无线传屏中视频文件的处理方法及装置
WO2023000888A1 (zh) 云应用的实现方法、装置、电子设备和存储介质
CN106933523A (zh) 一种多屏互动方法及装置
WO2023103759A1 (zh) 服务调用方法、系统、装置、设备及存储介质
WO2018233122A1 (zh) 无线传屏的展示方法、装置及存储介质
US20200112768A1 (en) Network-based media device upgrading system
WO2021078208A1 (zh) 信息获取方法、云化机顶盒系统、实体机顶盒及存储介质

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: 17909705

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 27/03/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17909705

Country of ref document: EP

Kind code of ref document: A1