Projection screen safety control method and equipment of digital signage equipment, medium and product
By receiving and verifying the device verification code in the screen projection information in the digital signage equipment, we ensure that only legal devices can control the digital signage equipment, and solve the problem of insufficient screen projection security caused by the disclosure of the DLNA protocol and realize the security of the equipment Verification and information protection.
Patent Information
- Application Number
- CN202411293039.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2025-01-10
AI Technical Summary
Due to the disclosure of the DLNA protocol, digital signage equipment is easily controlled and interfered by illegal control devices in the LAN, and the screen projection security is insufficient.
By receiving the screen projection information of the control device in the same LAN, analyzing the device verification code, and verifying it according to the built-in verification code list. Playback is allowed when the verification is successful, and prohibiting when the failure is disabled, ensuring the authentication of the legal device.
It effectively prevents interference from illegal equipment, ensures the security of screen projection information of digital signage equipment, and avoids the problem of interference by illegal control equipment.
Smart Images

Figure CN119299131A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet of Things technology, and in particular to screen projection security control methods, devices, media and products for digital signage devices. Background Art
[0002] Digital signage refers to a multimedia professional audio-visual system that publishes advertising, commercial, financial and entertainment information through terminal display devices. Digital signage is widely used in homes, shopping malls, supermarkets, cinemas and other places where people gather.
[0003] More and more digital signage devices use DLNA protocol for screen projection. DLNA (Digital Living Network Alliance) protocol can solve the interconnection of wireless and wired networks including personal computers, consumer appliances and mobile devices, enabling unlimited sharing and growth of digital media and content services. In DLNA protocol, multiple control devices can connect to and control the same digital signage device.
[0004] However, since the DLNA protocol is public and open, TV terminals, computers, mobile phones and Pads can all be connected to the same local area network through the DLNA protocol. Digital signage devices can be controlled by opening and accessing the corresponding application. Therefore, digital signage devices may be controlled and interfered by illegal control devices in the current local area network, which makes the screen projection of digital signage devices unsafe.
[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0006] The main purpose of this application is to provide a screen projection security control method, device, medium and product for a digital signage device, aiming to solve the technical problem that the existing digital signage device may be interfered with by illegal control devices accessed using the DLNA protocol in the current local area network.
[0007] To achieve the above purpose, the present application proposes a screen projection security control method for a digital signage device based on the DLNA protocol, which is applied to the digital signage device. The screen projection security control method includes:
[0008] According to the DLNA protocol, receive the screen projection information of any control device in the same local area network;
[0009] Parse the projection information and obtain the device verification code of any control device;
[0010] Verify the device verification code according to the built-in verification code list of the digital signage device;
[0011] When the verification code of the device fails, the above screen projection information is cleared;
[0012] When the verification code of the device is successfully verified, the playback decision corresponding to the projection information is executed according to the playback status of the digital signage device.
[0013] In addition, to achieve the above-mentioned purpose, the present application also provides a digital signage device, which includes: a memory, a processor, and a computer program stored in the memory and run on the processor, and the computer program is configured to implement the steps of the screen projection security control method of a digital signage device based on the DLNA protocol as provided in any of the above-mentioned technical solutions.
[0014] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the screen projection security control method of the digital signage device based on the DLNA protocol provided by any of the above-mentioned technical solutions are implemented.
[0015] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the steps of the screen projection security control method of a digital signage device based on the DLNA protocol as provided in any of the above-mentioned technical solutions.
[0016] One or more technical solutions proposed in this application have at least the following technical effects:
[0017] According to the DLNA protocol, the screen projection information of any control device in the same local area network is received, and then the screen projection information is parsed to obtain the device verification code of the control device. The device verification code corresponds to the control device one by one and is used to verify the identity of the control device. A verification code list is built into the digital signage device, and the verification code list includes the device verification code and the control device corresponding to the verification code. In this way, the device verification code of the control device can be compared and verified. If the verification is successful, it means that the control device is a safe and legal control device. The digital signage device can allow the control device to access, and then execute the playback decision corresponding to the screen projection information according to the playback status of the digital signage device; if the device verification code comparison verification fails, it means that the control device may be illegal. At this time, the playback of the screen projection information is prohibited and the screen projection information is cleared. Through the above method, the control device using the DLNA protocol to access the same local area network can be securely verified, solving the problem that the digital signage device is easily controlled and interfered by illegal control devices in the current local area network due to the public and open access method of the DLNA protocol in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0020] Figure 1 An application scenario diagram provided for an embodiment of the present application;
[0021] Figure 2 A flowchart of a first method for controlling screen projection security of a digital signage device based on the DLNA protocol provided in an embodiment of the present application;
[0022] Figure 3 A flowchart of a method for verifying a historical device verification code of a control device provided in an embodiment of the present application;
[0023] Figure 4 For this application Figure 2 A schematic diagram of a flow chart of a method for parsing resource file information provided by the illustrated embodiment;
[0024] Figure 5 For this application Figure 2 A flowchart of a method for executing a decision to play screen projection information provided by the illustrated embodiment;
[0025] Figure 6 This application Figure 5 A flowchart of a method for playing according to a play selection instruction of a permission control device provided by the illustrated embodiment;
[0026] Figure 7 It is a flowchart of a network access verification method for a control device provided in an embodiment of the present application;
[0027] Figure 8 It is a flowchart of a method for playing screen projection information according to the playback priority provided by an embodiment of the present application;
[0028] Fig. 9 This is a flow chart of an illegal device intrusion prompt method provided by an embodiment of the present application;
[0029] Fig.10 It is a flow chart of a second method for controlling screen projection security of a digital signage device provided in an embodiment of the present application;
[0030] Fig.11It is a structural schematic diagram of a digital signage device provided in an embodiment of the present application.
[0031] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0032] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0033] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0034] The existing technology has the following technical problems: In the DLNA protocol, multiple control devices can connect to and control the same digital signage device. However, since the DLNA protocol is public and open, TV terminals, computers, mobile phones and Pads can all be connected to the same local area network through the DLNA protocol, and only need to open and access the corresponding application. Therefore, the digital signage device may be controlled and interfered by illegal control devices in the current local area network, which makes the screen projection of the digital signage device unsafe.
[0035] In order to solve the above technical problems, the present application provides a solution, according to the DLNA protocol, receiving the screen projection information of any control device in the same local area network; parsing the screen projection information to obtain the device verification code of the control device; verifying the device verification code according to the verification code list built into the digital signage device; when the verification of the device verification code fails, prohibiting the playback of the screen projection information and clearing the screen projection information; when the verification of the device verification code succeeds, selectively playing the screen projection information according to the playback status of the digital signage device, and executing the playback decision corresponding to the screen projection information. The technical solution of the present application can solve the problem in the existing method that the digital signage device may be interfered by the illegal control device connected to the current local area network using the DLNA protocol.
[0036] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, personal computer or mobile phone, or an electronic device and computer-readable storage medium that can realize the above functions.
[0037] In order to better understand the above technical solution, the exemplary embodiments of the present application will be described in more detail with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments shown here. On the contrary, these embodiments are provided to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0038] To achieve the above technical objectives, see Figure 1 , Figure 1 This is an application scenario diagram provided by the embodiment of the present application. Figure 1 In the application scenario shown, a mobile phone, a pad, a laptop computer and a server may all act as a control device 1 of a digital signage device, so that multiple control devices 1 are connected to the same local area network with the digital signage device through the DLNA protocol, and multiple control devices 1 can control the digital signage device 2 through the DLNA protocol and project screen information to the digital signage device 2. However, because the DLNA protocol is public and open, such illegal and unauthorized devices may also be connected to the local area network through the DLNA protocol, which will make the digital signage device 2 unsafe.
[0039] Therefore, the following technical solution of the present application sets a device verification code, such as a PIN code. Only after passing the verification code list built into the digital signage device can the digital signage device be connected and the projection information be selectively played. If the verification fails, the projection information of the control device is prohibited from being played, thereby ensuring the information security of the digital signage device. By adding a verification method to the DLNA projection protocol at the receiving end on the digital signage device and adding a PIN code verification at the resource file transfer interface, the resource file link must contain a PIN code parameter to continue the playback operation; and if the current digital signage device is being played by device A, the playback operation will not be performed, thereby achieving the purpose of A's playback resources not being interfered with.
[0040] To achieve the above purpose, the security problem of existing digital signage devices using DLNA protocol to project screens is solved to avoid interference from control devices in the current local area network. The present application provides the following embodiments. The application premise of the following embodiments of this scheme is as follows: 1. All devices, including control devices and digital signage devices, are in the same local area network; 2. Both the sending end and the receiving end use DLNA services.
[0041] To achieve the above technical objectives, see Figure 2 , Figure 2 A screen projection security control method for a digital signage device based on the DLNA protocol provided in an embodiment of the present application is applied to a digital signage device. The screen projection security control method includes:
[0042] S110: Receive the projection information of any control device in the same local area network according to the DLNA protocol. The DLNA protocol can solve the interconnection of wireless and wired networks including personal computers, consumer electronics and mobile devices, and enable unlimited sharing and growth of digital media and content services. Figure 1As shown in the DLNA protocol, multiple control devices can connect to and control the same digital signage device and send projection information to the same digital signage device. Specifically, the control device usually has a built-in DLNA interface, and by connecting to the DLNA interface, it can receive projection information.
[0043] S120: Parse the screen projection information to obtain the device verification code of the control device. The embodiment of the present application adds a verification method at the receiving end of the digital signage device, that is, in the DLNA screen projection protocol; adds a device verification code, such as a PIN code, at the resource file transmission interface. In this way, the screen projection information must be accompanied by the PIN code. By parsing the screen projection information, the PIN code and the corresponding resource file can be extracted, and the PIN code can be verified. Specifically, the screen projection information includes at least a resource file and a device verification code.
[0044] S130: Verify the device verification code according to the built-in verification code list of the digital signage device. In the embodiment of the present application, the digital signage device has a pre-built-in verification code list, and the verification code list includes the device verification codes of the legal control devices. Therefore, by using the verification code list of the digital signage device to verify the device verification code, it is possible to determine whether the control device corresponding to the device verification code is legal. Only when the control device is legal can the playback operation of the projection information be continued on the digital signage device.
[0045] S140: When the verification of the device verification code fails, the projection information is cleared. The failure of the device verification code verification indicates that the control device accessed through the DLNA protocol may be an illegal control device, so the projection information is cleared at this time and the playback of the projection information is prohibited. For example: In the same local area network of a home, a home theater is used as a digital signage device. A child’s mobile phone is connected to the home theater through the DLNA protocol to project movie-type projection information. At this time, the home theater verifies the device verification code of the child’s mobile phone in the above manner. If the device verification code of the child’s mobile phone fails to be verified, the child is prevented from using the home theater to project movies and other projection information.
[0046] S150: When the verification code of the device is successfully verified, the playback decision corresponding to the projection information is executed according to the playback status of the digital signage device. The playback decision corresponding to the projection information includes executing the playback of the projection information, or continuing the current playback status, etc. If the device verification code is successfully verified, it means that the control device is a registered legal control device. At this time, it is necessary to check whether the digital signage device is currently playing the current resource file, and then selectively play the projection information sent by the above control device or continue the current playback status according to the current resource file playback status. In this way, the resources currently played by the digital signage device will not be disturbed, reducing the occurrence of playing erroneous content.
[0047] In summary, the technical solution provided by the embodiment of the present application can obtain the device verification code of any device by receiving the screen projection information of any control device in the same local area network according to the DLNA protocol, and then parsing the screen projection information. The device verification code corresponds to the control device one-to-one and is used to verify the identity of the control device. A verification code list is built into the digital signage device, and the verification code list includes the device verification code and the control device corresponding to the verification code. In this way, the device verification code of the control device can be compared and verified. If the verification is successful, it means that the control device is a safe and legal control device. The digital signage device can allow the control device to access and control. If the device verification code comparison verification fails, it means that the control device may be illegal, and the playback of the screen projection information is prohibited. In the above manner, the control device that uses the DLNA protocol to access the same local area network can be securely verified, which solves the problem that the digital signage device is easily controlled and interfered by illegal control devices in the current local area network due to the public and open access method of the DLNA protocol in the prior art.
[0048] In addition, as a preferred embodiment, Figure 3 As shown, before parsing the projection information and obtaining the device verification code of the control device, the above method also includes:
[0049] S201: Obtain the IP address of the control device, and use the IP address to query whether the historical device verification codes of the control device have all been successfully verified within a predetermined number of verifications. The IP address of the control device can be sent by the control device or obtained from the IP address list built into the digital signage device.
[0050] S202: If the verification code of the historical device is successfully verified within the predetermined number of verifications, the step of executing the playback decision corresponding to the projection information is executed according to the playback status of the digital signage device;
[0051] S203: If the historical device verification code fails to be verified within the predetermined number of verifications, the screen projection information is parsed to obtain the device verification code of the control device and subsequent steps.
[0052] like Figure 4 As shown, the above step S120: parsing the projection information to obtain the device verification code of the control device includes:
[0053] S121: Determine whether the screen projection information is encrypted.
[0054] S122: If the projection information is encrypted, the projection information is decrypted using an agreed decryption key according to a predetermined encryption technology to obtain the device verification code and resource link.
[0055] By setting encryption and decryption keys, the transmission security of projection information can be guaranteed to prevent it from being stolen by illegal control devices connected using the DLNA protocol in the same local area network.
[0056] S123: Use the IP address to verify the device verification code. Fig.11 As shown, the IP address is set in the device verification code, for example, the PIN code of the control device B includes the IP address: 192.168.1.100:8080. By verifying the IP address, it is possible to determine whether the control device B is a legitimate control device, thereby improving the screen projection security of the digital signage device.
[0057] When the device verification code is successfully verified, the subsequent step of verifying the device verification code according to the verification code list built into the digital signage device is performed. Finally, according to the resource file link, the corresponding resource file is searched and played.
[0058] The technical solution provided by the embodiment of the present application determines whether the projection information is encrypted. When the projection information is encrypted, the projection information is decrypted using the agreed decryption key, so that the resource file link can be obtained to ensure the transmission security of the projection information. After decrypting and obtaining the resource file link, the resource file is searched and played, thereby improving the DLNA projection security of the digital signage device and reducing interference from other devices.
[0059] Specifically, as a preferred embodiment, Figure 5 As shown, in the above method, step S150: the step of selectively playing the projection information according to the current resource file playing status of the digital signage device includes:
[0060] S151: Determine whether the digital signage device is currently in a waiting state or a playing state. The waiting state means that the digital signage device currently has no resource files being played and is waiting for screen projection information; the playing state means that the digital signage device is currently playing a resource file and needs to inquire the authority control device to selectively play the projection information.
[0061] Because the digital signage device may be connected to multiple control devices in the same local area network, the digital signage device may be controlled by the current control device and is currently playing a resource file. In order to avoid conflicts in the playback of resource files, it is necessary to determine whether the digital signage device is currently playing a resource file.
[0062] S152: If the digital signage device is in a waiting state, the projection information is played. If it is in a waiting state, it means that the digital signage device is not currently playing any resource files. When the device verification code passes, it means that the control device corresponding to the projection information is a legal control device, so the digital signage device can play the projection information.
[0063] S153: If the digital signage device is in the playing state, then according to the play selection instruction of the authority control device, play the above-mentioned screen projection information or continue the current playing state. If the digital signage device is in the playing state, that is, the resource file is currently being played, the digital signage device sends a play selection prompt message to the control device, so that the play selection instruction of the authority control device can be obtained, and according to the play selection instruction, the screen projection information is selectively played or the above-mentioned playing state is continued. For example: In a meeting, when the digital signage device is playing the current resource file, if the screen projection information of any control device is received, the digital signage device can display a prompt box on the screen to prompt the user whether to switch to the screen projection information sent by any of the above-mentioned control devices. If the master user with the highest authority sends a play selection instruction through the authority control device and chooses to continue playing the current resource file, the current resource file can be continued to be played; if the user chooses to switch to the above-mentioned screen projection information, the current resource file can be stopped and the playback process of the above-mentioned screen projection information can be switched.
[0064] Specifically, as a preferred embodiment, Figure 1 As shown, in the embodiment of the present application, an authority control device is set in the same local area network; the playback authority of other control devices is less than that of the authority control device. If the playback instructions of other control devices violate those of the authority control device, the playback instructions of other control devices will not be executed.
[0065] like Figure 6 As shown, step S153: the step of selectively playing the projection information or the current resource file according to the play selection instruction of the control device includes:
[0066] S1531: Determine whether a play selection instruction is received within a predetermined prompt time. The play selection instruction is issued by the authority control device, such as the play selection instruction issued by the current control device. Because the digital signage device is currently playing the current resource file, the digital signage device only accepts the play selection instruction of the authority control device or the current control device at this time.
[0067] S1532: If a play selection instruction is received from the permission control device within the predetermined prompt time, the screen projection information is played or the current playback status is continued according to the play selection instruction of the permission control device. The permission control device has the highest play authority. If a play selection instruction is received from the permission control device within the predetermined prompt time, the screen projection information is played or the current resource file is continued according to the play selection instruction of the permission control device. Or
[0068] S1533: If the play selection instruction of the permission control device is not received within the predetermined prompt time, the current playing state is continued. If the play selection instruction of the permission control device is not received, in order to avoid the current playing resources of the digital signage device being disturbed, the play operation of the above-mentioned screen projection information is no longer performed, so as to avoid playing the wrong content and ensure the screen projection security of the digital signage device in DLNA.
[0069] Specifically, as a preferred embodiment, Figure 7 As shown, the screen projection security control method of the digital signage device further includes, before the step of receiving the screen projection information of any control device in the same local area network according to the DLNA protocol:
[0070] S301: Obtaining the access password of the local area network where the digital signage device is located. The access password can be sent to the digital signage device by the authority control device. After sending the password, the digital signage device can verify the subsequent access devices.
[0071] S302: When there is a control device connected to the local area network, determine whether the control device is a permission control device; if the control device is a permission control device, allow the control device to access the local area network; if the control device is not a permission control device, execute step S303.
[0072] S303: Use the access password to perform access verification on the control device.
[0073] S304: When the access verification of the control device succeeds, the control device is allowed to access the local area network.
[0074] S305: When the access check of the control device fails and there is an authority control device in the local area network, an illegal access notification is sent to the authority control device.
[0075] In the technical solution provided in the embodiment of the present application, by obtaining the access password of the local area network, when the control device accesses the local area network, if the non-authorization control device performs access verification on the control device, it can only be allowed to access the local area network when the access verification is successful. When the verification fails, it means that the control device is not legal and there may be an illegal device intrusion. At this time, an illegal access notification is sent to the authorization control device, thereby improving the security of the local area network access and preventing the digital signage device from being controlled by other illegal control devices.
[0076] Specifically, as a preferred embodiment, Figure 8 As shown, all control devices in the same local area network are set with playback priorities; the above-mentioned screen projection security control method also includes:
[0077] S401: When screen projection information of multiple control devices is received, the device verification codes of the multiple control devices are verified respectively according to the verification code list.
[0078] S402: If the device verification codes of any two or more control devices among the multiple control devices are successfully verified and the digital signage device is in a waiting state for playback, the permission control device is asked for playback priority;
[0079] S403: When the playback priority is received within the scheduled time, the projection information of any two or more control devices is played in the order of the playback priority.
[0080] S404: When the playback priority is not received within the predetermined time, the screen projection information of any two or more control devices is played according to the order in which the screen projection information is received.
[0081] The technical solution provided by the embodiment of the present application verifies the device verification codes of the multiple devices according to the verification code list when receiving the screen projection information of multiple control devices. When the device verification codes of any two or more control devices are successfully verified and the digital signage device is in a waiting state for playback, the permission control device is asked for the playback priority. In this way, when the playback priority sent by the permission control device is received, the screen projection information of any two or more control devices mentioned above can be played in the order of the above playback priority, so that the screen projection playback of resource files can be performed continuously, thereby improving the playback efficiency of the digital signage device. Of course, even if the digital signage device is currently playing other resource files, after receiving the switching instruction of the permission control device, it can also play the screen projection information of the multiple control devices mentioned above in sequence according to the switching control instruction of the permission control device in the order of playback priority. If the above playback priority is not received within the predetermined time, the screen projection information of any two or more control devices mentioned above is played in the order of receiving the screen projection information.
[0082] In addition, in order to further ensure the security of the projection information of the control device, as a preferred embodiment, Fig. 9 As shown, the above-mentioned screen projection security control method also includes:
[0083] S501: When the digital signage device fails to verify the device verification code, it sends an identity verification request to the control device, and the identity verification request is used to request the device identity information of the control device. The number of times the device verification code fails can be set, for example, if the verification fails three times, an identity verification request is sent to the control device.
[0084] S502: Using the device whitelist preset in the digital signage device, verify the device identity information of the control device, wherein the device whitelist can be provided by the authority control device.
[0085] S503: If the device identity information is not received or it is determined that the device identity information is not in the device whitelist, disconnecting the DLNA connection with the control device.
[0086] S504: Prompt illegal device intrusion.
[0087] The screen projection security control method provided in the embodiment of the present application sends an identity verification request to the control device when the device verification code verification fails, and then uses the digital signage device's own device whitelist to verify the device identity of the control device. In this way, when the device identity verification fails, it means that the control device is illegal. At this time, the DLNA connection with the control device is disconnected, thereby avoiding illegal devices from invading the digital signage device and posing a hidden danger to the screen projection security of the digital signage device. Specifically, if in the same local area network, the authority control device is the father's computer, and a device whitelist is set for the digital signage device through the father's computer, if the child's mobile phone is not in the device whitelist, even if the child's mobile phone can access the digital signage device through the device verification code for screen projection, the child's mobile phone will also disconnect from the digital signage device. At this time, the digital signage device can also prompt the authority control device that an illegal device has invaded, thereby ensuring the screen projection security of the device.
[0088] Also, see Fig.10 , Fig.10 A flowchart of a screen projection security control method for a digital signage device provided in an embodiment of the present application. Fig.10 As shown, the screen projection security control method includes:
[0089] S601: Control device A (DLNA transmitter); establish connection with the digital signage using DLNA protocol.
[0090] S602: Use DES encryption technology to encrypt the PIN code with a key, and then splice it into the resource link.
[0091] S603: Send the resource link with the correct PIN code:
[0092] Http: / / 192.168.1.100:8080 / video-item-2300?pin=fs@d$f^&x.
[0093] S604: Control device B (DLNA transmitter) to establish a connection with the digital signage using the DLNA protocol.
[0094] S605: Sending a resource link with an incorrect PIN code:
[0095] Http: / / 192.168.1.100:8080 / video-item-2300?pin=@d$f^&x.
[0096] S606: Control device C (DLNA transmitter) to establish a connection with the digital signage using the DLNA protocol.
[0097] S607: Use DES encryption technology to encrypt the PIN code with a key and then splice it into the resource link.
[0098] S608: Send resource link with correct PIN code
[0099] Http: / / 192.168.1.100:8080 / video-item-2300?pin=fs@d$f^&xf.
[0100] S609: Digital signage (DLNA receiver); using DLNA protocol to access the same local area network as the above control devices, and receiving the screen projection information sent by the above control devices.
[0101] S610: Determine whether to enable PIN code verification.
[0102] S611: Obtain the IP address to determine whether the previous PIN code verification has passed; if so, execute step S616; if not, execute step S612.
[0103] S612: Parse the encrypted PIN code in the resource link.
[0104] S613: Use the DES encryption technology to decrypt the PIN code using the key.
[0105] S614: Check whether the PIN code in the resource link is correct; if correct, execute step S615; if wrong, end directly.
[0106] S615: Save the IP for easy verification next time.
[0107] S616: Determine whether the do not disturb mode is turned on; if so, execute step S617; if not, execute step S618.
[0108] S617: Determine whether the resource is currently being played; if the resource is being played, end; if the resource is not being played, execute step S618.
[0109] S618: Play resources.
[0110] The purpose of this application is to solve the security issues of digital signage devices using DLNA screen projection and avoid interference from other control devices in the current local area network.
[0111] Combination Fig.10 As shown in the content, the equipment required for this application includes:
[0112] Sending end: control device A, control device B, control device C.
[0113] Receiving end: Digital signage equipment
[0114] The prerequisites for implementing the technical solution of this application are: 1. All devices are in the same local area network; 2. Both the sending end and the receiving end use DLNA services.
[0115] Combination Fig. 9 As shown, in the specific steps,
[0116] Step 1: A controls the device to select a video and sends the video link (resource file link) and the correct PIN code combination to the digital signage.
[0117] Step 2: The digital signage receives the video link sent by the A control device, and parses and verifies the video link. When the verification is passed, it is determined that no other resources are currently being played. Start playing the link sent by the A device.
[0118] Step 3: At this point, device B selects the video and sends the video link combined with the wrong PIN code to the digital signage.
[0119] Step 4: The digital signage receives the video link sent by device B, parses and verifies the video link, and ends without taking any action if the verification fails.
[0120] Step 5: At this point, device C selects the video and sends the video link and the correct PIN code combination to the digital signage.
[0121] Step 6: The digital signage receives the video link sent by device C, parses and verifies it, and the verification is successful, but the content of device A is currently being played, so it ends without doing anything.
[0122] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the screen projection security control method of the digital signage device of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0123] In addition, to achieve the above-mentioned purpose, the present application also provides a digital signage device, which includes: a memory, a processor, and a computer program stored in the memory and run on the processor, and the computer program is configured to implement the steps of the screen projection security control method of a digital signage device based on the DLNA protocol as provided in any of the above-mentioned technical solutions.
[0124] Reference below Fig.11, which shows a schematic diagram of the structure of a digital signage device suitable for implementing an embodiment of the present application. The projection screen security control device in the embodiment of the present application can include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.11 The device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0125] like Fig.11 As shown, the device can include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can operate the device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a model building device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have instead.
[0126] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0127] The digital signage device provided by the present application adopts the screen projection security control method of the digital signage device in the above embodiment, which can solve the problem that the digital signage device in the prior art method may be interfered by an illegal control device accessed using the DLNA protocol under the current local area network. Compared with the prior art, the beneficial effects of the device provided by the present application are the same as the beneficial effects of the screen projection security control method provided by the above embodiment, and the other technical features in the device are the same as the features disclosed in the previous embodiment method, which will not be repeated here.
[0128] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0129] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
[0130] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the screen projection security control method of the digital signage device based on the DLNA protocol provided in any of the above-mentioned embodiments are implemented.
[0131] The computer-readable storage medium provided in the present application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0132] The computer-readable storage medium may be included in the device, or may exist independently without being incorporated into the device.
[0133] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the device, the device receives the projection information of any control device in the same local area network according to the DLNA protocol; parses the projection information to obtain the device verification code of any control device; verifies the device verification code according to the verification code list built into the digital signage device; when the device verification code verification fails, prohibits the playback of the projection information; when the device verification code verification succeeds, selectively plays the projection information according to the current resource file playback status of the digital signage device.
[0134] Computer program code for performing the operations of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0135] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes also be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs a specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.
[0136] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned screen projection safety control method. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the screen projection safety control method provided in the above-mentioned embodiment, and will not be repeated here.
[0137] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned screen projection safety control method when executed by a processor. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the screen projection safety control method provided by the above-mentioned embodiment, and will not be repeated here.
[0138] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A screen projection security control method for a digital signage device based on the DLNA protocol, characterized in that: Applied to digital signage equipment, the screen projection security control method includes: According to the DLNA protocol, receive the screen projection information of any control device in the same local area network; Parsing the screen projection information to obtain a device verification code of the control device; Verifying the device verification code according to the verification code list built into the digital signage device; When the verification of the device verification code fails, clearing the screen projection information; When the device verification code is successfully verified, the playback decision corresponding to the screen projection information is executed according to the playback status of the digital signage device.
2. The method according to claim 1, characterized in that The step of executing a playback decision corresponding to the screen projection information according to the playback state of the digital signage device includes: Determine whether the digital signage device is currently in a waiting-to-play state or a playing state; If the digital signage device is in a waiting state, playing the screen projection information; If the digital signage device is in a playing state, the projection information is played or the playing state is continued according to the play selection instruction of the authority control device, wherein the authority control device is a control device with play selection authority in the local area network.
3. The method according to claim 2, characterized in that Before the step of receiving the screen projection information of any control device in the same local area network, the method further includes: Obtaining an access password to the local area network; When a control device is connected to the local area network, determining whether the control device is the authority control device; If the control device is not the authority control device, using the access password to perform access verification on the control device; When the access verification of the control device succeeds, allowing the control device to access the local area network; When the access check to the control device fails and there is an authority control device in the local area network, an illegal access notification is sent to the authority control device.
4. The method according to claim 2, characterized in that The method further comprises: When receiving screen projection information of multiple control devices, verify the device verification codes of the multiple control devices respectively according to the verification code list; If the device verification codes of any two or more control devices among the multiple control devices are successfully verified and the digital signage device is in a waiting state for playing, inquiring the permission control device for a playing priority; When the playback priority is received within a predetermined time, the projection information of any two or more control devices is played in the order of the playback priority; When the playback priority is not received within the predetermined time, the projection information of any two or more control devices is played in the order in which the projection information is received.
5. The method according to claim 1, characterized in that Also includes: When verification of the device verification code fails, sending an identity verification request to the control device, the identity verification request being used to request device identity information of the control device; Using a device whitelist preset in the digital signage device, verifying the device identity information; If the device identity information is not received or it is determined that the device identity information is not in the device whitelist, disconnecting the DLNA connection with the control device; Prompts illegal device intrusion information.
6. The method according to claim 1, characterized in that Before the step of parsing the screen projection information to obtain a device verification code of the control device, the method further includes: Obtaining the IP address of the control device, and using the IP address to query whether the historical device verification codes of the control device have all been successfully verified within a predetermined number of verifications; If the historical device verification codes are all successfully verified within the predetermined number of verifications, the step of executing the playback decision corresponding to the projection information according to the playback status of the digital signage device is performed; If the historical device verification code fails to be verified within the predetermined number of verifications, the screen projection information is parsed to obtain the device verification code of the control device and subsequent steps.
7. The method according to claim 6, characterized in that The step of parsing the screen projection information to obtain a device verification code of the control device includes: Determining whether the screen projection information is encrypted; If the projection information is encrypted, decrypt the projection information using an agreed decryption key according to a predetermined encryption technology to obtain the device verification code and resource link; Verify the device verification code using the IP address; When the verification of the device verification code succeeds, a step of verifying the device verification code according to a verification code list built into the digital signage device is performed.
8. A digital signage device, characterized in that: The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the screen projection security control method for a digital signage device based on the DLNA protocol as described in any one of claims 1 to 7.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the screen projection security control method for a digital signage device based on the DLNA protocol as described in any one of claims 1 to 7 are implemented.
10. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the screen projection security control method for a digital signage device based on the DLNA protocol as described in any one of claims 1 to 7 are implemented.