CN110166823A - Throw screen method and relevant apparatus - Google Patents

Throw screen method and relevant apparatus Download PDF

Info

Publication number
CN110166823A
CN110166823A CN201910561895.9A CN201910561895A CN110166823A CN 110166823 A CN110166823 A CN 110166823A CN 201910561895 A CN201910561895 A CN 201910561895A CN 110166823 A CN110166823 A CN 110166823A
Authority
CN
China
Prior art keywords
screen
end equipment
throwing
target
thrown
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.)
Granted
Application number
CN201910561895.9A
Other languages
Chinese (zh)
Other versions
CN110166823B (en
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 CN201910561895.9A priority Critical patent/CN110166823B/en
Publication of CN110166823A publication Critical patent/CN110166823A/en
Application granted granted Critical
Publication of CN110166823B publication Critical patent/CN110166823B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Throwing screen method provided by the invention and relevant apparatus, when throwing screen end equipment to after throwing screen failure by throwing screen end equipment, throwing screen end equipment can obtain throwing screen failed message and be sent to server-side.Server-side parses the throwing screen failed message and obtains target throwing screen protocol information used in throwing screen end equipment, and returns to the throwing screen end equipment.It throws screen end equipment and the target received is thrown into screen protocol information as the throwing screen end equipment to the foundation for throwing screen content is sent by throwing screen end equipment, can successfully to be parsed throwing screen content and shown by throwing screen end equipment.Using the method achieve throw screen end equipment to expand the throwing screen range for throwing screen end equipment according to the throwing screen foundation thrown screen protocol dynamic used in screen end equipment and adjust itself is thrown, improve throwing screen success rate.

Description

Throw screen method and relevant apparatus
Technical field
The invention belongs to field of computer technology, more particularly to throw screen method and relevant apparatus.
Background technique
As network technology and smart machine are fast-developing, throw screen technology and be used widely.Screen is thrown to refer to throwing screen end Content shown by equipment (for example, smart phone, tablet computer etc.), which is launched to by throwing, shields end equipment (for example, smart television, electricity Brain or intelligent box etc.) on shown, in this way, user can throw matchmaker in screen end equipment being thrown browsing in screen end equipment Body file, to realize the conversion of smaller screen to large-size screen monitors.
Screen projection function needs to throw screen end equipment and is matched by the throwing screen agreement thrown between screen end equipment, and at present on the market Television manufacturer, intelligent box manufacturer it is various, and it is different that screen agreement is thrown used in different vendor.It is common at present to mention It is most by throwing screen end with compatibility that equipment or application program for screen projection function usually only provide a kind of general throwing screen agreement Equipment, therefore, often occur as throw screen end equipment with by throw screen end equipment used in throw screen agreement it is incompatible cause throw shield The phenomenon that failure.
Summary of the invention
In view of this, the purpose of the present invention is to provide screen method and relevant apparatus is thrown, it is incompatible to solve to throw screen agreement Lead to the problem of throwing screen failure, technical solution disclosed by the invention is as follows:
In a first aspect, being applied to throw screen end equipment the present invention provides a kind of throwing screen method, which comprises
It obtains to the throwing screen failed message after screen end equipment throws screen failure is thrown, the throwing screen failed message carries the quilt It throws target used in screen end equipment and throws screen protocol information;
The throwing is sent to server-side and shields failed message, so that the server-side parses described in throwing screen failed message acquisition Target throws screen protocol information;
The target that the server-side is returned throws screen protocol information as throwing screen end equipment and is thrown screen to described End equipment sends the foundation for throwing screen content, so that the screen end equipment of being thrown successfully shows that content is shielded in the throwing.
In a kind of possible implementation of first aspect, the target that the server-side is returned throws screen protocol information As the screen end equipment of throwing to the foundation for being thrown screen content by throwing screen end equipment transmission, comprising:
It parses the target and throws screen protocol information acquisition target protocol parameter;
Store the target protocol parameter and the corresponding device identification for being thrown screen end equipment.
In the alternatively possible implementation of first aspect, the method also includes:
According to the device identification for being thrown screen end equipment, reads and shield the associated target protocol of end equipment with described thrown Parameter;
It will be that target throws screen content wait throw screen Content Transformation based on the target protocol parameter;
The target throwing screen content is sent to the screen end equipment of being thrown.
In first aspect in another possible implementation, the target that the server-side is returned throws screen association Information is discussed as the throwing screen end equipment and is thrown the foundation shielded end equipment and send throwing screen content to described, comprising:
It parses the target and throws screen protocol information, obtain the parameter type and parameter value of target protocol parameter;
By parameter identical with the parameter type of the target protocol parameter in the throwing screen agreement for throwing screen end equipment Parameter value is revised as the parameter value of the target protocol parameter, obtains modified throwing screen agreement.
In first aspect in another possible implementation, the method also includes:
Shield agreement according to the modified throwing and sends throwing screen content to the screen end equipment of being thrown.
Second aspect, the present invention provides a kind of throwing screen methods, are applied in server, this method comprises:
The throwing screen failed message that throwing screen end equipment is sent is received, the throwing screen failed message is carried to be made by throwing screen end equipment Target throws screen protocol information;
It parses the throwing screen failed message and obtains the target and throw and shield protocol information;
The target is thrown into screen protocol information and is sent to the throwing screen end equipment, so that the throwing shields end equipment for the mesh Mark throwing screen protocol information is thrown the foundation shielded end equipment and send throwing screen content to described as the throwing screen end equipment.
The third aspect is applied to throw screen end equipment, described device includes: the present invention also provides a kind of throwing screen device
Module is obtained, for obtaining to the throwing screen failed message after shielding end equipment throwing screen failure is thrown, the throwing screen fails Message carries described thrown and shields the throwing screen protocol information of target used in end equipment;
First sending module shields failed message for sending the throwing to server-side, so that the server-side parses the throwing Shield failed message and obtains the target throwing screen protocol information;
Determining module, the target for returning to the server-side throw screen protocol information as throwing screen end equipment The foundation for shielding content is thrown to described sent by throwing screen end equipment, so that described successfully shown in the throwing screen by throwing screen end equipment Hold.
In a kind of possible implementation of the third aspect, the determining module is specifically used for:
It parses the target and throws screen protocol information acquisition target protocol parameter;
Store the target protocol parameter and the corresponding device identification for being thrown screen end equipment.
In the alternatively possible implementation of the third aspect, described device further include:
Read module, for reading and shielding end equipment phase with described thrown according to the device identification for being thrown screen end equipment Associated target protocol parameter;
Conversion module will be that target throws screen content wait throw screen Content Transformation for being based on the target protocol parameter;
Second sending module, for sending the target throwing screen content to the screen end equipment of being thrown.
In the alternatively possible implementation of the third aspect, the determining module is specifically used for:
It parses the target and throws screen protocol information, obtain the parameter type and parameter value of target protocol parameter;
By parameter identical with the parameter type of the target protocol parameter in the throwing screen agreement for throwing screen end equipment Parameter value is revised as the parameter value of the target protocol parameter, obtains modified throwing screen agreement.
In the alternatively possible implementation of the third aspect, described device further include:
Third sending module is thrown in screen for shielding agreement according to the modified throwing to described sent by throwing screen end equipment Hold.
Fourth aspect, the present invention also provides another kinds to throw screen device, is applied to server, which includes:
Receiving module, for receiving the throwing screen failed message throwing screen end equipment and sending, the throwing screen failed message carries quilt It throws target used in screen end equipment and throws screen protocol information;
Parsing module shields protocol information for parsing the throwing screen failed message and obtaining the target and throw;
Sending module is sent to the throwing screen end equipment for the target to be thrown screen protocol information, so that the throwing is shielded End equipment shields content to described thrown by throwing screen end equipment transmission using target throwing screen protocol information as throwing screen end equipment Foundation.
5th aspect, the present invention also provides a kind of throwings to shield end equipment, including memory and processor;
The processor is used to execute the program in the memory;
The program stored in the memory is at least for realizing first aspect described in any one possible implementation Throwing screen method.
6th aspect, the present invention also provides a kind of servers, including memory and processor;
The processor is used to execute the program in the memory;
The program stored in the memory is at least for realizing throwing screen method described in second aspect.
7th aspect, the present invention also provides a kind of storage medium, is stored with calculation procedure in the storage medium, the calculating When machine program is loaded and is executed by processor for realizing first aspect throwing screen side described in any one possible implementation Method, alternatively, for realizing throwing screen method described in second aspect.
Throwing screen method provided by the invention throws screen end equipment when throwing screen end equipment to after thrown screen end equipment throwing screen failure Throwing screen failed message can be obtained and be sent to server-side.Server-side parses the throwing screen failed message and obtains this by throwing screen end equipment institute The target used throws screen protocol information, and returns to the throwing screen end equipment.It throws screen end equipment and the target received is thrown into screen agreement Information, to the foundation for being thrown screen end equipment transmission throwing screen content, can succeed as the throwing screen end equipment to be thrown screen end equipment Parsing is thrown screen content and is shown.Using the method achieve throw screen end equipment to shield according to being thrown to throw used in screen end equipment Protocol dynamic adjusts the throwing screen foundation of itself, expands the throwing screen range for throwing screen end equipment, improves throwing screen success rate.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is the structural schematic diagram provided in an embodiment of the present invention for throwing screen system;
Fig. 2 is a kind of flow chart for throwing screen method provided in an embodiment of the present invention;
Fig. 3 is the flow chart that storage target provided in an embodiment of the present invention throws screen protocol information process;
Fig. 4 is the flow chart provided in an embodiment of the present invention that screen protocol information modification throwing screen protocol procedures are thrown according to target;
Fig. 5 is another flow chart for throwing screen method provided in an embodiment of the present invention;
Fig. 6 is the flow chart of another throwing screen method provided in an embodiment of the present invention;
Fig. 7 is a kind of block diagram for throwing screen device provided in an embodiment of the present invention;
Fig. 8 is another block diagram for throwing screen device provided in an embodiment of the present invention;
Fig. 9 is the block diagram of another throwing screen device provided in an embodiment of the present invention;
Figure 10 is the block diagram of another throwing screen device provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Referring to Figure 1, the structural schematic diagram provided in an embodiment of the present invention for throwing screen system is shown, which includes throwing screen End equipment 1 and by throw shield end equipment 2.
For example, throwing screen end equipment 1 is usually the lesser user terminals of screen sizes such as smart phone, tablet computer Equipment;And it can be with the display picture of larger size by throwing screen equipment 2 usually smart television, PC or intelligent box etc. The display content in screen end equipment is thrown in display.
It throws screen end equipment 1 and throws screen compatible could throw of agreement used in throwing screen end equipment 2 and shield successfully;Wherein, Throwing screen agreement is compatible to refer to that the message for throwing and shielding end equipment 1 and sending can successfully be parsed by being thrown screen end equipment 2;And throw screen End equipment 1 can be parsed successfully and be thrown the message shielding end equipment 2 and sending.
Fig. 2 is referred to, the flow chart provided in an embodiment of the present invention for throwing screen method is shown, this method is applied to Fig. 1 institute In the throwing screen end equipment shown.As shown in Fig. 2, method includes the following steps:
S110 is obtained and is thrown screen failed message.
It can not if causing throwing screen end equipment to project the media file for shielding end equipment by throwing since throwing screen agreement is incompatible It shows, that is, throws screen failure.
Under a kind of application scenarios, screen failed message is thrown by being generated by throwing screen end equipment and being sent to throwing screen end equipment.Quilt The error situation that screen protocol definition is thrown in the generation when parsing or playing the throwing screen content that throwing screen end equipment is sent of screen end equipment is thrown, this Under kind scene, is thrown and shield end equipment according to the corresponding throwing screen failed message of the error code generation for throwing screen protocol definition and be back to throwing Shield end equipment.
For example, some is thrown the video file for shielding end equipment and only supporting MP4 format, set when throwing screen end equipment to screen end is thrown When preparation send the video resource address of m3u8 format, screen end equipment is thrown according to the video resource address from video resource service end After request obtains corresponding video resource, the video resource of m3u8 format is not supported due to being thrown screen end equipment, at this point, being shielded by throwing End equipment generates corresponding throwing screen failed message according to the corresponding error code of such situation for throwing screen protocol definition and is back to throwing Shield end equipment.
Under another application scenarios, screen failed message is thrown by throwing screen end equipment according to the mistake returned by throwing screen end equipment Information (such as error code) generates.Shielded after the error code for throwing screen end equipment return according to throwing for example, being received by throwing screen end equipment The definition in relation to error code in screen agreement is thrown used in end equipment, is generated and is thrown screen failed message accordingly.
S120 sends the throwing screen failed message to server-side, so that server-side is obtained according to the throwing screen failed message throws screen The target used in screen end equipment of being thrown of failure throws screen protocol information.
It throws after screen end equipment obtains throwing screen failed message and is sent to server-side, server-side is obtained according to the throwing screen failed message This, which is thrown the parameter information of target throwing screen agreement used in screen object (being thrown screen end equipment) and is sent to, sends the throwing screen The throwing screen end equipment of failed message.
Server-side, which can be to provide, can make to throw screen end equipment to the service side for being thrown screen end equipment throwing screen.For example, throwing screen End equipment and/or the throwing screen software installed by throwing screen end equipment by realization throwing screen operation, the server-side herein i.e. throwing screen The background server of software.
S130, the target for receiving server-side transmission throws screen protocol information, and the target is thrown screen protocol information as throwing and is shielded End equipment throws the foundation of screen content to being sent by throwing screen end equipment.
Screen end equipment is thrown by wireless network such as WiFi network, the target that server-side is sent is received and throws screen protocol information. And the target is thrown into screen protocol information as the throwing screen end equipment and is thrown the foundation shielded end equipment transmission and throw screen content to this. That is, the throwing screen end equipment, which throws screen protocol information according to the target, throws screen content by throwing screen end equipment transmission to this.
Under a kind of application scenarios of the invention, the same throwing screen terminal may shield to different thrown at different times End equipment throw the demand of screen.
To achieve the goals above, it throws screen end equipment and receives the target that server-side issues and throw and shield protocol information, by target Throw screen protocol information store to throw screen end equipment in, when again to this by throw screen end equipment carry out throw screen when, from throw shield end equipment Middle reading is thrown the corresponding target of screen end equipment with this and throws screen protocol information, and according to the target throwing screen protocol information to quilt It throws screen end equipment and sends to throw and shield content.
Such mode do not need modification throw screen end equipment in throwing screen protocol contents, throw screen end equipment need to only obtain with currently That throws screen is thrown the compatible target protocol parameter of screen end equipment, and throwing screen end equipment in this manner can adapt to any one By throwing screen equipment.
The process that the target that screen end equipment storage service end issues throws screen protocol information of throwing is illustrated below in conjunction with Fig. 3:
S1311, parsing target throw screen protocol information and obtain target protocol parameter.
After throwing the target throwing screen protocol information that screen end equipment receives server-side return, parses the target and throw screen protocol information It obtains the target and throws the protocol parameter carried in screen protocol information, i.e. target protocol parameter.
Show to be thrown the video for shielding end equipment and only supporting MP4 format for example, the target that server-side issues throws screen protocol information File format, in such cases, throwing screen end equipment and parsing the target and throw screen protocol information to obtain target protocol parameter is MP4.
S1312 stores target protocol parameter and the corresponding device identification for being thrown screen end equipment.
It in a kind of possible implementation of the invention, can be stored by the way of key-value, for example, key value For the device identification for being thrown screen end equipment, corresponding value is target protocol parameter.
It in the alternatively possible implementation of the present invention, can be stored by the way of table, for example, wherein one It is classified as the device identification for being thrown screen end equipment, it is another to be classified as target protocol parameter, wherein mapping relations are embodied in, and there is mapping to close System is stored in same a line by the device identification and target protocol parameter of throwing screen end equipment.
Under another application scenarios of the invention, throws screen end equipment and carry out throwing will not being sent out substantially by throwing screen end equipment for screen Changing in this case, throws the target that screen end equipment receives server-side return for example, only using screen projection function at home After throwing screen protocol information, the direct basis target is thrown screen protocol information modification and is thrown in the agreement for the throwing screen agreement that screen end equipment uses Hold.As shown in figure 4, it is as follows to throw the process that screen end equipment throws screen agreement according to target throwing screen protocol information modification:
S1321, parsing target throw screen protocol information, obtain the parameter type and parameter value of target protocol parameter.
After throwing screen end equipment receives the target throwing screen protocol information that server-side issues, parses the target and throw and shield protocol information It obtains being thrown target protocol parameter used in screen end equipment, further obtains the parameter type and parameter of the target protocol parameter Value.
The parameter value of parameter identical with parameter type in the throwing screen agreement for throwing screen end equipment is revised as target by S1322 The parameter value of protocol parameter obtains modified throwing screen agreement.
Throw the ginseng that screen end equipment will throw parameter identical with the target protocol parameter type in screen agreement used in itself Numerical value is revised as the parameter value of target protocol parameter, obtains modified throwing screen agreement.
For example, after throwing screen end equipment acquisition target protocol parameter, comprising target protocol parameter in modification throwing screen agreement Parameter value in the throwing screen agreement for throwing screen end equipment in the class class comprising protocol parameter is directly replaced with mesh by class class The parameter value for marking protocol parameter obtains modified throwing screen agreement.
Throwing screen can be carried out by throwing screen end equipment to this according to modified throwing screen agreement by throwing screen end equipment, i.e., thrown to this Screen end equipment, which is sent, meets the modified throwing screen content for throwing screen agreement.
In such mode, throws screen end equipment and directly modify throwing screen agreement used in itself, such mode is suitable for being thrown The scene that screen end equipment will not change substantially.
Throwing screen method provided by the invention throws screen end equipment and can obtain to be thrown from server-side and shields mesh used in end equipment Mark throw screen protocol information, and according to the target throw screen protocol information dynamic adjust itself to this by throw screen end equipment carry out throw screen when Foundation, expand throw screen end equipment throwing screen range, improve throwing screen success rate.
Fig. 5 is referred to, another flow chart for throwing screen method provided in an embodiment of the present invention is shown, this method will focus on It describes to throw and shields end equipment using the target throwing screen protocol parameter stored to by the process of throwing screen end equipment transmission throwing screen content.Such as figure Shown in 5, this method be may comprise steps of:
S210 throws screen end equipment according to the device identification for being thrown screen end equipment, reads associated with by screen end equipment is thrown Target protocol parameter.
Under an application scenarios of the invention, after throwing screen end equipment shields failure by throwing screen end equipment throwing to this, throwing screen end Equipment and by throw screen end equipment between communication connection do not disconnect, in such cases, throw screen end equipment can be thrown with direct basis The device identification of screen end equipment, which is read this and thrown, shields the associated target protocol parameter of end equipment.
Under another application of the invention scene, after throwing screen end equipment throws screen failure to the throwing screen end equipment, throwing screen end Equipment and by throw screen end equipment between communication connection disconnected, in such cases, throw screen end equipment need first to judge whether to deposit Contain the target protocol parameter for being thrown screen end equipment.
In one embodiment of the invention, it throws and stores a list of devices, setting in the list of devices in screen end equipment Standby is to be thrown the device identification for being thrown screen end equipment that corresponding target protocol parameter is stored in screen end equipment.
After throwing screen end equipment with connection is established by throwing screen end equipment, throwing screen end equipment and searching in the list of devices is The no device identification that screen end equipment is thrown comprising this;If comprising continuing according to the device identification for being thrown screen end equipment and mesh The mapping relations between protocol parameter are marked, this is read and is thrown and shield the associated target protocol parameter of end equipment.
For example, what is stored in a manner of key-value is thrown the device identification and corresponding target protocol parameter of screen end equipment, Searching key value is to be thrown the value value of the device identification of screen end equipment, and read the data in the value value, i.e. target protocol Parameter.
S220 throws screen end equipment and obtains screen content to be thrown.
Wherein, it can be the content for specifically needing to show wait throw screen content, alternatively, it is corresponding to be also possible to the content to be shown Source file address, thrown screen end equipment and obtain corresponding content according to the source file area and show.
S230 is based on the target protocol parameter, will be that target throws screen content wait throw screen Content Transformation.
For that will be to meet target protocol parameter wait throw screen Content Transformation wait throw the case where screen content is the content to be shown It is required that target throw screen content.
For being wanted to target protocol parameter is met by throwing screen end equipment transmission wait throw the case where screen content is source file address The source file address wait throw screen content asked obtains corresponding target throwing screen to be thrown screen end equipment according to the source file address Content.
The video file format for shielding end equipment and only supporting MP4 format is thrown for example, determining according to target protocol parameter, then is thrown Screen end equipment by the source file address of the video file of MP4 format be sent to by throw shield end equipment so that by throw screen end equipment according to Corresponding video file is obtained according to the source file address and is played on being thrown screen end equipment.
S240 shields content to being thrown screen end equipment and sending the target and throw.
It throws screen end equipment and target is thrown screen content and is sent to be thrown and shield end equipment, successfully show mesh to be thrown screen end equipment Mark throws screen content.
Throwing screen method provided in this embodiment shields end equipment from throwing when throwing screen end equipment to when being thrown screen end equipment throwing screen It is middle to read this by the corresponding target protocol parameter of throwing screen end equipment.It will be mesh wait throw screen Content Transformation according to the target protocol parameter Mark throws screen content, and throws screen content and be sent to be thrown the target and shield end equipment, realizes throwing screen end equipment and sets to screen end is thrown It is standby successfully to throw screen, improve the throwing screen success rate for throwing screen end equipment.
Fig. 6 is referred to, a kind of signaling process figure for throwing screen system of the embodiment of the present invention is shown, which includes throwing Shield end equipment, thrown screen end equipment and server-side.As shown in fig. 6, this method may comprise steps of:
S310 throws screen end equipment and obtains to throw and shield failed message, and is sent to server-side.
Screen end equipment is thrown to after by throwing screen end equipment throwing screen failure, throwing screen end equipment acquisition throws screen failed message and is sent to clothes Business end.
It throws carrying target used in throwing screen end equipment in screen failed message and throws screen protocol information.
S320, server-side parsing throw screen failed message and obtain target throwing screen protocol information.
Server-side parsing throwing screen failed message obtains the throwing screen agreement used in throwing screen end equipment of this throwing screen failure Information, i.e. target throw screen protocol information, for example, it may include the matchmaker supported by throwing screen end equipment that target, which throws screen protocol information, Body file format, video source address etc..
Target is thrown screen protocol information and is sent to the throwing screen end equipment for sending throwing and shielding failed message by S330, server-side.
The obtained target of parsing is thrown screen protocol information and is sent to by server-side to be sent the throwing screen end of the throwing screen failed message and sets It is standby;Throw screen end equipment receive the target throw screen protocol information after, when again to this by throw screen end equipment throw screen when, according to the mesh Mark throwing screen protocol information is thrown screen end equipment to this and sends throwing screen content.
In one embodiment of the invention, it throws in the throwing screen failed message that screen end equipment is sent and carries the throwing screen end equipment Device identification, for example, the unique device identity of the throwing screen end equipment, for example, the international mobile equipment identification number of smart phone (International Mobile Equipment Identity, IMEI).Target is thrown into screen protocol information and is sent to the equipment Identify corresponding throwing screen end equipment.
Specifically, the throwing screen end that the throwing screen failed message that server-side parsing receives obtains sending the throwing screen failed message is set Standby device identification;Then, target is sent to the corresponding throwing screen end equipment of the device identification throw screen protocol information.
S340 throws the target throwing screen protocol information that screen end equipment is returned according to server-side and sends throwing screen to screen end equipment is thrown Content.
Throwing screen method provided in this embodiment obtains corresponding when throwing screen end equipment to after thrown screen end equipment throwing screen failure Throwing screen failed message and be sent to server-side.Server-side parses the throwing screen failed message and obtains being set by throwing screen end for this throwing screen Standby used target throws screen protocol information, and returns to the throwing screen end equipment.Screen end equipment is thrown to throw according to the target received Screen protocol information is thrown screen end equipment with this and is communicated, and realizes and throws screen.It can be according to being thrown to realize throwing screen end equipment Screen agreement is thrown used in screen end equipment and is communicated with screen end equipment is thrown, and is expanded the throwing screen range for throwing screen end equipment, is mentioned It is high to throw screen success rate.
On the other hand, the present invention provides a kind of throwing screen device embodiment, which is applied to throw screen end equipment, such as Fig. 7 Shown, which includes: to obtain module 110, the first sending module 120 and determining module 130.
Module 110 is obtained, throws the throwing screen failed message after shielding failure for obtaining to by throwing screen end equipment.
The throwing screen failed message carries described thrown and shields the throwing screen protocol information of target used in end equipment.
Under a kind of application scenarios, screen failed message is thrown by being generated by throwing screen end equipment and being sent to throwing screen end equipment.Quilt The error situation that screen protocol definition is thrown in the generation when parsing or playing the throwing screen content that throwing screen end equipment is sent of screen end equipment is thrown, this Under kind scene, is thrown and shield end equipment according to the corresponding throwing screen failed message of the error code generation for throwing screen protocol definition and be back to throwing Shield end equipment.
Under another application scenarios, screen failed message is thrown by throwing screen end equipment according to the mistake returned by throwing screen end equipment Information (such as error code) generates.Shielded after the error code for throwing screen end equipment return according to throwing for example, being received by throwing screen end equipment The definition in relation to error code in screen agreement is thrown used in end equipment, is generated and is thrown screen failed message accordingly.
First sending module 120 throws screen failed message for sending to server-side, so that server-side parses throwing screen failure Message obtains target and throws screen protocol information.
It throws after screen end equipment obtains throwing screen failed message and is sent to server-side, server-side is obtained according to the throwing screen failed message This, which is thrown the parameter information of target throwing screen agreement used in screen object (being thrown screen end equipment) and is sent to, sends the throwing screen The throwing screen end equipment of failed message.
Determining module 130, the target throwing screen protocol information for returning to server-side is as throwing screen end equipment to by throwing screen End equipment sends the foundation for throwing screen content, so that being thrown screen end equipment successfully shows that content is shielded in the throwing.
Under an application scenarios of the invention, the same throwing screen terminal may shield to different thrown at different times End equipment throw the demand of screen.
To achieve the goals above, it throws screen end equipment and receives the target that server-side issues and throw and shield protocol information, by target Throw screen protocol information store to throw screen end equipment in, when again to this by throw screen end equipment carry out throw screen when, from throw shield end equipment Middle reading is thrown the corresponding target of screen end equipment with this and throws screen protocol information, and according to the target throwing screen protocol information to quilt It throws screen end equipment and sends to throw and shield content.
Wherein, throwing the target that screen end equipment storage service end issues and throwing the process of screen protocol information includes: that parsing target is thrown Shield protocol information and obtain target protocol parameter, and stores target protocol parameter and the corresponding device identification for being thrown screen end equipment.
Under such application scenarios, as shown in figure 8, the throwing screen device further include: read module 210, conversion module 220 and Two sending modules 230.
Read module 210, it is associated with by screen end equipment is thrown for reading according to the device identification for being thrown screen end equipment Target protocol parameter.
Conversion module 220 will be that target throws screen content wait throw screen Content Transformation for being based on target protocol parameter.
Second sending module 230, for sending target throwing screen content to by throwing screen end equipment.
Under another application scenarios of the invention, throws screen end equipment and carry out throwing will not being sent out substantially by throwing screen end equipment for screen Changing, for example, only using screen projection function at home.In this case, the target that screen end equipment receives server-side return is thrown After throwing screen protocol information, the direct basis target is thrown screen protocol information modification and is thrown in the agreement for the throwing screen agreement that screen end equipment uses Hold.
Wherein, throwing screen end equipment and throwing screen protocol information modification to throw the process of screen agreement according to target includes: that parsing target is thrown Shield protocol information, obtains the parameter type and parameter value of target protocol parameter;Will throw screen end equipment throwing screen agreement in target The parameter value of the identical parameter of the parameter type of protocol parameter, is revised as the parameter value of target protocol parameter, obtains modified Throw screen agreement.
Under such application scenarios, as shown in figure 9, the device further includes third sending module 310.
Third sending module 310 is thrown in screen for shielding agreement according to modified throwing to described sent by throwing screen end equipment Hold.
Throwing screen device provided by the invention, throwing screen end equipment can throw from server-side acquisition target used in throwing screen end Shield protocol information, and according to the target throw screen protocol information dynamic adjust itself to this by throw screen end equipment carry out throw screen when according to According to, expand throw screen end equipment throwing screen range, improve throwing screen success rate.
Another aspect, the present invention also provides a kind of throwing screen devices applied in server, as shown in Figure 10, the device It include: receiving module 410, parsing module 420 and sending module 430.
Receiving module 410 is thrown screen failed message carrying and is thrown for receiving the throwing screen failed message throwing screen end equipment and sending Shield target used in end equipment and throws screen protocol information.
Parsing module 420 throws screen protocol information for parsing throwing screen failed message acquisition target.
Sending module 430 is sent to throwing screen end equipment for target to be thrown screen protocol information, so as to throw screen end equipment for mesh It marks to throw and shields protocol information as throwing screen end equipment to by the foundation of throwing screen end equipment transmission throwing screen content.
Throwing screen device provided in this embodiment receives and throws the throwing screen failed message that screen end equipment is sent, and parses the throwing screen Failed message obtains the target used in screen end equipment of being thrown that this throws screen and throws screen protocol information, and returns to the throwing screen end and set It is standby.Throwing screen end equipment is thrown screen protocol information according to the target received and is communicated with this by throwing screen end equipment, realizes and throws screen.From And realize throwing screen end equipment can according to by throw screen end equipment used in throw screen agreement with by throw shield end equipment be communicated, The throwing screen range for throwing screen end equipment is expanded, throwing screen success rate is improved.
In another aspect, including memory and processor the present invention also provides a kind of throwing screen end equipment;
The processor is used to execute the program in the memory;The program stored in the memory is at least for realizing upper State any one method and step for throwing the throwing screen end equipment in screen embodiment of the method.
On the other hand, the present invention also provides a kind of throwings to shield end equipment, including memory and processor;
The processor is used to execute the program in memory;The program stored in the memory is at least for realizing above-mentioned It anticipates one to throw in screen embodiment of the method and is thrown the method and step for shielding end equipment.
Another aspect is stored with calculation procedure in the storage medium, the meter the present invention also provides a kind of meter storage medium For realizing throwing screen method provided by any one above-mentioned embodiment when calculation machine program is loaded and is executed by processor.
For the various method embodiments described above, for simple description, therefore, it is stated as a series of action combinations, but Be those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because according to the present invention, certain A little steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know that, it is retouched in specification The embodiment stated belongs to preferred embodiment, and related actions and modules are not necessarily necessary for the present invention.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.
Step in each embodiment method of the application can be sequentially adjusted, merged and deleted according to actual needs.
Device in each embodiment of the application and the module in terminal and submodule can merge according to actual needs, It divides and deletes.
In several embodiments provided herein, it should be understood that disclosed terminal, device and method, Ke Yitong Other modes are crossed to realize.For example, terminal embodiment described above is only schematical, for example, module or submodule Division, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple submodule or Module may be combined or can be integrated into another module, or some features can be ignored or not executed.Another point is shown The mutual coupling, direct-coupling or communication connection shown or discussed can be through some interfaces, between device or module Coupling or communication connection are connect, can be electrical property, mechanical or other forms.
Module or submodule may or may not be physically separated as illustrated by the separation member, as mould The component of block or submodule may or may not be physical module or submodule, it can and it is in one place, or It may be distributed on multiple network modules or submodule.Some or all of mould therein can be selected according to the actual needs Block or submodule achieve the purpose of the solution of this embodiment.
In addition, each functional module or submodule in each embodiment of the application can integrate in a processing module In, it is also possible to modules or submodule physically exists alone, it can also be integrated with two or more modules or submodule In a module.Above-mentioned integrated module or submodule both can take the form of hardware realization, can also use software function Energy module or the form of submodule are realized.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
The foregoing description of the disclosed embodiments can be realized those skilled in the art or using the present invention.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest Range.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of throwing screen method, which is characterized in that be applied to throw screen end equipment, which comprises
It obtains to the throwing screen failed message after screen end equipment throws screen failure is thrown, the throwing screen failed message carries described thrown and shields Target used in end equipment throws screen protocol information;
The throwing is sent to server-side and shields failed message, so that the server-side parses the throwing screen failed message and obtains the target Throw screen protocol information;
The target that the server-side returns is thrown screen protocol information as throwing screen end equipment to set to the screen end of being thrown Preparation send the foundation for throwing screen content, so that the screen end equipment of being thrown successfully shows that content is shielded in the throwing.
2. the method according to claim 1, wherein the target that the server-side is returned throws screen agreement letter It ceases and is thrown the foundation shielded end equipment and send throwing screen content to described as the throwing screen end equipment, comprising:
It parses the target and throws screen protocol information acquisition target protocol parameter;
Store the target protocol parameter and the corresponding device identification for being thrown screen end equipment.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
According to the device identification for being thrown screen end equipment, reads and thrown screen end equipment associated target protocol ginseng with described Number;
It will be that target throws screen content wait throw screen Content Transformation based on the target protocol parameter;
The target throwing screen content is sent to the screen end equipment of being thrown.
4. the method according to claim 1, wherein the target that the server-side is returned throws screen association Information is discussed as the throwing screen end equipment and is thrown the foundation shielded end equipment and send throwing screen content to described, comprising:
It parses the target and throws screen protocol information, obtain the parameter type and parameter value of target protocol parameter;
By the parameter of parameter identical with the parameter type of the target protocol parameter in the throwing screen agreement for throwing screen end equipment Value, is revised as the parameter value of the target protocol parameter, obtains modified throwing screen agreement.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Shield agreement according to the modified throwing and sends throwing screen content to the screen end equipment of being thrown.
6. a kind of throwing screen method, which is characterized in that it is applied in server, this method comprises:
It receives and throws the throwing screen failed message that screen end equipment is sent, the throwing screen failed message, which carries, to be thrown used in screen end equipment Target throws screen protocol information;
It parses the throwing screen failed message and obtains the target and throw and shield protocol information;
The target is thrown into screen protocol information and is sent to the throwing screen end equipment, so that throwing screen end equipment throws the target Shield protocol information as the throwing screen end equipment and is thrown the foundation shielded end equipment and send throwing screen content to described.
7. a kind of throwing screen device, which is characterized in that be applied to throw screen end equipment, described device includes:
Module is obtained, for obtaining to the throwing screen failed message after screen end equipment throws screen failure is thrown, failed message is shielded in the throwing It carries described thrown and shields the throwing screen protocol information of target used in end equipment;
First sending module shields failed message for sending the throwing to server-side, so that the server-side parses throwing screen mistake It loses message and obtains the target and throw and shield protocol information;
Determining module, the target throwing screen protocol information for returning to the server-side shield end equipment to institute as the throwing The foundation for being thrown screen end equipment transmission throwing screen content is stated, so that the screen end equipment of being thrown successfully shows the throwing screen content.
8. a kind of throwing screen device, which is characterized in that be applied to server, which includes:
Receiving module, for receiving the throwing screen failed message throwing screen end equipment and sending, the throwing screen failed message, which carries to be thrown, to be shielded Target used in end equipment throws screen protocol information;
Parsing module shields protocol information for parsing the throwing screen failed message and obtaining the target and throw;
Sending module is sent to the throwing screen end equipment for the target to be thrown screen protocol information, so that throwing screen end is set It is standby using the target throw screen protocol information as it is described throw screen end equipment to it is described by throw screen end equipment send throw screen content according to According to.
9. end equipment is shielded in a kind of throwing, which is characterized in that including memory and processor;
The processor is used to execute the program in the memory;
The program stored in the memory is at least for realizing the described in any item throwing screen methods of claim 1-5.
10. a kind of server, which is characterized in that including memory and processor;
The processor is used to execute the program in the memory;
The program stored in the memory is at least for realizing throwing screen method as claimed in claim 6.
CN201910561895.9A 2019-06-26 2019-06-26 Screen projection method and related device Active CN110166823B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910561895.9A CN110166823B (en) 2019-06-26 2019-06-26 Screen projection method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910561895.9A CN110166823B (en) 2019-06-26 2019-06-26 Screen projection method and related device

Publications (2)

Publication Number Publication Date
CN110166823A true CN110166823A (en) 2019-08-23
CN110166823B CN110166823B (en) 2021-11-23

Family

ID=67627004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910561895.9A Active CN110166823B (en) 2019-06-26 2019-06-26 Screen projection method and related device

Country Status (1)

Country Link
CN (1) CN110166823B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112165520A (en) * 2020-09-24 2021-01-01 Tcl海外电子(惠州)有限公司 Screen projection control method, screen projection receiving end and storage medium
CN114040233A (en) * 2021-11-04 2022-02-11 深圳小湃科技有限公司 Screen projection service adjusting method, equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457364A (en) * 2010-10-22 2012-05-16 中兴通讯股份有限公司 Indication method of wireless relay system error and Donor-eNB
CN102833782A (en) * 2012-08-23 2012-12-19 中兴通讯股份有限公司 Method, device and system for acquiring error code information
CN105302752A (en) * 2015-10-20 2016-02-03 北京小鸟听听科技有限公司 Connection method of audio equipment and audio playing device
CN106658111A (en) * 2017-01-04 2017-05-10 北京竞业达数码科技有限公司 Screen projection method and device
US20170142379A1 (en) * 2015-11-13 2017-05-18 Seiko Epson Corporation Image projection system, projector, and control method for image projection system
US9807461B1 (en) * 2016-05-30 2017-10-31 Nanning Fugui Precision Industrial Co., Ltd. Communication method, mobile terminal
CN108391161A (en) * 2018-02-06 2018-08-10 苏州必捷网络有限公司 A kind of cross-platform wireless throwing screen method
CN108399056A (en) * 2018-02-26 2018-08-14 上海康斐信息技术有限公司 It is a kind of wirelessly to throw screen method and wireless router
CN108695999A (en) * 2017-04-07 2018-10-23 Oppo广东移动通信有限公司 Data throw screen method, apparatus, storage medium and electronic equipment
US20180309753A1 (en) * 2017-04-19 2018-10-25 Alibaba Group Holding Limited System and method for wireless screen projection
CN108920937A (en) * 2018-07-03 2018-11-30 广州视源电子科技股份有限公司 It throws screen system, throw screen method and apparatus
CN109451345A (en) * 2018-11-05 2019-03-08 四川长虹电器股份有限公司 A kind of method that DLNA throws screen authority managing and controlling in Android intelligent television

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457364A (en) * 2010-10-22 2012-05-16 中兴通讯股份有限公司 Indication method of wireless relay system error and Donor-eNB
CN102833782A (en) * 2012-08-23 2012-12-19 中兴通讯股份有限公司 Method, device and system for acquiring error code information
CN105302752A (en) * 2015-10-20 2016-02-03 北京小鸟听听科技有限公司 Connection method of audio equipment and audio playing device
US20170142379A1 (en) * 2015-11-13 2017-05-18 Seiko Epson Corporation Image projection system, projector, and control method for image projection system
US9807461B1 (en) * 2016-05-30 2017-10-31 Nanning Fugui Precision Industrial Co., Ltd. Communication method, mobile terminal
CN106658111A (en) * 2017-01-04 2017-05-10 北京竞业达数码科技有限公司 Screen projection method and device
CN108695999A (en) * 2017-04-07 2018-10-23 Oppo广东移动通信有限公司 Data throw screen method, apparatus, storage medium and electronic equipment
US20180309753A1 (en) * 2017-04-19 2018-10-25 Alibaba Group Holding Limited System and method for wireless screen projection
CN108391161A (en) * 2018-02-06 2018-08-10 苏州必捷网络有限公司 A kind of cross-platform wireless throwing screen method
CN108399056A (en) * 2018-02-26 2018-08-14 上海康斐信息技术有限公司 It is a kind of wirelessly to throw screen method and wireless router
CN108920937A (en) * 2018-07-03 2018-11-30 广州视源电子科技股份有限公司 It throws screen system, throw screen method and apparatus
CN109451345A (en) * 2018-11-05 2019-03-08 四川长虹电器股份有限公司 A kind of method that DLNA throws screen authority managing and controlling in Android intelligent television

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
快感的感知: "Android手机投屏", 《HTTPS://WWW.JIANSHU.COM/P/BC8A7ECFD083》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112165520A (en) * 2020-09-24 2021-01-01 Tcl海外电子(惠州)有限公司 Screen projection control method, screen projection receiving end and storage medium
CN112165520B (en) * 2020-09-24 2022-06-07 茂佳科技(广东)有限公司 Screen projection control method, screen projection receiving end and storage medium
CN114040233A (en) * 2021-11-04 2022-02-11 深圳小湃科技有限公司 Screen projection service adjusting method, equipment and storage medium
CN114040233B (en) * 2021-11-04 2023-04-11 深圳小湃科技有限公司 Screen projection service adjusting method, equipment and storage medium

Also Published As

Publication number Publication date
CN110166823B (en) 2021-11-23

Similar Documents

Publication Publication Date Title
USRE49837E1 (en) Method for identifying device, and device
CN105933393A (en) Intra-local area network data synchronization method, device and user terminal
US20140125464A1 (en) Smart remote control
CN105430482A (en) Multi-screen interaction method and terminal equipment
CN107911483A (en) A kind of information transferring method and device
US20170171496A1 (en) Method and Electronic Device for Screen Projection
CN101561774A (en) Monitoring method and monitoring system of self-defined protocol service program
JP2017539103A (en) Method, apparatus, server, and system for synchronizing member gain among multiple apparatuses
CN104918105A (en) Media file multi-screen playing method, device and system
CN113438527A (en) Video screen projection method, device, equipment and storage medium
CN105611422A (en) Online live broadcast method based on multi-media list and apparatus thereof
CN110166823A (en) Throw screen method and relevant apparatus
CN105872121A (en) Method for connecting terminal with server, terminal and domain name server
CN102394866A (en) Methods for sharing data and applications in near-field communication network and near-field communication network
CN108810611A (en) The control system and method for Multimedia Fusion terminal start-up course
CN103581240B (en) Download method, user equipment and the application server of application program
CN102918512A (en) Information appliance data connection system, authentication device, client appliance, information appliance data connection method and storage medium
CN105635200A (en) Information processing method, electronic equipment, server and information processing system
CN104869665A (en) Network connection control method, router and mobile equipment
CN104639976A (en) Method for synchronizing programs of set top box and mobile terminal, set top box and mobile terminal
CN106231393B (en) Video information processing method, device and system
CN102170439B (en) Application service expansion system
CN101727309B (en) Method and device enabling contents or application programs in intelligent module to fit for various devices
CN104346117B (en) A kind of method and apparatus of data-signal output
CN101729672B (en) Management method and system of multifunction mobile equipment

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
GR01 Patent grant
GR01 Patent grant