CN106970849A - A kind of on-screen data preparation method and device - Google Patents

A kind of on-screen data preparation method and device Download PDF

Info

Publication number
CN106970849A
CN106970849A CN201710346449.7A CN201710346449A CN106970849A CN 106970849 A CN106970849 A CN 106970849A CN 201710346449 A CN201710346449 A CN 201710346449A CN 106970849 A CN106970849 A CN 106970849A
Authority
CN
China
Prior art keywords
screen data
mirror image
receiving terminal
destination
data receiving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710346449.7A
Other languages
Chinese (zh)
Inventor
王震
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201710346449.7A priority Critical patent/CN106970849A/en
Publication of CN106970849A publication Critical patent/CN106970849A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72427User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting games or graphical animations

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiments of the invention provide a kind of on-screen data preparation method and device, applied to on-screen data receiving terminal, methods described includes:The destinations traffic agreement deferred to when issuing the information of mirroring service based on destination OS, issue the target information of mirroring service, the target information is connected for indicating that the on-screen data receiving terminal establishes mirror image with on-screen data collection terminal, wherein, the destination OS is:The operating system that the on-screen data receiving terminal is operated in;Obtain the on-screen data that the on-screen data collection terminal is sent.The scheme that embodiment is provided is provided using the present invention, the on-screen data of terminal device is resulted in.

Description

A kind of on-screen data preparation method and device
Technical field
The present invention relates to field of computer technology, more particularly to a kind of on-screen data preparation method and device.
Background technology
On-screen data refers to the corresponding data of picture that device screen is presented, in practice, the display screen of such as handheld terminal Curtain is smaller, can send on-screen data into other equipment, to be amplified display.
But, in the prior art, certain operations system does not provide the functional interface for recording screen to application developer, such as IOS (Mobile operating system of Apple Inc.) equipment is due to the record screen software of the limitation of system interface, for a user routine Record screen cannot be realized, i.e., can not just obtain the on-screen data of ios device.
Therefore, the on-screen data for obtaining terminal device is a kind of urgent problem to be solved.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of on-screen data hair preparation method and device, to realize acquisition terminal The on-screen data of equipment.Concrete technical scheme is as follows:
A kind of on-screen data preparation method, applied to on-screen data receiving terminal, methods described includes:
The destinations traffic agreement deferred to when issuing the information of mirroring service based on destination OS, issue mirroring service Target information, the target information is connected for indicating that the on-screen data receiving terminal establishes mirror image with on-screen data collection terminal, Wherein, the destination OS is:The operation that the on-screen data receiving terminal and the on-screen data collection terminal are operated in System;
Obtain the on-screen data that the on-screen data collection terminal is sent.
Optionally, the target information includes:Destination port number and the on-screen data for connection of establishing mirror image connect The IP address of receiving end;
The on-screen data collection terminal of the destination OS perceives the on-screen data according to the target information and received Hold and established mirror image with the on-screen data receiving terminal and is connected, including:
The on-screen data collection terminal of the destination OS perceives the on-screen data receiving terminal according to the IP address, And established mirror image and be connected with the on-screen data receiving terminal by the corresponding port of the destination port number.
Optionally, methods described also includes:
Based on default mirror image communication protocol, the mirror image protocol stack for being interacted with the data acquisition end is set up;
The on-screen data for obtaining the on-screen data collection terminal transmission, including:
Based on the mirror image protocol stack, the on-screen data that the on-screen data collection terminal is sent is received.
Optionally, the mirror image communication protocol is:Radio play agreement;The destinations traffic agreement is multicast protocol.
Optionally, methods described also includes:
The on-screen data is sent to server.
A kind of on-screen data obtains device, and applied to on-screen data receiving terminal, described device includes:
The destinations traffic agreement deferred to when release module, information for issuing mirroring service based on destination OS, The target information of mirroring service is issued, the target information is used to indicate the on-screen data receiving terminal and on-screen data collection terminal Establish mirror image connection, wherein, the destination OS is:The on-screen data receiving terminal and the on-screen data collection terminal institute The operating system operated in;
Module is obtained, for obtaining the on-screen data that the on-screen data collection terminal is sent.
Optionally, the target information includes:Destination port number and the on-screen data for connection of establishing mirror image connect The IP address of receiving end;
The release module, specifically for:
The destinations traffic agreement deferred to when issuing the information of mirroring service based on destination OS, issue mirroring service Target information, the on-screen data collection terminal of the destination OS perceives the on-screen data according to the IP address and received End, and established mirror image and be connected with the on-screen data receiving terminal by the corresponding port of the destination port number.
Optionally, described device also includes:
Module is set up, is used to interact with the data acquisition end for based on default mirror image communication protocol, setting up Mirror image protocol stack;
The acquisition module, specifically for:
Based on the mirror image protocol stack, the on-screen data that the on-screen data collection terminal end is sent is obtained.
Optionally, the mirror image communication protocol is:Radio play agreement;The destinations traffic agreement is multicast protocol.
Optionally, described device also includes:
Sending module, for the on-screen data to be sent to server.
A kind of on-screen data obtains equipment, including processor, communication interface, memory and communication bus, wherein, processing Device, communication interface, memory completes mutual communication by communication bus;
Memory, for depositing computer program;
Processor, for performing during the program deposited on memory, realizes any of the above-described on-screen data preparation method institute The method and step stated.
The another aspect implemented in the present invention, additionally provides a kind of computer-readable recording medium, described computer-readable Be stored with instruction in storage medium, when run on a computer so that computer performs any of the above-described described screen number According to preparation method.
The another aspect implemented in the present invention, the embodiment of the present invention additionally provides a kind of computer program production comprising instruction Product, when run on a computer so that computer performs any of the above-described described on-screen data preparation method.
A kind of on-screen data preparation method provided in an embodiment of the present invention, device and equipment, by based on object run system The target information of the on-screen data receiving terminal issue of system, perceives on-screen data according to target information in on-screen data collection terminal and connects After receiving end and being established mirror image with it is connected so that on-screen data receiving terminal results in the on-screen data of on-screen data collection terminal. And whole process does not use the functional interface for recording screen, therefore, it is possible to solve in the prior art due to the limit of system interface System, it is impossible to the problem of obtaining the on-screen data of on-screen data receiving device.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described.
Fig. 1 is a kind of schematic flow sheet of on-screen data preparation method provided in an embodiment of the present invention;
Fig. 2 is another schematic flow sheet of on-screen data preparation method provided in an embodiment of the present invention;
Fig. 3 is another schematic flow sheet of on-screen data preparation method provided in an embodiment of the present invention;
Fig. 4 is the interaction schematic diagram of an example of application on-screen data preparation method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation that on-screen data provided in an embodiment of the present invention obtains device;
Fig. 6 is another structural representation that on-screen data provided in an embodiment of the present invention obtains device;
Fig. 7 is the yet another construction schematic diagram that on-screen data provided in an embodiment of the present invention obtains device;
Fig. 8 is the structural representation that on-screen data provided in an embodiment of the present invention obtains equipment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is described.
It should be noted that a kind of executive agent for on-screen data preparation method that the embodiment of the present invention is provided can be A kind of on-screen data obtains device.In actual applications, the on-screen data obtains device and can run in terminal device.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of on-screen data preparation method and device, divide below It is not described in detail.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of on-screen data preparation method provided in an embodiment of the present invention;It is described Method includes step:
S101, the destinations traffic agreement deferred to when issuing the information of mirroring service based on destination OS issues mirror image The target information of service, the target information is used to indicate that the on-screen data receiving terminal establishes mirror image with on-screen data collection terminal Connection, wherein, the destination OS is:What the on-screen data receiving terminal and the on-screen data collection terminal were operated in Operating system.
It should be noted that destination OS is installed on terminal device, and on-screen data receiving terminal runs on target In operating system, for example, terminal device is mobile phone, on-screen data receiving terminal is the software run on destination OS;It is existing The operating system used in the mobile phone of different manufacturers is different, can be Android operation system, Saipan operating system, internet operation System (Internetwork Operating System, referred to as:IOS), mobile phone can be realized by being mounted with the mobile phone of operating system In application software and other equipment interact to wait and operate.Exemplary, the operating system that iPhone is operated in is IOS, then, IOS is destination OS.
In one implementation, on-screen data receiving terminal is:The application software installed in destination OS, the application Software issues the information of mirroring service;Exemplary, the record screen installed in on-screen data receiving terminal is destination OS should With software, record screen application software issues the execution master of on-screen data preparation method in the information of mirroring service, the embodiment of the present invention Body can be the application software.
It should be noted that the information purpose to be reached of on-screen data receiving terminal issue mirroring service is:Tell periphery Equipment, the on-screen data receiving terminal in destination OS is the equipment that can realize mirroring service, is mirror image connection Trigger condition.It is understood that during communication, always having a side as promoter, data or signal being carried out first Transmission, the direction of transmission can be purposeful (such as point-to-point communication) can also be random (as broadcasted).
In the embodiment of the present invention, the information of issue mirroring service is anomic, is only received in other on-screen datas Other application software in the either destination OS of end (can be installed in intelligent terminal and also may be used between multiple softwares, software To realize communication) receive mirroring service information, row information of going forward side by side feedback, communication connection could be realized.
It will be appreciated by persons skilled in the art that on-screen data receiving terminal is responsible for issuing out the information of mirroring service Go, then there is a receiving party for receiving the information, and receiving party reaches one with on-screen data receiving terminal Fixed destinations traffic agreement, according to destinations traffic, agreement both sides enter sending and receiving for row information.In the embodiment of the present invention, letter It is the on-screen data collection terminal in destination OS to cease recipient, it is to be understood that on-screen data collection terminal is resulted in On-screen data.
Specifically, destinations traffic agreement can be multicast protocol, such as:Multicast DNS (multicast Domain Name System, referred to as:MDNS), using 5353 ports (port as defined in mDNS), when Intranet does not have dns server, just occur This multicast information.In a mininet without conventional dns server, mDNS can be used to realize similar DNS volume Journey interface, bag form and operational semantics.In addition, the on-screen data collection of the destination OS communicated with on-screen data receiving terminal Destinations traffic agreement is also deferred at end, so as to carry out the information exchange of both sides.
Specifically, when the information that on-screen data receiving terminal issues mirroring service is target information, target information is used to indicate On-screen data receiving terminal establishes mirror image with on-screen data collection terminal and is connected.The on-screen data collection terminal of destination OS is also used Destinations traffic agreement receives the target information of the mirroring service of screen data receiver issue.Specifically, on-screen data collection terminal It can be an application software in destination OS, or the One function module in destination OS;As long as Acquisition function with on-screen data, the embodiment of the present invention is not specifically limited herein.By taking iPhone as an example, apple hand Inherently one data-source device of the IOS of machine, can be considered as with data acquisition function module.
It should be noted that comprising the information for making on-screen data collection terminal perceive on-screen data receiving terminal in target information, For presence of the data acquisition end according to the information Perception on-screen data receiving terminal.
Exemplary, the on-screen data collection terminal of destination OS can be the application journey installed in destination OS Sequence A;Application program A receives the target information that screen data receiver is sent by mDNS agreements, and is obtained from target information Information, when the information got is customizing messages, it is believed that application program A has perceived on-screen data receiving terminal;Otherwise, it is considered as It is not detected by on-screen data receiving terminal.Specifically, customizing messages can be the character string being indicated with certain character.
After the on-screen data collection terminal of destination OS perceives on-screen data receiving terminal, in addition it is also necessary to screen number Established mirror image connection according to receiving terminal, it is to be understood that mirror image is a type of redundancy, it is therefore an objective to by a storage region Data in another storage region on there is identical copy, realize the process of mirror image, as mirror image is connected. Specific mirror image establishment of connection process is prior art, and the embodiment of the present invention is not repeated it herein.
It should be noted that when on-screen data collection terminal, on-screen data receiving terminal establish mirror image connection between the two, needing Will be established mirror image connection according to mirror image communication protocol stack, and the mirror image connection set up can be used for transmitting subsequently interactive data.
In a kind of implementation of the present invention, target information can include:Target port for connection of establishing mirror image Number and the on-screen data receiving terminal IP address, the on-screen data collection terminal of destination OS perceives screen according to IP address Data receiver, after on-screen data receiving terminal is perceived and passes through the corresponding port of destination port number in target information and institute On-screen data receiving terminal is stated to establish mirror image connection.
It is exemplary, in the target information that the on-screen data collection terminal of destination OS is received:On-screen data is received The IP address at end is:192.168.5.21, the destination port number for connection of establishing mirror image is 6, then for object run system For the on-screen data collection terminal of system, IP address 192.168.5.21 on-screen data receiving terminal can provide mirroring service;And Established mirror image connection by port numbers 6.Specifically, the process for connection of establishing mirror image can be:The screen number of destination OS Mirror image connection request is sent according to collection terminal;On-screen data receiving terminal is confirmed whether to allow connection of establishing mirror image after receiving request; If it is allowed, sending the information comprising permission mirror image connection to on-screen data collection terminal.In the feelings of connection that do not allow to establish mirror image Under condition, on-screen data receiving terminal can send the information of refusal mirror image connection to on-screen data collection terminal, can also not send In the case of any data, it is defaulted as not allowing mirror image connection foundation.
S102, obtains the on-screen data that the on-screen data collection terminal is sent.
It should be noted that by the mirror image connection definition described in step S101 it is known that in destination OS On-screen data collection terminal perceives on-screen data receiving terminal according to target information, and establishes mirror image and be connected with on-screen data receiving terminal After, on-screen data can be sent to on-screen data receiving terminal by on-screen data collection terminal, that is, realize on-screen data collection terminal On-screen data in the shared of on-screen data receiving terminal.
Using the embodiment shown in Fig. 1 of the present invention, issued by the on-screen data receiving terminal based on destination OS Target information, perceives on-screen data receiving terminal and is established mirror image with it and be connected in on-screen data collection terminal according to target information Afterwards so that on-screen data receiving terminal results in the on-screen data of on-screen data collection terminal.And whole process does not use recording The functional interface of screen, therefore, it is possible to solve in the prior art due to the limitation of system interface, it is impossible to obtain on-screen data reception The problem of on-screen data of end equipment.
Referring to Fig. 2, Fig. 2 is another schematic flow sheet of on-screen data preparation method provided in an embodiment of the present invention, On the basis of embodiment illustrated in fig. 1, increase step S103;Wherein,
S103, based on default mirror image communication protocol, sets up for being assisted with the mirror image that the data acquisition end is interacted Discuss stack.
It should be noted that protocol stack refers to the summation of each layer protocol in network, its image is reflected in a network The process of file transmission:By upper-layer protocol to underlying protocol, then by underlying protocol to upper-layer protocol.And build protocol stack and first must There must be communication protocol, for mirror image communication protocol as the term suggests being the communication protocol in order to realize mirror image and use, specifically, can To have the agreement for realizing Port Mirroring, radio play agreement, etc..
In embodiments of the present invention, communication protocol is default mirror image communication protocol, for setting up on-screen data receiving terminal Rule with data acquisition end for carrying out data interaction, i.e. mirror image protocol stack.On-screen data collection terminal is based on mirror image protocol stack The data transfer rule set up, sends on-screen data to on-screen data receiving terminal, on-screen data receiving terminal carries out receiving screen number According to.
In a kind of implementation of the application, default mirror image communication protocol is radio play agreement, i.e. AirPlay associations View.AirPlay agreements are one group of agreements of transmission media stream information between apple products that Apple Inc. realizes, the agreement is also The whole screen of handheld intelligent terminal device (such as iPad or iPhone) can be delivered onto more large screen set, it is real It is now wireless to throw the effect shielded.When default mirror image agreement is radio play agreement, propped up in the intelligent terminal of Apple Inc. The agreement is held, therefore the transmission of on-screen data can be directly realized by between apple equipment.
Specifically, S102 can be S102A:Based on the mirror image protocol stack, receive the on-screen data collection terminal and send On-screen data.
It should be noted that on-screen data receiving terminal receives the screen that screen data acquisition end is sent based on mirror image protocol stack Data, the transmission for carrying out on-screen data according to the rule of mirror image protocol stack ensure that the safety of data transmission procedure.
Using the embodiment shown in Fig. 2 of the present invention, by default mirror image communication protocol, on-screen data receiving terminal is shielded The on-screen data that curtain data acquisition end is sent, can be further ensured that the security during screen data transmission.
Referring to Fig. 3, Fig. 3 is another schematic flow sheet of on-screen data preparation method provided in an embodiment of the present invention, On the basis of embodiment illustrated in fig. 1, increase step S104;Wherein,
S104, the on-screen data is sent to server.
It is understood that on-screen data receiving terminal sends on-screen data to server after on-screen data is obtained, Server is stored the on-screen data resource, when other users, which are sent out, sends request of data to the resource in server, The data can be obtained.
In the live scene that scheme is provided based on the embodiment of the present application, main broadcaster's on-screen data receiving terminal is by the screen obtained Curtain data are sent to server, and the on-screen data that server again sends main broadcaster's on-screen data receiving terminal is broadcasted straight to viewing main broadcaster The user's on-screen data receiving terminal broadcast, so as to realize live.
Exemplary, the user of iPhone sends the currently corresponding on-screen data of ongoing game picture to certain The on-screen data of game picture is stored in a website by the direct broadcast server of website, direct broadcast server, when website receives user Request of data when on-screen data is sent to other users, realize the live of game process.
Using the embodiment shown in Fig. 3 of the present invention, by the way that the on-screen data of on-screen data receiving terminal is sent to server, It can realize that the on-screen data of on-screen data receiving terminal is shared.
Referring to Fig. 4, Fig. 4 is that the interaction of an example of application on-screen data preparation method provided in an embodiment of the present invention is shown It is intended to, on-screen data receiving terminal and on-screen data collection terminal are present in same IOS system equipments in the embodiment of the present invention, On-screen data collection terminal is AirPlay Source (function that IOS systems are carried can be considered as IOS system equipments itself), screen Curtain data receiver is that AirPlay Sink apply (can be regarded as a virtual AirPlay Sink equipment).
AirPlay Sink first itself are an AirPlay Sink (in mirroring service using being issued by multicast protocol Recipient) service information, and issue its IP address and port numbers;AirPlay Sink by AirPlay agreements set up with The mirror image protocol stack of AirPlay Source communications;AirPlay Source are receiving the information of AirPlay Sink services When, IP address and port numbers are obtained, and be connected with AirPlay Sink using establishing mirror image by IP address and port numbers; On-screen data is encoded and sent to AirPlay Sink and applied by AirPlay Source;AirPlay Sink applications are received On-screen data.
In addition, AirPlay Source and AirPlay Sink applications may reside in same IOS system equipments, There may be and in different IOS system equipments, technical scheme provided in an embodiment of the present invention can realize on-screen data Obtain, the embodiment of the present invention is not limited specifically it herein.
Using the embodiment shown in Fig. 4 of the present invention, realize that virtual AirPlay Sink take in itself by IOS system equipments Business, solves the problem of IOS system equipments do not provide record screen interface, the screen-picture of IOS system equipments can be obtained in real time, with Realization is played live etc..
Referring to Fig. 5, Fig. 5 is a kind of structural representation that on-screen data provided in an embodiment of the present invention obtains device, described Device includes:
Release module 501, for based on destination OS issue mirroring service information when defer to destinations traffic association View, issues the target information of mirroring service, and the target information is used to indicate that the on-screen data receiving terminal is adopted with on-screen data Collection end is established mirror image connection, wherein, the destination OS is:On-screen data receiving terminal and the on-screen data collection The operated in operating system in end;
Module 502 is obtained, for obtaining the on-screen data that the on-screen data collection terminal is sent.
Specifically, target information includes:Destination port number and the on-screen data receiving terminal for connection of establishing mirror image IP address;
The release module 501, can be used for:The mesh deferred to when issuing the information of mirroring service based on destination OS Communication protocol is marked, the target information of mirroring service is issued, the on-screen data collection terminal of the destination OS is according to the IP Address perceives the on-screen data receiving terminal, and passes through the corresponding port of the destination port number and the on-screen data receiving terminal Establish mirror image connection.
Using the embodiment shown in Fig. 5 of the present invention, issued by the on-screen data receiving terminal based on destination OS Target information, perceives on-screen data receiving terminal and is established mirror image with it and be connected in on-screen data collection terminal according to target information Afterwards so that on-screen data receiving terminal results in the on-screen data of on-screen data collection terminal.And whole process does not use recording The functional interface of screen, therefore, it is possible to solve in the prior art due to the limitation of system interface, it is impossible to obtain on-screen data reception The problem of on-screen data of end equipment.
Referring to Fig. 6, Fig. 6 is another structural representation that on-screen data provided in an embodiment of the present invention obtains device, On the basis of embodiment illustrated in fig. 5, module 503 is set up in increase;Wherein,
Module 503 is set up, is used to be handed over the data acquisition end for based on default mirror image communication protocol, setting up Mutual mirror image protocol stack;
The acquisition module 502, specifically for:Based on the mirror image protocol stack, the on-screen data collection terminal end is obtained The on-screen data of transmission.
Using the embodiment shown in Fig. 6 of the present invention, by default mirror image communication protocol, on-screen data receiving terminal is shielded The on-screen data that curtain data acquisition end is sent, can be further ensured that the security during screen data transmission.
Referring to Fig. 7, Fig. 7 is the yet another construction schematic diagram that on-screen data provided in an embodiment of the present invention obtains device, On the basis of embodiment illustrated in fig. 5, increase sending module 504;Wherein,
Sending module 504, for the on-screen data to be sent to server.
Using the embodiment shown in Fig. 7 of the present invention, by the way that the on-screen data of on-screen data receiving terminal is sent to server, The live of on-screen data receiving terminal can be realized.
The embodiment of the present invention additionally provides a kind of on-screen data and obtains equipment, as shown in figure 8, including processor 801, communication Interface 802, memory 803 and communication bus 804, wherein, processor 801, communication interface 802, memory 803 is total by communication Line 80 completes mutual communication,
Memory 803, for depositing computer program;
Processor 801, for performing during the program deposited on memory 803, is realized
The destinations traffic agreement deferred to when issuing the information of mirroring service based on destination OS, issue mirroring service Target information, the target information is connected for indicating that the on-screen data receiving terminal establishes mirror image with on-screen data collection terminal, Wherein, the destination OS is:The operation that the on-screen data receiving terminal and the on-screen data collection terminal are operated in System;
Obtain the on-screen data that the on-screen data collection terminal is sent.
Other implementations that above-mentioned on-screen data obtains equipment and the various realization sides referred in preceding method embodiment Formula is identical, repeats no more here.
The communication bus that above-mentioned on-screen data acquisition equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Pomponent Interconnect, abbreviation PCI) bus or EISA (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control Bus processed etc..For ease of representing, only represented in figure with a thick line, it is not intended that only one bus or a type of total Line.
The communication that communication interface is used between above-mentioned on-screen data acquisition equipment and other equipment.
Memory can include random access memory (Random Access Memory, abbreviation RAM), can also include Nonvolatile memory (non-volatile memory), for example, at least one magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, Abbreviation CPU), network processing unit (Ne twork Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), application specific integrated circuit (Applica tion Specific Integrated Circuit, abbreviation ASIC), field programmable gate array (Field-Programmable Gate Array, Abbreviation FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware components.
As seen from the above, in the technical scheme that the present embodiment is provided, the said equipment passes through the screen based on destination OS The target information of curtain data receiver issue, on-screen data receiving terminal is perceived simultaneously in on-screen data collection terminal according to target information Established mirror image with it after being connected so that on-screen data receiving terminal results in the on-screen data of on-screen data collection terminal.And it is whole Process does not use the functional interface for recording screen, therefore, it is possible to solve in the prior art due to the limitation of system interface, it is impossible to The problem of obtaining the on-screen data of on-screen data receiving device.
In the another embodiment that the present invention is provided, a kind of computer-readable recording medium is additionally provided, the computer can The instruction that is stored with storage medium is read, when run on a computer so that computer performs any institute in above-described embodiment The on-screen data preparation method stated.
In the another embodiment that the present invention is provided, a kind of computer program product for including instruction is additionally provided, when it When running on computers so that computer performs any described on-screen data preparation method in above-described embodiment.
In the above-described embodiments, it can come real wholly or partly by software, hardware, firmware or its any combination It is existing.When implemented in software, it can realize in the form of a computer program product whole or in part.The computer program Product includes one or more computer instructions.When loading on computers and performing the computer program instructions, all or Partly produce according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer-readable recording medium In, or the transmission from a computer-readable recording medium to another computer-readable recording medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, numeral from web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another web-site, computer, server or Data center is transmitted.The computer-readable recording medium can be any usable medium that computer can be accessed or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disc Solid State Disk (SSD)) etc..,
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Also there is other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of related, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for device, For equipment, computer-readable recording medium, computer program product embodiments, because it is substantially similar to embodiment of the method, So description is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.

Claims (11)

1. a kind of on-screen data preparation method, it is characterised in that applied to on-screen data receiving terminal, methods described includes:
The destinations traffic agreement deferred to when issuing the information of mirroring service based on destination OS, issues the target of mirroring service Information, the target information is connected for indicating that the on-screen data receiving terminal establishes mirror image with on-screen data collection terminal, wherein, The destination OS is:The operating system that the on-screen data receiving terminal and the on-screen data collection terminal are operated in;
Obtain the on-screen data that the on-screen data collection terminal is sent.
2. according to the method described in claim 1, it is characterised in that the target information includes:For connection of establishing mirror image The IP address of destination port number and the on-screen data receiving terminal;
The on-screen data collection terminal of the destination OS perceives the on-screen data receiving terminal simultaneously according to the target information Establish mirror image and be connected with the on-screen data receiving terminal, including:
The on-screen data collection terminal of the destination OS perceives the on-screen data receiving terminal according to the IP address, and leads to Cross the corresponding port of the destination port number and established mirror image with the on-screen data receiving terminal and is connected.
3. method according to claim 1 or 2, it is characterised in that methods described also includes:
Based on default mirror image communication protocol, the mirror image protocol stack for being interacted with the data acquisition end is set up;
The on-screen data for obtaining the on-screen data collection terminal transmission, including:
Based on the mirror image protocol stack, the on-screen data that the on-screen data collection terminal is sent is received.
4. method according to claim 3, it is characterised in that the mirror image communication protocol is:Radio play agreement;It is described Destinations traffic agreement is:Multicast protocol.
5. according to the method described in claim 1, it is characterised in that methods described also includes:
The on-screen data is sent to server.
6. a kind of on-screen data obtains device, it is characterised in that applied to on-screen data receiving terminal, described device includes:
The destinations traffic agreement deferred to, issue when release module, information for issuing mirroring service based on destination OS The target information of mirroring service, the target information is used to indicate that the on-screen data receiving terminal is set up with on-screen data collection terminal Mirror image is connected, wherein, the destination OS is:The on-screen data receiving terminal and the on-screen data collection terminal are run Operating system;
Module is obtained, for obtaining the on-screen data that the on-screen data collection terminal is sent.
7. device according to claim 6, it is characterised in that the target information includes:For connection of establishing mirror image The IP address of destination port number and the on-screen data receiving terminal;
The release module, specifically for:
The destinations traffic agreement deferred to when issuing the information of mirroring service based on destination OS, issues the target of mirroring service Information, the on-screen data collection terminal of the destination OS perceives the on-screen data receiving terminal according to the IP address, and Established mirror image and be connected with the on-screen data receiving terminal by the corresponding port of the destination port number.
8. the device according to claim 6 or 7, it is characterised in that described device also includes:
Module is set up, for based on default mirror image communication protocol, setting up the mirror for being interacted with the data acquisition end As protocol stack;
The acquisition module, specifically for:
Based on the mirror image protocol stack, the on-screen data that the on-screen data collection terminal end is sent is obtained.
9. device according to claim 8, it is characterised in that the mirror image communication protocol is:Radio play agreement;It is described Destinations traffic agreement is multicast protocol.
10. device according to claim 6, it is characterised in that described device also includes:
Sending module, for the on-screen data to be sent to server.
11. a kind of on-screen data obtains equipment, it is characterised in that including processor, communication interface, memory and communication bus, Wherein, processor, communication interface, memory completes mutual communication by communication bus;
Memory, for depositing computer program;
Processor, for performing during the program deposited on memory, realizes any described method and steps of claim 1-5.
CN201710346449.7A 2017-05-17 2017-05-17 A kind of on-screen data preparation method and device Pending CN106970849A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710346449.7A CN106970849A (en) 2017-05-17 2017-05-17 A kind of on-screen data preparation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710346449.7A CN106970849A (en) 2017-05-17 2017-05-17 A kind of on-screen data preparation method and device

Publications (1)

Publication Number Publication Date
CN106970849A true CN106970849A (en) 2017-07-21

Family

ID=59325808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710346449.7A Pending CN106970849A (en) 2017-05-17 2017-05-17 A kind of on-screen data preparation method and device

Country Status (1)

Country Link
CN (1) CN106970849A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277609A (en) * 2017-07-28 2017-10-20 广州爱拍网络科技有限公司 Screen mirror image projective techniques, system, device and the film recording method of iOS device
CN109815032A (en) * 2019-01-24 2019-05-28 北京三快在线科技有限公司 A kind of communication means, device and storage medium
CN111698571A (en) * 2019-11-06 2020-09-22 深圳乐播科技有限公司 Public network mirroring method, terminal and computer readable storage medium
CN111970389A (en) * 2020-10-20 2020-11-20 深圳乐播科技有限公司 Screen projection method, device, equipment and storage medium based on mDNS protocol

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648015A (en) * 2013-11-18 2014-03-19 乐视致新电子科技(天津)有限公司 Data display method and apparatus
CN104219551A (en) * 2014-09-29 2014-12-17 武汉诚迈科技有限公司 Method for screen sharing and remote control of intelligent device
CN105978963A (en) * 2016-05-09 2016-09-28 北京启迪思创科技有限公司 Remote desktop display method, device and system
CN106325789A (en) * 2015-06-24 2017-01-11 西安中兴新软件有限责任公司 Information processing method and system, and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648015A (en) * 2013-11-18 2014-03-19 乐视致新电子科技(天津)有限公司 Data display method and apparatus
CN104219551A (en) * 2014-09-29 2014-12-17 武汉诚迈科技有限公司 Method for screen sharing and remote control of intelligent device
CN106325789A (en) * 2015-06-24 2017-01-11 西安中兴新软件有限责任公司 Information processing method and system, and terminal
CN105978963A (en) * 2016-05-09 2016-09-28 北京启迪思创科技有限公司 Remote desktop display method, device and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277609A (en) * 2017-07-28 2017-10-20 广州爱拍网络科技有限公司 Screen mirror image projective techniques, system, device and the film recording method of iOS device
CN109815032A (en) * 2019-01-24 2019-05-28 北京三快在线科技有限公司 A kind of communication means, device and storage medium
CN111698571A (en) * 2019-11-06 2020-09-22 深圳乐播科技有限公司 Public network mirroring method, terminal and computer readable storage medium
CN111698571B (en) * 2019-11-06 2022-03-18 深圳乐播科技有限公司 Public network mirroring method, terminal and computer readable storage medium
CN111970389A (en) * 2020-10-20 2020-11-20 深圳乐播科技有限公司 Screen projection method, device, equipment and storage medium based on mDNS protocol
CN111970389B (en) * 2020-10-20 2021-02-19 深圳乐播科技有限公司 Screen projection method, device, equipment and storage medium based on mDNS protocol

Similar Documents

Publication Publication Date Title
JP7042875B2 (en) Secure dynamic communication networks and protocols
US10042665B2 (en) Customer premises equipment (CPE) with virtual machines for different service providers
CN106970849A (en) A kind of on-screen data preparation method and device
JP6333964B2 (en) MAC layer transport for Wi-Fi Direct service application service platform without internet protocol
US9462089B1 (en) Communication channels
US20120151075A1 (en) Concurrent data transfer involving two or more transport layer protocols over a single one-way data link
US9319852B2 (en) Interoperability and communications system dynamic media proxy based on capability negotiation
CN102868728B (en) Network proxy method based on virtual channel in virtual desktop infrastructure (VDI) environment
CN102823196A (en) Managing network communications between network nodes and stream transport protocol
JP2004048654A (en) Communication system and communication method detecting and using distributed resources
US9535638B2 (en) Directly transferring data between devices
US8379641B2 (en) Light host management protocol on multicast capable router
CN104601576A (en) File transmission method and device based on one-way safety isolation gap
JP2012150806A (en) Desktop sharing system and method
CN101834783A (en) Method and device for forwarding messages and network equipment
CN109104273A (en) Message processing method and receiving end server
TW201006189A (en) System and method for connecting a wireless network device
EP2457348B1 (en) Efficient host management protocol on multicast capable router
CN110750206A (en) Data processing method, device and system
CN110430478B (en) Networking communication method, device, terminal equipment and storage medium
CN103533054A (en) Method for realizing coordinated processing among multiple terminals and multi-terminal coordinated processing device
CN101309154B (en) Datagram sending method, sending apparatus and transmission system
WO2019137550A1 (en) Multimedia system ingress network element selection method, registration method and device
CN101924641A (en) Method, device and system for processing multicast source information
CN101860544A (en) Transmitting system and method of session initiation protocol message

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170721