CN110248216A - TV throws screen method, apparatus, TV throws screen system and computer equipment - Google Patents
TV throws screen method, apparatus, TV throws screen system and computer equipment Download PDFInfo
- Publication number
- CN110248216A CN110248216A CN201910476642.1A CN201910476642A CN110248216A CN 110248216 A CN110248216 A CN 110248216A CN 201910476642 A CN201910476642 A CN 201910476642A CN 110248216 A CN110248216 A CN 110248216A
- Authority
- CN
- China
- Prior art keywords
- top box
- address
- applet
- identification information
- screen
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25808—Management of client data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/43615—Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/4508—Management of client data or end-user data
Abstract
This application involves a kind of acquisition methods of TV set-top box identification information, device, TVs to throw screen system, computer equipment and storage medium.The described method includes: receiving the access request of applet;According to access request, the IP address of wireless network is determined, the IP address of wireless network is identified as to the IP address of TV set-top box;Obtain TV set-top box identification information corresponding with IP address;User identifier and TV set-top box identification information are sent to applet as the user identifier of access user by the user information for obtaining the corresponding application program of applet;The throwing screen request that applet is sent is received, is operated according to the throwing screen that mobile terminal is realized in screen request to destination television is thrown;The TV that destination television is connected by the corresponding TV set-top box of destination television set-top box identification information.Using this method, the acquisition process of TV set-top box identification information is simplified, is conducive to improve the flexibility that TV throws screen.
Description
Technical field
This application involves TVs to throw screen technical field, throws screen method, apparatus more particularly to a kind of TV, TV throws screen system
System, computer equipment and storage medium.
Background technique
With the fast development of Internet technology, it throws screen technology and has also obtained extensive development, user throws by TV
After screen authorization, the video watched on mobile terminal can be thrown to screen to DTV, watched on DTV with realizing
The video of screen is thrown in mobile terminal triggering.
It needs to obtain the TV set-top box identification information with user-association currently, to throw screen by TV, and obtains TV
The mode of set-top box identification information, in advance in corresponding video playing APP register account number, then passes through defeated generally by user
Enter the account and its corresponding password to carry out verifying login, the corresponding server of client is tied up according to the user that success logs in
Fixed phone number inquires the TV set-top box information of user-association, and then confirms and identify with the TV set-top box of user-association
Information throws screen operation to carry out relevant TV by TV set-top box identification information.But it is verified by register account number
It logs in, comparatively laborious with the process for obtaining TV set-top box identification information, the processing time for causing TV to throw screen authorization is long, thus
The flexibility for causing TV to throw screen is lower.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of TV that can be improved TV and throw the flexibility of screen
Throw screen method, apparatus, TV throws screen system, computer equipment and storage medium.
A kind of TV throwing screen method, which comprises
Receive the access request of applet;The applet operates in corresponding application program, the application
The wireless network that mobile terminal connection TV set-top box where program provides;The access request is sent out by the wireless network
Out;
According to the access request, the IP address of the wireless network is determined, the IP address of the wireless network is identified
For the IP address of the TV set-top box;
Obtain TV set-top box identification information corresponding with the IP address;
The user information for obtaining the corresponding application program of the applet will as the user identifier of access user
The user identifier and the TV set-top box identification information are sent to the applet;The applet is used for
The TV set-top box identification information is identified as the corresponding destination television set-top box identification information of the user identifier;
The throwing screen request that the applet is sent is received, request is shielded according to the throwing and realizes the mobile terminal to mesh
Mark the throwing screen operation of TV;The destination television is company, the destination television set-top box identification information corresponding TV set-top box institute
The TV connect.
A kind of acquisition methods of TV set-top box identification information, which comprises
Receive the access request of applet;The applet operates in corresponding application program, the application
The wireless network that mobile terminal connection TV set-top box where program provides;The access request is sent out by the wireless network
Out;
According to the access request, the IP address of the wireless network is determined, the IP address of the wireless network is identified
For the IP address of the TV set-top box;
Obtain TV set-top box identification information corresponding with the IP address;
The TV set-top box identification information is sent to the applet.
A kind of TV throwing screen device, described device include:
Request receiving module, for receiving the access request of applet;The applet operates in corresponding
Application program, the wireless network that the mobile terminal connection TV set-top box where the application program provides;The access request
It is issued by the wireless network;
IP address determining module, for the IP address of the wireless network being determined, by the nothing according to the access request
The IP address of gauze network is identified as the IP address of the TV set-top box;
Identification information obtains module, for obtaining TV set-top box identification information corresponding with the IP address;
User identifier obtains module, for obtaining the user information of the corresponding application program of the applet, as
The user identifier and the TV set-top box identification information are sent to described small using journey by the user identifier for accessing user
Sequence;The applet is used to the TV set-top box identification information being identified as the corresponding destination television of the user identifier
Set-top box identification information;
TV throws panel module, and the throwing screen request sent for receiving the applet is asked realistic according to throwing screen
The throwing screen of the existing mobile terminal to destination television operates;The destination television is the destination television set-top box identification information pair
The TV that the TV set-top box answered is connected.
A kind of TV throws screen system, comprising: be equipped with the mobile terminal of application program, server, TV set-top box and
TV, the server communicate to connect respectively with the mobile terminal and the TV set-top box, the TV set-top box with
The TV and communication connection, the mobile terminal connect the wireless network that the TV set-top box provides;The application program fortune
Row has applet;
The applet meets throwing set of hanging scrolls wait throw screen video for throwing screen authorization message according to destination television and confirming
Part obtains the broadcast address wait throw screen video, according to the broadcast address wait throw screen video and the destination television
Set-top box identification information generates and throws screen request, and throwing screen request is sent to the server;
The server, for executing the step of TV described above throws screen method;
The TV set-top box, the broadcast address wait throw screen video sent for receiving the server, will it is described to
The broadcast address for throwing screen video is sent to the TV;
The TV, for playing corresponding video according to the broadcast address wait throw screen video.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing
Device performs the steps of when executing the computer program
Receive the access request of applet;The applet operates in corresponding application program, the application
The wireless network that mobile terminal connection TV set-top box where program provides;The access request is sent out by the wireless network
Out;
According to the access request, the IP address of the wireless network is determined, the IP address of the wireless network is identified
For the IP address of the TV set-top box;
Obtain TV set-top box identification information corresponding with the IP address;
The user information for obtaining the corresponding application program of the applet will as the user identifier of access user
The user identifier and the TV set-top box identification information are sent to the applet;The applet is used for
The TV set-top box identification information is identified as the corresponding destination television set-top box identification information of the user identifier;
The throwing screen request that the applet is sent is received, request is shielded according to the throwing and realizes the mobile terminal to mesh
Mark the throwing screen operation of TV;The destination television is company, the destination television set-top box identification information corresponding TV set-top box institute
The TV connect.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
It is performed the steps of when row
Receive the access request of applet;The applet operates in corresponding application program, the application
The wireless network that mobile terminal connection TV set-top box where program provides;The access request is sent out by the wireless network
Out;
According to the access request, the IP address of the wireless network is determined, the IP address of the wireless network is identified
For the IP address of the TV set-top box;
Obtain TV set-top box identification information corresponding with the IP address;
The user information for obtaining the corresponding application program of the applet will as the user identifier of access user
The user identifier and the TV set-top box identification information are sent to the applet;The applet is used for
The TV set-top box identification information is identified as the corresponding destination television set-top box identification information of the user identifier;
The throwing screen request that the applet is sent is received, request is shielded according to the throwing and realizes the mobile terminal to mesh
Mark the throwing screen operation of TV;The destination television is company, the destination television set-top box identification information corresponding TV set-top box institute
The TV connect.
Above-mentioned TV throws screen method, apparatus, TV throws screen system, computer equipment and storage medium, applies journey according to small
The access request that sequence is sent by the wireless network that TV set-top box provides, determines the IP address of TV set-top box;Acquisition and IP
The corresponding TV set-top box identification information in address, and the user identifier of TV set-top box identification information and access user are sent
To applet, the corresponding mesh of user identifier is identified as to trigger applet for received TV set-top box identification information
Mark TV set-top box identification information;The access request according to applet is realized, corresponding TV set-top box can be obtained
The purpose of identification information, without carrying out the process of verifying login by cumbersome register account number, to simplify TV set-top box
The acquisition process of identification information, and then the processing time that TV throws screen authorization is shortened, be conducive to improve the flexible of TV throwing screen
Property.Meanwhile being requested by receiving the throwing screen that applet is sent, the throwing screen that mobile terminal can be realized to destination television is grasped
Make;The TV that the destination television is connected by the corresponding TV set-top box of destination television set-top box identification information, without logging on to
It is corresponding to throw screen APP, further improve the flexibility that TV throws screen.
Detailed description of the invention
Fig. 1 is the application scenario diagram that TV throws screen method in one embodiment;
Fig. 2 is the flow diagram that TV throws screen method in one embodiment;
Fig. 3 is the flow diagram that TV throws screen method in another embodiment;
Fig. 4 is the flow diagram of the acquisition methods of TV set-top box identification information in one embodiment;
Fig. 5 is the structural block diagram that TV throws screen device in one embodiment;
Fig. 6 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
TV provided by the present application throws screen method, can be applied in application environment as shown in Figure 1.Wherein, the application
Environment includes the mobile terminal 110 for being equipped with application program, server 120, TV set-top box 130 and TV 140, server
120 communicate to connect respectively with mobile terminal 110 and TV set-top box 130, and TV set-top box 130 and TV 140 communicate to connect,
Mobile terminal 110 connects the wireless network that TV set-top box 130 provides;Application program operation has applet.It is small to apply journey
Sequence is thrown screen authorization message and confirmed according to destination television meets throwing set of hanging scrolls part wait throw screen video, with obtaining the broadcasting wait throw screen video
Location generates according to the broadcast address and destination television set-top box identification information wait throw screen video and throws screen request, and ask screen is thrown
It asks and is sent to server 120.The step of server 120 throws screen method for realizing the TV of the application any embodiment.TV
Set-top box 130 receives the broadcast address wait throw screen video that server 120 is sent, and the broadcast address wait throw screen video is sent to
TV 140;TV 140 plays corresponding video according to the broadcast address wait throw screen video.Wherein, mobile terminal 110 can be
Various smart phones, application program can be APP, and applet refers to wechat small routine;Server 120 can be with independent
The server cluster of server either multiple servers composition is realized;TV 140 can be DTV, multi-functional TV
Deng.
In one embodiment, as shown in Fig. 2, providing a kind of TV throwing screen method, it is applied in Fig. 1 in this way
It is illustrated for server, comprising the following steps:
Step S201 receives the access request of applet;Applet operates in corresponding application program, application
The wireless network that mobile terminal connection TV set-top box where program provides;Access request is issued by wireless network.
In this step, subapplication, which refers to, does not need the application that installation can open and use, and may operate in correspondence
Application program on, such as wechat apply upper operation wechat small routine.Application program can be APP, such as wechat application, move
Dynamic terminal can be smart phone etc..TV set-top box can provide wireless network, such as Wifi under connected state.
For example, TV set-top box provides wireless network under connected state;Mobile terminal detects connecing for wireless network
When access point, the wireless network account and password that are provided according to TV set-top box access the access point of the wireless network, should with connection
Wireless network.Mobile terminal is mounted with wechat application, and there is operation in wechat application can be used for video playing and long-range throwing screen
Wechat small routine, such as wechat recommend program small routine;Wechat user opens wechat small routine, and triggering generates access request;
The access request is sent to corresponding server by the wireless network that wechat small routine is provided by TV set-top box;Such as it is micro-
The wireless network that letter small routine is provided by TV set-top box, is sent to program scheduler server for the access request, with triggering
The access request is sent to corresponding server, such as the corresponding developer's service of wechat small routine by program scheduler server
Device.Wherein, program scheduler server refers to the server that the access request sent to applet is forwarded.In this way, side
Just subsequent server is based on access request, determines the IP address of TV set-top box;Simultaneously without by cumbersome register account number into
The process that row verifying logs in, further simplifies the acquisition process of TV set-top box identification information, thereby reduces TV and throws screen
The processing time of authorization is conducive to improve the flexibility that TV throws screen.
Step S202 determines the IP address of wireless network according to access request, and the IP address of wireless network is identified as electricity
Depending on the IP address of set-top box.
In this step, wireless network has corresponding IP address;TV set-top box is under connected state, Dynamic Host Configuration Protocol server
A random IP address can be distributed for TV set-top box, which is the IP of wireless network that TV set-top box provides
Location.
In the specific implementation, server parses received access request, the wireless network of access request carrying is obtained
IP address;The IP address of the wireless network is identified as to provide the IP address of the TV set-top box of the wireless network.In this way, real
Show the access request according to applet, determined the purpose of the IP address of TV set-top box, is conducive to subsequent server base
In the IP address of TV set-top box, TV set-top box identification information is determined.
Step S203 obtains TV set-top box identification information corresponding with IP address.
In this step, TV set-top box identification information refers to the information for identifying TV set-top box identity, such as electricity
Depending on the CA card number of set-top box;Every TV set-top box has unique CA card number.
For example, IP address of the server according to TV set-top box, inquires pair of IP address and TV set-top box identification information
It should be related to, obtain corresponding TV set-top box identification information;In this way, the IP address according to TV set-top box is realized, acquisition pair
The purpose for the TV set-top box identification information answered.
Step S204 obtains the user information of the corresponding application program of applet, user's mark as access user
Know, user identifier and TV set-top box identification information are sent to applet;Applet is used for television set top
Box identification information is identified as the corresponding destination television set-top box identification information of user identifier.
In this step, the user information of application program refers to for the information of identity user identity, operates in using journey
The user information of applet in sequence is consistent with the user information of the application program, such as wechat small routine and wechat
The user information of application is consistent.The user identifier of access user can be the unionID of wechat user, wechat user's
UnionID refers to that wechat server is the identification information under same wechat open platform account of wechat user distribution.For example,
The applications such as multiple public platforms, small routine, subscription number, service number are tied under the same wechat open platform account number, then right
Different application under the same wechat open platform account number, the unionID of same wechat user be it is the same, that is, pass through
UnionID distinguishes the uniqueness of different application of the wechat user under the same wechat open platform account number.
In the specific implementation, server is based on big data technology, user's letter of the corresponding application program of applet is obtained
Breath, such as the unionID of wechat user, using the user information as the user identifier of access user;The user of user will be accessed
Mark and TV set-top box identification information are sent to applet, are believed with triggering applet and identifying TV set-top box
Breath is identified as the corresponding destination television set-top box identification information of user identifier, i.e., by applet by user identifier and right
The TV set-top box identification information answered is bound, and destination television set-top box identification information is stored, to complete to visit
Ask that the TV of user throws screen authorization.
Step S205, receives the throwing screen request that applet is sent, and realizes mobile terminal to target according to screen request is thrown
The throwing screen of TV operates;The TV that destination television is connected by the corresponding TV set-top box of destination television set-top box identification information.
In this step, it throws screen operation and can be TV and throw and shield operation, picture throws screen operation etc.;Destination television can be number
Word TV, multi-functional TV etc., TV set-top box corresponding with destination television set-top box identification information are connected.
In the specific implementation, trigger action of the applet according to access user, generates and throws screen request, and by the throwing of generation
Screen request is sent to corresponding server;Server is operated according to the throwing screen for shielding request realization mobile terminal to destination television is thrown,
The throwing screen request sent according to applet is realized, the throwing screen that mobile terminal can be realized to destination television is operated, is not necessarily to
Log on to corresponding throw and shield APP, further improves the flexibility that TV throws screen.
Above-mentioned TV is thrown in screen method, the visit sent according to applet by the wireless network that TV set-top box provides
It asks request, determines the IP address of TV set-top box;Obtain corresponding with IP address TV set-top box identification information, and by television set
Top box identification information and the user identifier for accessing user are sent to applet, to trigger applet for received electricity
The corresponding destination television set-top box identification information of user identifier is identified as depending on set-top box identification information;It realizes according to small using journey
The access request of sequence can obtain the purpose of corresponding TV set-top box identification information, without by cumbersome register account number into
The process that row verifying logs in simplify the acquisition process of TV set-top box identification information, and then shortens TV throwing screen and awards
The processing time of power is conducive to improve the flexibility that TV throws screen.Meanwhile it being asked by receiving the throwing screen that applet is sent
It asks, the throwing screen that mobile terminal can be realized to destination television operates;The destination television is destination television set-top box identification information pair
The TV that the TV set-top box answered is connected shields APP without logging on to corresponding throw, further improves TV and throw the flexible of screen
Property.
In one embodiment, above-mentioned steps S202 determines the IP address of wireless network, comprising: obtain according to access request
Take preset function;According to preset function, access request is parsed, the IP address of access request carrying is obtained, by IP address
It is identified as the IP address of wireless network.
In the present embodiment, preset function, which refers to, can parse access request, to obtain access request carrying
The function of real IP address, such as request.getRemoteAddr ().Server acquires preset function in advance, and will acquisition
Preset function store into corresponding function library;When needing to call function, default letter accordingly directly is called from function library
Number, according to preset function, parses received access request, obtains the real IP address of access request carrying, this is true
Real IP address is identified as the IP address of the wireless network of TV set-top box offer.Through this embodiment, it realizes according to small application
The access request of program determines the purpose of the IP address of wireless network, with being conducive to IP of the subsequent server based on wireless network
Location determines the IP address of TV set-top box.
In one embodiment, above-mentioned steps S203 obtains TV set-top box identification information corresponding with IP address, packet
It includes: obtaining TV set-top box MAC Address corresponding with IP address;Inquire preset TV set-top box MAC Address and television set top
The corresponding relationship of box identification information obtains TV set-top box identification information corresponding with TV set-top box MAC Address.
In the present embodiment, TV set-top box MAC Address refers to the physical address of TV set-top box, is to pre-set
's;Every TV set-top box has fixed MAC Address.
In the specific implementation, server is based on big data technology, the corresponding electricity of IP address of TV set-top box is acquired in advance
Preset TV is constructed according to the corresponding TV set-top box MAC Address of the IP address of TV set-top box depending on set-top box MAC Address
The IP address of set-top box and the corresponding relationship of TV set-top box MAC Address;Server is also based on big data technology, acquires in advance
The corresponding TV set-top box identification information of the TV set-top box of user and TV set-top box MAC Address, and according to the TV of user
The corresponding TV set-top box identification information of set-top box and TV set-top box MAC Address, construct preset TV set-top box MAC Address
With the corresponding relationship of TV set-top box identification information.Based on this, server is inquired preset according to the IP address of TV set-top box
The IP address of TV set-top box and the corresponding relationship of TV set-top box MAC Address, obtain corresponding TV set-top box MAC Address;
Preset TV set-top box MAC Address pass corresponding with TV set-top box identification information is inquired according to TV set-top box MAC Address
System, obtains corresponding TV set-top box identification information.In this way, realizing the purpose for obtaining TV set-top box identification information, it is not necessarily to
Verifying login is carried out by cumbersome register account number, to obtain the process of TV set-top box identification information, thereby reduces TV
The processing time for throwing screen authorization is conducive to improve the flexibility that TV throws screen.
Further, obtaining corresponding TV set-top box identification information based on TV set-top box MAC Address can also pass through
Following manner is realized: by inquiring preset home banking, obtaining TV set-top box mark corresponding with TV set-top box MAC Address
Information;Preset home banking is stored with the corresponding TV set-top box identification information of TV set-top box MAC Address.
For example, server is based on big data technology, the corresponding TV set-top box of TV set-top box of user is acquired in advance
Identification information and TV set-top box MAC Address, and by the TV set-top box identification information of acquisition, it is corresponding according to TV set-top box
TV set-top box MAC Address, classification storage is into preset home banking, to store TV set-top box by preset home banking
The corresponding TV set-top box identification information of MAC Address.Server extracts multiple known TV sets top boxs from preset home banking
MAC Address, the TV set-top box MAC Address that will acquire are matched with known TV sets top box MAC Address, if the TV obtained
Set-top box MAC Address is matched with known TV sets top box MAC Address, then is extracted and known TV sets top from preset home banking
The TV set-top box identification information is identified as the television set with acquisition by the corresponding TV set-top box identification information of box MAC Address
The corresponding TV set-top box identification information of top box MAC Address;In this way, the purpose for obtaining TV set-top box identification information is realized,
Without carrying out verifying login by cumbersome register account number, to obtain the process of TV set-top box identification information, thereby reduce
TV throws the processing time of screen authorization, is conducive to improve the flexibility that TV throws screen.
In one embodiment, TV set-top box MAC Address corresponding with IP address is obtained, comprising: inquire preset number
According to library, TV set-top box MAC Address corresponding with IP address is obtained;Preset database purchase has the corresponding television set of IP address
Top box MAC Address.
For example, IP address of the server according to TV set-top box, inquiry is stored with the corresponding television set top of multiple IP address
The database of box MAC Address obtains corresponding TV set-top box MAC Address;Facilitate it is subsequent based on TV set-top box MAC Address,
Obtain corresponding TV set-top box identification information.
Further, server can also access Dynamic Host Configuration Protocol server, and the Dynamic Host Configuration Protocol server log of Dynamic Host Configuration Protocol server records in real time
The IP address of the TV set-top box of each time and the corresponding relationship of TV set-top box MAC Address;From Dynamic Host Configuration Protocol server log
The corresponding relationship of the middle IP address for obtaining TV set-top box and TV set-top box MAC Address, and by the IP address of TV set-top box
It stores with the corresponding relationship of TV set-top box MAC Address into preset database.Server is according to the IP of TV set-top box
Preset database is inquired in location, the latest update time of the IP address of TV set-top box is determined from preset database, by this
Under the latest update time, the corresponding TV set-top box MAC Address of the IP address of TV set-top box, as obtained TV set-top box
MAC Address.In this way, being conducive to subsequent server is based on TV set-top box MAC Address, corresponding TV set-top box mark letter is obtained
Breath.
In another embodiment, TV set-top box MAC Address corresponding with IP address is obtained, further includes: by IP address
It is sent to Dynamic Host Configuration Protocol server;Dynamic Host Configuration Protocol server is used to inquire preset Dynamic Host Configuration Protocol server log according to IP address, obtains corresponding
TV set-top box MAC Address;Preset Dynamic Host Configuration Protocol server log is stored with the corresponding TV set-top box MAC Address of IP address;It connects
Receive the TV set-top box MAC Address that Dynamic Host Configuration Protocol server returns.
In the present embodiment, Dynamic Host Configuration Protocol server refers to pair that can record IP address Yu TV set-top box MAC Address in real time
The server that should be related to.
In the specific implementation, server generates inquiry request according to IP address, and inquiry request is sent to Dynamic Host Configuration Protocol server;
Inquiry request inquires Dynamic Host Configuration Protocol server log to Dynamic Host Configuration Protocol server based on the received, obtains the corresponding TV set-top box of the IP address
MAC Address, and the TV set-top box MAC Address is back to server.In this way, being conducive to subsequent server is based on television set top
Box MAC Address obtains corresponding TV set-top box identification information.
In one embodiment, above-mentioned steps S204 obtains the user information of the corresponding application program of applet, makees
For the user identifier for accessing user, comprising: receive the authorization logging request that applet is sent;It is raw according to authorization logging request
At call request, call request is sent to destination server;Call request is for triggering destination server according to call request
The user information for obtaining the corresponding application program of applet, the user identifier as access user;Receive destination server
The user identifier of the access user of return.
In the present embodiment, destination server refers to that wechat server, applet refer to wechat small routine, Yong Hubiao
Know the unionID for referring to wechat user.
In the specific implementation, mobile terminal is mounted with wechat application, in wechat application, operation, which has, can be used for carrying out video and broadcasts
The wechat small routine of screen is put and remotely throws, for example wechat recommends program small routine.Wechat user opens the wechat small routine, micro-
Letter small routine loads wechat authorization interface automatically, to prompt wechat user to carry out wechat Authorized operation;Wechat user clicks wechat
Authorization interface simultaneously carries out wechat Authorized operation, and triggering generates authorization logging request;Wechat small routine detects that wechat user triggers
Authorization logging request, then the authorization logging request is sent to server;Server is generated according to authorization logging request and is corresponded to
Call request, and the call request of generation is sent to wechat server;Wechat server searches wechat according to call request
Library file, the unionID of the wechat user of wechat small routine corresponding wechat application is obtained from the library file of wechat, as
The user identifier of user (i.e. the wechat user of current grant login) is accessed, and the user identifier for accessing user is sent to service
Device.In this way, the purpose that the user identifier of access user is obtained according to the authorization logging request of wechat user triggering is realized, it is convenient
It is subsequent that user identifier is sent to applet, to trigger applet for user identifier and corresponding TV set-top box mark
Know information to be associated, so that the TV for completing user throws screen authorization, avoids verify by cumbersome register account number and step on
Record throws screen authorization to complete TV, causes TV to throw the defect of screen authorization low efficiency, further improve TV and throw the flexible of screen
Property.
In one embodiment, above-mentioned steps S204 is sent to by user identifier and TV set-top box identification information
Before applet, further includes: inquire preset information bank, obtain television set corresponding with TV set-top box identification information top
Box authority information;Preset information bank is stored with the corresponding TV set-top box authority information of TV set-top box identification information;It will be electric
TV, which is identified as, depending on set-top box identification information and corresponding TV set-top box authority information throws screen authorization message.
In the present embodiment, TV set-top box identification information and TV set-top box authority information correspond;Television set top
Box authority information is used to identify the authority information of the corresponding TV set-top box of TV set-top box identification information, such as broadcasting channel power
Limit, play clarity permission etc..
In the specific implementation, server is based on big data technology, the TV set-top box authority information of user is acquired in advance, and will
The TV set-top box authority information of acquisition, according to the corresponding TV set-top box identification information of TV set-top box, classification storage is to pre-
If information bank in, store TV set-top box identification information corresponding TV set-top box permission letter to pass through preset information bank
Breath.Server extracts multiple known TV sets top box identification informations from presetting database, the TV set-top box mark that will acquire
Information is matched with known TV sets top box identification information, if the TV set-top box identification information obtained and known TV sets top
Box identification information match then extracts TV set-top box corresponding with known TV sets top box identification information from preset information bank
The TV set-top box authority information is identified as television set top corresponding with the TV set-top box identification information obtained by authority information
Box authority information;And TV set-top box identification information and corresponding TV set-top box authority information are identified as TV throwing screen and awarded
Weigh information.In this way, the purpose for obtaining TV set-top box authority information according to TV set-top box identification information is realized, without passing through
Cumbersome register account number carries out verifying login, to obtain the process of TV set-top box authority information, further improves TV throwing
The flexibility of screen.
In one embodiment, user identifier and TV set-top box identification information are sent to small by above-mentioned steps S204
Application program, comprising: user identifier and TV are thrown into screen authorization message and are sent to applet;Applet is used for will
TV throws screen authorization message and is identified as the corresponding destination television throwing screen authorization message of user identifier.
For example, user identifier and TV are thrown screen authorization message by server is sent to applet;Applet
TV is thrown into screen authorization message and is identified as the corresponding destination television throwing screen authorization message of user identifier, i.e., it will by applet
User identifier and corresponding destination television are thrown screen authorization message and are bound, and destination television is thrown screen authorization message and is deposited
Storage, so that the TV for completing access user throws screen authorization.Through this embodiment, it realizes and obtains the mesh that TV throws screen authorization message
, the TV for being conducive to be rapidly completed access user throws screen authorization, without carrying out verifying login by cumbersome register account number
Process is conducive to so that simplifying TV throws the process flow of screen authorization, and then shortens the processing time that TV throws screen authorization
Improve the flexibility that TV throws screen.
In one embodiment, above-mentioned steps S205 receives the throwing screen request that applet is sent, shields request according to throwing
The throwing screen for realizing mobile terminal to destination television operates, comprising: receives the throwing screen request that applet is sent;Applet
Meet throwing set of hanging scrolls part wait throw screen video for throwing screen authorization message according to destination television and confirming, obtains the broadcasting wait throw screen video
Address generates according to the broadcast address and destination television set-top box identification information wait throw screen video and throws screen request;Shield according to throwing
Request obtains the broadcast address and destination television set-top box identification information wait throw screen video;By the broadcasting wait throw screen video
Location is sent to the corresponding TV set-top box of destination television set-top box identification information;TV set-top box will be for that will shield broadcasting for video wait throw
It puts address and is sent to destination television, play corresponding video to trigger destination television according to the broadcast address wait throw screen video.
In the present embodiment, destination television refers to that TV set-top box corresponding with destination television set-top box identification information is connected
The TV connect can be DTV, multi-functional TV etc.;Certainly, destination television is also possible to display, such as cathode-ray
Tube display (CRT), liquid crystal display (LCD), plasma display (PDP), digital light processing display (DLP), luminous two
Pole pipe display (OLED) etc.;It throws the play right information that set of hanging scrolls part is used to identify wait throw screen video and meets corresponding TV throwing screen
Authorization message, for example, wait throw screen video play right information be high definition channel, TV throw screen authorization message be also high definition channel,
It then indicates to meet throwing set of hanging scrolls part wait throw screen video.
For example, show throwing screen button on the current video playing interface of wechat small routine, wechat user, which clicks, to throw screen and presses
Button, triggering are generated for the throwing screen operational order wait throw screen video;Wechat small routine receives the throwing screen operational order, and to the throwing
Screen operational order is parsed, and the screen video to be thrown of wechat user's trigger action is obtained;Obtain the destination television of wechat user
Screen authorization message is thrown, the destination television set-top box identification information and electricity for extracting wechat user in screen authorization message are thrown from the TV
Depending on set-top box authority information;The play right information wait throw screen video is obtained, by the play right information and electricity wait throw screen video
It is matched depending on set-top box authority information, if matching, confirmation should throw set of hanging scrolls part wait throw screen video satisfaction;Obtain screen video to be thrown
Broadcast address, according to wait throw screen video broadcast address and destination television set-top box identification information, generate throw screen request, and
Throwing screen request is sent to server.Server parses throwing screen request, obtains the broadcast address wait throw screen video
And destination television set-top box identification information;Broadcast address wait throw screen video is sent to destination television set-top box identification information
Corresponding TV set-top box.TV set-top box is used to the broadcast address wait throw screen video being sent to destination television;Destination television
It is stored with the corresponding cloud server for playing video of broadcast address according to the broadcast address access wait throw screen video, is corresponded to
Broadcasting video, and play the broadcasting video.
In addition, server is true if play right information and TV set-top box authority information wait throw screen video mismatch
Recognize this and be unsatisfactory for throwing set of hanging scrolls part wait throw screen video, screen failure information is thrown in the display of wechat small routine, is lost with reminding wechat user to throw screen
It loses.
Further, TV set-top box, can also be according to wait throw screen view after receiving the broadcast address wait throw screen video
The broadcast address access of frequency is stored with the corresponding cloud server for playing video of broadcast address, obtains corresponding broadcasting video,
And the broadcasting video is sent to destination television, the broadcasting video is played to trigger destination television.
It should be noted that when carrying out throwing screen operation, mobile terminal and TV set-top box where wechat small routine or
Destination television is without connecting the same network.In addition, picture, document information can also be carried out other than carrying out TV and throwing screen
Equal throwings screen, principle throws screen with above-mentioned TV, specific the application is repeated no more.
Through this embodiment, it can achieve following effect: (1) connecting the same net with destination television without mobile terminal
Network improves the flexibility that TV throws screen.(2) it is either in or in company, can realize that long-range screen of throwing operates, at any time
It is thrown everywhere for the old man of family or child and shields its TV programme liked, further improve the flexibility that TV throws screen.
In another embodiment, as shown in figure 3, providing another TV throws screen method, comprising the following steps:
Step S301 receives the access request of applet;Applet operates in corresponding application program, application
The wireless network that the mobile terminal connection TV set-top box of program provides;Access request is issued by the wireless network.
Step S302 determines the IP address of wireless network according to access request, and the IP address of wireless network is identified as electricity
Depending on the IP address of set-top box.
Step S303 obtains TV set-top box MAC Address corresponding with IP address.
Step S304 inquires the corresponding relationship of preset TV set-top box MAC Address and TV set-top box identification information, obtains
To TV set-top box identification information corresponding with TV set-top box MAC Address.
Step S305 obtains the user information of the corresponding application program of applet, user's mark as access user
Know.
Step S306 inquires preset information bank, obtains TV set-top box power corresponding with TV set-top box identification information
Limit information;Preset information bank is stored with the corresponding TV set-top box authority information of TV set-top box identification information.
TV set-top box identification information and corresponding TV set-top box authority information are identified as TV and thrown by step S307
Shield authorization message;User identifier and TV are thrown into screen authorization message and are sent to applet;Applet is used for will be electric
The corresponding destination television throwing screen authorization message of user identifier is identified as depending on throwing screen authorization message.
Step S308, receives the throwing screen request that applet is sent, and realizes mobile terminal to target according to screen request is thrown
The throwing screen of TV operates;The TV that destination television is connected by the corresponding TV set-top box of destination television set-top box identification information.
Above-mentioned TV throws screen method, realizes the access request according to applet, can obtain corresponding television set
The purpose of top box identification information, without carrying out the process of verifying login by cumbersome register account number, to simplify television set
The acquisition process of top box identification information, and then the processing time that TV throws screen authorization is shortened, be conducive to improve TV throwing screen
Flexibility.Meanwhile by receive applet send throwing screen request, can be realized mobile terminal to destination television throwing screen
Operation;The TV that the destination television is connected by the corresponding TV set-top box of destination television set-top box identification information, without logging in
Screen APP is thrown to corresponding, further improves the flexibility that TV throws screen.
In one embodiment, as shown in figure 4, providing a kind of acquisition methods of TV set-top box identification information, including
Following steps:
Step S401 receives the access request of applet;Applet operates in corresponding application program, application
The wireless network that mobile terminal connection TV set-top box where program provides;Access request is issued by the wireless network.
Step S402 determines the IP address of wireless network according to access request, and the IP address of wireless network is identified as electricity
Depending on the IP address of set-top box.
Step S403 obtains TV set-top box identification information corresponding with IP address.
TV set-top box identification information is sent to applet by step S404.
The acquisition methods of above-mentioned TV set-top box identification information, the nothing provided according to applet by TV set-top box
The access request that gauze network is sent, determines the IP address of TV set-top box;Obtain TV set-top box mark corresponding with IP address
Information, and TV set-top box identification information is sent to applet;The access request according to applet is realized, i.e.,
The purpose that corresponding TV set-top box identification information can be obtained, without carrying out the mistake of verifying login by cumbersome register account number
Journey to simplify the acquisition process of TV set-top box identification information, and then shortens the processing time that TV throws screen authorization, has
The flexibility shielded is thrown conducive to TV is improved.
In one embodiment, above-mentioned steps S404, by TV set-top box identification information be sent to applet it
Before, comprising: preset information bank is inquired, TV set-top box authority information corresponding with TV set-top box identification information is obtained;In advance
If information bank be stored with the corresponding TV set-top box authority information of TV set-top box identification information;TV set-top box is identified and is believed
Breath and corresponding TV set-top box authority information are identified as TV and throw screen authorization message.In this way, realizing according to television set top
Box identification information obtains the purpose of TV set-top box authority information, without carrying out verifying login by cumbersome register account number, with
The process for obtaining TV set-top box authority information further improves the flexibility that TV throws screen.
In one embodiment, TV set-top box identification information is sent to applet by above-mentioned steps S404, packet
It includes: TV being thrown into screen authorization message and is sent to applet.The purpose that TV throws screen authorization message is obtained in this way, realizing,
Be conducive to applet by received TV throw screen authorization message store, convenient for it is subsequent by TV throw screen authorization message with
Corresponding user identifier is bound, and is thrown screen authorization to complete TV, is further improved the flexibility that TV throws screen.
In one embodiment, above-mentioned steps S404, after TV to be thrown to screen authorization message and is sent to applet,
Further include: the user information for obtaining the corresponding application program of applet, the user identifier as access user;User is marked
Knowledge is sent to applet;Applet is used to throw in TV screen authorization message and is identified as the corresponding target electricity of user identifier
Shield authorization message depending on throwing.User identifier and corresponding destination television are thrown screen authorization message by applet to tie up
It is fixed, and destination television is thrown into screen authorization message and is stored, so that the TV for completing access user throws screen authorization.By this implementation
Example, the TV for being conducive to be rapidly completed access user throw screen authorization, without carrying out verifying login by cumbersome register account number
Process is conducive to so that simplifying TV throws the process flow of screen authorization, and then shortens the processing time that TV throws screen authorization
Improve the flexibility that TV throws screen.
It should be understood that although each step in the flow chart of Fig. 2-4 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-4
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one embodiment, as shown in figure 5, providing a kind of TV throwing screen device, comprising: request receiving module 510,
IP address determining module 520, identification information obtain module 530, user identifier obtains module 540 and TV throws panel module 550,
In:
Request receiving module 510, for receiving the access request of applet;Applet operates in corresponding answer
The wireless network provided with program, the mobile terminal connection TV set-top box where application program;Access request passes through the nothing
Gauze network issues.
IP address determining module 520, for the IP address of wireless network being determined, by wireless network according to access request
IP address is identified as the IP address of TV set-top box.
Identification information obtains module 530, for obtaining TV set-top box identification information corresponding with IP address.
User identifier obtains module 540, for obtaining the user information of the corresponding application program of applet, as visit
User identifier and TV set-top box identification information are sent to applet by the user identifier for asking user;Applet
For TV set-top box identification information to be identified as the corresponding destination television set-top box identification information of user identifier.
TV throws panel module 550, for receiving the throwing screen request of applet transmission, realizes movement according to screen request is thrown
The throwing screen of terminal to destination television operates;Destination television is company, destination television set-top box identification information corresponding TV set-top box institute
The TV connect.
In one embodiment, IP address determining module is also used to obtain preset function;According to preset function, access is asked
It asks and is parsed, obtain the IP address of access request carrying, IP address is identified as to the IP address of wireless network.
In one embodiment, identification information obtains module and is also used to obtain TV set-top box MAC corresponding with IP address
Address;The corresponding relationship for inquiring preset TV set-top box MAC Address and TV set-top box identification information obtains and television set top
The corresponding TV set-top box identification information of box MAC Address.
In one embodiment, identification information obtains module and is also used to inquire preset database, obtains and IP address pair
The TV set-top box MAC Address answered;Preset database purchase has the corresponding TV set-top box MAC Address of IP address.
In one embodiment, identification information obtains module and is also used to IP address being sent to Dynamic Host Configuration Protocol server;DHCP clothes
Device be engaged in for inquiring preset Dynamic Host Configuration Protocol server log according to IP address, obtains corresponding TV set-top box MAC Address;It is preset
Dynamic Host Configuration Protocol server log is stored with the corresponding TV set-top box MAC Address of IP address;Receive the television set that Dynamic Host Configuration Protocol server returns
Top box MAC Address.
In one embodiment, the authorization login that user identifier acquisition module is also used to receive applet transmission is asked
It asks;Call request is generated according to authorization logging request, call request is sent to destination server;Call request is for triggering mesh
Mark the user information that server obtains the corresponding application program of applet according to call request, the user as access user
Mark;Receive the user identifier for the access user that destination server returns.
In one embodiment, it further includes permission acquisition module that TV, which throws screen device, obtains mould for user identifier
Before user identifier and TV set-top box identification information are sent to applet by block, preset information bank is inquired, is obtained
TV set-top box authority information corresponding with TV set-top box identification information;Preset information bank is stored with TV set-top box mark
The corresponding TV set-top box authority information of information;By TV set-top box identification information and corresponding TV set-top box authority information
It is identified as TV and throws screen authorization message.
In one embodiment, user identifier obtains module and is also used to throwing user identifier and TV into screen authorization message hair
It send to applet;Applet is used to throw in TV screen authorization message and is identified as the corresponding destination television throwing of user identifier
Shield authorization message.
In one embodiment, TV throws the throwing screen request that panel module is also used to receive applet transmission;Small application
Program, which is used to be confirmed according to destination television throwing screen authorization message, throws set of hanging scrolls part wait throw screen video satisfaction, obtains and shields video wait throw
Broadcast address generates according to the broadcast address and destination television set-top box identification information wait throw screen video and throws screen request;According to
Screen request is thrown, the broadcast address and destination television set-top box identification information wait throw screen video are obtained;It will be wait throw broadcasting for screen video
It puts address and is sent to the corresponding TV set-top box of destination television set-top box identification information;TV set-top box is used for will screen video be thrown
Broadcast address be sent to destination television, play corresponding view to trigger destination television according to the broadcast address wait throw screen video
Frequently.
Above-mentioned each embodiment, TV throw the wireless network that screen device is provided according to applet by TV set-top box
The access request of transmission determines the IP address of TV set-top box;TV set-top box identification information corresponding with IP address is obtained, and
TV set-top box identification information and the user identifier for accessing user are sent to applet, it will to trigger applet
Received TV set-top box identification information is identified as the corresponding destination television set-top box identification information of user identifier;Realize basis
The access request of applet can obtain the purpose of corresponding TV set-top box identification information, without passing through cumbersome note
Volume account carries out the process of verifying login, to simplify the acquisition process of TV set-top box identification information, and then shortens electricity
The processing time depending on throwing screen authorization is conducive to improve the flexibility that TV throws screen.Meanwhile being sent by receiving applet
Screen request is thrown, the throwing screen that mobile terminal can be realized to destination television operates;The destination television is destination television set-top box mark
The TV that the corresponding TV set-top box of information is connected shields APP without logging on to corresponding throw, further improves TV and throw screen
Flexibility.
The specific of screen device is thrown about TV and limits the restriction that may refer to throw screen method above for TV, herein not
It repeats again.The modules that above-mentioned TV is thrown in screen device can be realized fully or partially through software, hardware and combinations thereof.On
Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form
In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, as shown in Figure 1, providing a kind of TV throwing screen system, comprising: be equipped with application program
Mobile terminal 110, server 120, TV set-top box 130 and TV 140, server 120 and mobile terminal 110 and TV
Set-top box 130 communicates to connect respectively, and TV set-top box 130 and TV 140 communicate to connect, and mobile terminal 110 connects television set top
The wireless network that box 130 provides;Application program operation has applet;
Applet meets throwing set of hanging scrolls part wait throw screen video for throwing screen authorization message according to destination television and confirming,
Obtain wait throw screen video broadcast address, according to wait throw screen video broadcast address and destination television set-top box identification information,
It generates and throws screen request, and screen request will be thrown and be sent to server 120;
The step of server 120, the TV for executing the application any embodiment throws screen method;
TV set-top box 130 will be wait throw screen view for receiving the broadcast address wait throw screen video of the transmission of server 120
The broadcast address of frequency is sent to TV 140;
TV 140, for playing corresponding video according to the broadcast address wait throw screen video.
Wherein, applet can be wechat small routine;Application program can be wechat application, and mobile terminal can be
Smart phone;TV refers to the TV that the corresponding TV set-top box of destination television set-top box identification information is connected, and can be number
Word TV, multi-functional TV etc.;It is also possible to cathode-ray tube display (CRT), liquid crystal display (LCD), plasma to show
Device (PDP), digital light processing display (DLP), light emitting diode indicator (OLED) etc..
Above-mentioned TV throws screen system, realizes the access request according to applet, can obtain corresponding television set
The purpose of top box identification information, without carrying out the process of verifying login by cumbersome register account number, to simplify television set
The acquisition process of top box identification information, and then the processing time that TV throws screen authorization is shortened, be conducive to improve TV throwing screen
Flexibility.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 6.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The database of machine equipment is for storing the data such as IP address, the TV set-top box identification information of TV set-top box.The computer is set
Standby network interface is used to communicate with external terminal by network connection.To realize when the computer program is executed by processor
A kind of TV throwing screen method.
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with
Computer program, the processor perform the steps of when executing computer program
Receive the access request of applet;Applet operates in corresponding application program, application program place
Mobile terminal connection TV set-top box provide wireless network;Access request is issued by wireless network;
According to access request, the IP address of wireless network is determined, the IP address of wireless network is identified as TV set-top box
IP address;
Obtain TV set-top box identification information corresponding with IP address;
The user information for obtaining the corresponding application program of applet, as the user identifier of access user, by user
Mark and TV set-top box identification information are sent to applet;Applet is used for TV set-top box identification information
It is identified as the corresponding destination television set-top box identification information of user identifier;
The throwing screen request for receiving applet transmission, according to the throwing screen of throwing screen request realization mobile terminal to destination television
Operation;The TV that destination television is connected by the corresponding TV set-top box of destination television set-top box identification information.
Above-described embodiment, computer equipment are realized according to small by the computer program run on processor using journey
The access request of sequence can obtain the purpose of corresponding TV set-top box identification information, without by cumbersome register account number into
The process that row verifying logs in simplify the acquisition process of TV set-top box identification information, and then shortens TV throwing screen and awards
The processing time of power is conducive to improve the flexibility that TV throws screen.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
Receive the access request of applet;Applet operates in corresponding application program, application program place
Mobile terminal connection TV set-top box provide wireless network;Access request is issued by wireless network;
According to access request, the IP address of wireless network is determined, the IP address of wireless network is identified as TV set-top box
IP address;
Obtain TV set-top box identification information corresponding with IP address;
The user information for obtaining the corresponding application program of applet, as the user identifier of access user, by user
Mark and TV set-top box identification information are sent to applet;Applet is used for TV set-top box identification information
It is identified as the corresponding destination television set-top box identification information of user identifier;
The throwing screen request for receiving applet transmission, according to the throwing screen of throwing screen request realization mobile terminal to destination television
Operation;The TV that destination television is connected by the corresponding TV set-top box of destination television set-top box identification information.
Above-described embodiment, the computer program that computer readable storage medium is stored by it, realizes according to small application
The access request of program can obtain the purpose of corresponding TV set-top box identification information, without passing through cumbersome register account number
The process of verifying login is carried out, to simplify the acquisition process of TV set-top box identification information, and then TV is shortened and throws screen
The processing time of authorization is conducive to improve the flexibility that TV throws screen.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (14)
1. a kind of TV throws screen method, which is characterized in that the described method includes:
Receive the access request of applet;The applet operates in corresponding application program, the application program
The wireless network that the mobile terminal connection TV set-top box at place provides;The access request is issued by the wireless network;
According to the access request, the IP address of the wireless network is determined, the IP address of the wireless network is identified as institute
State the IP address of TV set-top box;
Obtain TV set-top box identification information corresponding with the IP address;
The user information for obtaining the corresponding application program of the applet will be described as the user identifier of access user
User identifier and the TV set-top box identification information are sent to the applet;The applet is used for institute
It states TV set-top box identification information and is identified as the corresponding destination television set-top box identification information of the user identifier;
The throwing screen request that the applet is sent is received, request is shielded according to the throwing and realizes the mobile terminal to target electricity
Depending on throwing screen operation;The corresponding TV set-top box of the destination television destination television set-top box identification information is connected
TV.
2. determining the wireless network the method according to claim 1, wherein described according to the access request
The IP address of network, comprising:
Obtain preset function;
According to the preset function, the access request is parsed, the IP address that the access request carries is obtained, by institute
State the IP address that IP address is identified as the wireless network.
3. the method according to claim 1, wherein described obtain TV set-top box corresponding with the IP address
Identification information, comprising:
Obtain TV set-top box MAC Address corresponding with the IP address;
The corresponding relationship for inquiring preset TV set-top box MAC Address and TV set-top box identification information obtains and the TV
The corresponding TV set-top box identification information of set-top box MAC Address.
4. according to the method described in claim 3, it is characterized in that, described obtain TV set-top box corresponding with the IP address
MAC Address, comprising:
Preset database is inquired, TV set-top box MAC Address corresponding with the IP address is obtained;The preset database
It is stored with the corresponding TV set-top box MAC Address of IP address;
And/or
The IP address is sent to Dynamic Host Configuration Protocol server;The Dynamic Host Configuration Protocol server is used to be inquired according to the IP address preset
Dynamic Host Configuration Protocol server log obtains corresponding TV set-top box MAC Address;The preset Dynamic Host Configuration Protocol server log is with being stored with IP
The corresponding TV set-top box MAC Address in location;
Receive the TV set-top box MAC Address that the Dynamic Host Configuration Protocol server returns.
5. the method according to claim 1, wherein described obtain the corresponding application program of the applet
User information, as access user user identifier, comprising:
Receive the authorization logging request that the applet is sent;
Call request is generated according to the authorization logging request, the call request is sent to destination server;The calling
Request obtains the corresponding application program of the applet according to the call request for triggering the destination server
User information, the user identifier as access user;
Receive the user identifier for the access user that the destination server returns.
6. the method according to claim 1, wherein by the user identifier and the TV set-top box mark
Know information to be sent to before the applet, further includes:
Preset information bank is inquired, TV set-top box authority information corresponding with the TV set-top box identification information is obtained;Institute
It states preset information bank and is stored with the corresponding TV set-top box authority information of TV set-top box identification information;
The TV set-top box identification information and corresponding TV set-top box authority information are identified as TV and throw screen authorization letter
Breath;
It is described that the user identifier and the TV set-top box identification information are sent to the applet, comprising:
The user identifier and the TV are thrown into screen authorization message and are sent to the applet;The applet
The corresponding destination television throwing screen authorization message of the user identifier is identified as the TV to be thrown screen authorization message.
7. according to the method described in claim 6, it is characterized in that, the throwing screen for receiving the applet transmission is asked
It asks, is operated according to the throwing screen for throwing screen the request realization mobile terminal to destination television, comprising:
Receive the throwing screen request that the applet is sent;The applet is used to throw screen according to the destination television and award
Power validation of information meets throwing set of hanging scrolls part to wait throw screen video, the broadcast address wait throw screen video is obtained, according to described wait throw
The broadcast address and the destination television set-top box identification information, generation for shielding video throw screen request;
Shielded according to the throwing and requested, obtains the broadcast address wait throw screen video and destination television set-top box mark letter
Breath;
The broadcast address wait throw screen video is sent to the corresponding television set top of the destination television set-top box identification information
Box;The broadcast address that the TV set-top box is used for by described wait throw screen video is sent to destination television, to trigger the target
TV plays corresponding video according to the broadcast address wait throw screen video.
8. a kind of acquisition methods of TV set-top box identification information, which is characterized in that the described method includes:
Receive the access request of applet;The applet operates in corresponding application program, the application program
The wireless network that the mobile terminal connection TV set-top box at place provides;The access request is issued by the wireless network;
According to the access request, the IP address of the wireless network is determined, the IP address of the wireless network is identified as institute
State the IP address of TV set-top box;
Obtain TV set-top box identification information corresponding with the IP address;
The TV set-top box identification information is sent to the applet.
9. according to the method described in claim 8, it is characterized in that, described the TV set-top box identification information to be sent to
Before applet, comprising:
Preset information bank is inquired, TV set-top box authority information corresponding with the TV set-top box identification information is obtained;Institute
It states preset information bank and is stored with the corresponding TV set-top box authority information of TV set-top box identification information;
The TV set-top box identification information and corresponding TV set-top box authority information are identified as TV and throw screen authorization letter
Breath;
It is described that the TV set-top box identification information is sent to the applet, comprising:
The TV is thrown into screen authorization message and is sent to the applet.
10. according to the method described in claim 9, it is characterized in that, described TV throwing screen authorization message to be sent to
After applet, further includes:
The user information for obtaining the corresponding application program of the applet, the user identifier as access user;
The user identifier is sent to the applet;The applet is used to throwing the TV into screen authorization letter
Breath is identified as the corresponding destination television of the user identifier and throws screen authorization message.
11. a kind of TV throws screen device, which is characterized in that described device includes:
Request receiving module, for receiving the access request of applet;The applet operates in corresponding application
Program, the wireless network that the mobile terminal connection TV set-top box where the application program provides;The access request passes through
The wireless network issues;
IP address determining module, for the IP address of the wireless network being determined, by the wireless network according to the access request
The IP address of network is identified as the IP address of the TV set-top box;
Identification information obtains module, for obtaining TV set-top box identification information corresponding with the IP address;
User identifier obtains module, for obtaining the user information of the corresponding application program of the applet, as access
The user identifier and the TV set-top box identification information are sent to the applet by the user identifier of user;
The applet is used to the TV set-top box identification information being identified as the corresponding target television set of the user identifier
Top box identification information;
TV throws panel module, and the throwing screen request sent for receiving the applet shields request according to the throwing and realizes institute
The throwing screen for stating mobile terminal to destination television operates;The destination television is that the destination television set-top box identification information is corresponding
The TV that TV set-top box is connected.
12. a kind of TV throws screen system characterized by comprising be equipped with the mobile terminal, server, TV of application program
Set-top box and TV, the server communicate to connect respectively with the mobile terminal and the TV set-top box, the electricity
It is connect depending on set-top box with the TV and communication, the mobile terminal connects the wireless network that the TV set-top box provides;It is described
Application program operation has applet;
The applet meets throwing set of hanging scrolls part wait throw screen video for throwing screen authorization message according to destination television and confirming,
The broadcast address wait throw screen video is obtained, according to the broadcast address wait throw screen video and the target television set top
Box identification information generates and throws screen request, and throwing screen request is sent to the server;
The server is used for the step of perform claim requires any one of 1 to 10 the method;
The TV set-top box, the broadcast address wait throw screen video sent for receiving the server, by described wait throw screen
The broadcast address of video is sent to the TV;
The TV, for playing corresponding video according to the broadcast address wait throw screen video.
13. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In the step of processor realizes any one of claims 1 to 10 the method when executing the computer program.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 10 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910476642.1A CN110248216B (en) | 2019-06-03 | 2019-06-03 | Television screen projection method and device, television screen projection system and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910476642.1A CN110248216B (en) | 2019-06-03 | 2019-06-03 | Television screen projection method and device, television screen projection system and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110248216A true CN110248216A (en) | 2019-09-17 |
CN110248216B CN110248216B (en) | 2021-06-01 |
Family
ID=67885906
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910476642.1A Active CN110248216B (en) | 2019-06-03 | 2019-06-03 | Television screen projection method and device, television screen projection system and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110248216B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111147950A (en) * | 2019-12-30 | 2020-05-12 | 广东南方新媒体股份有限公司 | Remote screen projection method and system for set top box |
CN111221491A (en) * | 2020-01-09 | 2020-06-02 | Oppo(重庆)智能科技有限公司 | Interaction control method and device, electronic equipment and storage medium |
CN112040288A (en) * | 2020-09-04 | 2020-12-04 | 华人运通(上海)云计算科技有限公司 | Multimedia system |
CN112135186A (en) * | 2020-09-22 | 2020-12-25 | 深圳乐播科技有限公司 | Screen projection method, device, equipment and storage medium based on small program |
CN112788384A (en) * | 2021-02-07 | 2021-05-11 | 深圳市大鑫浪电子科技有限公司 | Wireless digital television screen projection method and device, computer equipment and storage medium |
CN113268210A (en) * | 2021-05-10 | 2021-08-17 | 深圳Tcl新技术有限公司 | Screen projection method, equipment and storage medium |
CN114679610A (en) * | 2020-12-24 | 2022-06-28 | 花瓣云科技有限公司 | Screen projection method, device and system for continuously playing video |
CN114827674A (en) * | 2022-03-30 | 2022-07-29 | 北京奇艺世纪科技有限公司 | Network resource display method, device and system |
CN115022709A (en) * | 2022-06-10 | 2022-09-06 | 江苏银河数字技术有限公司 | Intelligent set top box wireless screen projection management and control system and method |
CN115150649A (en) * | 2022-06-14 | 2022-10-04 | 阿里云计算有限公司 | Media stream playing method, equipment and storage medium |
WO2024001257A1 (en) * | 2022-06-28 | 2024-01-04 | 海信视像科技股份有限公司 | Display device and processing method for display device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2359575B1 (en) * | 2008-09-30 | 2015-06-10 | Apple Inc. | System and method for simplified resource sharing |
US20180014058A1 (en) * | 2016-05-30 | 2018-01-11 | Nanning Fugui Precision Industrial Co., Ltd. | Communication method, mobile terminal and set top box using the same |
CN108965995A (en) * | 2018-07-17 | 2018-12-07 | 北京奇艺世纪科技有限公司 | A kind of throwing screen method, apparatus throws screen end equipment and shields end equipment by throwing |
CN108966195A (en) * | 2018-07-31 | 2018-12-07 | 深圳市信恳智能电子股份有限公司 | Wireless gyroscope software implementation method based on wechat small routine |
CN109068088A (en) * | 2018-09-20 | 2018-12-21 | 明基智能科技(上海)有限公司 | Meeting exchange method, apparatus and system based on user's portable terminal |
-
2019
- 2019-06-03 CN CN201910476642.1A patent/CN110248216B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2359575B1 (en) * | 2008-09-30 | 2015-06-10 | Apple Inc. | System and method for simplified resource sharing |
US20180014058A1 (en) * | 2016-05-30 | 2018-01-11 | Nanning Fugui Precision Industrial Co., Ltd. | Communication method, mobile terminal and set top box using the same |
CN108965995A (en) * | 2018-07-17 | 2018-12-07 | 北京奇艺世纪科技有限公司 | A kind of throwing screen method, apparatus throws screen end equipment and shields end equipment by throwing |
CN108966195A (en) * | 2018-07-31 | 2018-12-07 | 深圳市信恳智能电子股份有限公司 | Wireless gyroscope software implementation method based on wechat small routine |
CN109068088A (en) * | 2018-09-20 | 2018-12-21 | 明基智能科技(上海)有限公司 | Meeting exchange method, apparatus and system based on user's portable terminal |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111147950A (en) * | 2019-12-30 | 2020-05-12 | 广东南方新媒体股份有限公司 | Remote screen projection method and system for set top box |
CN111221491A (en) * | 2020-01-09 | 2020-06-02 | Oppo(重庆)智能科技有限公司 | Interaction control method and device, electronic equipment and storage medium |
CN112040288A (en) * | 2020-09-04 | 2020-12-04 | 华人运通(上海)云计算科技有限公司 | Multimedia system |
CN112040288B (en) * | 2020-09-04 | 2022-07-12 | 华人运通(上海)云计算科技有限公司 | Multimedia system |
CN112135186A (en) * | 2020-09-22 | 2020-12-25 | 深圳乐播科技有限公司 | Screen projection method, device, equipment and storage medium based on small program |
CN114679610A (en) * | 2020-12-24 | 2022-06-28 | 花瓣云科技有限公司 | Screen projection method, device and system for continuously playing video |
CN114679610B (en) * | 2020-12-24 | 2023-06-06 | 花瓣云科技有限公司 | Screen throwing method, device and system for continuously playing video |
CN112788384A (en) * | 2021-02-07 | 2021-05-11 | 深圳市大鑫浪电子科技有限公司 | Wireless digital television screen projection method and device, computer equipment and storage medium |
CN113268210A (en) * | 2021-05-10 | 2021-08-17 | 深圳Tcl新技术有限公司 | Screen projection method, equipment and storage medium |
CN114827674A (en) * | 2022-03-30 | 2022-07-29 | 北京奇艺世纪科技有限公司 | Network resource display method, device and system |
CN114827674B (en) * | 2022-03-30 | 2023-09-05 | 北京奇艺世纪科技有限公司 | Network resource display method, device and system |
CN115022709A (en) * | 2022-06-10 | 2022-09-06 | 江苏银河数字技术有限公司 | Intelligent set top box wireless screen projection management and control system and method |
CN115022709B (en) * | 2022-06-10 | 2023-08-29 | 江苏银河数字技术有限公司 | Intelligent set top box wireless screen-throwing management and control system and method |
CN115150649A (en) * | 2022-06-14 | 2022-10-04 | 阿里云计算有限公司 | Media stream playing method, equipment and storage medium |
WO2024001257A1 (en) * | 2022-06-28 | 2024-01-04 | 海信视像科技股份有限公司 | Display device and processing method for display device |
Also Published As
Publication number | Publication date |
---|---|
CN110248216B (en) | 2021-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110248216A (en) | TV throws screen method, apparatus, TV throws screen system and computer equipment | |
EP2963933A1 (en) | Remote control processing method, apparatus and system | |
CN110392287A (en) | Processing method, device and the TV that TV throws screen authorization throw screen system | |
US9774642B2 (en) | Method and device for pushing multimedia resource and display terminal | |
CN111343698B (en) | Screen projection control method and device, wireless controller and storage medium | |
CN104601589B (en) | A kind of method, terminal and network side server for accessing radio data system | |
CN107862770B (en) | Storage device space renting system capable of achieving quick door opening and method for achieving quick door opening | |
CN104936033B (en) | Unidirectional terminal barrage method based on Conditional Access of Digital Television | |
CN106302448B (en) | Remote access control method and device | |
CN105263055B (en) | A kind of interactive approach and system of live telecast | |
CN101211349A (en) | System for generating digital television startup page and its method | |
CN112152853A (en) | Equipment network distribution method and device, computer-readable storage medium and electronic device | |
CN105227995A (en) | Television program interaction method and device | |
CN105681877A (en) | Set-top box, television, platform, remote controller and method and apparatus for establishing connection | |
CN101909200A (en) | Processing method of television program menu and interactive television server | |
CN104168514A (en) | Method and device for conducting interactive operation on television | |
CN108536492A (en) | A kind of direct broadcasting room attribute information acquiring method, device, equipment and storage medium | |
CN109726545B (en) | Information display method, equipment, computer readable storage medium and device | |
CN111147950A (en) | Remote screen projection method and system for set top box | |
CN106453349A (en) | An account number login method and apparatus | |
CN106331068B (en) | Remote resource sharing method and resource sharing platform | |
CN105592328A (en) | Information processing method, EPG server, and client | |
CN110474891A (en) | Business access control method and device based on multisystem smart machine | |
CN113613029B (en) | Live broadcast picture display method and device, storage medium and electronic equipment | |
CN106534986B (en) | Data interactive method, device and set-top box based on CHINA RFTCOM Co Ltd |
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 |