WO2023273905A1 - Screen synchronization method for information, transmitter, receiver, and computer-readable storage medium - Google Patents

Screen synchronization method for information, transmitter, receiver, and computer-readable storage medium Download PDF

Info

Publication number
WO2023273905A1
WO2023273905A1 PCT/CN2022/099222 CN2022099222W WO2023273905A1 WO 2023273905 A1 WO2023273905 A1 WO 2023273905A1 CN 2022099222 W CN2022099222 W CN 2022099222W WO 2023273905 A1 WO2023273905 A1 WO 2023273905A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
screen
image information
target
same
Prior art date
Application number
PCT/CN2022/099222
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 WO2023273905A1 publication Critical patent/WO2023273905A1/en

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
    • 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

Definitions

  • the embodiments of the present application relate to the technical field of communication, for example, to a method for sharing information on the same screen, a sending end, a receiving end, and a computer-readable storage medium.
  • Embodiments of the present application provide a method for sharing information on the same screen, a sending end, a receiving end, and a computer-readable storage medium.
  • the embodiment of the present application provides a method for sharing information on the same screen, which is applied to the sending end.
  • the method for sharing information on the same screen includes: obtaining the image information of the target layer where the target display information is located; sending the image information to the receiving end, so that the receiving end displays the image information on the display end.
  • the embodiment of the present application provides a method for sharing information on the same screen, which is applied to the receiving end.
  • the method for sharing information on the same screen includes: receiving image information from the sending end, wherein the image information is the The image information of the target layer where the target display information is located; displaying the image information on the display terminal.
  • an embodiment of the present application provides a sending end, including: a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor executes the computer program At the same time, the method for sharing information on the same screen as described in the first aspect of the present application is realized.
  • an embodiment of the present application provides a receiving end, including: a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor executes the computer program At the same time, the method for sharing information on the same screen as described in the second aspect of the present application is realized.
  • the embodiment of the present application provides a computer-readable storage medium, storing computer-executable instructions, and the computer-executable instructions are used to execute the information screen sharing method as described above.
  • Fig. 1 is a schematic structural diagram of an information screen system provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a method for sharing information on the same screen provided by an embodiment of the present application
  • FIG. 3 is a schematic flowchart of a method for sharing information on the same screen provided by another embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a method for sharing information on the same screen according to another embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a terminal provided by another embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a method for sharing information on the same screen provided by another embodiment of the present application.
  • FIG. 8 is a schematic diagram of a network distribution process provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a same-screen preparation process provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of the same-screen encoding process provided by an embodiment of the present application.
  • Fig. 11 is a schematic diagram of an on-screen decoding process provided by an embodiment of the present application.
  • a mobile phone is used as an example, and a screen projection box is used as an example at the receiving end.
  • the matching process between the mobile phone and the screen projection box is as follows: First, the screen projection box cannot operate independently to access the network, and needs to use the mobile phone to configure the network for it, so the screen projection box generates Bluetooth name, MAC (Media Access Control, Media Access Control) A two-dimensional code of address and other information; then, the screen-casting APP (Application, application) on the mobile phone scans the two-dimensional code to obtain the information contained in the code, and realizes the Bluetooth pairing of the two; then, the screen-casting APP Send the SSID (Service Set Identifier) and password of wifi (Wireless Fidelity) to the screen projection box, and the screen projection box will realize the LAN connection between the two according to the received wifi SSID and password.
  • SSID Service Set Identifier
  • wifi Wireless Fidelity
  • the system implements a method for sharing information on the same screen, and the method includes the following steps:
  • Step S100 the sending end obtains the image information of the target layer where the target display information is located.
  • the target display information refers to the information on the mobile phone that needs to be on the same screen as the projection box.
  • the target display information includes one of the following: document information, or picture information, or video information, wherein document information is such as a word document executed by a mobile phone, picture information is such as a photo viewed on a mobile phone, and video information is such as a video played on a mobile phone. video. If the target display information is a video, the video needs to be on the same screen as the projection box, so that the user can see the corresponding screen on the corresponding display through the projection box. If the target display information is a word document, the document needs to be on the same screen as the projection box, so that the user can see the corresponding document on the corresponding display through the projection box.
  • the target layer where the target display information is located refers to the layer where the target display information needs to be located on the mobile phone.
  • Image information refers to bitmap (raster image or bitmap) data.
  • Obtaining image information is also called screenshot. In order to realize screen projection, it is necessary to collect image information first, and then send the collected image information to the receiving end, so that the receiving end can Play on the same screen.
  • the sending end collects image information at a set frequency, such as but not limited to, collecting image information at a frequency of 20 times per second, so as to maintain the clarity of the collected image information and ensure the projection effect of the image .
  • the process for the sender to obtain image information is, for example, for a word document on the same screen, the screen-casting APP on the mobile phone will set a thread task, through which the API interface tool at the bottom of the mobile phone will be controlled at 20 times per second.
  • the acquisition of the image information corresponding to the layer occupied by the photo application is completed at a frequency of times.
  • Step S200 the sending end sends the image information to the receiving end, so that the receiving end displays the image information on the display end.
  • the display end refers to a display that establishes a connection with the screen projection box.
  • the display end refers to a projection module on the projector.
  • the mobile phone will encode and encapsulate the image information and send it to the receiving end. For example: after the sender performs H264 encoding on the image information, and encapsulates it according to a self-defined data format, to obtain the encapsulated data. It should be noted that the H264 encoding performed by the sending end and custom encapsulation are common knowledge of those skilled in the art, and will not be described in detail here.
  • the screen projection box After the screen projection box receives the data, it will first decapsulate and decode it to obtain the image information, render the image information, and then send the rendered image information to the rendering area of the screen projection box, and then connect the screen projection box to the display Afterwards, the data in the rendered area will be directly transferred to the display, and the display will be displayed.
  • the sending end obtains the image information of the target layer where the target display information is located, and sends the image information to the corresponding receiving end, so as to realize the same-screen display of the target display information.
  • this embodiment directly obtains image information from the corresponding layer of the target display information that needs to be displayed on the same screen, and can accurately share the image information that needs to be displayed on the same screen, avoiding Image information on unrelated layers on the same screen can effectively protect user privacy.
  • Step S101 acquiring target display information, and displaying the target display information on a target layer.
  • Step S102 acquiring a same-screen instruction for displaying target display information on the same screen, and determining a target layer where the target display information is located according to the same-screen instruction.
  • the same-screen instruction can be an instruction sent by the same-screen box, or an instruction created by the screen-casting App on the mobile phone. After the mobile phone obtains the instruction, it determines the target display information that needs to be displayed on the same screen according to the instruction. And the target layer corresponding to the target display information.
  • Step S300 the sending end obtains non-target display information, and displays the non-target display information on a non-target layer.
  • the non-target display information includes one of the following: pop-up message or reminder message.
  • the pop-up message or reminder message contains the personal privacy of the mobile phone user.
  • the mobile phone will receive a WeChat message pop-up window or a QQ message pop-up window.
  • the target display information at this time is a photo
  • the mobile phone terminal directly Using the system's native screen capture function to obtain screen pictures will transmit information and data related to personal privacy, such as WeChat message pop-up windows, QQ message pop-up windows, etc., to the screen projection box, which leaks personal privacy.
  • the purpose of this implementation is that the same screen is required
  • the target display information is displayed on the target layer; the non-target display information that does not need to be on the same screen is displayed on the non-target layer; in this way, the data that needs to be on the same screen can be accurately displayed on the same screen, and image information on irrelevant layers on the same screen can be avoided. Avoid divulging personal privacy.
  • the sending end and the receiving end are connected to the same local area network, and the communication connection is realized through the TCP protocol.
  • the implementation process includes (taking the target display information as a word document as an example): the sending end sends the first request and page parameters to the receiving end, so that the receiving end starts the corresponding same-screen page according to the first request and page parameters, and makes the receiving end The end feeds back the corresponding second request; wherein, the page parameters include page width and height and resolution; the sending end receives the second request, performs same-screen initialization, and sends a third request to the receiving end. Complete the three-way handshake process.
  • the sending end and the receiving end are connected through the TCP protocol, and the connection is recommended through the three-way handshake mechanism, so that the communication link has the advantages of reliability and stability.
  • An embodiment of the present application provides an information screen-sharing system.
  • the system includes a sending end and a receiving end, wherein the sending end includes but not limited to mobile phones, computers, tablet computers, and TVs and other devices with screen projection functions; the receiving end Including but not limited to screen projection boxes, projectors, TVs and other devices with screen projection functions.
  • the system implements a method for sharing information on the same screen, and the method includes the following steps:
  • Step S400 the receiving end receives the image information from the sending end, wherein the image information is the image information of the target layer where the target presentation information in the sending end is located.
  • Step S500 the receiving end displays the image information on the display end.
  • an embodiment of the present application provides a sending end, including: a data acquisition unit 100 and a data sending unit 200, wherein:
  • the data sending unit 200 sends the image information to the receiving end, so that the receiving end displays the image information on the display end.
  • an embodiment of the present application provides a receiving end, including: a data receiving unit 300 and a same-screen display unit 300, wherein:
  • the data receiving unit 300 is configured to receive image information from the sender, wherein the image information is image information of the target layer where the target presentation information in the sender is located.
  • the on-screen display unit 400 is used to display image information on a display terminal.
  • an embodiment of the present application provides an information same-screen system
  • the system includes: same-screen sender, sender APP, same-screen receiver, receiver APP and same-screen device inter-link road.
  • This system takes the document page as an example.
  • Same-screen sender iOS/Android mobile phone/tablet
  • sender APP used to take screenshots of mobile phones/tablets, and encode the screenshots in H264, and then encapsulate them into the agreed data format
  • same-screen receiver used to decode And display the screen projection box of the Android smart system
  • the receiving end APP used to decode the encoded stream and display the image on the large screen
  • the link between the devices on the same screen TCP long chain, used to connect the sending end
  • the encoded data is transmitted to the receiving end.
  • the system can implement a method for sharing information on the same screen, which includes the following steps:
  • the mobile phone and the projection box are connected to the same local area network and run the APPs at both ends.
  • the mobile APP discovers and connects to the projection box in the LAN.
  • the document page on the mobile phone is displayed on the same screen as the TV.
  • the projection box Since the projection box does not have a remote control, it cannot operate independently to access the network, so it needs to use a mobile phone to configure the network for it.
  • the operation steps are as follows:
  • the box end After receiving the Bluetooth message, the box end obtains the SSID and password for networking;
  • the mobile APP and the box APP will carry out the preparatory work before the same screen, as follows:
  • the mobile phone sends a request for the same screen to the box-side APP through the link, and carries the data of the width, height and resolution of the document display page on the mobile phone;
  • the box end After receiving the message, the box end starts the same-screen page, and replies the message to the mobile phone, indicating that it has received the same-screen message and is ready;
  • the mobile APP obtains the page of the current display document at a frequency of 20 times per second, and sends it to the encoder in sequence as frame data;
  • the encoder performs H264 encoding on the page data and outputs them sequentially;
  • the encoded data is packaged into a custom data format, and sent to the projection box APP through the link connected to the box end in turn.
  • the box end continuously receives the frame data sent from the mobile phone end, which needs to be processed and rendered before it can be displayed in the form of video.
  • the principle is as follows:
  • the Screencasting Box APP receives the data, and obtains the coded data by analyzing the custom data;
  • the encoded data is sent to the decoder for decoding, and the decoded frame data is rendered on the display area of the box end;
  • An embodiment of the present application provides a terminal, and the terminal includes: a memory, a processor, and a computer program stored in the memory and operable on the processor.
  • the processor and memory can be connected by a bus or other means.
  • memory can be used to store non-transitory software programs and non-transitory computer-executable programs.
  • the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage devices.
  • the memory includes memory located remotely from the processor, and these remote memories may be connected to the processor through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the terminal in this embodiment can be applied as the sending end or the receiving end in the embodiment shown in FIG. 1 , and the terminal in this embodiment can constitute a part of the system architecture in the embodiment shown in FIG. 1 , these embodiments all belong to the same inventive concept, so these embodiments have the same implementation principle and technical effect, and will not be described in detail here.
  • the non-transitory software programs and instructions required to realize the information screen-on-screen method of the above-mentioned embodiment are stored in the memory, and when executed by the processor, the information screen-on-screen method in the above-mentioned embodiment is executed, for example, executing the above-described Figure 2
  • terminal embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • the eleventh embodiment of the present application provides a computer-readable storage medium
  • the computer-readable storage medium stores computer-executable instructions
  • the computer-executable instructions are executed by a processor or a controller, for example, Executed by a processor in the above-mentioned terminal embodiment, the above-mentioned processor can be made to execute the information screen-sharing method in the above-mentioned embodiment, for example, execute the method steps S100 to S200 in FIG. 2 described above and the method steps in FIG. 4 S400 to S500.
  • the embodiment of the present application includes: the sending end of the embodiment of the present application obtains the image information of the target layer where the target display information is located, and sends the image information to the corresponding receiving end, so as to realize the same-screen display of the target display information.
  • the embodiment of this application directly obtains image information from the corresponding layer of the target display information that needs to be displayed on the same screen, which can accurately synchronize the data that needs to be displayed on the same screen, avoiding The image information on the irrelevant layer of the same screen can effectively protect the user's personal privacy.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer.
  • communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .

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)
  • Telephone Function (AREA)

Abstract

A screen synchronization method for information, a transmitter, a receiver, and a computer-readable storage medium. The screen synchronization method for information comprises: a transmitter obtaining image information of a target image layer where target display information is located (S100); and transmitting the image information to a receiver, so that the receiver displays the image information on a display end (S200).

Description

信息同屏方法、发送端、接收端及计算机可读存储介质Information sharing screen method, sending end, receiving end and computer-readable storage medium
相关申请的交叉引用Cross References to Related Applications
本申请基于申请号为202110722446.5、申请日为2021年06月28日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with application number 202110722446.5 and a filing date of June 28, 2021, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated by reference into this application.
技术领域technical field
本申请实施例涉及通信技术领域,例如涉及一种信息同屏方法、发送端、接收端及计算机可读存储介质。The embodiments of the present application relate to the technical field of communication, for example, to a method for sharing information on the same screen, a sending end, a receiving end, and a computer-readable storage medium.
背景技术Background technique
当今社会,随着智能移动终端(例如手机,平板电脑等)的普及和功能的日益强大,人们在生活中对其的依赖程度也逐渐增强。智能手机和平板已经成为工作、生活和娱乐不可或缺的设备。然而,由于手机和平板屏幕尺寸的限制,使得多媒体资源等无法在手机和平板上获得很好的观看效果,使得人们的生活和工作受到一定程度的影响。对此,在一些情形下推出了Miracast(镜像技术)、airplay(隔空播放技术)等同屏技术,将手机或者平板屏幕同步至大屏智能设备上。In today's society, with the popularity of smart mobile terminals (such as mobile phones, tablet computers, etc.) Smartphones and tablets have become indispensable devices for work, life and entertainment. However, due to the limitation of the screen size of the mobile phone and the flat panel, multimedia resources cannot be viewed well on the mobile phone and the flat panel, which affects people's life and work to a certain extent. In this regard, Miracast (mirror technology), airplay (airplay technology) and other screen technologies have been introduced in some cases to synchronize the screen of a mobile phone or tablet to a large-screen smart device.
这些技术可以满足普通用户的大部分使用场景,但是现在人们对于隐私信息非常敏感,而同屏技术会将手机或者平板屏幕毫无保留地展示在大屏设备上,使得用户的个人信息完全暴露在公众之下。尤其是,当在组织会议、研讨方案文档的场景下,同屏技术会将用户手机或者平板所有的消息提醒,全都展示在大屏上,例如将手机消息弹框、新消息提醒等个人隐私信息展示在大屏上,对个人隐私保护极其不友好。These technologies can meet most of the usage scenarios of ordinary users, but now people are very sensitive to private information, and the same-screen technology will display the screen of the mobile phone or tablet on the large-screen device without reservation, so that the user's personal information is completely exposed. under the public. In particular, when organizing meetings and discussing project documents, the same-screen technology will display all the news reminders on the user's mobile phone or tablet on the large screen, such as displaying personal privacy information such as mobile phone message pop-up boxes and new message reminders. Displayed on a large screen is extremely unfriendly to personal privacy protection.
发明内容Contents of the invention
本申请实施例提供了一种信息同屏方法、发送端、接收端及计算机可读存储介质。Embodiments of the present application provide a method for sharing information on the same screen, a sending end, a receiving end, and a computer-readable storage medium.
第一方面,本申请实施例提供了一种信息同屏方法,应用于发送端,所述信息同屏方法包括:获取目标展示信息所在的目标图层的图像信息;将所述图像信息发送至接收端,以使所述接收端将所述图像信息显示在显示端。In the first aspect, the embodiment of the present application provides a method for sharing information on the same screen, which is applied to the sending end. The method for sharing information on the same screen includes: obtaining the image information of the target layer where the target display information is located; sending the image information to the receiving end, so that the receiving end displays the image information on the display end.
第二方面,本申请实施例提供了一种信息同屏方法,应用于接收端,所述信息同屏方法包括:接收来自发送端的图像信息,其中,所述图像信息是所述发送端中的目标展示信息所在的目标图层的图像信息;将所述图像信息显示在显示端。In the second aspect, the embodiment of the present application provides a method for sharing information on the same screen, which is applied to the receiving end. The method for sharing information on the same screen includes: receiving image information from the sending end, wherein the image information is the The image information of the target layer where the target display information is located; displaying the image information on the display terminal.
第三方面,本申请实施例提供了一种发送端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如本申请第一方面所述的信息同屏方法。In a third aspect, an embodiment of the present application provides a sending end, including: a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor executes the computer program At the same time, the method for sharing information on the same screen as described in the first aspect of the present application is realized.
第四方面,本申请实施例提供了一种接收端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如本申请第二方面所述的信息同屏方法。In a fourth aspect, an embodiment of the present application provides a receiving end, including: a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor executes the computer program At the same time, the method for sharing information on the same screen as described in the second aspect of the present application is realized.
第五方面,本申请实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行如上述的信息同屏方法。In a fifth aspect, the embodiment of the present application provides a computer-readable storage medium, storing computer-executable instructions, and the computer-executable instructions are used to execute the information screen sharing method as described above.
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the application will be set forth in the description which follows, and, in part, will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
附图说明Description of drawings
附图用来提供对本申请技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本申请的技术方案,并不构成对本申请技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solution of the present application, and constitute a part of the specification, and are used together with the embodiments of the present application to explain the technical solution of the present application, and do not constitute a limitation to the technical solution of the present application.
图1为本申请一个实施例提供的一种信息同屏系统的结构示意图;Fig. 1 is a schematic structural diagram of an information screen system provided by an embodiment of the present application;
图2为本申请一个实施例提供的一种信息同屏方法的流程示意图;FIG. 2 is a schematic flowchart of a method for sharing information on the same screen provided by an embodiment of the present application;
图3为本申请另一个实施例提供的一种信息同屏方法的流程示意图;FIG. 3 is a schematic flowchart of a method for sharing information on the same screen provided by another embodiment of the present application;
图4为本申请另一个实施例提供的一种信息同屏方法的流程示意图;FIG. 4 is a schematic flowchart of a method for sharing information on the same screen according to another embodiment of the present application;
图5为本申请一个实施例提供的一种终端的结构示意图;FIG. 5 is a schematic structural diagram of a terminal provided by an embodiment of the present application;
图6为本申请另一个实施例提供的一种终端的结构示意图;FIG. 6 is a schematic structural diagram of a terminal provided by another embodiment of the present application;
图7为本申请另一个实施例提供的一种信息同屏方法的流程示意图;FIG. 7 is a schematic flowchart of a method for sharing information on the same screen provided by another embodiment of the present application;
图8为本申请一个实施例提供的配网流程示意图;FIG. 8 is a schematic diagram of a network distribution process provided by an embodiment of the present application;
图9为本申请一个实施例提供的同屏准备流程示意图;FIG. 9 is a schematic diagram of a same-screen preparation process provided by an embodiment of the present application;
图10为本申请一个实施例提供的同屏编码流程示意图;FIG. 10 is a schematic diagram of the same-screen encoding process provided by an embodiment of the present application;
图11为本申请一个实施例提供的同屏解码流程示意图。Fig. 11 is a schematic diagram of an on-screen decoding process provided by an embodiment of the present application.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.
需要说明的是,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。说明书、权利要求书或上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that although the functional modules are divided in the schematic diagram of the device, and the logical sequence is shown in the flowchart, in some cases, it can be executed in a different order than the module division in the device or the flowchart in the flowchart. steps shown or described. The terms "first", "second" and the like in the specification, claims or the above drawings are used to distinguish similar objects, and not necessarily used to describe a specific order or sequence.
参照图1至图3,本申请的一个实施例,提供了一种信息同屏系统,如图1,本系统包括发送端和接收端,其中发送端包括但不仅限于手机、电脑、平板电脑和电视等具备投屏功能的设备;接收端包括但不仅限于投屏盒子、投影仪、电视等具备投屏功能的设备。Referring to Fig. 1 to Fig. 3, an embodiment of the present application provides an information same-screen system, as shown in Fig. 1, the system includes a sending end and a receiving end, wherein the sending end includes but not limited to mobile phones, computers, tablet computers and TVs and other devices with screen projection functions; the receiving end includes but not limited to screen projection boxes, projectors, TVs and other devices with screen projection functions.
为了便于说明,本文实施例中的发送端以手机为例,接收端以投屏盒子为例。手机与投屏盒子进行匹配的过程如下:首先,投屏盒子无法独立操作接入网络,需要借助手机为其配网,于是投屏盒子生成包括蓝牙名称、MAC(Media Access Control,介质访问控制)地址等信息的一个二维码;然后,手机上的投屏APP(Application,应用程序),通过扫描该二维码得到该码里面包含的信息,实现两者的蓝牙配对;然后,投屏APP将wifi(Wireless Fidelity,无线保真)的SSID(Service Set Identifier,服务集标识)和密码发生至投屏盒子,投屏盒子根据接收到的wifi的SSID和密码,实现两者局域网连接。For ease of description, in the embodiments of this document, a mobile phone is used as an example, and a screen projection box is used as an example at the receiving end. The matching process between the mobile phone and the screen projection box is as follows: First, the screen projection box cannot operate independently to access the network, and needs to use the mobile phone to configure the network for it, so the screen projection box generates Bluetooth name, MAC (Media Access Control, Media Access Control) A two-dimensional code of address and other information; then, the screen-casting APP (Application, application) on the mobile phone scans the two-dimensional code to obtain the information contained in the code, and realizes the Bluetooth pairing of the two; then, the screen-casting APP Send the SSID (Service Set Identifier) and password of wifi (Wireless Fidelity) to the screen projection box, and the screen projection box will realize the LAN connection between the two according to the received wifi SSID and password.
参照图2,本系统执行一种信息同屏方法,本方法包括以下步骤:Referring to Fig. 2, the system implements a method for sharing information on the same screen, and the method includes the following steps:
步骤S100、发送端获取目标展示信息所在的目标图层的图像信息。Step S100, the sending end obtains the image information of the target layer where the target display information is located.
在本步骤S100中,目标展示信息是指的手机上需与投屏盒子之间实现同屏的信息。值得注意的是,目标展示信息包括如下之一:文档信息、或者图片信息、或者视频信息,其中,文档信息如手机执行的word文档,图片信息如手机上查看的照片,视频信息如手机上播放的视频。若目标展示信息为视频,该视频需要与投屏盒子之间实现同屏,使用户能够通过投屏盒子在对应的显示器上看到对应的画面。若目标展示信息为word文档,该文档需要与投屏盒子之间实现同屏,使用户能够通过投屏盒子在对应的显示器上看到对应的文档。In this step S100, the target display information refers to the information on the mobile phone that needs to be on the same screen as the projection box. It is worth noting that the target display information includes one of the following: document information, or picture information, or video information, wherein document information is such as a word document executed by a mobile phone, picture information is such as a photo viewed on a mobile phone, and video information is such as a video played on a mobile phone. video. If the target display information is a video, the video needs to be on the same screen as the projection box, so that the user can see the corresponding screen on the corresponding display through the projection box. If the target display information is a word document, the document needs to be on the same screen as the projection box, so that the user can see the corresponding document on the corresponding display through the projection box.
由于手机上不同应用所在的层级不同,例如,照片应用和视频应用分别处于不同的层级、照片应用和微信等聊天软件分别处于不同的层级、微信,QQ等聊天软件分别处于不同的层级,此处为现有公知,不再细述。因此,目标展示信息所在的目标图层是指需要目标展示信息在手机上所处的图层。图像信息是指bitmap(栅格图或点阵图)数据,获取图像信息又称为截图,为了实现投屏,需先采集图像信息,然后将采集的图像信息发送至接收端,使得接收端能够实现同屏播放。Due to the different levels of different applications on the mobile phone, for example, photo applications and video applications are at different levels, photo applications and chat software such as WeChat are at different levels, and chat software such as WeChat and QQ are at different levels. Here For existing public knowledge, no longer describe in detail. Therefore, the target layer where the target display information is located refers to the layer where the target display information needs to be located on the mobile phone. Image information refers to bitmap (raster image or bitmap) data. Obtaining image information is also called screenshot. In order to realize screen projection, it is necessary to collect image information first, and then send the collected image information to the receiving end, so that the receiving end can Play on the same screen.
在本实施例中,发送端是通过以设定的频率采集图像信息,例如但不限于,以每秒20次的频率采集图像信息,以维持采集图像信息的清晰度,确保图像的投屏效果。在本步骤中,发送端实现图像信息获取的过程是,例如:同屏word文档,手机上的投屏APP会设定一个线程任务,通过该线程任务控制手机底端的API接口工具以每秒20次的频率完成对该照片应用所占图层对应图像信息的获取。In this embodiment, the sending end collects image information at a set frequency, such as but not limited to, collecting image information at a frequency of 20 times per second, so as to maintain the clarity of the collected image information and ensure the projection effect of the image . In this step, the process for the sender to obtain image information is, for example, for a word document on the same screen, the screen-casting APP on the mobile phone will set a thread task, through which the API interface tool at the bottom of the mobile phone will be controlled at 20 times per second. The acquisition of the image information corresponding to the layer occupied by the photo application is completed at a frequency of times.
步骤S200、发送端将图像信息发送至接收端,以使接收端将图像信息显示在显示端。Step S200, the sending end sends the image information to the receiving end, so that the receiving end displays the image information on the display end.
在本步骤S200中,当接收端为投屏盒子时,由于投屏盒子不带有显示功能,则显示端是指与投屏盒子之间构建连接的显示器。当接收端为投影仪时,则显示端是指投影仪上的投影模块。In this step S200, when the receiving end is a screen projection box, since the screen projection box does not have a display function, the display end refers to a display that establishes a connection with the screen projection box. When the receiving end is a projector, the display end refers to a projection module on the projector.
值得注意的是,手机会将图像信息进行编码并封装后,发送至接收端。例如:发送端对图像信息进行H264编码之后,并按照自定义的数据格式进行封装,得到封装之后的数据。需要注意的是,发送端进行H264编码,以及自定义封装均属于本领域技术人员的公知常识,此处不再多细述。投屏盒子在接收到数据之后,首先会解封装并解码,得到图像信息,对图像信息进行渲染,后将渲染之后的图像信息至投屏盒子的渲染区域,此时将投屏盒子与显示器连接之后,渲染区域的数据将直接传输至显示器上,显示器实现显示。It is worth noting that the mobile phone will encode and encapsulate the image information and send it to the receiving end. For example: after the sender performs H264 encoding on the image information, and encapsulates it according to a self-defined data format, to obtain the encapsulated data. It should be noted that the H264 encoding performed by the sending end and custom encapsulation are common knowledge of those skilled in the art, and will not be described in detail here. After the screen projection box receives the data, it will first decapsulate and decode it to obtain the image information, render the image information, and then send the rendered image information to the rendering area of the screen projection box, and then connect the screen projection box to the display Afterwards, the data in the rendered area will be directly transferred to the display, and the display will be displayed.
本实施例的发送端通过获取目标展示信息所在的目标图层的图像信息,将图像信息发送至对应的接收端,能够实现目标展示信息的同屏展示。不同于一些情形使用手机端直接使用系统原生截屏功能获取屏幕图片,本实施例直接从需要同屏的目标展示信息的对应图层上获取图像信息,能够准确同屏需要同屏的图像信息,避免同屏无关图层上的图像信息,能够有效保护用户隐私。In this embodiment, the sending end obtains the image information of the target layer where the target display information is located, and sends the image information to the corresponding receiving end, so as to realize the same-screen display of the target display information. Unlike some situations where the mobile terminal directly uses the system’s native screen capture function to obtain screen pictures, this embodiment directly obtains image information from the corresponding layer of the target display information that needs to be displayed on the same screen, and can accurately share the image information that needs to be displayed on the same screen, avoiding Image information on unrelated layers on the same screen can effectively protect user privacy.
值得注意的是,基于上述实施例,在步骤S100之前,还包括步骤:It should be noted that, based on the above-mentioned embodiment, before step S100, further steps are included:
步骤S101、获取目标展示信息,并将目标展示信息显示在目标图层。Step S101 , acquiring target display information, and displaying the target display information on a target layer.
步骤S102、获取用于同屏展示目标展示信息的同屏指令,根据同屏指令确定目标展示信息所在的目标图层。Step S102 , acquiring a same-screen instruction for displaying target display information on the same screen, and determining a target layer where the target display information is located according to the same-screen instruction.
在步骤S102中,同屏指令可以是由同屏盒子发送的指令,也可以是手机上的投屏App创 建的指令,当手机获取到指令之后,根据该指令确定需要同屏的目标展示信息,以及目标展示信息对应所占的目标图层。In step S102, the same-screen instruction can be an instruction sent by the same-screen box, or an instruction created by the screen-casting App on the mobile phone. After the mobile phone obtains the instruction, it determines the target display information that needs to be displayed on the same screen according to the instruction. And the target layer corresponding to the target display information.
参照图3,值得注意的是,基于上述实施例,还包括步骤:Referring to Fig. 3, it is worth noting that, based on the above-mentioned embodiment, further steps are included:
步骤S300、发送端获取非目标展示信息,并将非目标展示信息显示在非目标图层。Step S300, the sending end obtains non-target display information, and displays the non-target display information on a non-target layer.
值得注意的是,非目标展示信息包括如下之一:弹框消息或者提醒消息。弹框消息或者提醒消息中包含着手机用户的个人隐私,例如:手机会接收到微信消息弹窗者QQ消息弹窗等,若此时的目标展示信息为照片,那么按照一些情形,手机端直接使用系统原生截屏功能获取屏幕图片,会将微信消息弹窗者QQ消息弹窗等涉及个人隐私的信息数据传输至投屏盒子,这样就泄露了个人隐私,本实施方式的目的是,需要同屏的目标展示信息显示在目标图层;无需同屏的非目标展示信息显示在非目标图层;这样同屏时能够准确同屏需要同屏的数据,避免同屏无关图层上的图像信息,避免泄露个人隐私。It is worth noting that the non-target display information includes one of the following: pop-up message or reminder message. The pop-up message or reminder message contains the personal privacy of the mobile phone user. For example, the mobile phone will receive a WeChat message pop-up window or a QQ message pop-up window. If the target display information at this time is a photo, then according to some situations, the mobile phone terminal directly Using the system's native screen capture function to obtain screen pictures will transmit information and data related to personal privacy, such as WeChat message pop-up windows, QQ message pop-up windows, etc., to the screen projection box, which leaks personal privacy. The purpose of this implementation is that the same screen is required The target display information is displayed on the target layer; the non-target display information that does not need to be on the same screen is displayed on the non-target layer; in this way, the data that needs to be on the same screen can be accurately displayed on the same screen, and image information on irrelevant layers on the same screen can be avoided. Avoid divulging personal privacy.
值得注意的是,基于上述实施例,发送端与接收端之间接入同一个局域网,并通过TCP协议实现通信连接。实现过程包括(以目标展示信息为word文档为例):发送端向接收端的发送第一请求和页面参数,以使接收端依据第一请求和页面参数,启动对应的同屏页面,并使接收端反馈对应的第二请求;其中,页面参数包括页面宽高和分辨率;发送端接收第二请求,进行同屏初始化,并向接收端发送第三请求。完成三次握手过程。It should be noted that, based on the above embodiments, the sending end and the receiving end are connected to the same local area network, and the communication connection is realized through the TCP protocol. The implementation process includes (taking the target display information as a word document as an example): the sending end sends the first request and page parameters to the receiving end, so that the receiving end starts the corresponding same-screen page according to the first request and page parameters, and makes the receiving end The end feeds back the corresponding second request; wherein, the page parameters include page width and height and resolution; the sending end receives the second request, performs same-screen initialization, and sends a third request to the receiving end. Complete the three-way handshake process.
本实施例中,发送端与接收端之间通过TCP协议进行连接,通过三次握手机制建议连接,使通信链路具备可靠,稳定的优势。In this embodiment, the sending end and the receiving end are connected through the TCP protocol, and the connection is recommended through the three-way handshake mechanism, so that the communication link has the advantages of reliability and stability.
本申请的一个实施例,提供了一种信息同屏系统,本系统包括发送端和接收端,其中发送端包括但不仅限于手机、电脑、平板电脑和电视等具备投屏功能的设备;接收端包括但不仅限于投屏盒子、投影仪、电视等具备投屏功能的设备。An embodiment of the present application provides an information screen-sharing system. The system includes a sending end and a receiving end, wherein the sending end includes but not limited to mobile phones, computers, tablet computers, and TVs and other devices with screen projection functions; the receiving end Including but not limited to screen projection boxes, projectors, TVs and other devices with screen projection functions.
参照图4,本系统执行一种信息同屏方法,本方法包括以下步骤:Referring to Fig. 4, the system implements a method for sharing information on the same screen, and the method includes the following steps:
步骤S400、接收端接收来自发送端的图像信息,其中,图像信息是发送端中的目标展示信息所在的目标图层的图像信息。Step S400, the receiving end receives the image information from the sending end, wherein the image information is the image information of the target layer where the target presentation information in the sending end is located.
步骤S500、接收端将图像信息显示在显示端。Step S500, the receiving end displays the image information on the display end.
需要注意的是,本实施与上述实施例步骤S100至S200是基于相同的发明构思,因此上述实施例的内容,同样适用于本实施例,此处不再赘述。It should be noted that this implementation is based on the same inventive concept as steps S100 to S200 in the above-mentioned embodiment, so the content of the above-mentioned embodiment is also applicable to this embodiment, and will not be repeated here.
参照图5,本申请的一个实施例,提供了一种发送端,包括:数据获取单元100和数据发送单元200,其中:Referring to FIG. 5, an embodiment of the present application provides a sending end, including: a data acquisition unit 100 and a data sending unit 200, wherein:
数据获取单元100获取目标展示信息所在的目标图层的图像信息。The data acquiring unit 100 acquires the image information of the target layer where the target presentation information is located.
数据发送单元200将图像信息发送至接收端,以使接收端将图像信息显示在显示端。The data sending unit 200 sends the image information to the receiving end, so that the receiving end displays the image information on the display end.
需要注意的是,本实施与上述方法实施例步骤S100至S200是基于相同的发明构思,因此上述实施例的内容,同样适用于本实施例,此处不再赘述。It should be noted that this implementation is based on the same inventive concept as steps S100 to S200 in the above method embodiment, so the content of the above embodiment is also applicable to this embodiment, and will not be repeated here.
参照图6,本申请的一个实施例,提供了一种接收端,包括:数据接收单元300和同屏展示单元300,其中:Referring to FIG. 6, an embodiment of the present application provides a receiving end, including: a data receiving unit 300 and a same-screen display unit 300, wherein:
数据接收单元300用于接收来自发送端的图像信息,其中,图像信息是发送端中的目标展示信息所在的目标图层的图像信息。The data receiving unit 300 is configured to receive image information from the sender, wherein the image information is image information of the target layer where the target presentation information in the sender is located.
同屏展示单元400用于将图像信息显示在显示端。The on-screen display unit 400 is used to display image information on a display terminal.
需要注意的是,本实施与上述方法实施例步骤S400至S500是基于相同的发明构思,因 此上述实施例的内容,同样适用于本实施例,此处不再赘述。It should be noted that this implementation is based on the same inventive concept as steps S400 to S500 in the above method embodiment, so the content of the above embodiment is also applicable to this embodiment, and will not be repeated here.
参照图7至图11,本申请的一个实施例,提供了一种信息同屏系统,本系统包括:同屏发送端、发送端APP、同屏接收端、接收端APP以及同屏设备间链路。本系统以文档页面为例。Referring to Fig. 7 to Fig. 11, an embodiment of the present application provides an information same-screen system, the system includes: same-screen sender, sender APP, same-screen receiver, receiver APP and same-screen device inter-link road. This system takes the document page as an example.
同屏发送端:iOS/Android手机/平板电脑;发送端APP:用于对手机/平板电脑进行截图,并对截图做H264编码,然后封装成约定的数据格式;同屏接收端:用来解码并展示的Android智能系统的投屏盒子;接收端APP:用于将编码后的流进行解码,并将图像展示在大屏上;同屏设备间链路:TCP长链,用来将发送端编码后的数据传输到接收端。Same-screen sender: iOS/Android mobile phone/tablet; sender APP: used to take screenshots of mobile phones/tablets, and encode the screenshots in H264, and then encapsulate them into the agreed data format; same-screen receiver: used to decode And display the screen projection box of the Android smart system; the receiving end APP: used to decode the encoded stream and display the image on the large screen; the link between the devices on the same screen: TCP long chain, used to connect the sending end The encoded data is transmitted to the receiving end.
参照图7,本系统能够执行一种信息同屏方法,该方法包括以下步骤:Referring to Fig. 7, the system can implement a method for sharing information on the same screen, which includes the following steps:
第一,手机和投屏盒子接入同一个局域网中,运行两端的APP。First, the mobile phone and the projection box are connected to the same local area network and run the APPs at both ends.
第二,手机APP发现局域网中的投屏盒子并连接。Second, the mobile APP discovers and connects to the projection box in the LAN.
第三,手机端打开文档,并点击“同屏”按钮,TV端自动打开同屏页面。Third, open the document on the mobile phone and click the "same screen" button, and the TV will automatically open the same screen page.
第四,手机端文档页面同屏到TV端。Fourth, the document page on the mobile phone is displayed on the same screen as the TV.
示例如下:Examples are as follows:
参照图8,手机与投屏盒子接入同一局域网的流程如下:Referring to Figure 8, the process of connecting the mobile phone and the projection box to the same LAN is as follows:
由于投屏盒子没有遥控器,无法独立操作接入网络,所以需要借助手机为其配网,操作步骤如下:Since the projection box does not have a remote control, it cannot operate independently to access the network, so it needs to use a mobile phone to configure the network for it. The operation steps are as follows:
1、投屏盒子连接电视,接上电启动,在首页会生成一个二维码,二维码内包含盒子蓝牙名称、MAC地址等信息;1. Connect the projection box to the TV, connect it to the power and start it up, and a QR code will be generated on the homepage, which contains the Bluetooth name of the box, MAC address and other information;
2、打开手机APP“扫码”功能,扫描电视上的二维码,即可获得二维码内信息;2. Turn on the "scan code" function of the mobile APP, scan the QR code on the TV, and you can get the information in the QR code;
3、手机蓝牙扫描同名蓝牙设备,实现配对,并将需要连接的WiFi的SSID和密码,通过蓝牙传给盒端;3. Scan the Bluetooth device with the same name on the mobile phone to achieve pairing, and transmit the SSID and password of the WiFi that needs to be connected to the box through Bluetooth;
4、盒端收到蓝牙消息后,获取SSID和密码进行联网;4. After receiving the Bluetooth message, the box end obtains the SSID and password for networking;
5、至此,手机和投屏盒子已接入同一个局域网。5. So far, the mobile phone and the projection box have been connected to the same LAN.
参照图9,同屏功能准备流程如下:Referring to Figure 9, the preparation process for the same screen function is as follows:
用户使用同屏功能,需要点击手机APP的“同屏”按钮,此时手机端APP和盒端APP会进行同屏前的准备工作,如下:To use the same screen function, the user needs to click the "Same Screen" button of the mobile APP. At this time, the mobile APP and the box APP will carry out the preparatory work before the same screen, as follows:
1、用户点击手机APP的“同屏”按钮;1. The user clicks the "same screen" button of the mobile APP;
2、手机通过链路向盒端APP发送需要同屏的请求,并携带手机端文档显示页面的宽高、分辨率的数据;2. The mobile phone sends a request for the same screen to the box-side APP through the link, and carries the data of the width, height and resolution of the document display page on the mobile phone;
3、盒端收到消息后,启动同屏页面,并回复消息给手机,表示自己已收到同屏消息并准备完毕;3. After receiving the message, the box end starts the same-screen page, and replies the message to the mobile phone, indicating that it has received the same-screen message and is ready;
4、手机端收到盒端的回复,立即启动同屏初始化,开始同屏功能。4. When the mobile phone receives the reply from the box, it immediately initiates the same-screen initialization and starts the same-screen function.
参照图10,同屏手机端编码流程如下:Referring to Figure 10, the encoding process of the mobile phone on the same screen is as follows:
为了保障用户隐私,本申请的同屏功能不会截取用户消息通知,所以手机端不能直接使用系统原生截屏功能获取屏幕图片,而是获取展示文档所在页面的截图来进行编码,原理如下:In order to protect user privacy, the same screen function of this application will not intercept user message notifications, so the mobile phone cannot directly use the system’s native screen capture function to obtain screen images, but obtain screenshots of the page where the document is displayed for encoding. The principle is as follows:
1、手机APP以每秒20次的频率获取当前展示文档的页面,作为帧数据,将其依次传入编码器;1. The mobile APP obtains the page of the current display document at a frequency of 20 times per second, and sends it to the encoder in sequence as frame data;
2、编码器对页面数据进行H264编码后依次输出;2. The encoder performs H264 encoding on the page data and outputs them sequentially;
3、编码后的数据,封装成自定义的数据格式,并依次由与盒端连接的链路发送到投屏盒子APP。3. The encoded data is packaged into a custom data format, and sent to the projection box APP through the link connected to the box end in turn.
参照图11,同屏盒端解码、展示流程如下:Referring to Figure 11, the decoding and display process of the same screen box is as follows:
盒端不停接收从手机端发来的帧数据,需要进行处理和渲染,才能以视频的形式展示出来,原理如下:The box end continuously receives the frame data sent from the mobile phone end, which needs to be processed and rendered before it can be displayed in the form of video. The principle is as follows:
1、投屏盒子APP收到数据,通过对自定义数据进行解析,获取编码数据;1. The Screencasting Box APP receives the data, and obtains the coded data by analyzing the custom data;
2、编码数据输送给解码器进行解码,并将解码后的帧数据渲染在盒端显示区域上;2. The encoded data is sent to the decoder for decoding, and the decoded frame data is rendered on the display area of the box end;
3、以上流程持续执行,实现手机端文档页面同屏至TV端的功能。3. The above process is continuously executed to realize the function of sharing the document page on the mobile terminal to the TV terminal on the same screen.
本申请的一个实施例,提供了一种终端,该终端包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序。An embodiment of the present application provides a terminal, and the terminal includes: a memory, a processor, and a computer program stored in the memory and operable on the processor.
处理器和存储器可以通过总线或者其他方式连接。The processor and memory can be connected by a bus or other means.
存储器作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序以及非暂态性计算机可执行程序。此外,存储器可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施方式中,存储器包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至该处理器。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。As a non-transitory computer-readable storage medium, memory can be used to store non-transitory software programs and non-transitory computer-executable programs. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory includes memory located remotely from the processor, and these remote memories may be connected to the processor through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
需要说明的是,本实施例中的终端,可以应用为例如图1所示实施例中的发送端或者接收端,本实施例中的终端能够构成图1所示实施例中的系统架构的一部分,这些实施例均属于相同的发明构思,因此这些实施例具有相同的实现原理以及技术效果,此处不再详述。It should be noted that the terminal in this embodiment can be applied as the sending end or the receiving end in the embodiment shown in FIG. 1 , and the terminal in this embodiment can constitute a part of the system architecture in the embodiment shown in FIG. 1 , these embodiments all belong to the same inventive concept, so these embodiments have the same implementation principle and technical effect, and will not be described in detail here.
实现上述实施例的信息同屏方法所需的非暂态软件程序以及指令存储在存储器中,当被处理器执行时,执行上述实施例中的信息同屏方法,例如,执行以上描述的图2中的方法步骤S100至S200和图4中的方法步骤S400至S500。The non-transitory software programs and instructions required to realize the information screen-on-screen method of the above-mentioned embodiment are stored in the memory, and when executed by the processor, the information screen-on-screen method in the above-mentioned embodiment is executed, for example, executing the above-described Figure 2 The method steps S100 to S200 in FIG. 4 and the method steps S400 to S500 in FIG. 4 .
以上所描述的终端实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The terminal embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
此外,本申请的第十一实施例,提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个处理器或控制器执行,例如,被上述终端实施例中的一个处理器执行,可使得上述处理器执行上述实施例中的信息同屏方法,例如,执行以上描述的图2中的方法步骤S100至S200和图4中的方法步骤S400至S500。In addition, the eleventh embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by a processor or a controller, for example, Executed by a processor in the above-mentioned terminal embodiment, the above-mentioned processor can be made to execute the information screen-sharing method in the above-mentioned embodiment, for example, execute the method steps S100 to S200 in FIG. 2 described above and the method steps in FIG. 4 S400 to S500.
本申请实施例包括:本申请实施例的发送端通过获取目标展示信息所在的目标图层的图像信息,将图像信息发送至对应的接收端,能够实现目标展示信息的同屏展示。不同于一些情形使用手机端直接采用系统原生截屏功能获取屏幕图片,本申请实施例直接从需要同屏的目标展示信息的对应图层上获取图像信息,能够准确同屏需要同屏的数据,避免同屏无关图层上的图像信息,有效保护用户的个人隐私。The embodiment of the present application includes: the sending end of the embodiment of the present application obtains the image information of the target layer where the target display information is located, and sends the image information to the corresponding receiving end, so as to realize the same-screen display of the target display information. Unlike some situations where the mobile terminal directly uses the system’s native screen capture function to obtain screen pictures, the embodiment of this application directly obtains image information from the corresponding layer of the target display information that needs to be displayed on the same screen, which can accurately synchronize the data that needs to be displayed on the same screen, avoiding The image information on the irrelevant layer of the same screen can effectively protect the user's personal privacy.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介 质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those skilled in the art can understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware and an appropriate combination thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit . Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
以上是对本申请的实施例进行了说明,但本申请并不局限于上述实施方式,熟悉本领域的技术人员在不违背本申请精神的共享条件下还可作出种种等同的变形或替换,这些等同的变形或替换均包括在本申请权利要求所限定的范围内。The above is the description of the embodiments of the present application, but the present application is not limited to the above-mentioned embodiments, and those skilled in the art can also make various equivalent deformations or replacements without violating the sharing conditions of the spirit of the present application. Any modification or substitution is included within the scope defined by the claims of the present application.

Claims (13)

  1. 一种信息同屏方法,应用于发送端,所述信息同屏方法包括:A method for sharing information on the same screen, which is applied to the sending end, and the method for sharing information on the same screen includes:
    获取目标展示信息所在的目标图层的图像信息;Obtain the image information of the target layer where the target display information is located;
    将所述图像信息发送至接收端,以使所述接收端将所述图像信息显示在显示端。sending the image information to a receiving end, so that the receiving end displays the image information on a display end.
  2. 根据权利要求1所述的信息同屏方法,其中,在所述获取目标展示信息所在的目标图层的图像信息之前,所述信息同屏方法还包括:The information co-screening method according to claim 1, wherein, before the acquisition of the image information of the target layer where the target display information is located, the information co-screening method further comprises:
    获取目标展示信息,并将所述目标展示信息显示在目标图层;Obtain target display information, and display the target display information on the target layer;
    获取用于同屏展示所述目标展示信息的同屏指令,根据所述同屏指令确定所述目标展示信息所在的所述目标图层。Acquiring a same-screen instruction for displaying the target display information on the same screen, and determining the target layer where the target display information is located according to the same-screen instruction.
  3. 根据权利要求1所述的信息同屏方法,其中,所述信息同屏方法还包括:The method for sharing information on the same screen according to claim 1, wherein the method for sharing information on the same screen further comprises:
    获取非目标展示信息,并将所述非目标展示信息显示在非目标图层。Obtain non-target display information, and display the non-target display information on a non-target layer.
  4. 根据权利要求1所述的信息同屏方法,其中,所述获取目标展示信息所在的目标图层的图像信息,包括:The method according to claim 1, wherein said acquiring the image information of the target layer where the target display information is located comprises:
    以设定频率采集目标展示信息所在的目标图层的图像信息。The image information of the target layer where the target display information is located is collected at a set frequency.
  5. 根据权利要求1所述的信息同屏方法,其中,所述将所述图像信息发送至接收端,包括:The method according to claim 1, wherein the sending the image information to the receiving end comprises:
    将所述图像信息进行编码并封装后,发送至接收端。After the image information is encoded and encapsulated, it is sent to the receiving end.
  6. 根据权利要求3所述的信息同屏方法,其中,所述非目标展示信息包括如下至少之一:弹框消息或者提醒消息。The method according to claim 3, wherein the non-target display information includes at least one of the following: pop-up message or reminder message.
  7. 根据权利要求1至6中任意一项所述的信息同屏方法,其中,所述目标展示信息包括如下至少之一:文档信息、或者图片信息、或者视频信息。The method according to any one of claims 1 to 6, wherein the target presentation information includes at least one of the following: document information, or picture information, or video information.
  8. 一种信息同屏方法,应用于接收端,所述信息同屏方法包括:A method for sharing information on the same screen, applied to a receiving end, the method for sharing information on the same screen includes:
    接收来自发送端的图像信息,其中,所述图像信息是所述发送端中的目标展示信息所在的目标图层的图像信息;receiving image information from the sending end, wherein the image information is the image information of the target layer where the target presentation information in the sending end is located;
    将所述图像信息显示在显示端。The image information is displayed on the display terminal.
  9. 根据权利要求8所述的信息同屏方法,其中,当所述图像信息为编码和封装后的图像信息,所述将所述图像信息显示在显示端,包括:The method according to claim 8, wherein when the image information is coded and packaged image information, displaying the image information on the display terminal includes:
    对所述编码和封装后的图像信息进行解封装和解码,并将解封装和解码后的图像信息显示在显示端。The encoded and encapsulated image information is decapsulated and decoded, and the decapsulated and decoded image information is displayed on the display terminal.
  10. 根据权利要求8或9所述的信息同屏方法,其中,所述目标展示信息包括如下至少之一:文档信息、或者图片信息、或者视频信息。The method according to claim 8 or 9, wherein the target display information includes at least one of the following: document information, or picture information, or video information.
  11. 一种发送端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至7中任意一项所述的信息同屏方法。A sending end, comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, when the processor executes the computer program, any A method for sharing information on one screen.
  12. 一种接收端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求8至10中任意一项所述的信息同屏方法。A receiving end, comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, when the processor executes the computer program, any of the following claims 8 to 10 are realized. A method for sharing information on one screen.
  13. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执 行如权利要求1至7中任意一项所述的信息同屏方法或者如权利要求8至10中任意一项中所述的信息同屏方法。A computer-readable storage medium, storing computer-executable instructions, the computer-executable instructions are used to execute the information screen-sharing method according to any one of claims 1 to 7 or any one of claims 8 to 10 The information screen method described in one item.
PCT/CN2022/099222 2021-06-28 2022-06-16 Screen synchronization method for information, transmitter, receiver, and computer-readable storage medium WO2023273905A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110722446.5A CN115599326A (en) 2021-06-28 2021-06-28 Information co-screen method, sending end, receiving end and computer readable storage medium
CN202110722446.5 2021-06-28

Publications (1)

Publication Number Publication Date
WO2023273905A1 true WO2023273905A1 (en) 2023-01-05

Family

ID=84690735

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/099222 WO2023273905A1 (en) 2021-06-28 2022-06-16 Screen synchronization method for information, transmitter, receiver, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN115599326A (en)
WO (1) WO2023273905A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234448A (en) * 2023-09-04 2023-12-15 广州力加贺电子科技有限公司 Screen transmission method, computer equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150195601A1 (en) * 2014-01-08 2015-07-09 Samsung Electronics Co., Ltd. Method and device for screen mirroring
CN112099705A (en) * 2020-09-04 2020-12-18 维沃移动通信有限公司 Screen projection method and device and electronic equipment
CN112433692A (en) * 2020-12-11 2021-03-02 上海中通吉网络技术有限公司 Screen projection method and device
CN112764853A (en) * 2021-01-19 2021-05-07 深圳乐播科技有限公司 Screen projection method, equipment and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150195601A1 (en) * 2014-01-08 2015-07-09 Samsung Electronics Co., Ltd. Method and device for screen mirroring
CN112099705A (en) * 2020-09-04 2020-12-18 维沃移动通信有限公司 Screen projection method and device and electronic equipment
CN112433692A (en) * 2020-12-11 2021-03-02 上海中通吉网络技术有限公司 Screen projection method and device
CN112764853A (en) * 2021-01-19 2021-05-07 深圳乐播科技有限公司 Screen projection method, equipment and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234448A (en) * 2023-09-04 2023-12-15 广州力加贺电子科技有限公司 Screen transmission method, computer equipment and medium

Also Published As

Publication number Publication date
CN115599326A (en) 2023-01-13

Similar Documents

Publication Publication Date Title
US9723359B2 (en) Low latency wireless display for graphics
ES2727625T3 (en) Rear user input channel for wireless displays
US10911577B2 (en) Method and device for generating protocol data unit (PDU) packet
ES2822588T3 (en) Rear user input channel for wireless displays
CN111818669B (en) Mobile terminal and data transmission method thereof
US10194180B2 (en) Systems and methods for transmitting video data over a network
TWI443641B (en) Transmitting device, receiving device, screen frame transmission system and method
CN102981793A (en) Screen synchronization method and device
JP5982079B2 (en) Image transmission method, apparatus, program, and recording medium
CN107357585B (en) Video acquisition method and device, video equipment and storage medium
US10728583B2 (en) Multimedia information playing method and system, standardized server and live broadcast terminal
US20170374412A1 (en) Method and apparatus for outputting supplementary content from wfd
WO2015100990A1 (en) Inter-terminal image sharing method, terminal device and communication system
US20150116391A1 (en) Method and system to share display attributes of content
WO2015117352A1 (en) Data processing method, data sending and receiving terminal, and data transmission system
WO2023273905A1 (en) Screen synchronization method for information, transmitter, receiver, and computer-readable storage medium
KR20210000957A (en) System for authenticating image based on blockchain and hash encryption technique and method thereof
CN110806846A (en) Screen sharing method, screen sharing device, mobile terminal and storage medium
CN106209523B (en) Screen sharing realization method and device and media terminal
JP7471510B2 (en) Method, device, equipment and storage medium for picture to video conversion - Patents.com
CN112995668A (en) Video processing method, device and terminal, and computer readable storage medium
CN114938408B (en) Data transmission method, system, equipment and medium of cloud mobile phone
CN106851134B (en) Method, device and system for transmitting image data
CN114503569A (en) AV1 codec for real-time video communication
CN110990109A (en) Spliced screen redisplay method, terminal, system and storage medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE