CN107317655A - Transfer control method, system and the readable storage medium storing program for executing of screen prjection - Google Patents
Transfer control method, system and the readable storage medium storing program for executing of screen prjection Download PDFInfo
- Publication number
- CN107317655A CN107317655A CN201710419935.7A CN201710419935A CN107317655A CN 107317655 A CN107317655 A CN 107317655A CN 201710419935 A CN201710419935 A CN 201710419935A CN 107317655 A CN107317655 A CN 107317655A
- Authority
- CN
- China
- Prior art keywords
- service end
- client
- screen prjection
- data message
- length
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0002—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
- H04L65/762—Media network packet handling at the source
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Quality & Reliability (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of transfer control method of screen prjection, the transfer control method of screen prjection is applied to the transmission control system of screen prjection, and the transmission control system of screen prjection includes the service end and client of communication connection;The transfer control method of the screen prjection comprises the following steps when service end opens screen prjection pattern, service end obtains the data message of screen prjection, data message is encoded and cached into the transmit queue of service end by service end, so that the data message in transmit queue is sent to client, when service end receives the length warning information of client transmission, the transmission rate of data message is adjusted according to length warning information.The present invention also corresponds to the transmission control system and readable storage medium storing program for executing for proposing screen prjection.The present invention sets up buffer queue by the service end and client in screen prjection, efficiently avoid the frame losing of data message, leaks the situation of frame, it is ensured that the fluency of screen prjection.
Description
Technical field
The present invention relates to transfer control method, system and the readable storage of communication technical field, more particularly to screen prjection
Medium.
Background technology
With the development of the communication technology, screen prjection technology can realize interconnection between multiple terminals, make transmission terminal
Screen shown by content project to the screen of other receiving terminals, to realize the function of screen prjection.
In actual applications, in order to ensure that client and service end can reach that real-time synchronization plays identical information, lead to
It is often that client produces a frame data, receives a frame data in service end, in theory, can so reach real-time synchronization, however,
The user of a transmission terminal sends data to client in meeting in actual applications, makes several individuals same by screen prjection
When checking same video, due to speed and delay of otherness or network transmission of decryption speed of data encoding etc. because
Element, can frequently result in the data of main control end (service end) transmission and is projected the asynchronous of terminal (client) reception, will go out
The problem of existing interim card, Hua Ping, or even stopping are played.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is existing skill
Art.
The content of the invention
It is a primary object of the present invention to provide a kind of transfer control method of screen prjection, system and readable storage medium
Matter, it is intended to produced problem when reducing screen prjection.
To achieve the above object, the present invention provides a kind of transfer control method of screen prjection, the transmission control of screen prjection
Method processed is applied to the transmission control system of screen prjection, and the transmission control system of the screen prjection includes the clothes of communication connection
Business end and client;
The transfer control method of the screen prjection comprises the following steps:
When service end opens screen prjection pattern, service end obtains the data message of screen prjection;
Data message is encoded and cached into the transmit queue of service end by service end, by the number in transmit queue
It is believed that breath is sent to client;
When service end receives the length warning information of client transmission, data message is adjusted according to length warning information
Transmission rate.
Alternatively, service end will be wrapped after data message is encoded and is cached into the transmit queue of service end step
Include:
When the data message length that service end is detected in transmit queue is more than preset value, service end and client are set up
Data information transfer passage;
Service end by the data message of coding by data information transfer channel transfer to client, with carry out service end with
Client screen is projected.
Alternatively, when service end receives the length warning information of client transmission, adjusted according to length warning information
The step of transmission rate of data message, includes:
When service end receives the length warning information of client transmission, the length of receiving queue in parsing length warning information
Spend information;
Data information transfer speed is adjusted according to the length information of receiving queue, when receiving queue length is more than default maximum
Value, then service end control slows down transmission rate, and when receiving queue length is less than predetermined minimum, then transmission is accelerated in service end control
Speed.
Alternatively, when service end receives the length warning information of client transmission, adjusted according to length warning information
Include after the step of transmission rate of data message:
When service end exits screen prjection pattern, the data information transfer passage with client is disconnected, and empty transmission
Data message in queue;
The prompt message that service end will move out screen prjection pattern is sent to client, so that client empties receiving queue
In data message.
In addition, to achieve the above object, the present invention also provides a kind of transfer control method of screen prjection, screen prjection
Transfer control method is applied to the transmission control system of screen prjection, and the transmission control system of the screen prjection includes communication link
The service end and client connect;
The transfer control method of the screen prjection comprises the following steps:
When client detects screen prjection transmission request, client obtains the data message and caching of service end transmission
To the receiving queue of client;
Client is decoded the data message in receiving queue, and the data message after broadcast decoder.
Alternatively, when client detects screen prjection transmission request, client obtains the data letter of service end transmission
Ceasing and caching to after the step of the receiving queue of client includes:
When client detects the length of receiving queue not in the scope that preset maximum value and predetermined minimum are determined,
Length warning information is generated according to the length information of receiving queue;
Client sends length warning information to service end, believes so that service end adjusts data according to length warning information
The transmission rate of breath.
Alternatively, client is decoded the data message in receiving queue, and after the step of correspondence display broadcasting
Including:
When client exits screen prjection, correspondence disconnects the data information transfer passage with service end and empties receiving queue
In data message;
Client will move out the prompt message of screen prjection to service end, so that service end correspondence is adjusted.
Further, to achieve the above object, the present invention also provides a kind of transmission control system of screen prjection, the screen
The transmission control system of curtain projection includes the service end and client of communication connection, wherein,
When service end opens screen prjection pattern, service end obtains the data message of screen prjection;
When service end opens screen prjection pattern, service end obtains the data message of screen prjection;
Data message is encoded and cached into the transmit queue of service end by service end, by the number in transmit queue
It is believed that breath is sent to client;
The data message that client receiving queue buffer service end is sent, and data message is decoded into broadcasting;
When service end receives the length warning information of client transmission, data message is adjusted according to length warning information
Transmission rate.
Alternatively, also include in the transmission control system of screen prjection:
When client detects screen prjection transmission request, client obtains the data message and caching of service end transmission
To the receiving queue of client;
When client detects the length of receiving queue not in the scope that preset maximum value and predetermined minimum are determined
When, length warning information is generated according to the length information of receiving queue and sent to service end;
Service end receives the length warning information that client is sent, and according to the biography of length warning information adjustment data message
Defeated speed.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, computer-readable storage
Be stored with the transmission control procedure of screen prjection on medium, real when the transmission control procedure of the screen prjection is executed by processor
Existing the step of transfer control method of screen prjection described above.
The present invention provides a kind of transfer control method of screen prjection, and the transfer control method of screen prjection is applied to screen
The transmission control system of projection, the transmission control system of screen prjection includes the service end and client of communication connection, the screen
The transfer control method of curtain projection comprises the following steps:When service end opens screen prjection pattern, service end obtains screen and thrown
Data message is encoded and cached into the transmit queue of service end by the data message of shadow, service end, by transmit queue
In data message send to client, when service end receive client transmission length warning information when, it is pre- according to length
Alert information adjusts the transmission rate of data message.The present invention sets up caching team by the service end in screen prjection and client
Row, it is to avoid due to factors such as screen prjection size of data, the data message caused, which is obtained, is encoded to data message display broadcasting
Time difference, the phenomenon of data playback interim card is efficiently avoid by buffer queue, with this simultaneously, service end monitor client
The length of the data message of receiving queue, and according to the length of receiving queue data message, adjustment sends the speed of data message,
It efficiently avoid the frame losing of data message, leak the situation of frame, it is ensured that the fluency of screen prjection.
Brief description of the drawings
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the transfer control method first embodiment of screen prjection of the present invention;
Fig. 4 is the schematic flow sheet of the transfer control method second embodiment of screen prjection of the present invention;
Fig. 5 is the step S13 of the transfer control method of screen prjection in Fig. 3 refinement schematic flow sheet;
Fig. 6 is the schematic flow sheet of the transfer control method 3rd embodiment of screen prjection of the present invention;
Fig. 7 is the schematic flow sheet of the transfer control method fourth embodiment of screen prjection of the present invention;
Fig. 8 is the schematic flow sheet of the embodiment of transfer control method the 5th of screen prjection of the present invention;
Fig. 9 is the high-level schematic functional block diagram of the transmission control system of screen prjection of the present invention;
The schematic flow sheet that Figure 10 performs for each functional module of transmission control system of screen prjection of the present invention;
Figure 11 is the transfer control method and system concrete scene schematic diagram of screen prjection of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed
Ground is used.
The client and service end of the present invention can be a kind of terminal, and terminal can be implemented in a variety of manners.For example,
Terminal described in the present invention can include such as mobile phone, tablet personal computer, notebook computer, palm PC, personal digital assistant
(Personal Digital Assistant, PDA), portable media player (Portable Media Player, PMP),
The mobile terminals such as guider, wearable device, Intelligent bracelet, pedometer, and numeral TV, desktop computer etc. are fixed
Terminal.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,
Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user's transmitting-receiving electricity by WiFi module 102
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or
The voice data stored in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103
The audio output related to the specific function that mobile terminal 1 00 is performed can also be provided (for example, call signal receives sound, disappeared
Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042,1041 pairs of graphics processor is in video acquisition mode
Or the view data progress of the static images or video obtained in image capture mode by image capture apparatus (such as camera)
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after being handled through graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
The noise produced during frequency signal or interference.
Mobile terminal 1 00 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 1 00 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can
By contact panel 1071 and the input that is integrated and realizing mobile terminal of display panel 1061 and output function, not do specifically herein
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 1 00 or can be with
For transmitting data between mobile terminal 1 00 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy
The property lost memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by operation or performs and is stored in software program and/or module in memory 109, and calls and be stored in storage
Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;It is preferred that, processor 110 can integrated application processor and modulatedemodulate mediate
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 1 00 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system that the mobile terminal of the present invention is based on is entered below
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
There is provided carrying and connection management for the control node of signaling between EPC203.HSS2032 is all to manage for providing some registers
Such as function of attaching position register (not shown) etc, and some are preserved about the use such as service features, data rate
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
What is required supplementation with is that the client and service end in the present invention can be identical mobile terminals, with reference to Figure 11,
When mobile terminal, this actively enters screen prjection pattern, and initiates one or more mobile terminal the invitation of screen prjection
When, the mobile terminal for actively entering screen prjection pattern (is called as service end and does transmitting terminal or main control end), is invited to
One or more mobile terminal for carrying out screen prjection (is called as client and does receiving terminal or controlled terminal), institute of the present invention
The screen prjection stated, which is called, does Screen sharing.
The transfer control method of screen prjection is applied to the transmission control system of screen prjection, the transmission of the screen prjection
The transfer control method that control system includes screen prjection in the service end and client of communication connection, the present invention is to throw screen
The step of shadow, is realized by 5 virtual modules, with reference to Fig. 9,5 modules of transmission control system bag of screen prjection:Data acquisition
Module, coding module, transmission control module, receiving module and decoder module.Wherein, data acquisition module, coding module, transmission
Control module is operated in main control terminal (also referred to as transmitting terminal or service end);Receiving module and decoder module are fortune
Row is on controlled terminal (also referred to as receiving terminal or client).
Reference picture 3, the present invention provides the transfer control method of screen prjection, in the transmission controlling party of screen prjection of the present invention
In the first embodiment of method, comprise the following steps:
Step S11, when service end opens screen prjection pattern, service end obtains the data message of screen prjection.
In video conference or the occasion of other Video Applications screen prjections (Screen sharing), a terminal is used as service end
Screen prjection pattern is opened, and screen prjection is initiated to other one or more terminals (being used as client) and is invited, with reference to figure
10, the data acquisition module of service end:Obtain the data message of screen prjection, i.e. service end is obtained under screen prjection pattern
Data message (the data message that correspondence need to be shared:Can be video, PPT or other classes for needing to project in screen prjection
The document information of type).
Data message is encoded and cached into the transmit queue of service end by step S12, service end, will send team
Data message in row is sent to client.
The coding module of service end is encoded the data message for needing screen prjection, and by the data message after coding
Caching is into the transmit queue of service end, i.e. due to the data information data form of service end screen prjection, or quantity content
Difference, causes the acquisition speed of data message different with coding rate, is encoded if directly obtaining the data message of screen prjection
After send to client, in fact it could happen that service end obtains the speed of data message and encoded digital information, client it is aobvious
Show that screen prjection speed is slower, time of occurrence is poor so that the data message after server side code is not received by client, thus
There is the situation (that is, data message loses frame, the phenomenon of frame losing) that data message is lost, conversely, it is also possible that service end is obtained
The speed of data message and encoded digital information is slower, the display screen projection speed of client, the caused time difference, makes
Data message after server side code can not supply client and realize screen prjection, thus there is client data information screen
Project the situation (client data information screen prjection card, the phenomenon paused) of interim card.
Specifically, the present invention by service end set up transmit queue be used for cache need send data message, it is contemplated that send out
The factors such as the utilization ratio of storage resources and service end performance of queue are sent, the length for the data cached queue that can be set up in service end
It is limited (for example, the length of queue is 20 frame data), each node of queue deposits the coding module of a frame service end
Encoded digital information;Data message after coding is buffered in into the queue to buffer, and broadcasting according to the data message of client
Screen prjection situation is put, transmission control module obtains data message from transmit queue and sent to client.
It should be added that, in order to realize the fluency of service end and client screen projection, accordingly in client
The receiving queue of data cached information is set up at end, and each node of queue deposits a frame encoded digital information;Receive data letter
Breath can first be buffered in the queue and buffer, and the data frame of broadcasting takes from receiving queue, specifically of the invention by service end
Buffer queue is all set up with client, service end correspondence transmit queue, client correspondence receiving queue, service end is entered with client
It is, as screen figure layer, to form corresponding data frame, i.e., by servicing using the data message of the screen of service end during row screen prjection
The data collecting module collected on-screen data information formation data frame at end, then entered the data frame formed by server side code module
Row coding, is preserved to service end transmit queue, service end transmit queue can correspond to 20 frame data frames of caching, and (20 frames can be corresponded to
The data length information of transmit queue, data length information here is not fixed, and can be configured according to actual conditions), clothes
The receiving module that the transmit queue at business end sends a dataframe to the receiving queue client of client receives the data frame encoded,
And (length of receiving queue can be set according to real data length, for example, setting by the data frame buffer memory of coding to receiving queue
Put 20 frame data of storage), the decoder module of client is decoded to data message, and monitors the length of receiving queue in real time
Information, when the length information of receiving queue is more than preset maximum value, or during less than predetermined minimum, is correspondingly formed length early warning
Information, and length warning information is sent to service end, so that the transmission control module of service end, pre- according to the length received
Alert information correspondence adjustment control service end transmit queue sends the speed of data message.
Step S13, when service end receives the length warning information of client transmission, is adjusted according to length warning information
The transmission rate of data message.
Service end is in data frame corresponding to client transmission data message, and service end also corresponds to and receives the anti-of client
Feedforward information, specifically, in client correspondence establishment data receiver queue, client is when on-screen data is projected, from receiving queue
In press the corresponding order decoding data information of data message, and project on client display interface data message, thus need
Ensure the data frame number of data message in client receiving queue, when the amount of data message number of frames is deposited close to receiving queue maximum
During Stored Value, or data message number of frames amount close to receiving queue minimum memory value when, client is by data in receiving queue
The amount of storage of information feeds back to service end, service end is believed according to the data frame of client receiving queue is several according to length early warning
The transmission rate of breath adjustment data message.
With reference to Figure 11, for example, service end and client carry out screen prjection with 25 frames speed per second, service end sets up one
Individual data length is the data transmit queue of 20 frames, and client sets up the data receiver queue that a data length is 20 frames, clothes
Be engaged in end respectively can monitoring transmission queue and client receiving queue in real time storage state, when monitoring what is cached in receiving queue
Less than setting minimum value, (assuming that 5 frame data, setting minimum value here is the length and screen prjection according to queue to data frame number
What situation was set), but also in continuous reduce, notify transmitting terminal to shorten the time interval sent, when monitoring receiving queue
The data frame number of middle caching is more than setting maximum, and (assuming that during 15 frame data, setting maximum here is the length according to queue
What degree and screen prjection situation were set), but also when being continuously increased, notify transmitting terminal to increase the time interval sent, to protect
Hinder the fluency of screen prjection.
In the present embodiment when service end opens screen prjection pattern, service end obtains the data message of screen prjection,
Data message is encoded and cached into the transmit queue of service end by service end, and the data message in transmit queue is sent out
Client is delivered to, when service end receives the length warning information of client transmission, data are adjusted according to length warning information
The transmission rate of information.The present invention by the service end and client in screen prjection sets up buffer queue, it is to avoid due to screen
The factors such as curtain data for projection size, the data message caused, which is obtained, is encoded to the time difference that data message display is played, by slow
The phenomenon that queue efficiently avoid data playback interim card is deposited, with this simultaneously, the data of service end monitor client receiving queue
The length of information, and according to the length of receiving queue data message, adjustment sends the speed of data message, efficiently avoid number
It is believed that the frame losing of breath, the situation of leakage frame, it is ensured that the fluency of screen prjection.
Reference picture 4, in the second embodiment of the transfer control method of screen prjection of the present invention, the transmission control of screen prjection
Method processed includes:
Step S21, when the data message length that service end is detected in transmit queue is more than preset value, sets up service end
With the data information transfer passage of client.
Specifically, service end and client communication connection in the transmission control system of screen prjection can be simply interpreted as,
When data message length only in the transmit queue of service end is more than preset value, the data message of service end and client is set up
Transmission channel, the transmit queue of service end can just start to send data message into client receiving queue, i.e. transmitting terminal and
Receiving terminal staggers very short a period of time, that is to say, that client picture can delayed service end very short a period of time.Service end
Can be first toward caching several frame data (data message length usable image frame number mark, preset value in the transmit queue of service end:Here
Preset value can be set according to the length of transmit queue and data message obtains the speed of coding and is correspondingly arranged, for example, will be default
Value is set to 5 frame data) after, the receiving queue just started toward client sends data message, and client now sets up connection,
Start to receive data message, and the data message received can be first buffered in the receiving queue of client.
It should be added that, the data message length preset value that service end is set only can start transmission in coded data
When provide constraints, be not so limited during data information transfer, i.e. the data volume of service end transmit queue is main
Determined by the speed of acquisition, encoded digital information, during client and service end screen prjection, receiving terminal receiving queue
Data volume it is not related, but be the need to ensure that the data volume in the transmit queue of service end just can be achieved data message caching
Purpose, makes service end send data message from transmit queue to client, and correspondence adjusts the transmission rate of data message.
Step S22, service end by the data message of coding by data information transfer channel transfer to client, to carry out
Service end is projected with client screen.
Service end sends the data message of coding to client by data information transfer passage, it is to avoid due to service
End obtains that encoded digital information is slow, causes client data information to carry out the Caton phenomenon of screen prjection, with carry out service end with
Client screen is projected.
In the present embodiment when the data message length that service end is detected in transmit queue is more than preset value, clothes are set up
The data message of coding is passed through data information transfer channel transfer by the data information transfer passage for end and the client of being engaged in, service end
To client, projected with carrying out service end with client screen.By when screen prjection starts, in service end transmit queue
Set up a data buffer memory (surplus), it is possible to achieve the fluency of service end and client screen data for projection information.
Reference picture 5, in the transfer control method of screen prjection of the present invention, the transfer control method step of screen prjection
S13 includes:
Step S131, when service end receives the length warning information of client transmission, connects in parsing length warning information
Receive the length information of queue.
Specifically, when client receiving queue length is less than the value of preset range, client is likely to occur data message
The phenomenon of not enough screen prjection interim card, or when client receiving queue length is more than the value of preset range, client may
Receiving queue is full, it is impossible to receive the data message of service end transmission, data message frame losing occurs, loses the phenomenon of frame, client
When can be by data message length exception, length warning information be sent to service end, the pass of client transmission is received in service end
In client receiving queue length warning information, and the length of receiving queue in length warning information is parsed, so that service end root
According to the length adjustment rate of information throughput of client receiving queue.
Step S132, adjusts data information transfer speed, when receiving queue length is big according to the length information of receiving queue
In preset maximum value, then service end control slows down transmission rate, when receiving queue length is less than predetermined minimum, then service end control
System accelerates transmission rate.
According to the length adjustment data information transfer speed of receiving queue, number is determined by the warning information service end of parsing
Form is adjusted according to information transfer, for example, the length of client receiving queue is 20 frame data, is cached when monitoring in receiving queue
Data frame number when being less than 5 frame data, but also in continuous reduce, notify transmitting terminal to shorten the time interval sent, work as prison
When controlling the data frame number cached in receiving queue more than 15 frame data, but also when being continuously increased, transmitting terminal is notified to increase
The time interval of transmission, then when receiving queue length is more than preset maximum value, then service end control slows down transmission rate, works as reception
Queue length is less than predetermined minimum, then transmission rate is accelerated in service end control.
When service end receives the length warning information of client transmission in the present embodiment, received in parsing warning information
The length of queue, according to the length adjustment data information transfer speed of receiving queue, when receiving queue length is more than default maximum
Value, then service end control slows down transmission rate, and when receiving queue length is less than predetermined minimum, then transmission is accelerated in service end control
Speed.The time interval of the transmission data of dynamic adjustment transmitting terminal, to reach real-time synchronization, transmitting terminal takes out a frame and sent out
Go, receiving terminal consumes a frame (taken out from receiving queue a frame be used for Xie Ma play), transmitting terminal one frame of transmission, it is ensured that client
The fluency played is held, it is usage experience to improve user.
Further, reference picture 6, in order to realize that this purpose present invention also provides a kind of transmission controlling party of screen prjection
Method, the transfer control method of screen prjection is applied to the transmission control system of screen prjection;
The transmission control system of the screen prjection includes the service end and client of communication connection, the 3rd of the present invention the
In embodiment, the transfer control method of screen prjection comprises the following steps:
Step S31, when client detects screen prjection transmission request, client obtains the data letter of service end transmission
Cease and cache to the receiving queue of client.
When the screen prjection for detecting service end transmission in client transmits request, client accordingly receives service end biography
Defeated data message, and the data message of receiving is cached into receiving queue, can be according to the number length of service end receiving queue
Data length value is set so as to that there should be the data message surplus for being available for caching in client receiving queue.
Step S32, client is decoded the data message in receiving queue, and correspondence shows and played.
Client is decoded the data message cached in receiving queue, and by decoding data information in client correspondence
Display play, it is necessary to supplementary notes, the buffer queue not essential distinction of client and service end, its main function according to
Screen prjection transmission control procedure determines that the data message of client is transmitted in service end transmit queue, in data letter
Need data message carrying out coding and decoding in the transmitting procedure of breath.
In the present embodiment when client detects screen prjection transmission request, client obtains the number of service end transmission
It is believed that ceasing and caching to the receiving queue of client, client is decoded the data message in receiving queue, and correspondence is aobvious
Show broadcasting.By setting the receiving queue of data message to be used for the caching of data message in client, screen prjection is contributed to pass
Defeated fluency.
Reference picture 7, in the fourth embodiment of the present invention, the transfer control method of screen prjection of the present invention include following step
Suddenly:
Step S41, when client detects the length of receiving queue not in preset range, according to the length of receiving queue
Information generates length warning information.
Specifically, the receiving queue of data message is set to be, in order to meet the smoothness of screen prjection, therefore to need in client
Data message surplus is preserved in receiving queue, by length of the client data information surplus according to client receiving queue
It is configured, for example, the length of receiving queue is 20 frame data, then it is 5 frame data to 15 that can set the scope of data length
Frame data, client detects the length of receiving queue not in preset range, and client is according to the length of existing receiving queue
Information is spent, length warning information is generated.
Step S42, client sends length warning information to service end, so that service end is adjusted according to length warning information
The transmission rate of entire data information.
Client will be sent to service end based on the length warning information that receiving queue length is generated so that service end according to
The length warning information received adjusts the transmission rate of data message according to length warning information, it is ensured that client and service end
The fluency of frequency screen prjection.
In the present embodiment when client detects the length of receiving queue not in preset range, according to receiving queue
Length information generates length warning information, and client sends length warning information to service end, so that service end is according to reception
The length warning information arrived adjusts the transmission rate of data message according to length warning information.By the shape for monitoring buffering queue
State, to control transmitting terminal to send the time interval of data frame, so as to reach the synchronization of transmitting terminal and receiving terminal.With it,
It is able to maintain that client consumes a frame data, transmitting terminal sends the kilter of a frame time, it is ensured that the stream of client terminal playing
Smooth property, it is usage experience to improve user.
Reference picture 8, in the fifth embodiment of the present invention, the transfer control method of screen prjection of the present invention is included below also
Step:
Step S51, when client exits screen prjection, correspondence disconnects the data information transfer passage with service end and emptied
Data message in receiving queue.
Specifically, screen prjection service end in the present invention be one, client can be one can also be it is multiple,
If client and service end are man-to-man screen prjections, disconnect and being connected with the screen prjection of service end in a client
When, the corresponding screen prjection of service end is also relative to be terminated, if client and service end are one-to-many screen prjections, at one
Client is disconnected when being connected with the screen prjection of service end, do not influence service end to the screen prjections of other clients (if conversely,
Service end disconnects screen prjection, and either which type of screen prjection will all be terminated, when service end exits screen prjection pattern,
The data information transfer passage with client is disconnected, and empties the data message in transmit queue), it is right after screen prjection termination
The queuing data information answered will be cleared.
Step S52, client will move out the prompt message of screen prjection to service end, so that service end correspondence is adjusted.
The prompt message that client will move out screen prjection is sent to service end, one-to-many for service end and client
Screen prjection situation, is serviced by end it is recognized that the client case of screen prjection is exited, to be adjusted in time (instead
It, the prompt message that service end will move out screen prjection pattern is sent to client, so that client is emptied in receiving queue
Data message).
When client exits screen prjection in the present embodiment, the data information transfer passage of correspondence disconnection and service end is simultaneously
The data message in receiving queue is emptied, client will move out the prompt message of screen prjection to service end, so that service end pair
It should adjust.When client or service end disconnect screen prjection, face accordingly sends prompt message, and screen is understood in real time and is thrown
The link information of shadow.
Reference picture 9, in order to realize this purpose, the present invention further provides the transmission control system of screen prjection, the screen
The transmission control system of projection includes the service end and client of communication connection, in the transmission control system of screen prjection of the present invention
In one embodiment, wherein,
When service end opens screen prjection pattern, service end obtains the data message of screen prjection.
In video conference or the occasion of other Video Applications screen prjections (Screen sharing), a terminal is used as service end
Screen prjection pattern is opened, and screen prjection is initiated to other one or more terminals (being used as client) and is invited, with reference to figure
9, the data acquisition module of service end:Obtain the data message of screen prjection, i.e. service end is obtained under screen prjection pattern
Data message (the data message that correspondence need to be shared:Can be video, PPT or other classes for needing to project in screen prjection
The document information of type).
Data message is encoded and cached into the transmit queue of service end by service end, by the number in transmit queue
It is believed that breath is sent to client.
With reference to Figure 10, the coding module of service end is encoded the data message for needing screen prjection, and by after coding
Data message cache into the transmit queue of service end, i.e. due to the data information data form of service end screen prjection, or
Person's quantity content is different, causes the acquisition speed of data message different with coding rate, if directly believing the data of screen prjection
Breath is sent to client after obtaining coding, in fact it could happen that service end obtains data message and the speed of encoded digital information,
The display screen projection speed of client is slower, and time of occurrence is poor so that the data message after server side code is not by client
End receive, thus occur data message loss situation (that is, data message lose frame, the phenomenon of frame losing), conversely, it is also possible that
Service end obtains data message and the speed of encoded digital information is slower, the display screen projection speed of client, causes
Time difference so that the data message after server side code can not supply client and realize screen prjection, thus client occurs
Data message screen prjection card, situation about pausing (client data information screen prjection card, the phenomenon paused).
It should be added that, in order to realize the fluency of service end and client screen projection, accordingly in client
The receiving queue of data cached information is set up at end, and each node of queue deposits a frame encoded digital information;Receive data letter
Breath can first be buffered in the queue and buffer, and the data frame of broadcasting takes from receiving queue.
The data message that client receiving queue buffer service end is sent, and data message is decoded into broadcasting.
Specifically, the present invention by service end set up transmit queue be used for cache need send data message, it is contemplated that send out
The factors such as the utilization ratio of storage resources and service end performance of queue are sent, the length for the data cached queue that can be set up in service end
It is limited (for example, the length of queue is 20 frame data), each node of queue deposits the coding module of a frame service end
Encoded digital information;Data message after coding is buffered in into the queue to buffer, and broadcasting according to the data message of client
Screen prjection situation is put, transmission control module obtains data message from transmit queue and sent to client, and client receives mould
Block receives the data message that service end sends and is put into receiving queue caching, and data message is decrypted using decoder module broadcast
Put.
When service end receives the length warning information of client transmission, data message is adjusted according to length warning information
Transmission rate.
Service end is in data frame corresponding to client transmission data message, and service end also corresponds to and receives the anti-of client
Feedforward information, specifically, in client correspondence establishment data receiver queue, client is when on-screen data is projected, from receiving queue
In press the corresponding order decoding data information of data message, and project on client display interface data message, thus need
Ensure the data frame number of data message in client receiving queue, when the amount of data message number of frames is deposited close to receiving queue maximum
During Stored Value, or data message number of frames amount close to receiving queue minimum memory value when, client is by data in receiving queue
The amount of storage of information feeds back to service end, service end is believed according to the data frame of client receiving queue is several according to length early warning
The transmission rate of breath adjustment data message.
For example, service end and client carry out screen prjection with 25 frames speed per second, it is long that service end sets up a data
The data transmit queue for 20 frames is spent, client sets up the data receiver queue that a data length is 20 frames, service end difference
Can real-time monitoring transmission queue and client receiving queue storage state, when monitoring the data frame number that is cached in receiving queue
Less than setting minimum value, (assuming that 5 frame data, setting minimum value here is set according to the length and screen prjection situation of queue
), but also in continuous reduce, notify transmitting terminal to shorten the time interval sent, when monitoring what is cached in receiving queue
Data frame number is more than setting maximum, and (assuming that during 15 frame data, setting maximum here is the length and screen according to queue
What projection situation was set), but also when being continuously increased, notify transmitting terminal to increase the time interval sent, to ensure that screen is thrown
The fluency of shadow.
In the present embodiment, when service end opens screen prjection pattern, service end obtains the data message of screen prjection,
Data message is encoded and cached into the transmit queue of service end by service end, and the data message in transmit queue is sent out
Client, the data message that client receiving queue buffer service end is sent are delivered to, and data message is decoded into broadcasting, works as service
When termination receives the length warning information of client transmission, the transmission rate of data message is adjusted according to length warning information.This
Invention sets up buffer queue by the service end and client in screen prjection, it is to avoid due to screen prjection size of data etc. because
Element, the data message caused, which is obtained, is encoded to the time difference that data message display is played, and efficiently avoid by buffer queue
The phenomenon of data playback interim card, with this simultaneously, the length of the data message of service end monitor client receiving queue, and according to connecing
The length of queuing data information is received, adjustment sends the speed of data message, efficiently avoid the frame losing of data message, leak frame
Situation, it is ensured that the fluency of screen prjection.
In addition, in order to realize this purpose present invention, in another embodiment of the transmission control system of screen prjection of the present invention
Include:
When client detects screen prjection transmission request, client obtains the data message and caching of service end transmission
To the receiving queue of client.
When the screen prjection for detecting service end transmission in client transmits request, with reference to Figure 10, client accordingly connects
The data message of service end transmission is received, and the data message of receiving is cached into receiving queue, team can be received according to service end
The number length of row sets data length value so as to that should have the data message surplus for being available for caching in client receiving queue.
When client detects the length of receiving queue not in preset range, generated according to the length information of receiving queue
Length warning information is simultaneously sent to service end.
The receiving queue of data message is set to be to meet the smoothness of screen prjection in client, it is therefore desirable to receiving
Data message surplus is preserved in queue, client data information surplus is set according to the length of client receiving queue
Put, for example, the length of receiving queue is 20 frame data, then it is 5 frame data to 15 frame data that can set the scope of data length,
Client detects the length of receiving queue not in preset range, client according to the length information of existing receiving queue,
Generate length warning information and send to service end.
Service end receives the length warning information that client is sent, and according to the biography of length warning information adjustment data message
Defeated speed.
Client will be sent to service end based on the length warning information that receiving queue length is generated so that service end according to
Length warning information adjusts the transmission rate of data message, it is ensured that client and the fluency of service end frequency screen prjection.
In the present embodiment when client detects screen prjection transmission request, client obtains the number of service end transmission
It is believed that cease and cache to the receiving queue of client, when client detects the length of receiving queue not in preset range, root
Length warning information is generated according to the length information of receiving queue and is sent to service end, and service end receives the length that client is sent
Warning information, and according to the transmission rate of length warning information adjustment data message.By monitoring the state of buffering queue, to control
Transmitting terminal processed sends the time interval of data frame, so as to reach the synchronization of transmitting terminal and receiving terminal.With it, being able to maintain that
Client consumes a frame data, and transmitting terminal sends the kilter of a frame time, it is ensured that the fluency of client terminal playing, improves
User is usage experience.
In addition, in order to realize this purpose present invention, also providing a kind of computer-readable recording medium in the present invention, its feature
It is, the transmission control procedure for the screen prjection that is stored with the computer-readable recording medium, the transmission of the screen prjection
The step of transfer control method of above-mentioned screen prjection is realized when control program is executed by processor.
Wherein, the method realized when the transmission control procedure of screen prjection is performed can refer to screen prjection of the present invention
Each embodiment of transfer control method, here is omitted.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal (can be mobile phone, computer, service
Device, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.
Claims (10)
1. a kind of transfer control method of screen prjection, it is characterised in that the transfer control method of the screen prjection is applied to
The transmission control system of screen prjection, the transmission control system of the screen prjection includes service end and the client of communication connection
End;
The transfer control method of the screen prjection comprises the following steps:
When service end opens screen prjection pattern, service end obtains the data message of screen prjection;
Data message is encoded and cached into the transmit queue of service end by service end, and the data in transmit queue are believed
Breath is sent to client;
When service end receives the length warning information of client transmission, the biography of data message is adjusted according to length warning information
Defeated speed.
2. the transfer control method of screen prjection as claimed in claim 1, it is characterised in that the service end is by data message
Include after the step for being encoded and being cached into the transmit queue of service end:
When the data message length that service end is detected in transmit queue is more than preset value, the number of service end and client is set up
According to information transfer channel;
Service end by the data message of coding by data information transfer channel transfer to client, to carry out service end and client
Hold screen prjection.
3. the transfer control method of screen prjection as claimed in claim 1 or 2, it is characterised in that described when service end is received
To client send length warning information when, according to length warning information adjust data message transmission rate the step of wrap
Include:
When service end receives the length warning information of client transmission, the length letter of receiving queue in parsing length warning information
Breath;
According to the length information of receiving queue adjust data information transfer speed, when receiving queue length be more than preset maximum value,
Then service end control slows down transmission rate, and when receiving queue length is less than predetermined minimum, then transmission speed is accelerated in service end control
Rate.
4. the transfer control method of screen prjection as claimed in claim 2, it is characterised in that described when service end receives visitor
During the length warning information that family end is sent, wrapped after the step of adjusting the transmission rate of data message according to length warning information
Include:
When service end exits screen prjection pattern, the data information transfer passage with client is disconnected, and empty transmit queue
In data message;
The prompt message that service end will move out screen prjection pattern is sent to client, so that client is emptied in receiving queue
Data message.
5. a kind of transfer control method of screen prjection, it is characterised in that the transfer control method of the screen prjection is applied to
The transmission control system of screen prjection, the transmission control system of the screen prjection includes service end and the client of communication connection
End;
The transfer control method of the screen prjection comprises the following steps:
When client detects screen prjection transmission request, client obtains the data message of service end transmission and cached to visitor
The receiving queue at family end;
Client is decoded the data message in receiving queue, and the data message after broadcast decoder.
6. the transfer control method of screen prjection as claimed in claim 5, it is characterised in that described when client detects screen
During curtain projection transmission request, the step of client obtains the data message of service end transmission and cached to the receiving queue of client
Include afterwards:
When client detects the length of receiving queue not in the scope that preset maximum value and predetermined minimum are determined, according to
The length information generation length warning information of receiving queue;
Client sends length warning information to service end, so that service end adjusts data message according to length warning information
Transmission rate.
7. the transfer control method of screen prjection as claimed in claim 5, it is characterised in that the client is by receiving queue
In data message decoded, and correspondence show play the step of after include:
When client exits screen prjection, correspondence disconnects the data information transfer passage with service end and emptied in receiving queue
Data message;
Client will move out the prompt message of screen prjection to service end, so that service end correspondence is adjusted.
8. a kind of transmission control system of screen prjection, it is characterised in that the transmission control system of the screen prjection includes logical
Believe the service end and client of connection, wherein,
When service end opens screen prjection pattern, service end obtains the data message of screen prjection;
Data message is encoded and cached into the transmit queue of service end by service end, and the data in transmit queue are believed
Breath is sent to client;
The data message that client receiving queue buffer service end is sent, and data message is decoded into broadcasting;
When service end receives the length warning information of client transmission, the biography of data message is adjusted according to length warning information
Defeated speed.
9. the transmission control system of screen prjection as claimed in claim 8, it is characterised in that the transmission control of the screen prjection
Also include in system processed:
When client detects screen prjection transmission request, client obtains the data message of service end transmission and cached to visitor
The receiving queue at family end;
When client detects the length of receiving queue not in the scope that preset maximum value and predetermined minimum are determined constantly, root
Length warning information is generated according to the length information of receiving queue and is sent to service end;
Service end receives the length warning information that client is sent, and the transmission for adjusting data message according to length warning information is fast
Rate.
10. a kind of computer-readable recording medium, it is characterised in that the screen that is stored with the computer-readable recording medium is thrown
The transmission control procedure of shadow, realized when the transmission control procedure of the screen prjection is executed by processor such as Claims 1-4 or
The step of transfer control method of screen prjection of the person as any one of claim 5 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710419935.7A CN107317655A (en) | 2017-06-06 | 2017-06-06 | Transfer control method, system and the readable storage medium storing program for executing of screen prjection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710419935.7A CN107317655A (en) | 2017-06-06 | 2017-06-06 | Transfer control method, system and the readable storage medium storing program for executing of screen prjection |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107317655A true CN107317655A (en) | 2017-11-03 |
Family
ID=60184051
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710419935.7A Pending CN107317655A (en) | 2017-06-06 | 2017-06-06 | Transfer control method, system and the readable storage medium storing program for executing of screen prjection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107317655A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107948142A (en) * | 2017-11-15 | 2018-04-20 | 广州杏雨信息科技有限公司 | A kind of point-to-point live transmission method of 3D HD videos and system |
CN108184166A (en) * | 2017-12-26 | 2018-06-19 | 桂林远望智能通信科技有限公司 | A kind of video quality analysis method and system |
CN108769735A (en) * | 2018-05-23 | 2018-11-06 | 江苏网进科技股份有限公司 | Optimize Spice methods in a kind of data compression of network transmission |
CN111064991A (en) * | 2019-12-26 | 2020-04-24 | 江苏星地通通信科技有限公司 | Video data sending, receiving and transmitting method and system based on wireless communication |
CN112584228A (en) * | 2020-11-25 | 2021-03-30 | 山东宁泓信息技术有限公司 | Low-delay screen projection method and system based on WEB |
CN114510191A (en) * | 2022-02-16 | 2022-05-17 | 北京字跳网络技术有限公司 | Screen projection method and device |
CN116033235A (en) * | 2022-12-13 | 2023-04-28 | 北京百度网讯科技有限公司 | Data transmission method, digital person production equipment and digital person display equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101001362A (en) * | 2006-01-11 | 2007-07-18 | 腾讯科技(深圳)有限公司 | Method and terminal of on-line playing flow media |
CN103747077A (en) * | 2013-12-31 | 2014-04-23 | 华为技术有限公司 | Transmission mechanism adjusting method, server side and client |
CA2981646A1 (en) * | 2014-04-03 | 2015-10-08 | Orbital Multi Media Holdings Corporation | Data flow control method |
US20150365468A1 (en) * | 2010-05-04 | 2015-12-17 | Microsoft Technology Licensing, Llc | Desktop screen sharing over http |
CN105338376A (en) * | 2014-08-15 | 2016-02-17 | 中国电信股份有限公司 | Streaming media code rate control method, streaming media code rate control system and streaming media server |
CN105872668A (en) * | 2016-03-31 | 2016-08-17 | 百度在线网络技术(北京)有限公司 | Audio-video data processing method and device as well as vehicle-mounted terminal |
CN106528017A (en) * | 2016-10-31 | 2017-03-22 | 努比亚技术有限公司 | Information processing method and terminal |
-
2017
- 2017-06-06 CN CN201710419935.7A patent/CN107317655A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101001362A (en) * | 2006-01-11 | 2007-07-18 | 腾讯科技(深圳)有限公司 | Method and terminal of on-line playing flow media |
US20150365468A1 (en) * | 2010-05-04 | 2015-12-17 | Microsoft Technology Licensing, Llc | Desktop screen sharing over http |
CN103747077A (en) * | 2013-12-31 | 2014-04-23 | 华为技术有限公司 | Transmission mechanism adjusting method, server side and client |
CA2981646A1 (en) * | 2014-04-03 | 2015-10-08 | Orbital Multi Media Holdings Corporation | Data flow control method |
CN105338376A (en) * | 2014-08-15 | 2016-02-17 | 中国电信股份有限公司 | Streaming media code rate control method, streaming media code rate control system and streaming media server |
CN105872668A (en) * | 2016-03-31 | 2016-08-17 | 百度在线网络技术(北京)有限公司 | Audio-video data processing method and device as well as vehicle-mounted terminal |
CN106528017A (en) * | 2016-10-31 | 2017-03-22 | 努比亚技术有限公司 | Information processing method and terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107948142A (en) * | 2017-11-15 | 2018-04-20 | 广州杏雨信息科技有限公司 | A kind of point-to-point live transmission method of 3D HD videos and system |
CN108184166A (en) * | 2017-12-26 | 2018-06-19 | 桂林远望智能通信科技有限公司 | A kind of video quality analysis method and system |
CN108769735A (en) * | 2018-05-23 | 2018-11-06 | 江苏网进科技股份有限公司 | Optimize Spice methods in a kind of data compression of network transmission |
CN111064991A (en) * | 2019-12-26 | 2020-04-24 | 江苏星地通通信科技有限公司 | Video data sending, receiving and transmitting method and system based on wireless communication |
CN112584228A (en) * | 2020-11-25 | 2021-03-30 | 山东宁泓信息技术有限公司 | Low-delay screen projection method and system based on WEB |
CN114510191A (en) * | 2022-02-16 | 2022-05-17 | 北京字跳网络技术有限公司 | Screen projection method and device |
CN116033235A (en) * | 2022-12-13 | 2023-04-28 | 北京百度网讯科技有限公司 | Data transmission method, digital person production equipment and digital person display equipment |
CN116033235B (en) * | 2022-12-13 | 2024-03-19 | 北京百度网讯科技有限公司 | Data transmission method, digital person production equipment and digital person display equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107317655A (en) | Transfer control method, system and the readable storage medium storing program for executing of screen prjection | |
CN107317896A (en) | A kind of Double-camera device and mobile terminal | |
CN107613379A (en) | A kind of switching method of network connection, terminal and readable storage medium storing program for executing | |
CN107463481A (en) | Data interactive method, mobile terminal and storage medium | |
CN112394896B (en) | Reverse screen-throwing frame rate control method, device and computer readable storage medium | |
CN107147928A (en) | Play method, terminal and the computer-readable recording medium of video | |
CN112423076B (en) | Audio screen-throwing synchronous control method, equipment and computer readable storage medium | |
CN107682547A (en) | A kind of voice messaging regulation and control method, equipment and computer-readable recording medium | |
CN107181700A (en) | Control method, mobile terminal and the storage medium of application program for mobile terminal | |
CN107728973A (en) | Screen sharing method, system, initiating terminal and computer-readable recording medium | |
CN107396431A (en) | Connect keeping method, connection keeps equipment and computer-readable recording medium | |
CN107454458A (en) | A kind of video data caching method, equipment and storage medium | |
CN108200332A (en) | A kind of pattern splicing method, mobile terminal and computer readable storage medium | |
CN108052280A (en) | A kind of data cached delet method, terminal and computer readable storage medium | |
CN107181865A (en) | Processing method, terminal and the computer-readable recording medium of unread short messages | |
CN109660973A (en) | Bluetooth control method, mobile terminal and storage medium | |
CN108257097A (en) | U.S. face effect method of adjustment, terminal and computer readable storage medium | |
CN107483804A (en) | A kind of image pickup method, mobile terminal and computer-readable recording medium | |
CN107124428A (en) | A kind of method, equipment and the storage medium of raising VoLTE call successful rates | |
CN107133151A (en) | A kind of daily record data processing method, equipment and computer-readable recording medium | |
CN107124466A (en) | One kind prevents caching penetrating method and device, computer-readable recording medium | |
CN107659726A (en) | A kind of method, equipment and computer-readable recording medium for recovering end message | |
WO2021121119A1 (en) | Data processing method and electronic device | |
CN107241504A (en) | A kind of image processing method, mobile terminal and computer-readable recording medium | |
CN110087267A (en) | Method for switching network, device, electronic equipment and readable storage medium storing program for executing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171103 |
|
RJ01 | Rejection of invention patent application after publication |