CN111988660A - DLNA equipment screen projection method, gateway, terminal and system - Google Patents

DLNA equipment screen projection method, gateway, terminal and system Download PDF

Info

Publication number
CN111988660A
CN111988660A CN202010782479.4A CN202010782479A CN111988660A CN 111988660 A CN111988660 A CN 111988660A CN 202010782479 A CN202010782479 A CN 202010782479A CN 111988660 A CN111988660 A CN 111988660A
Authority
CN
China
Prior art keywords
screen projection
terminal
service equipment
projection service
authentication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010782479.4A
Other languages
Chinese (zh)
Inventor
钟建龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN202010782479.4A priority Critical patent/CN111988660A/en
Publication of CN111988660A publication Critical patent/CN111988660A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector

Abstract

The embodiment of the invention provides a DLNA (digital living network alliance) equipment screen projection method, a gateway, a terminal and a system, wherein the method comprises the steps that the gateway receives a screen projection request of the terminal, whether the terminal is authenticated or not is determined according to authentication information, if yes, a URL (uniform resource locator) of screen projection service equipment corresponding to the authentication information is determined according to the authentication information and is issued to the terminal, so that the terminal analyzes the URL of the screen projection service equipment to obtain a screen projection address of the screen projection service equipment, and when the screen projection address of the screen projection service equipment is determined to be accessed by the terminal, connection between the terminal and the screen projection service equipment is established according to the corresponding relation between the screen projection address of the screen projection service equipment and the screen projection service equipment. Through the communication between the gateway agent terminal and the screen projection service equipment, the accurate screen projection of the terminal can be realized, the screen projection error of the terminal is avoided, the problem that screen projection failure is caused due to the fact that network authentication cannot be sensed in the prior art can be solved, and the use difficulty of screen projection service under the condition of waiting for authentication is reduced.

Description

DLNA equipment screen projection method, gateway, terminal and system
Technical Field
The embodiment of the invention relates to the field of data communication, in particular to a DLNA (digital living network alliance) equipment screen projection method, a gateway, a terminal and a system.
Background
With the development of network technology, multimedia technology has evolved into various applications with the development. The network screen projection technology is a fusion application of a convenient small screen (such as a mobile phone) and a comfortable intelligent large screen (such as a television), and is increasingly popular in home, office and hotel environments. Because the screen projection technology used by DLNA (Digital Living Network Alliance) is based on the broadcast of the SSDP Protocol (Simple Service Discovery Protocol), when the DLNA is applied to a hotel, office, or other specific occasions, tens of hundreds of intelligent large screens (such as televisions) in a region open the screen projection Service, and a terminal is difficult to find the correct screen projection Service, thereby causing the phenomenon of screen crosstalk or screen projection failure.
The existing credible screen projection method mainly uses a two-dimension code to control access control between a terminal and screen projection service equipment, when the terminal needs to project a screen, the terminal needs to scan the two-dimension code generated in advance based on network control, and after the two-dimension code passes through the two-dimension code, a screen projection related data channel is released through a three-layer router, and finally screen projection is realized. However, the processing method is troublesome to deploy, the television and the three-layer router are required to be synchronously matched to generate two-dimension code information in advance, the client also needs to find the corresponding two-dimension code information when needing to screen, the two-dimension code is usually customized in the television or placed in a room when in actual use, and the screen-throwing habit is changed due to the fact that the two-dimension code scanning link inserted in the middle is changed, so that a lot of users cannot screen-throw the television because the two-dimension code scanning link is unknown.
In summary, there is a need for a screen-casting method for DLNA equipment to solve the problem of screen-casting failure caused by inability to sense network authentication in the prior art, and to reduce the difficulty in using screen-casting service under the condition of waiting for authentication.
Disclosure of Invention
The embodiment of the invention provides a DLNA (digital living network alliance) equipment screen projection method, a gateway, a terminal and a system, which are used for solving the problem of screen projection failure caused by incapability of sensing network authentication in the prior art and reducing the use difficulty of screen projection service under the condition of waiting for authentication.
In a first aspect, an embodiment of the present invention provides a DLNA device screen projection method, which is applied to a gateway, and includes:
receiving a screen projection request of a terminal; the screen projection request comprises authentication information of the terminal;
determining whether the terminal is authenticated according to the authentication information;
if so, determining a Uniform Resource Locator (URL) of the screen projection service equipment corresponding to the authentication information according to the authentication information, and issuing the URL to the terminal so that the terminal can analyze the URL of the screen projection service equipment to obtain a screen projection address of the screen projection service equipment;
when determining that the terminal accesses the screen projection address of the screen projection service equipment, establishing connection between the terminal and the screen projection service equipment according to the corresponding relation between the screen projection address of the screen projection service equipment and the screen projection service equipment;
and feeding back the screen projection service attribute of the screen projection service equipment to the terminal so that the terminal can project the screen on the screen projection service equipment according to the screen projection service attribute of the screen projection service equipment.
In the technical scheme, whether the terminal is authenticated or not is determined according to the authentication information, so that the accurate screen projection of the terminal can be ensured, the problem that the screen of the terminal is projected wrongly is avoided, and in addition, the screen projection permission of the terminal can be determined, and the screen projection safety is ensured. And when the terminal is determined to be authenticated, determining a Uniform Resource Locator (URL) of the screen projection service equipment corresponding to the authentication information according to the authentication information, and issuing the URL to the terminal so that the terminal analyzes the URL of the screen projection service equipment to obtain a screen projection address of the screen projection service equipment. And when determining that the terminal accesses the screen projection address of the screen projection service equipment, establishing connection between the terminal and the screen projection service equipment according to the corresponding relation between the screen projection address of the screen projection service equipment and the screen projection service equipment. And then, the screen projection service attribute of the screen projection service equipment is fed back to the terminal, so that the terminal can accurately and effectively project the screen on the screen projection service equipment according to the screen projection service attribute of the screen projection service equipment. Through the communication between the gateway proxy terminal and the screen projection service equipment, the point-to-point screen projection of the terminal and the screen projection service equipment can be realized under the condition of mixed networking of multi-terminal multi-screen projection service equipment, so that the safety and controllability of the screen projection service are realized, the problem of screen projection failure caused by incapability of sensing network authentication in the prior art can be solved, and the use difficulty of the screen projection service under the condition of waiting for authentication is also reduced.
Optionally, the authentication information includes location information of the terminal and identification information of the terminal;
the determining whether the terminal is authenticated according to the authentication information includes:
matching a locally stored authentication list according to the identification information of the terminal and the position information of the terminal, wherein the authentication list comprises: terminal identification information and authentication location information of the authenticated terminal;
if the matching is successful, determining that the terminal is authenticated;
otherwise, determining that the terminal is not authenticated.
In the technical scheme, whether the terminal is authenticated or not is determined by matching the authentication list stored locally according to the identification information of the terminal and the position information of the terminal, so that the accurate screen projection of the terminal can be ensured, the problem that the terminal projects a screen wrongly is avoided, and in addition, the screen projection permission of the terminal can be determined, and the screen projection safety is ensured.
Optionally, the method further comprises:
when the terminal is determined to be unauthenticated, sending authentication prompt information to the terminal so that the terminal inputs corresponding authentication content according to the authentication prompt information for authentication;
receiving authentication content fed back by the terminal, and determining whether the terminal is successfully authenticated according to the position information in the authentication information and the authentication content;
if so, binding the position information of the terminal, the terminal identification and the authentication content, and storing the position information, the terminal identification and the authentication content into the authentication list.
In the technical scheme, when the terminal is determined to be unauthenticated, the authentication prompt message is sent to the terminal so that the terminal inputs corresponding authentication content according to the authentication prompt message for authentication, and the terminal is authorized to pass the authentication after the terminal is determined to be successfully authenticated according to the position information and the authentication content in the authentication message. The gateway is used as an agent medium of the terminal and the screen projection service equipment, so that the transmission of the authentication prompt information and the authentication authorization can be realized, and the terminal can be further ensured to project the screen on the corresponding screen projection service equipment.
Optionally, before receiving a screen-throwing request of the terminal, the method further includes:
setting a first subnet and a second subnet; the first subnet is not in communication with the second subnet;
simulating the terminal positioned in the first subnet, sending a first screen projection service request to the screen projection service equipment positioned in the second subnet, and acquiring attribute information of the screen projection service equipment;
determining characteristic information of the screen projection service equipment according to the attribute information of the screen projection service equipment;
numbering the screen projection service equipment according to the characteristic information of the screen projection service equipment, and establishing a corresponding relation between the number of the screen projection service equipment and the characteristic information;
after the establishing of the corresponding relationship between the serial number of the screen projection service equipment and the characteristic information, the method further comprises the following steps:
sending a second screen projection service request to the screen projection service equipment; acquiring screen projection service attributes of the screen projection service equipment;
associating the screen projection service attribute of the screen projection service equipment with the serial number of the screen projection service equipment and then storing the screen projection service attribute in the local area;
generating domain name information of the screen projection service equipment according to the serial number, the port information and the IP address of the screen projection service equipment;
and generating a URL of the screen projection service equipment according to the domain name information of the screen projection service equipment, and associating the URL of the screen projection service equipment with the screen projection service attribute.
In the technical scheme, the first subnet and the second subnet are arranged, so that the terminal and the screen projection service equipment can be safely isolated, and the privacy of both the terminal and the screen projection service equipment can be protected. And determining characteristic information of the screen projection service equipment according to the attribute information of the screen projection service equipment acquired by the gateway simulation terminal, numbering the screen projection service equipment according to the characteristic information of the screen projection service equipment, establishing a corresponding relation between the serial number of the screen projection service equipment and the characteristic information, and providing support for the gateway to generate domain name information of the screen projection service equipment on the basis of the serial number of the screen projection service equipment and to associate the screen projection service attribute of the screen projection service equipment with the serial number of the screen projection service equipment. And then generating domain name information of the screen projection service equipment according to the serial number, the port information and the IP address of the screen projection service equipment, generating a URL (uniform resource locator) of the screen projection service equipment according to the domain name information of the screen projection service equipment, and associating the URL of the screen projection service equipment with the screen projection service attribute. The method and the device can help the gateway to quickly and accurately feed back the URL of the screen projection service equipment requested by the terminal to the terminal when the terminal requests to project the screen on the corresponding screen projection service equipment, so that the terminal can accurately and effectively project the screen on the screen projection service equipment according to the screen projection service attribute of the screen projection service equipment when accessing the URL of the screen projection service equipment.
In a second aspect, an embodiment of the present invention provides a DLNA device screen projection method, which is applied to a terminal, and includes:
sending a screen projection request to a gateway, wherein the screen projection request comprises authentication information of the terminal, so that the gateway can determine a Uniform Resource Locator (URL) of screen projection service equipment corresponding to the authentication information according to the authentication information when the gateway determines that the terminal is authenticated;
receiving a URL (uniform resource locator) of screen projection service equipment sent by the gateway after the gateway confirms that the terminal is authenticated;
analyzing the URL of the screen projection service equipment to obtain a screen projection address of the screen projection service equipment;
and accessing a screen projection address of the screen projection service equipment, receiving the screen projection service attribute of the screen projection service equipment sent by the gateway, and projecting a screen on the screen projection service equipment according to the screen projection service attribute of the screen projection service equipment.
According to the technical scheme, the gateway proxies the communication between the terminal and the screen projection service equipment, the URL of the screen projection service equipment is sent after the terminal is confirmed to be authenticated by the receiving gateway, the URL of the screen projection service equipment is analyzed, the screen projection address of the screen projection service equipment is obtained, the screen projection permission of the terminal can be favorably determined, the screen projection safety is ensured, and the accurate screen projection of the terminal is favorably ensured, so that the point-to-point screen projection of the terminal and the screen projection service equipment under the condition of mixed networking of the multi-terminal multi-screen projection service equipment can be realized, the problem of screen projection failure caused by incapability of sensing network authentication in the prior art can be solved, and the use difficulty of the screen projection service under the condition of waiting for authentication is also reduced.
Optionally, the method further comprises:
receiving and displaying authentication prompt information sent by the gateway so that a user inputs corresponding authentication content according to the authentication prompt information for authentication;
and sending the authentication content to the gateway so that the gateway binds the position information of the terminal, the terminal identification and the authentication content after confirming that the terminal authentication is successful according to the position information of the terminal and the authentication content.
In the technical scheme, the gateway is used as a proxy agent of the terminal and the screen projection service equipment, after the authentication prompt information sent by the gateway is received and displayed, the user can input corresponding authentication content according to the authentication prompt information to authenticate, and the authentication content is sent to the gateway, so that the authentication prompt information transmission and authentication authorization can be realized, and the terminal can be further ensured to realize screen projection on the corresponding screen projection service equipment.
In a third aspect, an embodiment of the present invention provides a gateway, including:
the receiving unit is used for receiving a screen projection request of the terminal; the screen projection request comprises authentication information of the terminal;
the processing unit is used for determining whether the terminal is authenticated according to the authentication information; if so, determining a Uniform Resource Locator (URL) of the screen projection service equipment corresponding to the authentication information according to the authentication information, and issuing the URL to the terminal so that the terminal can analyze the URL of the screen projection service equipment to obtain a screen projection address of the screen projection service equipment; when the screen projection address of the screen projection service equipment is determined to be accessed by the terminal, establishing connection between the terminal and the screen projection service equipment according to the corresponding relation between the screen projection address of the screen projection service equipment and the screen projection service equipment; and feeding back the screen projection service attribute of the screen projection service equipment to the terminal so that the terminal can project the screen on the screen projection service equipment according to the screen projection service attribute of the screen projection service equipment.
Optionally, the authentication information includes location information of the terminal and identification information of the terminal;
the processing unit is specifically configured to:
matching a locally stored authentication list according to the identification information of the terminal and the position information of the terminal, wherein the authentication list comprises: terminal identification information and authentication location information of the authenticated terminal;
if the matching is successful, determining that the terminal is authenticated;
otherwise, determining that the terminal is not authenticated.
The processing unit is further to:
when the terminal is determined to be unauthenticated, sending authentication prompt information to the terminal so that the terminal inputs corresponding authentication content according to the authentication prompt information for authentication;
receiving authentication content fed back by the terminal, and determining whether the terminal is successfully authenticated according to the position information in the authentication information and the authentication content;
if yes, binding the position information of the terminal, the terminal identification and the authentication content, and storing the position information, the terminal identification and the authentication content in an authentication list.
Optionally, the processing unit is further configured to:
before receiving a screen projection request of the terminal, setting a first subnet and a second subnet; the first subnet is not in communication with the second subnet;
simulating the terminal positioned in the first subnet, sending a first screen projection service request to the screen projection service equipment positioned in the second subnet, and acquiring attribute information of the screen projection service equipment;
determining characteristic information of the screen projection service equipment according to the attribute information of the screen projection service equipment;
numbering the screen projection service equipment according to the characteristic information of the screen projection service equipment, and establishing a corresponding relation between the number of the screen projection service equipment and the characteristic information;
after the corresponding relation between the serial number of the screen projection service equipment and the characteristic information is established, sending a second screen projection service request to the screen projection service equipment; acquiring screen projection service attributes of the screen projection service equipment;
associating the screen projection service attribute of the screen projection service equipment with the serial number of the screen projection service equipment and then storing the screen projection service attribute in the local area;
generating domain name information of the screen projection service equipment according to the serial number, the port information and the IP address of the screen projection service equipment;
and generating a URL of the screen projection service equipment according to the domain name information of the screen projection service equipment, and associating the URL of the screen projection service equipment with the screen projection service attribute.
In a fourth aspect, an embodiment of the present invention provides a terminal, including:
the screen projection device comprises a sending unit and a display unit, wherein the sending unit is used for sending a screen projection request to a gateway, and the screen projection request comprises authentication information of the terminal, so that the gateway can determine a Uniform Resource Locator (URL) of screen projection service equipment corresponding to the authentication information according to the authentication information when determining that the terminal is authenticated;
the processing unit is used for receiving the URL of the screen projection service equipment sent by the gateway after the gateway confirms that the terminal is authenticated; analyzing the URL of the screen projection service equipment to obtain a screen projection address of the screen projection service equipment; and accessing a screen projection address of the screen projection service equipment, receiving the screen projection service attribute of the screen projection service equipment sent by the gateway, and projecting a screen on the screen projection service equipment according to the screen projection service attribute of the screen projection service equipment.
Optionally, the processing unit is further configured to:
receiving and displaying authentication prompt information sent by the gateway so that a user inputs corresponding authentication content according to the authentication prompt information for authentication;
and sending the authentication content to the gateway so that the gateway binds the position information of the terminal, the terminal identification and the authentication content after confirming that the terminal authentication is successful according to the position information of the terminal and the authentication content.
In a fifth aspect, an embodiment of the present invention provides a DLNA device screen projection system, including the gateway in the third aspect, the terminal in the fourth aspect, and a screen projection service device;
in a sixth aspect, an embodiment of the present invention provides a computing device, including:
a memory for storing a computer program;
and the processor is used for calling the computer program stored in the memory and executing the screen projection method of the DLNA equipment according to the obtained program.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer-executable program is stored, and the computer-executable program is used for causing a computer to execute a DLNA device screen projection method.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a screen projection system architecture of a DLNA device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a DLNA device screen projection method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating a process of establishing a correspondence between a serial number of a screen projection service device and feature information according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a process of generating a URL of a screen projection service device according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of another DLNA device screen projection method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a gateway according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a screen projection system architecture of a DLNA device according to an embodiment of the present invention. As shown in fig. 1, the system architecture may include a terminal 100, a gateway 300, and a screen-casting service apparatus 400.
In the system architecture, since the network in which the terminal 100 is located and the network in which the screen-casting service device 400 is located are isolated from each other and cannot communicate with each other, when a user uses the screen-casting service device 400 to perform screen casting, the user needs to establish a connection between the terminal 100 and the screen-casting service device 400. In practical applications, the DLNA device screen projection system may further include the wireless access point 200, and when the user uses the terminal 100 to perform a screen projection operation, the user accesses the first network through the wireless access point 200 to establish a communication connection with the gateway 300, and initiates a screen projection request to the gateway 300. After receiving the screen-casting request of the terminal 100, the gateway 300 determines whether the terminal 100 is authenticated according to the authentication information of the terminal 100, and after determining that the terminal 100 is authenticated, sends a Uniform Resource Locator (URL) of the screen-casting service device 400 in the second network, to which the terminal 100 requests screen casting, to the terminal 100. After receiving the URL of the screen-casting service device 400, the terminal 100 parses the URL of the screen-casting service device 400 to obtain the screen-casting address of the screen-casting service device 400, and then establishes a connection between the terminal 100 and the screen-casting service device 400 according to the screen-casting address of the screen-casting service device 400. The terminal 100 is a device with a wireless transceiving function, and may include a mobile phone, a tablet computer, a notebook computer, and the like, which is not limited specifically; the wireless access point 200 is an access point of a wireless network, commonly called a "hot spot", and is an access point for a user using a wireless device (mobile device such as a mobile phone, and wireless device such as a notebook computer) to enter a wired network; the gateway 300 is also called an inter-network connector and a protocol converter, and realizes network interconnection on a transport layer, and may be used for wide area network interconnection or local area network interconnection, and a router and the like may be used as the gateway 300; the screen-casting service device 400 is a device that receives screen-casting services, and may include a television, a set-top box, and the like, and is not particularly limited.
It should be noted that the structure shown in fig. 1 is only an example, and the embodiment of the present invention is not limited thereto.
Based on the above description, fig. 2 exemplarily shows a flow of a DLNA device screen projection method provided by an embodiment of the present invention, and the flow can be executed by the DLNA device screen projection system shown in fig. 1.
As shown in fig. 2, the process specifically includes:
step 201, the terminal sends a screen projection request to the gateway.
In the embodiment of the present invention, the screen projection request may include authentication information of the terminal. When a terminal needs to perform screen projection on corresponding screen projection service equipment, a wireless access point (wireless AP) can be accessed to a network to establish communication connection with a gateway, and a screen projection request is initiated to The gateway through a screen projection service equipment client installed on The terminal.
In addition, before the screen projection request is sent by the receiving terminal, the gateway sets a first subnet and a second subnet, and the first subnet is not communicated with the second subnet. The gateway simulates a screen projection service device client installed on a terminal located in a first subnet, sends a first screen projection service request to screen projection service devices located in a second subnet, and obtains attribute information of the screen projection service devices. And determining characteristic information of the screen projection service equipment according to the attribute information of the screen projection service equipment, numbering the screen projection service equipment according to the characteristic information of the screen projection service equipment, establishing a corresponding relation between the serial number of the screen projection service equipment and the characteristic information, and providing support for the gateway to generate domain name information of the screen projection service equipment on the basis of the serial number of the screen projection service equipment and associate the screen projection service attribute of the screen projection service equipment with the serial number of the screen projection service equipment. The attribute information of the screen projection service device may include a screen projection name, MAC, IP address, and the like of the screen projection service device.
After the corresponding relation between the serial number of the screen projection service equipment and the characteristic information is established, the gateway sends a second screen projection service request to the screen projection service equipment, obtains the screen projection service attribute of the screen projection service equipment, associates the screen projection service attribute of the screen projection service equipment with the serial number of the screen projection service equipment and stores the associated attribute in the local area. And then generating domain name information of the screen projection service equipment according to the serial number, port information and an IP (Internet Protocol) address of the screen projection service equipment, then generating a URL (Uniform resource locator) of the screen projection service equipment according to the domain name information of the screen projection service equipment, and associating the URL of the screen projection service equipment with the screen projection service attribute, so that when a terminal requests to project a screen on the corresponding screen projection service equipment, the gateway can quickly and accurately feed the URL of the screen projection service equipment requested by the terminal back to the terminal, and the terminal can accurately and effectively project the screen on the screen projection service equipment according to the screen projection service attribute of the screen projection service equipment when accessing the URL of the screen projection service equipment. The screen projection service attribute of the screen projection service device may include screen projection parameters of the screen projection service device, a format of a video file supporting playing (such as avi, dat, mkv, rm, rmvb, wmv, asf, mp4, and the like), a video picture definition (such as standard definition, high definition, super definition, and the like), a video playing action (such as start, end, pause, fast forward, fast backward, and the like), and the like.
Step 202, when the gateway determines that the terminal is authenticated, the gateway determines a Uniform Resource Locator (URL) of the screen projection service equipment corresponding to the authentication information according to the authentication information.
In the embodiment of the invention, after receiving a screen projection request sent by a terminal, a gateway determines whether the terminal is authenticated according to authentication information, and determines a Uniform Resource Locator (URL) of screen projection service equipment corresponding to the authentication information according to the authentication information when the terminal is determined to be authenticated. Because the authentication information can include the position information of the terminal and the identification information of the terminal, the gateway can determine the screen projection service equipment deployed in the position range according to the position information of the terminal. When the terminal is determined to be unauthenticated, sending authentication prompt information to the terminal so that the terminal inputs corresponding authentication content for authentication according to the authentication prompt information, then sending the authentication content to the gateway by the terminal so that the gateway determines whether the terminal is successfully authenticated according to the position information and the authentication content in the authentication information, and binding the position information, the terminal identifier and the authentication content of the terminal after the terminal is determined to be successfully authenticated. In addition, when judging whether the terminal is authenticated, the gateway can match the authentication list stored locally according to the identification information of the terminal and the position information of the terminal, if the matching is successful, the terminal is determined to be authenticated, otherwise, the terminal is determined to be unauthenticated. Further, when the locally stored authentication list is matched according to the identification information of the terminal and the location information of the terminal, whether the locally stored authentication list has the terminal or not can be determined according to the identification information of the terminal, if so, whether the location of the terminal changes or not is determined according to the location information of the terminal and the authentication location information of the terminal in the authentication list, if so, the terminal is determined to be unauthenticated, and if not, the terminal is determined to be authenticated. And if the terminal does not exist in the authentication list, determining that the terminal is not authenticated. In addition, when determining whether the terminal is successfully authenticated, judging according to the authentication content (such as a position mark) of the terminal, and if the authentication content fed back by the terminal does not exist, that is, no screen projection service device deployed in advance is in the range of the position mark, determining that the terminal authentication fails; and if the position mark exists and the position of the terminal is within the range of the position mark, determining that the terminal is successfully authenticated. The terminal is authenticated according to the authentication information, so that the accurate screen projection of the terminal can be ensured, the problem that the screen of the terminal is projected wrongly is avoided, the screen projection permission of the terminal can be determined, and the screen projection safety is ensured. Since the authentication list may further include authentication content of the terminal, such as a location mark (e.g., a room number), the gateway may determine the screen projection service device corresponding to the authentication information according to the authentication content.
Step 203, the gateway sends the URL of the screen projection service device to the terminal.
In the embodiment of the invention, after determining the uniform resource locator URL of the screen projection service equipment which requests screen projection by the terminal corresponding to the authentication information according to the authentication information, the gateway issues the URL to the terminal.
And 204, the terminal analyzes the URL of the screen projection service equipment to obtain a screen projection address of the screen projection service equipment.
In the embodiment of the invention, after the terminal receives the URL of the screen projection service equipment sent by the gateway after the gateway confirms that the terminal is authenticated, the URL of the screen projection service equipment is analyzed to obtain the screen projection address of the screen projection service equipment.
And step 205, the terminal accesses the screen projection address of the screen projection service equipment.
In the embodiment of the invention, when the screen projection address of the screen projection service equipment is obtained by the terminal, the screen projection parameters required when the screen projection service equipment client installed on the terminal projects the screen on the screen projection service equipment can be obtained through the screen projection address, so that the screen projection action can be completed according to the screen projection parameters.
And step 206, when determining that the terminal accesses the screen projection address of the screen projection service equipment, the gateway establishes connection between the terminal and the screen projection service equipment according to the corresponding relation between the screen projection address of the screen projection service equipment and the screen projection service equipment.
In the embodiment of the invention, when the gateway determines that the terminal accesses the screen-casting address of the screen-casting service equipment, the gateway establishes the connection between the terminal and the screen-casting service equipment according to the corresponding relation between the screen-casting address of the screen-casting service equipment and the screen-casting service equipment, so that the terminal can accurately and effectively cast the screen on the screen-casting service equipment according to the screen-casting service attribute of the screen-casting service equipment. Specifically, when the gateway identifies a screen projection address of the screen projection service device accessed by the terminal, the screen projection service device corresponding to the screen projection address can be analyzed from the screen projection address, the screen projection address is forwarded to the corresponding screen projection service device, and a communication channel between the terminal and the screen projection service device is established, so that the terminal and the screen projection service device can be in communication connection.
And step 207, the gateway sends the screen projection service attribute of the screen projection service equipment to the terminal.
And 208, the terminal performs screen projection on the screen projection service equipment according to the screen projection service attribute of the screen projection service equipment.
In the embodiment of the invention, after receiving the screen projection service attribute of the screen projection service equipment, the terminal projects the screen on the screen projection service equipment according to the screen projection service attribute of the screen projection service equipment.
In order to better explain the embodiment of the present invention in which the gateway establishes the correspondence between the serial number of the screen projection service device and the feature information, a process for establishing the correspondence between the serial number of the screen projection service device and the feature information provided by the embodiment of the present invention is described below through a specific implementation scenario.
As shown in fig. 3, the process includes the following steps:
step 301, the gateway device is powered on, and a first subnet and a second subnet are set.
The gateway equipment is initialized and started, and a first subnet A and a second subnet B are set, wherein the first subnet A and the second subnet B can not communicate with each other. The terminal (such as a mobile phone, a tablet computer, a notebook computer, etc.) is located in the first subnet a area, and the screen projection service equipment (such as a television, a set-top box, etc.) is located in the second subnet B area.
Step 302, the gateway simulates a terminal and initiates a first screen-casting service request to the screen-casting service equipment located in the second subnet area.
And the gateway simulation terminal is provided with a screen projection service device client, initiates screen projection service device detection (namely a first screen projection service request) to the screen projection service device positioned in the second subnet B area, and acquires attribute information (such as screen projection name, MAC (media access control) address and IP (internet protocol) address of the screen projection service device).
And step 303, the gateway establishes the characteristic information of the screen projection service equipment according to the IP, MAC, screen projection name and the like of the screen projection service equipment.
And the screen projection service equipment in the second subnet B area responds to the gateway detection, and after receiving the response, the gateway establishes unique characteristic information of the screen projection service equipment based on the IP, MAC, screen projection name and the like of the screen projection service equipment.
And step 304, numbering the screen projection service equipment by the gateway based on the characteristic information of the screen projection service equipment.
And 305, the gateway establishes a corresponding relation between the serial number of the screen projection service equipment and the characteristic information.
After the gateway establishes the corresponding relationship between the serial number of the screen projection service device and the characteristic information, the gateway can also record the interface information of the network to which the screen projection service device belongs according to the field network topology (such as the network topology among the gateway, the switch and the screen projection service device). Wherein, the screen projection service equipment (such as a set-top box) can be connected to the switch independently, and can also be connected to the wireless AP panel of the room.
The above embodiment shows that by setting the first subnet and the second subnet, the terminal and the screen projection service device can be safely isolated, which is helpful for protecting the privacy of both the terminal and the screen projection service device. And determining characteristic information of the screen projection service equipment according to the attribute information of the screen projection service equipment acquired by the gateway simulation terminal, numbering the screen projection service equipment according to the characteristic information of the screen projection service equipment, establishing a corresponding relation between the serial number of the screen projection service equipment and the characteristic information, and providing support for the gateway to generate domain name information of the screen projection service equipment on the basis of the serial number of the screen projection service equipment and to associate the screen projection service attribute of the screen projection service equipment with the serial number of the screen projection service equipment.
In order to better explain the embodiment of generating the URL of the screen projection service device, a process of generating the URL of the screen projection service device provided by the embodiment of the present invention is described below through a specific implementation scenario.
As shown in fig. 4, the process includes the following steps:
step 401, the gateway initiates a second screen-casting service request to the numbered screen-casting service devices.
And the gateway detects the service capability of the numbered screen projection service equipment (namely a second screen projection service request), and acquires the screen projection service attribute of the screen projection service equipment.
Step 402, after acquiring the screen projection service attribute of the screen projection service device, the gateway associates the screen projection service attribute of the screen projection service device with the serial number of the screen projection service device and stores the associated attribute in the local.
After acquiring the screen projection service attribute of the screen projection service equipment, the gateway stores the screen projection service attribute of the screen projection service equipment and the serial number of the screen projection service equipment in a local association mode based on the serial number of the screen projection service equipment. Wherein the number is used as a unique key value.
In step 403, the gateway generates domain name information of the screen projection service device based on the serial number, the port information, and the IP address of the screen projection service device.
And the gateway generates domain name information of the screen projection service equipment based on the number, the port information and the IP address. For example, assume that the number is 4900, the description file of the screen projection server is http:// b.x1.x2.x3:5678/xxx.xml file, and the domain name generated by mapping is 4900.5678.b.x1.x2.x 3. In addition, the gateway may analyze the generated domain name information, and set the analyzed domain name information as the IP of the gateway itself. For example, the domain name 4900.5678.b.x1.x2.x3 is resolved, and the resolved domain name is the gateway IP of the first subnet a.
Step 404, the gateway generates a URL of the screen projection service device based on the domain name information of the screen projection service device.
The gateway generates a URL of the screen projection service equipment based on the domain name information of the screen projection service equipment, and the terminal can acquire the screen projection service attribute of the screen projection service equipment with the corresponding number through the URL. Wherein the authenticated terminal can access the URL and the non-authenticated terminal prohibits access to the URL. The mapping is accessed through http://4900.5678.b.x1.x2.x3/xxx.xml, and the mapping is generated in the same way, wherein the mapping is accessed through http://4900.5678. b.x1.x2.x3:5678/xxx.xml, and the mapping is accessed through http://4900.5678. b.x1.x2.x3:5678, namely the mapping is accessed through http:// b.x1.x2.x3: 5678.
The above embodiment shows that the domain name information of the screen-casting service device is generated according to the number, the port information and the IP address of the screen-casting service device, then the URL of the screen-casting service device is generated according to the domain name information of the screen-casting service device, and the URL of the screen-casting service device is associated with the screen-casting service attribute. The method and the device can help the gateway to quickly and accurately feed back the URL of the screen projection service equipment requested by the terminal to the terminal when the terminal requests to project the screen on the corresponding screen projection service equipment, so that the terminal can accurately and effectively project the screen on the screen projection service equipment according to the screen projection service attribute of the screen projection service equipment when accessing the URL of the screen projection service equipment.
In order to better explain the embodiment of the screen projection method of the DLNA device of the present invention, the following describes a flow of another screen projection method of the DLNA device provided by the embodiment of the present invention through a specific implementation scenario. The embodiment of the invention is described by taking the screen projection of the terminal in the hotel scene as an example. It should be noted that other scenes requiring screen projection may also adopt the technical solution of the embodiment of the present invention to implement accurate screen projection, such as apartment, home environment, and the like, and are not particularly limited.
As shown in fig. 5, the process includes the following steps:
step 501, a terminal accesses a network and initiates a screen projection request to a gateway.
The user uses the terminal to access the network through the wireless access point in the hotel room to establish communication with the gateway of the hotel and initiates a screen-casting request to the gateway.
Step 502, the gateway determines whether the terminal is authenticated according to the authentication information, if so, step 503 is executed, and if not, step 504 is executed.
And after receiving a screen projection request sent by the terminal, the gateway detects whether the terminal is authenticated according to the authentication information. And if the terminal information does not exist or the position of the terminal is changed, the terminal is determined to be unauthenticated.
And step 503, the gateway issues the URL of the screen projection service equipment to the terminal according to the authentication information.
Step 504, the gateway sends the authentication prompt message "enter hotel room number" to the terminal.
And when the gateway determines that the terminal is not authenticated, sending authentication prompt information 'input hotel room number' to the terminal so that the user can authenticate according to the authentication prompt information.
And 505, the terminal analyzes the received URL of the screen projection service equipment to obtain a screen projection address of the screen projection service equipment.
And after receiving the URL of the screen projection service equipment, the terminal analyzes the URL and takes the analyzed URL as a screen projection address of the screen projection service equipment.
And step 506, the terminal accesses the screen projection address and performs screen projection according to the screen projection service attribute of the screen projection service equipment.
And the terminal accesses the screen-casting address, acquires the screen-casting service attribute of the screen-casting service equipment, and casts a screen on the screen-casting service equipment according to the screen-casting service attribute of the screen-casting service equipment.
And step 507, the terminal inputs the corresponding guest room number after receiving the authentication prompt message.
And after receiving the authentication prompt message sent by the gateway, the terminal inputs a corresponding guest room number for authentication according to the requirement of the authentication prompt message.
In step 508, the gateway determines whether the guest room number exists, if yes, step 509 is executed, and if not, step 501 is executed.
In step 509, the gateway authorizes the terminal to pass the authentication according to the guest room number input by the terminal and the location information of the terminal.
Step 510, after confirming that the terminal passes the authentication, the gateway binds the guest room number, the location information of the terminal, and the terminal identifier.
After binding the room number, the location information of the terminal, and the terminal identifier, step 503 is executed.
The embodiment shows that whether the terminal is authenticated or not is determined according to the authentication information, so that the accurate screen projection of the terminal can be ensured, the problem that the terminal projects a screen wrongly is avoided, and in addition, the screen projection permission of the terminal can be determined, so that the screen projection safety is ensured. And when the terminal is determined to be authenticated, determining the URL of the screen projection service equipment requested to be projected by the terminal according to the authentication information, and issuing the URL to the terminal so that the terminal analyzes the URL of the screen projection service equipment to obtain the screen projection address of the screen projection service equipment. And when determining that the terminal accesses the screen projection address of the screen projection service equipment, establishing connection between the terminal and the screen projection service equipment according to the corresponding relation between the screen projection address of the screen projection service equipment and the screen projection service equipment. Through the communication between the gateway proxy terminal and the screen projection service equipment, the point-to-point screen projection of the terminal and the screen projection service equipment can be realized under the condition of mixed networking of multi-terminal multi-screen projection service equipment, so that the safety and controllability of the screen projection service are realized, the problem of screen projection failure caused by incapability of sensing network authentication in the prior art can be solved, and the use difficulty of the screen projection service under the condition of waiting for authentication is also reduced.
Based on the same technical concept, fig. 6 exemplarily shows a gateway provided by an embodiment of the present invention, and the gateway can execute a flow of a DLNA device screen projection method.
As shown in fig. 6, the gateway includes:
a receiving unit 601, configured to receive a screen-casting request of a terminal; the screen projection request comprises authentication information of the terminal;
a processing unit 602, configured to determine whether the terminal is authenticated according to the authentication information; if so, determining a Uniform Resource Locator (URL) of screen projection service equipment, which is requested to project a screen by the terminal and corresponds to the authentication information, according to the authentication information, and issuing the URL to the terminal so that the terminal can analyze the URL of the screen projection service equipment to obtain a screen projection address of the screen projection service equipment; when the screen projection address of the screen projection service equipment is determined to be accessed by the terminal, establishing connection between the terminal and the screen projection service equipment according to the corresponding relation between the screen projection address of the screen projection service equipment and the screen projection service equipment; and feeding back the screen projection service attribute of the screen projection service equipment to the terminal so that the terminal can project the screen on the screen projection service equipment according to the screen projection service attribute of the screen projection service equipment.
Optionally, the processing unit 602 is further configured to:
when the terminal is determined to be unauthenticated, sending authentication prompt information to the terminal so that the terminal inputs corresponding authentication content according to the authentication prompt information for authentication;
determining whether the terminal is successfully authenticated according to the position information of the terminal and the authentication content;
and if so, binding the position information of the terminal and the authentication content.
Optionally, the authentication information includes location information of the terminal and identification information of the terminal;
the processing unit 602 is specifically configured to:
determining whether the terminal exists in an authentication list stored locally or not according to the identification information of the terminal, if so, determining whether the position of the terminal changes or not according to the position information of the terminal, if so, determining that the terminal is not authenticated, and if not, determining that the terminal is authenticated; determining that the terminal is not authenticated when it is determined that the terminal does not exist.
Optionally, the processing unit 602 is further configured to:
and confirming that the terminal authentication fails when the authentication content does not exist.
Optionally, the processing unit 602 is further configured to:
before receiving a screen projection request of the terminal, setting a first subnet and a second subnet; the first subnet is not in communication with the second subnet;
simulating the terminal positioned in the first subnet, sending a first screen projection service request to the screen projection service equipment positioned in the second subnet, and acquiring attribute information of the screen projection service equipment;
determining characteristic information of the screen projection service equipment according to the attribute information of the screen projection service equipment;
numbering the screen projection service equipment according to the characteristic information of the screen projection service equipment, and establishing a corresponding relation between the number of the screen projection service equipment and the characteristic information;
after the corresponding relation between the serial number of the screen projection service equipment and the characteristic information is established, sending a second screen projection service request to the screen projection service equipment; acquiring screen projection service attributes of the screen projection service equipment;
associating the screen projection service attribute of the screen projection service equipment with the serial number of the screen projection service equipment and then storing the screen projection service attribute in the local area;
generating domain name information of the screen projection service equipment according to the serial number, the port information and the IP address of the screen projection service equipment;
and generating a URL of the screen projection service equipment according to the domain name information of the screen projection service equipment, and associating the URL of the screen projection service equipment with the screen projection service attribute.
Based on the same technical concept, fig. 7 exemplarily shows a terminal that can execute the flow of the DLNA device screen projection method according to the embodiment of the present invention.
As shown in fig. 7, the terminal includes:
a sending unit 701, configured to send a screen projection request to a gateway, where the screen projection request includes authentication information of the terminal, so that when the gateway determines that the terminal is authenticated, the gateway determines, according to the authentication information, a uniform resource locator URL of a screen projection service device to which the terminal requests screen projection, and which corresponds to the authentication information;
a processing unit 702, configured to receive a URL of a screen projection service device sent by the gateway after confirming that the terminal is authenticated; analyzing the URL of the screen projection service equipment to obtain a screen projection address of the screen projection service equipment; and accessing a screen projection address of the screen projection service equipment, receiving a screen projection service attribute of the screen projection service equipment, and projecting a screen on the screen projection service equipment according to the screen projection service attribute of the screen projection service equipment.
Optionally, the processing unit 702 is further configured to:
receiving and displaying authentication prompt information sent by the gateway so that a user inputs corresponding authentication content according to the authentication prompt information for authentication;
and sending the authentication content to the gateway so that the gateway binds the position information of the terminal and the authentication content after confirming that the terminal is successfully authenticated according to the position information of the terminal and the authentication content.
Based on the same technical concept, an embodiment of the present invention provides a computing device, including:
a memory for storing a computer program;
and the processor is used for calling the computer program stored in the memory and executing the screen projection method of the DLNA equipment according to the obtained program.
Based on the same technical concept, an embodiment of the present invention provides a computer-readable storage medium storing a computer-executable program for causing a computer to execute a DLNA device screen projection method.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present application and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (11)

1. A DLNA equipment screen projection method is applied to a gateway and is characterized by comprising the following steps:
receiving a screen projection request of a terminal; the screen projection request comprises authentication information of the terminal;
determining whether the terminal is authenticated according to the authentication information;
if so, determining a Uniform Resource Locator (URL) of the screen projection service equipment corresponding to the authentication information according to the authentication information, and issuing the URL to the terminal so that the terminal can analyze the URL of the screen projection service equipment to obtain a screen projection address of the screen projection service equipment;
when determining that the terminal accesses the screen projection address of the screen projection service equipment, establishing connection between the terminal and the screen projection service equipment according to the corresponding relation between the screen projection address of the screen projection service equipment and the screen projection service equipment;
and feeding back the screen projection service attribute of the screen projection service equipment to the terminal so that the terminal can project the screen on the screen projection service equipment according to the screen projection service attribute of the screen projection service equipment.
2. The method of claim 1, wherein the authentication information includes location information of the terminal and identification information of the terminal;
the determining whether the terminal is authenticated according to the authentication information includes:
matching a locally stored authentication list according to the identification information of the terminal and the position information of the terminal, wherein the authentication list comprises: terminal identification information and authentication location information of the authenticated terminal;
if the matching is successful, determining that the terminal is authenticated;
otherwise, determining that the terminal is not authenticated.
3. The method of claim 2, wherein the method further comprises:
when the terminal is determined to be unauthenticated, sending authentication prompt information to the terminal so that the terminal inputs corresponding authentication content according to the authentication prompt information for authentication;
receiving authentication content fed back by the terminal, and determining whether the terminal is successfully authenticated according to the position information in the authentication information and the authentication content;
if yes, binding the position information of the terminal, the terminal identification and the authentication content, and storing the position information, the terminal identification and the authentication content in an authentication list.
4. The method of claim 1, prior to receiving a screen-cast request of the terminal, further comprising:
setting a first subnet and a second subnet; the first subnet is not in communication with the second subnet;
simulating the terminal positioned in the first subnet, sending a first screen projection service request to the screen projection service equipment positioned in the second subnet, and acquiring attribute information of the screen projection service equipment;
determining characteristic information of the screen projection service equipment according to the attribute information of the screen projection service equipment;
numbering the screen projection service equipment according to the characteristic information of the screen projection service equipment, and establishing a corresponding relation between the number of the screen projection service equipment and the characteristic information;
after the establishing of the corresponding relationship between the serial number of the screen projection service equipment and the characteristic information, the method further comprises the following steps:
sending a second screen projection service request to the screen projection service equipment; acquiring screen projection service attributes of the screen projection service equipment;
associating the screen projection service attribute of the screen projection service equipment with the serial number of the screen projection service equipment and then storing the screen projection service attribute in the local area;
generating domain name information of the screen projection service equipment according to the serial number, the port information and the IP address of the screen projection service equipment;
and generating a URL of the screen projection service equipment according to the domain name information of the screen projection service equipment, and associating the URL of the screen projection service equipment with the screen projection service attribute.
5. A screen projection method of DLNA equipment is applied to a terminal and is characterized by comprising the following steps:
sending a screen projection request to a gateway, wherein the screen projection request comprises authentication information of the terminal, so that the gateway can determine a Uniform Resource Locator (URL) of screen projection service equipment corresponding to the authentication information according to the authentication information when the gateway determines that the terminal is authenticated;
receiving a URL (uniform resource locator) of screen projection service equipment sent by the gateway after the gateway confirms that the terminal is authenticated;
analyzing the URL of the screen projection service equipment to obtain a screen projection address of the screen projection service equipment;
and accessing a screen projection address of the screen projection service equipment, receiving the screen projection service attribute of the screen projection service equipment sent by the gateway, and projecting a screen on the screen projection service equipment according to the screen projection service attribute of the screen projection service equipment.
6. The method of claim 5, wherein the method further comprises:
receiving and displaying authentication prompt information sent by the gateway so that a user inputs corresponding authentication content according to the authentication prompt information for authentication;
and sending the authentication content to the gateway so that the gateway binds the position information of the terminal, the terminal identification and the authentication content after confirming that the terminal authentication is successful according to the position information of the terminal and the authentication content.
7. A gateway, comprising:
the receiving unit is used for receiving a screen projection request of the terminal; the screen projection request comprises authentication information of the terminal;
the processing unit is used for determining whether the terminal is authenticated according to the authentication information; if so, determining a Uniform Resource Locator (URL) of the screen projection service equipment corresponding to the authentication information according to the authentication information, and issuing the URL to the terminal so that the terminal can analyze the URL of the screen projection service equipment to obtain a screen projection address of the screen projection service equipment; when the screen projection address of the screen projection service equipment is determined to be accessed by the terminal, establishing connection between the terminal and the screen projection service equipment according to the corresponding relation between the screen projection address of the screen projection service equipment and the screen projection service equipment; and feeding back the screen projection service attribute of the screen projection service equipment to the terminal so that the terminal can project the screen on the screen projection service equipment according to the screen projection service attribute of the screen projection service equipment.
8. A terminal, comprising:
the screen projection device comprises a sending unit and a display unit, wherein the sending unit is used for sending a screen projection request to a gateway, and the screen projection request comprises authentication information of the terminal, so that the gateway can determine a Uniform Resource Locator (URL) of screen projection service equipment corresponding to the authentication information according to the authentication information when determining that the terminal is authenticated;
the processing unit is used for receiving the URL of the screen projection service equipment sent by the gateway after the gateway confirms that the terminal is authenticated; analyzing the URL of the screen projection service equipment to obtain a screen projection address of the screen projection service equipment; and accessing a screen projection address of the screen projection service equipment, receiving the screen projection service attribute of the screen projection service equipment sent by the gateway, and projecting a screen on the screen projection service equipment according to the screen projection service attribute of the screen projection service equipment.
9. A DLNA device screen projection system, which is characterized by comprising the gateway of claim 7, the terminal of claim 8 and a screen projection service device.
10. A computing device, comprising:
a memory for storing a computer program;
a processor for calling a computer program stored in said memory, for executing the method of any one of claims 1 to 6 in accordance with the obtained program.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer-executable program for causing a computer to execute the method of any one of claims 1 to 6.
CN202010782479.4A 2020-08-06 2020-08-06 DLNA equipment screen projection method, gateway, terminal and system Pending CN111988660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010782479.4A CN111988660A (en) 2020-08-06 2020-08-06 DLNA equipment screen projection method, gateway, terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010782479.4A CN111988660A (en) 2020-08-06 2020-08-06 DLNA equipment screen projection method, gateway, terminal and system

Publications (1)

Publication Number Publication Date
CN111988660A true CN111988660A (en) 2020-11-24

Family

ID=73445189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010782479.4A Pending CN111988660A (en) 2020-08-06 2020-08-06 DLNA equipment screen projection method, gateway, terminal and system

Country Status (1)

Country Link
CN (1) CN111988660A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637842A (en) * 2020-12-14 2021-04-09 深圳市创维软件有限公司 Screen projection equipment connection method, system, equipment and storage medium
CN113242463A (en) * 2021-03-26 2021-08-10 北京汗粮科技有限公司 Method for enhancing screen projection interaction capability through expanded parameters
CN114900729A (en) * 2022-05-09 2022-08-12 吴境保 Method and system for forwarding multi-screen interactive data to prevent screen misprojection
CN112468859B (en) * 2020-11-30 2023-06-16 深圳乐播科技有限公司 Screen service publishing method, device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130067037A1 (en) * 2011-09-13 2013-03-14 Ricoh Company, Ltd. Networked data projecting system, projector, and content projecting method
JP2016027443A (en) * 2014-07-04 2016-02-18 サイレックス・テクノロジー株式会社 Relay device, relay system, and program
CN109408020A (en) * 2018-12-18 2019-03-01 锐捷网络股份有限公司 It is a kind of to realize the method and apparatus for throwing screen service
CN109451345A (en) * 2018-11-05 2019-03-08 四川长虹电器股份有限公司 A kind of method that DLNA throws screen authority managing and controlling in Android intelligent television
CN110113304A (en) * 2019-03-25 2019-08-09 视联动力信息技术股份有限公司 A kind of cloud throws the method and view networked system of screen
CN110248224A (en) * 2019-05-24 2019-09-17 南京苏宁软件技术有限公司 Throw screen connection method for building up, device, computer equipment and storage medium
CN110876080A (en) * 2018-08-30 2020-03-10 华为技术有限公司 Video screen projection method and device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130067037A1 (en) * 2011-09-13 2013-03-14 Ricoh Company, Ltd. Networked data projecting system, projector, and content projecting method
JP2016027443A (en) * 2014-07-04 2016-02-18 サイレックス・テクノロジー株式会社 Relay device, relay system, and program
CN110876080A (en) * 2018-08-30 2020-03-10 华为技术有限公司 Video screen projection method and device, computer equipment and storage medium
CN109451345A (en) * 2018-11-05 2019-03-08 四川长虹电器股份有限公司 A kind of method that DLNA throws screen authority managing and controlling in Android intelligent television
CN109408020A (en) * 2018-12-18 2019-03-01 锐捷网络股份有限公司 It is a kind of to realize the method and apparatus for throwing screen service
CN110113304A (en) * 2019-03-25 2019-08-09 视联动力信息技术股份有限公司 A kind of cloud throws the method and view networked system of screen
CN110248224A (en) * 2019-05-24 2019-09-17 南京苏宁软件技术有限公司 Throw screen connection method for building up, device, computer equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468859B (en) * 2020-11-30 2023-06-16 深圳乐播科技有限公司 Screen service publishing method, device and storage medium
CN112637842A (en) * 2020-12-14 2021-04-09 深圳市创维软件有限公司 Screen projection equipment connection method, system, equipment and storage medium
CN112637842B (en) * 2020-12-14 2023-02-28 深圳市创维软件有限公司 Screen projection equipment connection method, system, equipment and storage medium
CN113242463A (en) * 2021-03-26 2021-08-10 北京汗粮科技有限公司 Method for enhancing screen projection interaction capability through expanded parameters
CN113242463B (en) * 2021-03-26 2023-03-03 北京汗粮科技有限公司 Method for enhancing screen projection interaction capability through expanded parameters
CN114900729A (en) * 2022-05-09 2022-08-12 吴境保 Method and system for forwarding multi-screen interactive data to prevent screen misprojection

Similar Documents

Publication Publication Date Title
CN111988660A (en) DLNA equipment screen projection method, gateway, terminal and system
EP3425566B1 (en) Electronic device and method of registering personal cloud apparatus in user portal server thereof
EP2680500B1 (en) Application discovery
US9413762B2 (en) Asynchronous user permission model for applications
US20140052993A1 (en) Information operating device, information output device, and information processing method
US10172116B2 (en) Messaging abstraction in a mobile device server
US20120137315A1 (en) System for monetizing resources accessible to a mobile device server
CN105323628B (en) Cross-screen playing method and system based on DLNA (digital Living network alliance), browser end device and playing device
JP2007534046A (en) Server device, client device, and network system
EP2666256B1 (en) Method and apparatus for phone communication using home network
JP6742375B2 (en) System and method for distributing digital content
CN104683320A (en) Home network multimedia content sharing access control method and device
CN112383500B (en) Method and system for controlling access request related to screen projection equipment
US20120331162A1 (en) Method for sharing contents using temporary keys and electronic device using the same
CN109104774B (en) Data transmission method and system
JP6351000B2 (en) Broadcast reception system and broadcast communication cooperation system
JP6044850B2 (en) Information terminal, information processing method, and control program
CN117939209A (en) Methods, systems, and media for presenting media content items using multiple devices
WO2023109336A1 (en) Smart home control method, device, and storage medium
KR102133903B1 (en) Electronic device and Method for registering personal cloud apparatus in user portal server thereof
CN117478449B (en) Control method and device of third party equipment, electronic equipment and medium
KR102353474B1 (en) Contents providing server for providing different service each apparatus and control method thereof, communication apparatus communicating the contents providing server and control method thereof
KR102102780B1 (en) Electronic device and Method for registering personal cloud apparatus in user portal server thereof
CN113490017A (en) Method and device for accessing video playing equipment across network
CN116916087A (en) Video screen projection method and device, electronic equipment and storage medium

Legal Events

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

Application publication date: 20201124