Display device and control method thereof
Patent Information
- Application Number
- CN202380040654.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-09-28
- Filing Date
- 2023-05-06
- Publication Date
- 2024-12-31
AI Technical Summary
When a smart terminal is connected to a TV for projection display, the mobile phone may not be able to detect the TV, resulting in a high projection failure rate and affecting the user experience.
Provide a display device equipped with a Wi-Fi module and a Bluetooth module that can detect the network status and screen projection switch status, automatically switch to the screen projection channel, and connect and turn on when the network is closed or the screen projection is closed to ensure screen projection Normal transmission of data.
It improves the success rate of screencasting, improves the user experience, and ensures that data can be successfully transmitted and displayed when the network and screencasting functions are normally turned on.
Smart Images

Figure CN119234206A_ABST
Abstract
Description
Display device and control method of display device
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure claims priority to the Chinese patent applications filed with the China Patent Office on September 28, 2022, with application number 202211194198.2, filed with the China Patent Office on August 15, 2022, with application number 202210977484.X, and filed with the China Patent Office on July 7, 2022, with application number 202210803145.X, the entire contents of which are incorporated by reference into this disclosure. Technical Field
[0003] The present disclosure relates to the field of multimedia technology, and in particular to a display device and a method for controlling the display device. Background Art
[0004] With the development of smart products, connecting smart terminals to TVs for projection display is becoming increasingly common. Currently, when users need to cast audio and video from their mobile phones to TVs for playback, there are situations where the phone may not be able to detect the TV, resulting in a black screen after casting. This leads to a high casting failure rate, which affects the user experience.
[0005] Summary of the Invention
[0006] The present disclosure provides a display device, comprising: a communicator, the communicator including a Wi-Fi module and a Bluetooth module, and configured to: communicate with a screen projection data source device; a display, configured to display images and / or user interfaces of a broadcasting system and / or a network; a memory, configured to store computer instructions and data associated with the display; a processor, communicating with the communicator, the display, and the memory, and configured to execute the computer instructions so that the display device executes: switching from a current channel to a screen projection channel in response to a channel switching instruction; detecting the network status and screen projection switch status of the Wi-Fi module in response to a screen projection instruction sent by the screen projection data source device; controlling the Wi-Fi module to turn on the network and connect to the target network when the network status indicates that the network is off; and / or controlling the screen projection switch to be turned on when the screen projection switch status indicates that the screen projection is off; obtaining the screen projection data sent by the screen projection data source device via the target network, and controlling the display to display the screen projection data on the interface of the screen projection channel.
[0007] The present disclosure provides a method for controlling a display device, comprising: switching from a current channel to a projection channel in response to a channel switching instruction; obtaining a projection instruction sent by the projection data source device; detecting the network status and projection switch status of the Wi-Fi module in response to the projection instruction; controlling the Wi-Fi module to turn on the network and connect to a target network when the network status indicates that the network is off; and / or controlling the projection switch to turn on to obtain projection data sent by the projection data source device via the target network, and controlling the display to display the projection data on the interface of the projection channel when the projection switch status indicates that the projection is off. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] FIG1 is a schematic diagram of a scenario in some embodiments according to some embodiments;
[0009] FIG2 is a first schematic diagram of a user interface of a display device according to some embodiments;
[0010] FIG3 is a block diagram of a configuration of a control device according to some embodiments;
[0011] FIG4 is a block diagram of a hardware configuration of a display device according to some embodiments;
[0012] FIG5A is a schematic diagram of software configuration in a display device according to some embodiments;
[0013] FIG5B is a schematic diagram of a system framework of a display device according to some embodiments;
[0014] FIG6 is a schematic flow chart of a method for controlling a display device according to some embodiments;
[0015] FIG7 is a schematic diagram of a network status setting interface according to some embodiments;
[0016] FIG8 is a second schematic diagram of a user interface of a display device according to some embodiments;
[0017] FIG9 is a third schematic diagram of a user interface of a display device according to some embodiments;
[0018] FIG10 is a schematic diagram of a screen projection switch setting interface according to some embodiments;
[0019] FIG11 is a schematic diagram of a display device displaying a signal source page according to some embodiments;
[0020] FIG12 is a schematic diagram of a display device displaying a screen projection information page according to some embodiments;
[0021] FIG13 is a schematic flow chart of a method for controlling a display device according to some embodiments;
[0022] FIG14 is a schematic flow chart of a method for controlling a display device according to some embodiments;
[0023] FIG15 is a schematic flow chart of a method for controlling a display device according to some embodiments;
[0024] FIG16 is a schematic diagram of interface jump of a display device according to some embodiments;
[0025] FIG17 is a schematic diagram of interface jump of a display device according to some embodiments;
[0026] FIG18 is a schematic diagram of interface jump of a display device according to some embodiments;
[0027] FIG19 is an interactive flow chart of a method for writing a business credential according to some embodiments;
[0028] FIG20 is an interactive flow chart of a method for writing a business credential according to some embodiments;
[0029] FIG21 is an interactive flow chart of a method for writing a business credential according to some embodiments;
[0030] FIG22 is an interactive flow chart of a method for writing a business credential according to some embodiments;
[0031] FIG23 is an interactive flow chart of a method for writing a business credential according to some embodiments;
[0032] FIG24 is a flowchart of the steps of a method for writing a business credential according to some embodiments;
[0033] FIG25 is a flowchart illustrating the steps of a method for writing a business credential according to some embodiments. DETAILED DESCRIPTION
[0034] Figure 1 is a schematic diagram of scenarios in some embodiments of the present disclosure. As shown in Figure 1 , Figure 1 includes a control device 100, a display device 200, a smart device 300, and a server 400. A user can operate the display device 200 through the smart device 300 or the control device 100 to play audio and video resources on the display device 200.
[0035] For example, a user operates display device 200 via smart device 300. Smart device 300 is connected to display device 200 via Bluetooth. The user operates the display device 200 via smart device 300 to switch from the current channel to the projection channel. Smart device 300 can send a channel switching instruction to display device 200 via Bluetooth. Referring to FIG. 2 , FIG. 2 is a first schematic diagram of a user interface of a display device provided in an embodiment of the present disclosure. In the figure, after receiving the channel switching instruction, display device 200 responds to the channel switching instruction by switching from current channel 11 to projection channel 12. In FIG. 2 , the current channel is HDMI 1, and the projection channel is the AirPlay channel.
[0036] After the display device 200 switches to the screen projection channel, the user can control the display device 200 to play the audio and video on the smart device 300 when the display device 200 is in the screen projection channel. In the embodiment of the present disclosure, the user sends a screen projection instruction to the display device 200 through the smart device 300. In response to the screen projection instruction, the display device 200 obtains the network status and screen projection switch status of the Wi-Fi module to determine whether the smart device 300 and the display device 200 are in the same local area network and whether the screen projection function of the display device 200 is turned on. When the network status indicates that the network is off, it means that the display device 200 is not connected to the network, then the display device 200 controls the network to be turned on for network connection, and when the screen projection switch status indicates that the screen projection is off, the screen projection switch is controlled to be turned on to turn on the screen projection function of the display device 200, thereby ensuring that when the network is on and the screen projection is on, the display device 200 obtains the screen projection data sent by the smart device 300 through the target network, and controls the display to display the screen projection data on the screen projection channel 12.
[0037] In the above scenario where the user operates the display device 200 through the smart device 300 to project the audio and video on the smart device, the display device 200 detects the network status and the projection switch status to avoid projection failure caused by the network being closed or the projection being closed, and ensures that the projection switch is turned on and the network connection is normal, so that the display device 200 can be discovered by the smart device 300 and project the screen, thereby effectively improving the success rate of projection and enhancing the user experience.
[0038] In some embodiments, the control device 100 may be a remote controller, and communication between the remote controller and the display device may include infrared protocol communication, Bluetooth protocol communication, wireless or other wired methods to control the display device 200. The user may control the display device 200 by inputting user commands through buttons on the remote controller, voice input, control panel input, etc. In some embodiments, smart devices, tablet computers, computers, laptop computers, and other smart devices may also be used to control the display device 200.
[0039] In some embodiments, the smart device 300 can install software applications with the display device 200, and achieve connection and communication through a network communication protocol to achieve the purpose of one-to-one control operation and data communication. The audio and video content displayed on the smart device 300 can also be transmitted to the display device 200 to achieve a synchronous display function. The display device 200 also communicates data with the server 400 through a variety of communication methods. The display device 200 can be allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN) and other networks. The server 400 can provide various content and interactions to the display device 200. The display device 200 can be a liquid crystal display, an OLED display, or a projection display device. In addition to providing a broadcast receiving television function, the display device 200 can also provide an intelligent network TV function that provides computer support functions.
[0040] Figure 3 is a configuration block diagram of the control device 100 provided in an embodiment of the present disclosure. As shown in Figure 3, the control device 100 includes a processor 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive user input operation instructions and convert the operation instructions into instructions that can be recognized and responded to by the display device 200, acting as an interactive intermediary between the user and the display device 200. The communication interface 130 is used for external communication and includes at least one of a WIFI chip, a Bluetooth module, NFC or an alternative module. The user input / output interface 140 includes at least one of a microphone, a touchpad, a sensor, a button or an alternative module.
[0041] FIG4 is a block diagram of the hardware configuration of the display device 200 provided in an embodiment of the present disclosure. As shown in FIG4 , the display device 200 includes: a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a processor 250, a display 260, an audio output interface 270, a memory, a power supply, etc. Among them, the processor 250 includes a central processing unit, a video processor, an audio processor, a graphics processor, RAM, ROM, and a first interface to an nth interface for input / output. The display 260 can be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and can also be a projection device and a projection screen. The tuner and demodulator 210 receives broadcast and television signals through wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from multiple wireless or wired broadcast and television signals. The detector 230 is used to collect signals from the external environment or interact with the outside. The processor 250 and the tuner / demodulator 210 may be located in different separate devices, that is, the tuner / demodulator 210 may also be located in an external device of the main device where the processor 250 is located, such as an external set-top box.
[0042] In some embodiments, the above-mentioned display device is a terminal device with a display function, such as a television, a mobile phone, a computer, a learning machine, etc.
[0043] In some embodiments, the processor 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The processor 250 controls the overall operation of the display device 200. A user can enter user commands through a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input commands through the graphical user interface (GUI). Alternatively, the user can enter user commands by inputting specific sounds or gestures, and the user input interface recognizes the sounds or gestures through sensors to receive the user input commands.
[0044] an output interface (display 260 and / or audio output interface 270 ), configured to output user interaction information;
[0045] The communicator 220 is configured to communicate with the server 400 or other devices according to a communication protocol.
[0046] An embodiment of the present disclosure provides a display device, which includes: a communicator, which includes a Wi-Fi module and a Bluetooth module, and is configured to: communicate with a screen projection data source device; a display, which is configured to display images and / or user interfaces of a broadcasting system and / or a network, and a memory, which is configured to store computer instructions and data associated with the display; a processor, which communicates with the communicator, the display, and the memory, and is configured to execute the computer instructions so that the display device executes: switching from a current channel to a screen projection channel in response to a channel switching instruction; detecting the network status and screen projection switch status of the Wi-Fi module in response to a screen projection instruction sent by the screen projection data source device; when the network status indicates that the network is off, controlling the Wi-Fi module to turn on the network and connect to the target network; and / or, when the screen projection switch status indicates that the screen projection is off, controlling the screen projection switch to be turned on; obtaining the screen projection data sent by the screen projection data source device through the target network, and controlling the display to display the screen projection data on the interface of the screen projection channel.
[0047] After switching to the screen projection channel, the above-mentioned display device obtains the screen projection instruction sent by the screen projection data source device, and detects the network status and screen projection power-on status of the display device in response to the screen projection instruction, and then, when the network status indicates that the network is off, controls the network to be turned on and connected to the target network, and / or, when the screen projection switch status indicates that the screen projection is off, controls the screen projection switch to avoid screen projection failure caused by network shutdown and / or screen projection being off, and further, when the network is on and the screen projection is on, obtains the screen projection data sent by the screen projection data source device through the target network, and controls the display of the screen projection data to achieve successful screen projection, thereby improving the user experience.
[0048] In some embodiments, the processor 250, when the network status indicates that the network is off, controls the Wi-Fi module to turn on the network and connect to the target network, obtains the projection data sent by the projection data source device through the target network, and controls the display to display the projection data on the projection channel interface before being further configured to:
[0049] Controlling the display to display a first prompt message, the first prompt message is used to prompt that a network connection is being opened; judging whether the network connection is successful within a preset time; in the case of network connection failure, controlling the display to display a network status setting interface, the network status setting interface including a network switch control and multiple identifiers of networks to be connected; receiving a user's selection input for a target network identifier in the network status setting interface; and in response to the selection input, attempting to connect to a target network indicated by the target network identifier.
[0050] In some embodiments, the processor 250, in response to the screen projection instruction, after detecting the network status and screen projection switch status of the Wi-Fi module, and before controlling the Wi-Fi module to turn on the network and connect to the target network, is further configured to:
[0051] When the network status indicates that the network is off, controlling the display to display a network status setting interface; the network status setting interface includes a network switch control and identifiers of multiple networks to be connected; obtaining a first input from the user for the network switch control in the network status setting interface, the first input being used to indicate that the network will be turned on;
[0052] The processor 250 controls to start the network, and is specifically configured to: in response to the first input, control the Wi-Fi module to start the network and connect to the target network.
[0053] In some embodiments, the processor 250, after detecting the network status of the Wi-Fi module and the screen casting switch status in response to the screen casting instruction, and before controlling the screen casting switch to be turned on, is further configured to:
[0054] When the screen projection switch status indicates that the screen projection is off, the display is controlled to display the screen projection switch status setting interface, which includes the screen projection switch control; obtaining the second input of the user for the screen projection switch control in the screen projection switch status setting interface, the second input being used to indicate turning on the screen projection switch;
[0055] The processor 250 controls the activation of the network and is specifically configured to: in response to the second input, control the activation of the screen projection switch.
[0056] In some embodiments, the processor 250, after detecting the network status of the Wi-Fi module and the screen projection switch status, obtains the screen projection data sent by the terminal device, and controls the display to display the screen projection data, is further configured to:
[0057] In response to the screen projection instruction, the resource update status is detected; if the resource update status indicates that it has not been updated, the target version of the screen projection resource is downloaded; and the resource is updated based on the target version of the screen projection resource.
[0058] In some embodiments, the screen projection resource includes a screen projection key, and the processor 250 obtains the screen projection data sent by the terminal device and controls the display to display the screen projection data. It is specifically configured to: decrypt the screen projection data sent by the screen projection data source device according to the updated screen projection key; and control the display to display the decrypted screen projection data.
[0059] As shown in FIG5A , FIG5A is a schematic diagram of the software configuration in the display device 200 provided by one or more embodiments of the present disclosure. As shown in FIG5A , the system is divided into four layers, which are, from top to bottom, the application layer (hereinafter referred to as the “application layer”), the application framework layer (hereinafter referred to as the “framework layer”), the Android runtime layer (hereinafter referred to as the “Android runtime layer”) and the system library layer (hereinafter referred to as the “system runtime layer”), and the kernel layer. The kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc. The video data transmission method provided in the embodiment of the present disclosure can be implemented based on the above-mentioned display device, and in a certain embodiment of the present disclosure, it can be implemented by a player in the display device.
[0060] Figure 5B is a schematic diagram of the system framework of the display device provided by an embodiment of the present disclosure. The system of the display device in the figure includes an Android application layer, an Android framework layer (Android Framework), a Linux layer, and a Trusted Execution Environment (TEE). The Android application layer includes a TV application (TVApp), an AirPlayApk application, and an Airplay TV launch service; the Android framework layer includes a TV input manager (TV input manager), and the Linux layer includes an Airplay Daemon application stack; the Trusted Execution Environment is typically used for digital rights management (DRM), mobile payments, and sensitive data protection. The present disclosure is used to store projection keys, such as MFI KEY and FairPlay KEY.
[0061] In the disclosed embodiment, the TV application is responsible for displaying the input devices of the device in the form of a list, and communicating with the TV input manager of the Android framework layer to complete channel switching. When the user clicks on a channel, the TV input manager determines the network status and the status of the screen casting switch. The screen casting application is responsible for the specific business logic of the AirPlay screen casting channel, the platform layer interface implementation (PAL_Impl), button processing, etc. The screen casting startup service communicates with the application process protocol stack. When the screen casting switch changes, it is responsible for writing the screen casting switch status into the system property value. The TV application reads the property value for the next logical processing. The TV input manager is a native class of the Android architecture. The TV application communicates with the TV input module provided by the device manufacturer or other parties through the TV input manager.
[0062] In order to illustrate the implementation method in more detail, the following will be explained in conjunction with Figure 6 in an embodiment of the present disclosure. It can be understood that the steps involved in Figure 6 may include more steps or fewer steps in actual implementation, and the order of these steps may also be different, so as to be able to implement the control method of the display device provided in the embodiment of the present disclosure.
[0063] As shown in FIG6 , FIG6 is a flow chart of a method for controlling a display device provided by an embodiment of the present disclosure. The method is applied to a display device and includes the following steps S601 to S605 :
[0064] S601. In response to a channel switching instruction, switch from the current channel to the projection channel.
[0065] The control method of the display device provided in the embodiment of the present disclosure is applied to the display device. The display device serves as a screen projection data receiving device and communicates with the screen projection data source device through a Wi-Fi module and a Bluetooth module.
[0066] In some embodiments, the channel switching instruction can be an input by the user on the channel interface of the display device. For example, referring to FIG2 , the display device is in current channel 11, and the user selects projection channel 12 on the currently displayed channel interface, generating a channel switching instruction, indicating that the user desires to switch from current channel 11 to projection channel 12. Further, the display device switches from the current channel to the projection channel in response to the channel switching instruction.
[0067] It should be noted that the current channel is a channel different from the projection channel, and can be an input channel of a display device such as a High Definition Multimedia Interface (HDMI). This disclosure does not elaborate on this.
[0068] S602. Obtain the screen projection instruction sent by the screen projection data source device.
[0069] In some embodiments, when the display device is in the screen projection channel, the display device waits for the screen projection data source device to send a screen projection instruction.
[0070] S603. In response to the screen projection instruction, detect the network status and screen projection switch status of the Wi-Fi module.
[0071] In some embodiments, after the display device receives a screen projection instruction sent by the screen projection data source device, it detects the network status and screen projection switch status in response to the screen projection instruction. Detecting the network status refers to detecting the network status of the display device's Wi-Fi module, which can be understood as detecting whether the display device has a Wi-Fi connection function turned on.
[0072] In some embodiments, screen projection failure may be caused by a lag in the configuration of projection resources of the display device. The embodiments of the present disclosure provide an implementation method. After the display device obtains the projection instruction sent by the projection data source device, it responds to the projection instruction and detects the resource update status. When the resource update status indicates that it has not been updated, the display device downloads the projection resources of the target version from the server, and performs a resource update based on the projection resources of the target version to update the projection resources configured by the display device to the target version, so as to facilitate the subsequent successful reception of the projection data sent by the projection data source device.
[0073] In some embodiments, screen projection failure may be caused by a mismatch between the projection keys held by the display device and the projection data source device. The display device responds to the projection instruction, detects that the resource update status indication is not updated, and downloads the target version of the projection resource from the server. Based on the projection key included in the target version of the projection resource, the display device projection key is updated to match the projection key of the projection data source device, which is conducive to successful screen projection.
[0074] S604. When the network status indicates that the network is off, control the network to be turned on and connected to the target network; and / or, when the screen projection switch status indicates that the screen projection is off, control the screen projection switch to be turned on.
[0075] In some embodiments, after detecting the network status and the projection switch status, it is determined that the network status indicates that the network is off, which means that the projection switch status indicates that the projection is on. Since the network off may cause the projection to fail, when the network status indicates that the network is off, the network is controlled to be turned on and connected to the target network.
[0076] It should be noted that the target network can be a network in the display device's historical connection network, or a network manually connected by the user.
[0077] In some embodiments, when the network status indicates that the network is off, the display device controls the display to display a network status setting interface, which includes a network switch control and multiple identifiers of networks to be connected, wherein the network switch control is used to control the network status on and off, and the identifiers of multiple networks to be connected can be displayed in a list form.
[0078] As shown in FIG. 7 , FIG. 7 is a schematic diagram of a network status setting interface provided by an embodiment of the present disclosure, showing a network switch control 71 and a list 72 consisting of identifiers of multiple networks to be connected.
[0079] In one embodiment of the present disclosure, when the network status indicates that the network is off, the display device first controls the display to display a first dialog box, where the first dialog box is used to prompt to check the network connection, and the first dialog box includes a cancel control and a confirmation control.
[0080] As shown in Figure 8, Figure 8 is a second user interface schematic diagram of the display device provided by an embodiment of the present disclosure. The figure shows that when the network status indicates that the network is closed, the display device controls the display to display a first dialog box 81, and the first dialog box 81 includes the prompt content "Please check the network status", as well as a cancel control 82 and a confirmation control 83.
[0081] After the display device receives the user's selection input for the confirmation control in the first dialog box, the display device controls the display to display the network status setting interface.
[0082] In some embodiments, the display device controls the display to display a first prompt message, which is used to indicate that a network connection is being established. As shown in FIG9 , FIG9 is a third user interface diagram of a display device provided in an embodiment of the present disclosure, showing first prompt message 91. The content of the first prompt message may be "Starting network connection to network 1, please wait." In one embodiment of the present disclosure, a determination is made as to whether the network connection is successful within a preset time period after the first prompt message is displayed. If the network connection is successful, it indicates that screen projection can be performed normally, and step S605 is subsequently executed. If the network connection fails, the display device controls the display to display a network status setting interface.
[0083] In any of the above embodiments, after the display device controls the display to display the network status setting interface, it receives a user selection input for the target network identifier in the network status setting interface, and in response to the selection input, attempts to connect to the target network indicated by the target network identifier.
[0084] In some embodiments, when the network status indicates that the network is off, the display device controls the display to display the network status setting page to hand over control to the user, obtains the user's first input for the network switch control in the network status setting interface, and the first input indicates that the off state of the network switch control is changed to the on state, and then the display device turns on the network in response to the first input control.
[0085] In some embodiments, the display device can control the network to be enabled and connected to a target network without the user's knowledge. Typically, the target network is the first network among multiple networks to be connected to the display device, and the display device is connected to this network by default. In one embodiment of the present disclosure, after the display device controls the network connection to be enabled and connected to the target network, the display device detects whether the network connection is successful within a preset period of time. If the network connection fails, the display device is controlled to display a network status setting interface to receive a user selection input for a target network identifier, and then connects to the user-selected target network in response to the selection input.
[0086] In the above embodiment, when the network status indicates that the network is off, the network status setting interface is displayed in a user-perceivable form, and then the user turns on the network switch control and selects the target network, so that the display device turns on the network and connects to the target network; or, in a user-imperceived form, the display device automatically controls to turn on the network connection and connects to the target network. In a certain embodiment of the present disclosure, whether the network connection is successful is detected. When it is detected that the network connection fails, the network status setting interface is controlled to be displayed to obtain the user's selection input for the target network identifier, and then meet the user's needs to connect to the target network selected by the user, so that the network status indicates that the network is on and the network is normally connected, which is conducive to successful screen projection.
[0087] In some embodiments, after detecting the network status and the screen projection status, if it is determined that the screen projection switch status indicates that the screen projection is off, it means that the network status indicates that the network is on, and the screen projection off may cause the screen projection to fail. In order to avoid the screen projection failure caused by the screen projection being off, the embodiment of the present disclosure provides an implementation method. When the screen projection switch status indicates that the screen projection is off, the display is controlled to display the screen projection switch setting interface. The screen projection switch setting interface includes a screen projection switch control, as shown in Figure 10. Figure 10 is a schematic diagram of the screen projection switch setting interface provided by the embodiment of the present disclosure, and the figure shows the screen projection switch control 1001. Then, the user's second input for the screen projection switch control in the screen projection switch setting interface is obtained. The second input is used to indicate that the screen projection switch is turned on to turn on the screen projection function of the display device. The display device turns on the screen projection switch in response to the second input control.
[0088] In some embodiments, when the status of the screen projection switch indicates that the screen projection is off, the display device controls to turn on the screen projection switch without the user's perception.
[0089] In the above embodiment, when the status of the screen projection switch indicates that the screen projection is off, the screen projection status display interface is displayed to obtain the user's second input for the screen projection switch control to control the screen projection switch to be turned on; or, the display device directly controls the screen projection switch to be turned on, thereby avoiding screen projection failure caused by the screen projection switch being turned off.
[0090] After detecting the network status and the screen projection switch status, if it is determined that the network status indication is off and the screen projection switch status indication is off, the two factors of network off and screen projection switch off cause the display device to fail to project the screen. In order to successfully project the screen, the display device controls the network to be turned on and connected to the target network, and controls the screen projection switch to be turned on to ensure normal network connection and normal opening of the screen projection function, which is conducive to improving the success rate of screen projection.
[0091] S605. Obtain the projection data sent by the projection data source device through the target network, and control the display to display the projection data on the interface of the projection channel.
[0092] In some embodiments, the display device's network status indicates that the network is on and connected to the screen projection data source device via the target network, and the screen projection switch status indicates that the screen projection switch is on and the screen projection function is enabled, indicating that the display device is capable of normal screen projection. To meet the user's screen projection needs, the display device obtains the projection data sent by the screen projection data source device via the target network and displays the projection data on the projection channel interface currently displayed on the display.
[0093] In summary, the embodiments of the present disclosure provide a control method for a display device, which is applied to the display device. First, in response to a channel switching instruction, the method switches from the current channel to the projection channel, then obtains the projection instruction, and obtains the network status of the Wi-Fi module and the projection switch status in response to the projection instruction; then, when the network status indicates that the network is off, the method controls the network to be turned on, and / or, when the projection switch status indicates that the projection is off, the method controls the projection switch to be turned on, so as to ensure that when the network is turned on and the projection is turned on, the projection data sent by the projection data source device through the target network is obtained, and the display is controlled to display the projection data on the interface of the projection channel, so as to realize the detection of the network status and the projection switch status after the display device switches to the projection channel, thereby ensuring successful projection when the network is turned on and the projection is turned on, avoiding projection failure caused by the network status and / or the projection switch status, improving the success rate of projection, and enhancing the user experience.
[0094] In addition, considering that AirPlay is one of the most widely used technologies for screen projection, the content that needs to be projected can be transmitted to a display device that supports AirPlay. When implementing screen projection based on AirPlay, the user can activate the screen projection function in the display device through the signal source port provided in the display device and display the corresponding projection information, and then wait for the user to operate the smart device to establish a connection with the display device for projection. However, there is currently a phenomenon that the display device does not respond to the received return command in the projection information display page, which seriously affects the user experience.
[0095] Based on this, the embodiment of the present disclosure adds processing logic for the return button of the control device in the aforementioned display device, so that when the display device receives the return instruction generated by the user operating the return button of the control device, it can jump from the projection information page to a pre-specified page based on the processing logic. This solves the current problem that the projection information page displayed by the display device is unresponsive to the return button, and the page jump is more in line with the user's usage habits, which can enhance the user's experience of using the airplay function provided by the display device.
[0096] Taking the application scenario shown in Figure 1 above as an example, the smart device 300 can connect and communicate with the software application installed on the display device 200 through a network communication protocol to achieve the purpose of one-to-one control operation and data communication. The audio and video content displayed on the smart device 300 can also be transmitted to the display device 200 to achieve a synchronous display function. The display device 200 can also communicate data with the server 400 through various communication methods. The display device 200 can be allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN) and other networks. The server 400 can provide various content and interactions to the display device 200. The display device 200 can be a liquid crystal display, an OLED display, or a projection display device. In addition to providing broadcast reception television functions, the display device 200 can also provide additional intelligent network TV functions that provide computer support functions.
[0097] Among them, the user can control the display device 200 to display some specified pages to obtain the information required by the user or enter the function set page required by the user by operating the virtual buttons in the smart device 300 or the buttons provided by the control device 100, such as the return button, home button, signal source button, up, down, left and right buttons, confirmation button, etc. in the remote control.
[0098] Taking the remote control as an example, the user can input a command to the display device 200 by pressing the signal source button on the remote control to make the display device display a signal source page. The signal source page can display one or more signal source entrances supported by the display device 200, such as the Android operating system (Home), one or more High Definition Multimedia Interfaces (HDMI), live broadcast (Live TV), airplay, etc. The user can further operate the remote control to switch among the above-mentioned multiple signal sources.
[0099] Among them, the display device 200 may include multiple HDMI interfaces, and different HDMI interfaces can input data from different data sources into the display device for display. Therefore, different HDMI interfaces can be distinguished as signal sources through different identifiers on the signal source page.
[0100] AirPlay can be understood as using the smart device 300 that initiates the screen projection as the display data source of the display device (i.e., as a signal source), parsing the data to be displayed obtained from the smart device 300, and then displaying it on the display device. For example, when a user selects AirPlay as the signal source, it is equivalent to activating the AirPlay function in the display device.
[0101] It is understandable that the smart device 300 (such as a smart phone, PAD, etc.) that usually initiates airplay (i.e., screen projection) and the display device need to be connected to the same WiFi in order to establish a connection normally and transmit the data to be displayed.
[0102] The user interface 21 shown in FIG11 exemplarily illustrates a signal source page, wherein the user interface 21 includes an area 201 for displaying the signal source page. Area 201 may be all or part of the display area of the entire display, and the present disclosure does not limit parameters such as the display position, display size, color, and text display style of area 201. As shown in FIG11 , the signal source page can be displayed floating above the page originally displayed on the display device and close to the left edge. The brightness, color, transparency, and other display parameters of the page originally displayed on the display device can be adjusted to highlight the signal source page.
[0103] Among them, area 201 may include: area 201a and multiple areas 201b. Area 201 is used to display the name of the signal source page, and the name can be in any language, for example, the Chinese "Signal Source" is used in Figure 11. Area 201b is used to display the signal source, and each area 201b corresponds to a signal source. For example, Figure 11 contains 6 signal sources, namely "Home Page", "Live Broadcast", "Airplay", "HDMI1", "HDMI2" and "HDMI3". The signal source selected by the user can be displayed in different styles. For example, the font size of the text in area 201b corresponding to the signal source selected by the user is increased and bolded, and area 201b is filled with a clearly different color.
[0104] Based on the user interface 21 shown in FIG11 , the user can select one of the multiple signal sources displayed on the signal source page as the current signal input source of the display device, receive the data input by the signal source, parse it, and display it. For example, if the user selects live broadcast as the current signal source, the display device 200 receives real-time broadcast and television data as signal input to display the broadcast and television content; for another example, if the user selects airplay as the current signal source, the screen projection data can be received from the smart device that initiates the screen projection and parsed and displayed.
[0105] The device may support screen projection using a variety of different airplay protocols, for example, Miracast protocol or airplay protocol. Among them, the specifications of different airplay protocols are also different. For example, when airplay is implemented through the airplay protocol, when the user selects airplay as the current signal source on the signal source page, based on the specifications of the airplay protocol, the display device 200 will be required to jump to the screen projection information page, wherein the screen projection information page can display the name of the display device, the name of the WiFi to which the display device is currently connected, and other screen projection information, and the screen projection information page can also provide other function entrances. After the display device 200 jumps to the screen projection information page, it can wait for the user to operate the smart device to project the screen through mirroring, directly operating the application screen projection, etc. By displaying the information of the display device and WiFi to be connected to the user on the screen projection information page, it can ensure that the user can select the correct display device and connect to the correct WiFi when operating in the smart device, thereby avoiding the problem of screen projection failure.
[0106] For example, based on the user interface 21 shown in Figure 11, by selecting AirPlay as the signal source, the display device 200 can jump to the user interface 31 shown in Figure 12 to display the screen projection information page. Referring to Figure 12, the user interface 31 includes: area 301, area 302, area 303, entrance 304 and area 305.
[0107] Area 301 is used to display some AirPlay instructions, such as "AirPlay, share content on your phone, PAD, or MAC via a wireless network," and can also display related AirPlay icons. Area 302 is used to display the name of the WiFi to which the display device is connected. Area 303 is used to display the name of the display device.
[0108] Entry 304 is used to enter the AirPlay settings page, which can modify the name of the display device, change the WiFi to which the display device is currently connected, and so on.
[0109] Area 305 is used to display prompt information related to AirPlay, for example, the text prompt content "Please make sure your mobile phone, PAD or MAC is connected to the WiFi network connected to this device. If you want to get more information, please visit the xxxxxx website."
[0110] After entering the screen projection information page, the display device will wait for the user to operate the smart device to project the screen. In some cases, the user may not want to perform the next screen projection operation, and usually the user will operate the control device to return. However, when the existing display device implements screen projection based on the AirPlay protocol, after entering the screen projection information page through the signal source page, the user sends a return instruction to the display device 200 by operating the return button in the smart device 300 or the control device 100. The display device 200 does not respond to the return instruction on the screen projection information page, which may make the user think that the display device is stuck or the screen projection function has an error, which is not in line with the user's usage habits and will also cause the user to have a poor experience using the AirPlay function.
[0111] In order to solve this problem, the present disclosure adds corresponding business logic in the display device 200, so that the display device 200 responds to the return instruction of the projection information page and jumps to a pre-specified page, which not only conforms to the user's usage habits, but also can better improve the user experience. Among them, the processing logic can be flexibly set. For example, it can be specified that the return instruction of the projection information page is uniformly returned to a specified page, and the processing logic is simple; or, by analyzing the active data source objects in the display device before entering the projection information page, different processing logic can be set for different data source objects. This method is also more in line with the user's usage habits.
[0112] Taking the display device 200 shown in FIG. 4 as an example, in the present disclosure, the communicator 220 is configured to receive a return instruction generated by the user by operating a return button of the control device.
[0113] The processor 250 is configured to respond to the received return instruction, determine whether the display 260 is currently displaying the projection information page, and when it is determined that the display 260 is currently displaying the projection information page, control the display 260 to return to displaying a pre-specified page.
[0114] In some embodiments, the processor 250 may control the display to jump to a designated page, such as a desktop provided by an operating system of the display device.
[0115] In other embodiments, the processor 250 may also return a designated page corresponding to the corresponding data source object based on the data source object that is in the activated state before entering the projection information page, wherein the designated pages corresponding to different data source objects are different.
[0116] It should be noted that the data source object that is activated before the display device 200 enters the signal source page through the signal source entrance and starts the AirPlay function is the task object that the display device needs to restart. The data source object can be any application or any signal source installed in the operating system of the display device; the user interface provided by the data source object that is in the activated state before starting the AirPlay function can be, for example, but not limited to, the desktop and settings page provided by the operating system of the display device, and can be an internal page provided by the application installed in the operating system of the display device, the main page of the application, the settings page, etc.
[0117] In some embodiments, if the data source object that was in the startup state before entering the projection information page is a signal source supported by the display device, the display is controlled to return to display the desktop of the operating system of the display device; if the data source object that was in the startup state before entering the projection information page is an application installed in the application layer of the operating system of the display device, the display is controlled to return to display the main page corresponding to the application. That is, when the user enters the projection information page from the signal source entrance under the desktop, HDMI, real-time live broadcast or other signal sources of the operating system, the return instruction generated by the return button is responded to and uniformly returns to display the desktop of the operating system; when the user enters the projection information page from the signal source entrance under some applications, such as video playback applications, the return instruction generated by the return button is responded to and the main page of the application is displayed.
[0118] In some embodiments, the processor 250 is specifically configured to: obtain a custom parameter; determine whether the value of the custom parameter is equal to a preset value; if equal, determine that the data source object that is in the startup state before entering the projection information page is a signal source supported by the display device; if not equal, determine that the data source object that is in the startup state before entering the projection information page is an application installed in the application layer of the operating system of the display device.
[0119] It should be noted that the display device 200 can manage the tasks started in the display device through the native component provided by the operating system, namely the activity manager, where a task refers to a collection of all data source objects involved in the interaction with the user. In the activity manager, the data source objects are arranged in a stack, that is, in the order in which the data source objects are started. When responding to the return instruction for the projection information page, the state of the data source object that needs to be restarted can be restored by management based on the stack of the activity manager.
[0120] Next, the calling process between components involved in the response of the display device to the return instruction and the processing process of each component are described in detail through the embodiments shown in Figures 13 to 15.
[0121] FIG13 is a flow chart of a method for controlling a display device according to one or more embodiments of the present disclosure. Referring to FIG13 , this embodiment includes:
[0122] S1301: Receive a return instruction generated by a user operating a return button of a control device.
[0123] S1302. Respond to the return instruction to determine whether the screen projection information page is currently displayed, and the screen projection information page meets the requirements of the specified airplay protocol.
[0124] Among them, the specified airplay protocol is the airplay protocol.
[0125] S1303. When it is determined that the display is currently displaying the projection information page, control the display to return to displaying a pre-specified page.
[0126] In combination with the above, there are at least two implementation methods: (1) based on different pre-screen projection channels, the screen projection information page can be returned to the Android system desktop; (2) based on the data source object that was in the activated state before entering the screen projection information page, the page corresponding to the data source object is returned to. Figures 14 and 15 respectively show the component call process diagrams corresponding to the above two implementation methods.
[0127] As shown in Figures 14 and 15, the AirPlay SDK receives the return command and parses it to determine whether the screen projection information page is currently displayed. If so, step S1303 is executed; if not, the AirPlay SDK responds to the return command. In other words, the return command is only passed upward when it is determined that the display is currently displaying the screen projection information page; otherwise, it is processed internally by the AirPlay function.
[0128] Among them, the return instruction is mainly passed upward to the AirPlay SDK, the startup service in the system library layer, and the AirPlay application in the application layer. The difference between Figure 14 and Figure 15 is that the processing method after the return instruction is transmitted to the AirPlay application is different, but the interaction process between the front-end AirPlay SDK, the startup service, and the AirPlay application is the same. Therefore, here we first introduce the front-end processing flow of the return instruction.
[0129] Specifically, by calling the AirPlay SDK, the return instruction is sent to the AirPlay application in a broadcast manner, so that the AirPlay application responds to the return instruction and controls the display to return to display a pre-specified page.
[0130] In the Android system, the AirPlay SDK in the kernel layer cannot communicate directly with the application layer and needs to rely on the components of the middle layer for implementation. Therefore, the AirPlay SDK needs to forward the received return instruction to the startup service in the system library layer first, and then call the startup service to broadcast the return instruction to send the return instruction to the AirPlay application in the application layer, so that the AirPlay application responds to the return instruction and returns to the pre-specified page.
[0131] In some embodiments, the startup service can monitor the socket connection, and the AirPlay SDK can forward the return instruction to the startup service in the form of a socket. A socket is an abstraction of an endpoint for two-way communication between different application processes in a network. A socket can be understood as one end of process communication. During communication, the AirPlay SDK writes the return instruction into the socket corresponding to the underlying driver, and then sends the return instruction to the socket corresponding to the startup service through the transmission medium between the AirPlay SDK and the startup service. The startup service reads the return instruction from its own corresponding socket. Among them, the communication efficiency between data components transmitted via socket is higher, which can improve the processing speed of the display device.
[0132] It is understandable that the AirPlay SDK can also send return instructions to the startup service in other ways. For example, it can also transmit return instructions through broadcast or Binder. Among them, the broadcast method is simple and easy to implement; the Binder method has better performance and stronger real-time performance. The way in which the AirPlay SDK transmits return instructions to the startup service can be flexibly set according to needs.
[0133] Next, the processing method of the AirPlay application response return instruction in the embodiments shown in Figures 14 and 15 is introduced respectively.
[0134] For the above implementation method (1), as shown in Figure 14, it is necessary to implement it through the intent component and the Android desktop launcher component (Launcher). During implementation, execute step 1401: AirPlay SDK, and execute step 1402: Start the service in a socket manner. After the service is started, execute step 1403: AirPlay application in a broadcast manner. Finally, call the intent component to execute step 1404: Desktop Launcher component.
[0135] In the embodiment shown in Figure 14, for the above-mentioned implementation method (1), whether it is under the desktop of the Android operating system, HDMI or other signal source channels, entering the signal source page through the signal source entrance and then entering the airplay, or entering the signal source page through the signal source entrance from the relevant page of the application installed in the display device and then entering the airplay, when a return instruction is received, the desktop of the Android operating system is returned, and returning to the desktop of the operating system requires restarting the desktop startup component.
[0136] Specifically, the AirPlay application responds to the return instruction to terminate the AirPlay application. The activity manager pops the task corresponding to the AirPlay application from the top of the stack and controls the closing of the window corresponding to the AirPlay application, thereby closing the screen projection information page. Furthermore, the intent component generates corresponding description data for the return instruction. The Android system determines that the component to be called is the Android desktop startup component based on the description data. It then calls the Android desktop startup component to restart and pulls up the operating system desktop for display. This business logic can meet the user's usage habits and solve the problem of the display device not responding to the return instruction on the screen projection information page. It is also relatively simple to implement.
[0137] For the above implementation method (2), as shown in Figure 15, it is necessary to go through the activity manager, the target application (the data source object that is in the startup state before entering the projection information page), the intent component and the Android desktop startup component.
[0138] In the embodiment shown in FIG15 , for the above-mentioned implementation method (2), different pages are returned for different pre-screen projection channels, which is more targeted and more in line with the business logic of "where you came from and where you go back to" and the user's usage habits, and can bring users a better experience. During implementation, before the application is played across the air, the steps are the same as those in FIG14 above, and will not be repeated here. To be executed step 1404: After the application is played across the air, the value of the custom parameter is obtained according to the received return instruction.
[0139] Step 1501: If the custom parameter is equal to the preset value, the desktop startup component is called through the intention component to return to the desktop of the operating system;
[0140] Step 1502: If the custom parameter is not equal to the preset value, the target application is called through the activity manager; thereby returning to the main page of the target application.
[0141] Specifically, after receiving the return instruction, the AirPlay application can obtain the value of the custom parameter and determine whether to return to the operating system's desktop or the main page of the target application based on the value of the custom parameter.
[0142] The custom parameter can indicate whether the data source object that is in the startup state before entering the projection information page belongs to a signal source supported by the display device or an application installed in the display device. Assume that the custom parameter is launch source, the launch source value corresponding to any signal source is the same, and the launch source values corresponding to different applications can be the same or different, and the present disclosure does not limit this. Taking the launch source value corresponding to any signal source as an example, if the AirPlay application determines that the launch source value is equal to the preset value, it means that the display device enters AirPlay under the signal source, and if it determines that the launch source value is not equal to the preset value, it means that the display device enters AirPlay under the application; if the launch source is equal to the preset value, it is determined that it is necessary to return to the desktop of the Android system; if the launch source is not equal to the preset value, it is determined that it is necessary to return to the main page of the application.
[0143] The present disclosure does not limit the size of the preset value. For example, the preset value can be 1 or 0, or other values. In addition, the launch source can be updated by the activity manager based on the tasks of each application in the startup state. After receiving the return instruction, the AirPlay application always needs to obtain the latest launch source value from the activity manager.
[0144] In the embodiment shown in FIG15 , the specific processing flow after determining to return to the desktop of the Android system is consistent with the processing flow of the embodiment shown in FIG14 . For the sake of brevity, reference may be made to the description of the embodiment shown in FIG14 .
[0145] If it is determined that it is necessary to return to the main page of the application, the return instruction will be responded to to execute the operation of ending the AirPlay application. The activity manager will pop the task corresponding to the AirPlay application from the top of the stack and control the closing of the window corresponding to the AirPlay application, thereby closing the projection information page; after that, the activity manager can push the task corresponding to the target application to be restored to the startup state to the top of the stack and obtain the focus, and then restart the task corresponding to the target application, and display the window corresponding to the target application, and display the main page provided by the target application in the window.
[0146] Next, the changes in the user interface of the display device when the above two different implementation methods are adopted are illustrated using the embodiments shown in FIG. 16 to FIG. 18 .
[0147] Referring to Figure 16, according to the interface sequence indicated by the arrows, the display device responds to the instruction generated by the user operating the signal source button on the remote control, and displays the signal source page on the Android system desktop. Then, the user selects AirPlay as the signal source from multiple signal sources and starts the AirPlay function. The display device jumps to the screen projection information page shown in the middle. After that, it receives the return instruction generated by the user operating the return button on the remote control, and the display device returns from the screen projection information page to the Android system desktop.
[0148] Please refer to Figure 17. According to the interface sequence indicated by the arrow, the display device responds to the instruction generated by the user operating the signal source button on the remote control, and displays the signal source page above the desktop of the Android system; then, the user selects AirPlay as the signal source from multiple signal sources and starts the AirPlay function, and the display device jumps to the screen projection information page, and enters the AirPlay settings page through the AirPlay settings entrance in the screen projection information page; thereafter, the user can establish a connection with the display device through screen mirroring or directly by operating the cast button in the multimedia content playback page provided by the application on the mobile phone, and display the projection content display page on the display device; in the process of displaying the projection content, the display device receives the return instruction generated by the user operating the return button in the remote control, and the display device first returns from the projection content display page to the projection information page; thereafter, the display device receives the return instruction generated by the user operating the return button in the remote control again, and the display device jumps from the projection information page to the desktop of the Android system.
[0149] Please refer to Figure 18. According to the interface sequence indicated by the arrows, the display device is displaying the main page of application 1 installed in the display device; thereafter, the display device responds to the instruction generated by the user operating the signal source button on the remote control, and displays the signal source page on the main interface of application 1; then, the user selects AirPlay as the signal source from multiple signal sources, starts the AirPlay function, and the display device jumps to the screen projection information page; thereafter, the user can directly establish a connection with the display device and display the projected content on the display device by operating the cast button or screen mirroring in the multimedia content playback page provided by the application on the mobile phone; in the process of displaying the projected content, the display device receives the return instruction generated by the user operating the return button in the remote control, and the display device first returns from the projected content display page to the projected information page; thereafter, the display device receives the return instruction generated by the user operating the return button in the remote control again, and the display device jumps from the projected information page to the main page of application 1.
[0150] As shown in Figures 17 and 18, the first return instruction received by the display device is processed internally by the AirPlay SDK, and the second return instruction is uploaded to the AirPlay application by the AirPlay SDK through the startup service for processing.
[0151] In combination with the embodiments shown in Figures 16 to 18, by adopting the control method of the display device provided by the present disclosure, the display device can respond to the return instruction for the projection information page with a unified strategy or a more flexible and targeted strategy, control the page jump to meet the user's usage habits, and improve the user's experience of using the airplay function of the display device.
[0152] The normal use of the AirPlay function requires the MFI key (Made for iPhone / iPod / iPad, mainly used for legitimacy verification of Apple devices) and the FairPlay Key (used to decrypt encrypted multimedia content protected by FairPlay's digital copyright).
[0153] To ensure the security of business credentials, the currently commonly used method for writing business credentials is to write them to display devices in a production environment. However, on the one hand, writing business credentials to relevant devices in a production environment means that the production progress must rely on the authentication progress of the business credentials. If the display device fails to pass the authentication of the business party, the business credentials cannot be obtained, which in turn affects the production progress of the display device. On the other hand, writing business credentials to relevant devices in a production environment also means that once the business credentials are written to the display device and delivered to the user, the business credentials cannot be changed. When the business credentials are abnormal or need to be updated, the business credentials in the display device cannot be rewritten.
[0154] Based on this, the embodiment of the present disclosure generates a first device signature based on the first encryption key written into the display device, then sends a credential acquisition request carrying the first device signature to the server, receives the business credential sent by the server, and writes the business credential into the preset storage location of the display device. On the one hand, since the embodiment of the present disclosure writes the business credential to the display device by obtaining the business credential from the server and writing the business credential obtained from the server into the preset storage location, the embodiment of the present disclosure can write the business credential to the display device at any stage, and is not limited to writing the business credential to the display device in a production environment. On the other hand, since the credential acquisition request carries the first device signature generated by the display device based on the first encryption key written into the display device, and the server will only send the business credential corresponding to the display device to the display device if it determines that the display device has passed authentication based on the first device signature, the embodiment of the present disclosure can prevent illegal devices from stealing the business credential of the display device from the server, thereby ensuring the security of the business credential.
[0155] Therefore, the above process can alleviate the problems of affecting production progress and being unable to rewrite when writing business credentials to a display device in a production environment.
[0156] The scenario architecture diagram of the business credential writing method is still described using the application scenario shown in Figure 1. As shown in Figure 1, the scenario architecture according to some embodiments includes: a control device 100, a display device 200, a smart device 300, and a server 400.
[0157] The user can operate the display device 200 through the smart device 300 or the control device 100 to control the display device 200 to perform corresponding operations. A data communication link is established between the display device 200 and the server 400, and the server 400 stores the business credentials corresponding to the display device 200. The display device 200 can send a credential acquisition request to the server 400 to request the business credentials and write the business credentials to a designated storage location to complete the writing of the business credentials. After receiving the credential acquisition request from the display device, the server 400 first authenticates the display device and returns the business credentials to the display device only if the display device passes the authentication.
[0158] The display device according to some embodiments can have various implementation forms, for example, a television, a smart speaker refrigerator with a display function, curtains with a display function, a personal computer (PC), a laser projection device, a monitor, an electronic bulletin board, a wearable device, an in-vehicle device, an electronic table, etc. The server according to some embodiments can have various implementation forms, for example, a cloud server (Cloud Server) or a content delivery network (CDN). The server 400 can be a cluster or multiple clusters, and can include one or more types of servers.
[0159] In some embodiments, a first encryption key is written to the display device 200, and the business credentials corresponding to the display device 200 and the first decryption key corresponding to the first encryption key are uploaded to the server 400. When the display device 200 needs to write a business credential, the processor 250 reads the written first encryption key, generates a first device signature based on the first encryption key, and then sends a credential acquisition request carrying the first device signature to the server 400 via the processor 220. The server 400 authenticates the display device 200 based on the first decryption key and the first device signature. If the display device 200 is authenticated, the server 400 sends the business credentials corresponding to the display device 200 to the display device 200. After receiving the business credentials sent by the server 400, the display device 200 saves the business credentials to a preset storage location to complete the writing of the business credentials. Since the server 400 only sends the business credentials to the display device 200 if it determines that the display device 200 has passed the authentication, the above embodiment can prevent unauthorized devices from stealing the business credentials of the display device 200 from the server 400, thereby ensuring the security of the business credentials.
[0160] In some embodiments, the display device 200 generates a first device signature based on a first encryption key written into the display device 200, which may include: the processor 250 of the display device 200 encrypts a first file using the first encryption key to obtain the first encrypted file; obtains summary information of the first file based on a preset algorithm; and generates the first device signature based on the first encrypted file and the summary information. Accordingly, the server 400 authenticates the display device 200 based on the first device signature, which may include: the server 400 parses the first device signature to obtain the first encrypted file and the summary information of the first file; decrypts the first encrypted file using a first decryption key corresponding to the first encryption key to obtain decrypted data corresponding to the first encrypted file; then obtains summary information of the decrypted data corresponding to the first encrypted file based on the preset algorithm; and finally compares the summary information of the decrypted data corresponding to the first encrypted file to see if it is the same as the summary information carried in the credential acquisition request; if they are the same, it is determined that the display device 200 is authenticated; if they are different, it is determined that the display device 200 is authenticated.
[0161] In some embodiments, in order to ensure the validity of the first encryption key written into the display device 200, after writing the first encryption key into the display device 200, the processor 250 of the display device 200 will also generate a second device signature based on the first encryption key; the communicator 200 of the display device 200 will also send an authentication request carrying the second device signature to the server 400, and receive an authentication response sent by the server 400; the processor 250 of the display device 200 will also determine that the first encryption key is valid if the authentication response indicates that the display device authentication is passed, and determine that the first encryption key is invalid if the authentication response indicates that the display device authentication is not passed. Accordingly, after receiving the authentication request sent by the display device 200, the server 400 authenticates the display device 200 based on the second device signature carried in the authentication request, and returns the authentication result to the display device 200. After writing the first encryption key into the display device 200, the above embodiment will also verify the validity of the first encryption key. Therefore, the implementation of the present disclosure can also avoid the display device 200 being unable to obtain business credentials from the server 400 due to the invalidity of the first encryption key written into the display device 200, thereby improving the reliability of writing business credentials to the display device.
[0162] In some embodiments, a second encryption key server 400 is also uploaded to the server, and a second decryption key corresponding to the second encryption key is also written into the display device 200. The implementation method of the server 400 sending the business credentials to the display device 200 may include: the server 400 sends a second encrypted file encrypted with the business credentials using the second encryption key to the display device 200. After receiving the second encrypted file, the display device 200 obtains the second decryption key written to the display device, and decrypts the second encrypted file using the second decryption key to obtain the business credentials. Among them, one implementation method of the server 400 obtaining the second encrypted file is: uploading both the second encryption key and the business credentials to the server 400, and the server 400 encrypts the business credentials according to the second encryption key to obtain the second encrypted file; another implementation method of the server 400 obtaining the second encrypted file may be: directly uploading the second encrypted file obtained by encrypting the business credentials using the second encryption key to the server 400.
[0163] In some embodiments, to ensure the validity of the second decryption key written into the display device 200, the communicator 220 of the display device 200 will also obtain a third encrypted file obtained by encrypting a preset file based on the second encryption key from the server 400 after writing the second decryption key into the display device 200. The processor 250 of the display device 200 will also decrypt the third encrypted file using the second decryption key to obtain decrypted data, and compare the decrypted data obtained by decrypting the third encrypted file to see whether it is consistent with the preset file. If the decrypted data is consistent with the preset file, it is determined that the second decryption key is valid. If the decrypted data is inconsistent with the preset file, it is determined that the second decryption key is invalid. The above embodiment will further verify the validity of the second decryption key after writing the second decryption key into the display device 200. Therefore, the embodiment of the present disclosure can avoid the display device 200 being unable to decrypt the encrypted business credentials due to the invalid second decryption key written into the display device 200, thereby improving the reliability of writing business credentials to the display device.
[0164] In some embodiments, to prevent the second decryption key from being stolen during the writing process, the implementation method of writing the second decryption key to the display device 200 may include: the memory of the display device 200 receives a written fourth encrypted file obtained by encrypting the second decryption key based on the third encryption key, and the control of the display device 200 decrypts the fourth encrypted file according to the third decryption key pre-set in the software system of the display device to obtain the second decryption key. The third decryption key is the decryption key corresponding to the third encryption key. Since the second decryption key is encrypted during the writing process, the person or device involved in the writing can only obtain the fourth encrypted file obtained by encrypting the second decryption key based on the third encryption key, but cannot obtain the decrypted second decryption key. Therefore, the above embodiment can prevent the second decryption key from being stolen during the writing process.
[0165] In some embodiments, in order to prevent the first encryption key from being stolen during the writing process, the implementation method of the display device 200 writing the first encryption key may include: the memory of the display device 200 receives the written fifth encrypted file obtained by encrypting the first encryption key based on the third encryption key, and the control of the display device 200 decrypts the fifth encrypted file according to the third decryption key pre-set in the software system of the display device to obtain the second decryption key. The third decryption key is the decryption key corresponding to the third encryption key. Since the first encryption key is encrypted during the writing process, the writing-related personnel or equipment can only obtain the fifth encrypted file obtained by encrypting the first encryption key based on the third encryption key, but cannot obtain the decrypted first encryption key. Therefore, the above embodiment can prevent the first encryption key from being stolen during the writing process.
[0166] FIG19 is a schematic diagram of an interactive process of a method for writing a business voucher in an embodiment of the present disclosure, as shown in FIG19 , including the following steps:
[0167] S1901: The display device generates a first device signature according to a first encryption key written into the display device.
[0168] In some embodiments, the first encryption key can be written to the display device in a production environment. That is, the first encryption key is written to the display device in the production environment. When the display device needs to obtain a service credential, it reads the first encryption key written in the production environment and generates a first device signature based on the first encryption key.
[0169] Since the first encryption key in the embodiment of the present disclosure is used to authenticate the display device, the first encryption key corresponds to the display device one-to-one, and each display device has a unique first encryption key.
[0170] S1902: The display device sends a credential acquisition request carrying the signature of the first device to the server.
[0171] Correspondingly, the server receives the credential acquisition request carrying the signature of the first device sent by the display device.
[0172] The credential acquisition request is used to request the server to return the service credential corresponding to the display device when it is determined that the display device has passed authentication based on the first device signature.
[0173] In some embodiments, the credential acquisition request may be a registration request sent to the server when the display device is first used online. After the server completes the authentication of the display device, it will send the service credential corresponding to the display device to the display device.
[0174] The service credentials in the embodiment of the present disclosure may be an MFI key, a FairPlay Key, etc., which is not limited in the embodiment of the present disclosure.
[0175] S1903. The server authenticates the display device according to the first device signature and the first decryption key corresponding to the first encryption key.
[0176] In the embodiment of the present disclosure, the first encryption key and the first decryption key are in a one-to-one relationship, and each display device has a unique first encryption key.
[0177] In some implementations, the first encryption key and the first decryption key may be keys in a symmetric encryption algorithm, that is, the first encryption key and the first decryption key are the same.
[0178] In some implementations, the first encryption key and the first decryption key may be a key pair in an asymmetric encryption algorithm, the first encryption key being a public key in the asymmetric encryption algorithm, and the first decryption key being a private key in the asymmetric encryption algorithm.
[0179] In the above step S1903, if the server determines that the display device authentication fails based on the first device signature and the first decryption key corresponding to the first encryption key, the server can determine that the display device does not have the authority to obtain the business credentials, and therefore refuses to send the business credentials to the display device. If the server determines that the display device authentication passes based on the first device signature and the first decryption key corresponding to the first encryption key, the server can determine that the display device has the authority to obtain the business credentials, and therefore executes the following step S1904.
[0180] S1904: The server sends the service credential to the display device.
[0181] Correspondingly, the display device receives the service credential sent by the server.
[0182] S1905: The display device writes the business credential into a preset storage location of the display device.
[0183] In some embodiments, the preset storage location may be a storage location in a trusted execution environment (TEE) of the display device.
[0184] Storing the business credentials in a storage location within the trusted execution environment can prevent the business credentials from being stolen from the display device when being written to the display device, thereby further improving the security of the business credentials.
[0185] According to some embodiments of the display device and the business credential writing method, first, a first device signature is generated based on the first encryption key written to the display device, and then a credential acquisition request carrying the first device signature is sent to the server, and the business credential sent by the server is received, and the business credential is written to the preset storage location of the display device. On the one hand, since the embodiment of the present disclosure writes the business credential to the display device by obtaining the business credential from the server and writing the business credential obtained from the server to the preset storage location, the embodiment of the present disclosure can write the business credential to the display device at any stage, and is not limited to writing the business credential to the display device in a production environment. On the other hand, since the credential acquisition request carries the first device signature generated by the display device based on the first encryption key written to the display device, and the server will only send the business credential corresponding to the display device to the display device if it is determined that the display device has passed authentication based on the first device signature, the embodiment of the present disclosure can prevent illegal devices from stealing the business credential of the display device from the server, thereby ensuring the security of the business credential. In summary, the embodiments of the present disclosure can safely write business credentials to the display device after the display device is delivered, solving the problem of affecting production progress and being unable to rewrite when writing business credentials to the display device in a production environment.
[0186] As an extension and refinement of the embodiment shown in FIG. 19 , the present disclosure provides another method for writing a business credential. As shown in FIG. 20 , the interactive flow chart of the method for writing a business credential includes the following steps:
[0187] S2001. A display device encrypts a first file according to a first encryption key written into the display device to obtain a first encrypted file.
[0188] The first file in the embodiment of the present disclosure may be any file.
[0189] In some embodiments, the display device may randomly generate a text file containing a plurality of characters as the first file.
[0190] S2002: The display device obtains summary information of the first file based on a preset algorithm.
[0191] In some embodiments, the above step S2002 (obtaining summary information of the first file based on a preset algorithm) may include:
[0192] A hash calculation is performed on the first file based on a hash algorithm, and a hash value obtained by the hash calculation on the first file is used as summary information of the first file.
[0193] For example, a hash calculation may be performed on the first file based on the SHA256 algorithm (a hash algorithm with a hash value length of 256 bits), and the obtained hash value may be used as the summary information of the first file.
[0194] S2003. The display device generates the first device signature according to the first encrypted file and the summary information.
[0195] In some embodiments, the first encrypted file and the summary information may be directly encapsulated into a same data packet, and the encapsulated data packet may be used as the first device signature.
[0196] S2004. The display device sends a credential acquisition request carrying the signature of the first device to the server.
[0197] Correspondingly, the server receives the credential acquisition request carrying the signature of the first device sent by the display device.
[0198] The credential acquisition request is used to request the server to return the service credential corresponding to the display device when it is determined that the display device has passed authentication based on the first device signature.
[0199] S2005. The server parses the first device signature to obtain the first encrypted file and the summary information.
[0200] S2006. The server decrypts the first encrypted file using the first decryption key to obtain decrypted data corresponding to the first encrypted file.
[0201] S2007. The server obtains summary information of the decrypted data corresponding to the first encrypted file through the preset algorithm.
[0202] It should be noted that the algorithm used by the server to obtain the summary information of the decrypted data corresponding to the first encrypted file is consistent with the algorithm used by the display device to obtain the summary information of the first file.
[0203] S2008. The server compares the summary information of the decrypted data corresponding to the first encrypted file to see whether it is the same as the summary information of the first file.
[0204] When the display device is a legal display device, since the encryption key (first encryption key) for generating the first encrypted file and the decryption key (first decryption key) for decrypting the first encrypted file are a key pair, the decrypted data obtained by the server is the first file, and because the display device and the server use the same algorithm to obtain the summary information, the obtained summary information should also be the same; when the display device is an illegal device, since the encryption key (first encryption key) for generating the first encrypted file and the decryption key (first decryption key) for decrypting the first encrypted file are not a key pair, the decrypted data obtained by the server will not be the same as the first file, which will cause the summary information of the obtained decrypted data to be different from the summary information of the first file. Therefore, in the embodiment of the present disclosure, whether the authentication of the display device is passed can be judged based on whether the summary information of the decrypted data corresponding to the first encrypted file is the same as the summary information of the first file.
[0205] That is, in the above step S2008, if the summary information of the decrypted data corresponding to the first encrypted file is different from the summary information of the first file, it can be determined that the display device authentication has failed, and the business credentials are refused to be sent to the display device; if the summary information of the decrypted data corresponding to the first encrypted file is the same as the summary information of the first file, it can be determined that the display device authentication has passed and the following subsequent steps are executed.
[0206] S2009. The server sends the service credential to the display device.
[0207] Correspondingly, the display device receives the service credential sent by the server.
[0208] S2010: The display device writes the business credential into a preset storage location of the display device.
[0209] The first encryption key written to the display device may be invalid due to reasons such as not being the encryption key corresponding to the first decryption key, which may cause the display device to be unable to obtain the business credentials from the server. In order to ensure the validity of the first encryption key written to the display device, after writing the first encryption key to the display device, the business credential writing method according to some embodiments also verifies the validity of the first encryption key written to the display device. Referring to Figure 21, the process of verifying the validity of the first encryption key written to the display device includes the following steps:
[0210] S2101. The display device generates a second device signature according to the first encryption key.
[0211] In some embodiments, the display device may generate the second device signature according to the first encryption key in the same manner as the display device generates the second device signature according to the first encryption key.
[0212] In some embodiments, the display device may generate the second device signature according to the first encryption key by encrypting a specified file using the first encryption key to obtain the second device signature.
[0213] S2102. The display device sends an authentication request carrying the signature of the second device to the server.
[0214] Correspondingly, the server receives the authentication request sent by the display device and carrying the signature of the second device.
[0215] The authentication request is used to request the server to authenticate the display device according to the second device signature.
[0216] S2103. The server authenticates the display device according to the second device signature and the first decryption key.
[0217] In some embodiments, the implementation manner in which the display device generates the second device signature based on the first encryption key can be the same as the implementation manner in which the display device generates the second device signature based on the first encryption key. At this time, the implementation manner in which the server authenticates the display device based on the second device signature and the first decryption key corresponding to the first encryption key is the same as the implementation manner in which the server authenticates the display device based on the first device signature and the first decryption key corresponding to the first encryption key.
[0218] In some embodiments, the implementation method of the display device generating the second device signature based on the first encryption key may include: encrypting the specified file through the first encryption key to obtain the second device signature. At this time, the implementation method of the server authenticating the display device based on the second device signature and the first decryption key corresponding to the first encryption key may be: decrypting the second encrypted file through the first decryption key, obtaining the decrypted data corresponding to the second encrypted file, and determining whether the authentication of the display device is passed based on whether the decrypted data corresponding to the second encrypted file is the same as the specified file.
[0219] S2104. The server sends an authentication response to the display device.
[0220] Correspondingly, the display device receives the authentication response sent by the server.
[0221] The authentication response is used to indicate whether the display device authentication has been passed or whether the display device authentication has failed.
[0222] If the authentication response indicates that the display device authentication is successful, the following step S2105 is executed; if the authentication response indicates that the display device authentication is unsuccessful, the following step S2106 is executed.
[0223] S2105. Determine whether the first encryption key is valid.
[0224] S2106. Determine that the first encryption key is invalid.
[0225] After writing the first encryption key into the display device, the above embodiment further verifies the validity of the first encryption key. Therefore, the disclosed implementation can avoid the display device being unable to obtain business credentials from the server due to the invalid first encryption key written into the display device.
[0226] In some embodiments, the verification of the validity of the first encryption key may be triggered by starting to execute the process for verifying the validity of the first encryption key shown in FIG. 21 in response to a user operation.
[0227] For example: the user enters the hidden entrance of the display device, such as: Settings – Sound – Advanced Settings, and presses the remote control button "2022" to open the Outgoing Quality Control (OQC) application, selects the target virtual button in the application interface and confirms, and then starts executing the process shown in Figure 21 for verifying the validity of the first encryption key.
[0228] During the process of the server sending the business credentials to the display device, the business credentials may be intercepted, which may lead to the theft of the business credentials. In order to ensure the security of the process of the server sending the business credentials to the display device, as shown in FIG22 , based on the embodiment shown in FIG19 , the implementation of the above step S1904 (the server sending the business credentials to the display device) may include:
[0229] S1904a. The server sends a second encrypted file to the display device.
[0230] Correspondingly, the display device receives the second encrypted file sent by the server.
[0231] The second encrypted file is an encrypted file obtained by encrypting the business credential based on a second encryption key.
[0232] In some embodiments, the server may obtain the second encrypted file in an implementation manner that includes: the server receiving the uploaded business credentials and the second encryption key, and encrypting the business credentials based on the second encryption key to obtain the second encrypted file.
[0233] That is, the business credential and the second encryption key are written to the server, and then the server encrypts the business credential based on the second encryption key to generate the second encrypted file.
[0234] In some embodiments, the implementation manner in which the server obtains the second encrypted file may include: the server receives the uploaded second encrypted file.
[0235] That is, the second encrypted file is directly written to the server.
[0236] FIG22 shows an example of an implementation method in which the server obtains the second encrypted file, including: the server receives the uploaded business credentials and the second encryption key, and encrypts the business credentials based on the second encryption key to obtain the second encrypted file. However, in the embodiment of the present disclosure, the second encrypted file can also be directly uploaded to the server.
[0237] Compared to writing the business credentials and the second encryption key to the server, writing the second encrypted file to the server can prevent the business credentials from being stolen from the server, thereby further improving the security of the business credentials.
[0238] S1904b: The display device obtains a second decryption key written into the display device.
[0239] The second decryption key is the decryption key corresponding to the second encryption key.
[0240] In some embodiments, the second decryption key may be written into the display device in a production environment.
[0241] In some implementations, the second encryption key and the second decryption key may be keys in a symmetric encryption algorithm, that is, the first encryption key and the first decryption key are the same.
[0242] In some implementations, the second encryption key and the second decryption key may be a key pair in an asymmetric encryption algorithm, the second encryption key is a public key in the asymmetric encryption algorithm, and the second decryption key is a private key in the asymmetric encryption algorithm.
[0243] S1904c. The display device decrypts the second encrypted file using the second decryption key to obtain the business credential.
[0244] Since the server sends the encrypted business credentials to the display device, the above embodiment can prevent the business credentials from being stolen during the process of being sent from the server to the display device, thereby further improving the security of the business credentials.
[0245] The second decryption key written to the display device may be invalid because it is not the decryption key corresponding to the second encryption key, which may cause the display device to be unable to decrypt the encrypted business credentials (second encrypted file) after obtaining them from the server. In order to ensure the validity of the second decryption key written to the display device, after writing the second decryption key to the display device, the business credential writing method according to some embodiments will also verify the validity of the second decryption key written to the display device. Referring to Figure 23, the process of verifying the validity of the second decryption key written to the display device includes the following steps:
[0246] S2301. The server sends a third encrypted file to the display device.
[0247] Correspondingly, the display device receives the third encrypted file sent by the server.
[0248] The third encrypted file is an encrypted file obtained by encrypting a preset file based on the second encryption key.
[0249] S2302. The display device decrypts the third encrypted file using the second decryption key to obtain decrypted data corresponding to the third encrypted file.
[0250] S2303: The display device compares the decrypted data corresponding to the third encrypted file with the preset file to see whether they are the same.
[0251] In the above step S2303, if the decrypted data corresponding to the third encrypted file is the same as the preset file, the following step S2304 is executed; if the decrypted data corresponding to the third encrypted file is different from the preset file, the following step S2305 is executed.
[0252] S2304: Determine whether the second decryption key is valid.
[0253] S2305: Determine whether the second decryption key is invalid.
[0254] The above embodiment further verifies the validity of the second decryption key after writing the second decryption key into the display device. Therefore, the disclosed implementation can avoid the display device being unable to decrypt the encrypted business credentials due to the invalid second decryption key written into the display device.
[0255] The process of writing the second decryption key to the display device generally involves first issuing the second decryption key to the display device's production system, and then having the display device's production system write the second decryption key to the display device. However, after the second decryption key is issued to the display device's production system, it is possible that the second decryption key can be stolen from the production system. To prevent the second decryption key from being stolen while being written to the display device, as shown in FIG. 24 , according to some embodiments, the implementation of writing the second decryption key to the display device in the business credential writing method may include the following steps:
[0256] S2401. The display device receives a written fourth encrypted file.
[0257] The fourth encrypted file is an encrypted file obtained by encrypting the second decryption key based on the third encryption key.
[0258] S2402: The display device decrypts the fourth encrypted file according to the third decryption key pre-installed in the software system of the display device to obtain the second decryption key.
[0259] The third decryption key is the decryption key corresponding to the third encryption key.
[0260] That is, a third decryption key is pre-configured in the software system of the display device, and the second decryption key of the production system issued to the display device is a fourth encrypted file obtained by encrypting the second decryption key with the third encryption key. The production system of the display device directly writes the fourth encrypted file into the display device, and the display then decrypts the fourth encrypted file with the third decryption key to obtain the second decryption key.
[0261] In some implementations, the third encryption key and the third decryption key may be keys in a symmetric encryption algorithm, that is, the third encryption key and the third decryption key are the same.
[0262] In some implementations, the third encryption key and the third decryption key may be a key pair in an asymmetric encryption algorithm, the third encryption key being a public key in the asymmetric encryption algorithm, and the third decryption key being a private key in the asymmetric encryption algorithm.
[0263] Since the second decryption key of the production system issued to the display device is a fourth encrypted file obtained by encrypting the second decryption key with the third encryption key, even if the second decryption key is stolen, only the second decryption key ciphertext can be stolen, and the plaintext of the second decryption key cannot be obtained. Therefore, the above embodiment can prevent the second decryption key from being stolen during the process of writing to the display device, thereby improving the security of the second decryption key.
[0264] In some embodiments, after the fourth encrypted file is written, the display device may decrypt the fourth encrypted file using the third decryption key and store the obtained second decryption key so that it can be directly read when needed later.
[0265] In some embodiments, the display device can decrypt the fourth encrypted file using the third decryption key only when the second decryption key is needed, obtaining the second decryption key and deleting it after use. Because the display device stores the ciphertext that also represents the second decryption key, the disclosed embodiments can also prevent the second decryption key from being stolen from the display device, further enhancing the security of the second decryption key.
[0266] The process of writing the first encryption key to the display device generally involves first issuing the first encryption key to the display device's production system, and then having the display device's production system write the first encryption key to the display device. However, after the first encryption key is issued to the display device's production system, it is possible that the first encryption key may be stolen from the production system. To prevent the first encryption key from being stolen while being written to the display device, as shown in FIG. 25 , according to some embodiments, the implementation of writing the first encryption key to the display device in the business credential writing method may include the following steps:
[0267] S2501. The display device receives the written fifth encrypted file.
[0268] The fifth encrypted file is an encrypted file obtained by encrypting the first encryption key based on the third encryption key.
[0269] S2502: The display device decrypts the fifth encrypted file according to a third decryption key preset in a software system of the display device to obtain the first encryption key.
[0270] The third decryption key is the decryption key corresponding to the third encryption key.
[0271] That is, a third decryption key is pre-configured in the software system of the display device, and the first encryption key of the production system issued to the display device is a fifth encrypted file obtained by encrypting the first encryption key with the third encryption key. The production system of the display device directly writes the fifth encrypted file into the display device, and the display then decrypts the fifth encrypted file with the third decryption key to obtain the first encryption key.
[0272] Since the first encryption key of the production system issued to the display device is the fifth encrypted file obtained by encrypting the first encryption key with the third encryption key, even if the first encryption key is stolen, only the first encryption key ciphertext can be stolen, and the plaintext of the first encryption key cannot be obtained. Therefore, the above embodiment can prevent the first encryption key from being stolen during the process of writing to the display device, thereby improving the security of the first encryption key.
[0273] In some embodiments, after the fifth encrypted file is written, the display device may decrypt the fifth encrypted file using the third decryption key and store the obtained first encryption key so that it can be directly read when needed later.
[0274] In some embodiments, the display device can decrypt the fifth encrypted file using the third decryption key only when the first encryption key is needed, obtaining the first encryption key and deleting the first encryption key after use. Because the display device stores the ciphertext that also represents the first encryption key, the disclosed embodiments can also prevent the first encryption key from being stolen from the display device, further enhancing the security of the first encryption key.
Claims
1. A display device, comprising: A communicator, comprising a Wi-Fi module and a Bluetooth module, configured to communicate with a screen projection data source device; a display configured to display images and / or a user interface of the broadcast system and / or network; a memory configured to store computer instructions and data associated with said display; a processor, in communication with the communicator, the display, and the memory, and configured to execute the computer instructions so that the display device performs: switching from a current channel to a projection channel in response to a channel switching instruction; In response to the screen projection instruction sent by the screen projection data source device, detecting the network status and screen projection switch status of the Wi-Fi module; When the network status indicates that the network is off, control the Wi-Fi module to turn on the network and connect to the target network; and / or, when the screen projection switch status indicates that the screen projection is off, control the screen projection switch to be turned on; Obtain the projection data sent by the projection data source device through the target network, and control the display to display the projection data on the interface of the projection channel.
2. The display device according to claim 1, wherein the processor is further configured to execute computer instructions so that the display device: Obtaining projection data sent by the projection data source device through the target network, and controlling the display to display the projection data on the screen projection channel interface before controlling the Wi-Fi module to turn on the network and connect to the target network; controlling the display to display a first prompt message for prompting to turn on the network for connection; and determining that the network connection is successful within a preset time; If the network connection fails within the preset time period, controlling the display to display a network status setting interface, wherein the network status setting interface includes a network switch control and identifiers of multiple networks to be connected; receiving a user's selection input for a target network identifier in the network status setting interface; In response to the selection input, an attempt is made to connect to the target network indicated by the target network identifier.
3. The display device according to claim 1 , wherein the processor is further configured to execute computer instructions to cause the display device to: After detecting the network status and screen projection switch status of the Wi-Fi module, controlling the Wi-Fi module to turn on the network and connect to the target network; if the network status indicates that the network is off, controlling the display to display a network status setting interface; the network status setting interface includes a network switch control and multiple identifiers of networks to be connected; Obtaining a first input from a user for the network switch control in the network status setting interface, where the first input is used to instruct to turn on the network; The processor is further configured to execute computer instructions to cause the display device to: In response to the first input, the Wi-Fi module is controlled to turn on the network and connect to the target network.
4. The display device according to claim 1 , wherein the processor is further configured to execute computer instructions to cause the display device to: After detecting the network status and screen projection switch status of the Wi-Fi module, before controlling the screen projection switch to be turned on; when the screen projection switch status indicates that the screen projection is off, controlling the display to display the screen projection switch status setting interface, wherein the screen projection switch status setting interface includes a screen projection switch control; Obtaining a second input from the user for the screen casting switch control in the screen casting switch state setting interface, where the second input is used to indicate turning on the screen casting switch; The processor is further configured to execute computer instructions to cause the display device to: In response to the second input, the screen projection switch is controlled to be turned on.
5. The display device according to claim 1 , wherein the processor is further configured to execute computer instructions to cause the display device to: After detecting the network status and screen projection switch status of the Wi-Fi module, obtaining the screen projection data sent by the terminal device and controlling the display to display the screen projection data; in response to the screen projection instruction, detecting the resource update status; If the resource update status indicates that the resource has not been updated, download the target version of the screen projection resource; Update resources based on the projection resources of the target version.
6. The display device according to claim 5, wherein the screen projection resource includes a screen projection key, and the processor is further configured to execute computer instructions to enable the display device to: Obtain the projection data sent by the terminal device, and when controlling the display to display the projection data, decrypt the projection data sent by the projection data source device according to the updated projection key; Control the display to display the decrypted projection data.
7. The display device according to claim 1, further configured to: receive a return instruction generated by a user operating a return button of a control device; The processor is further configured to execute computer instructions to cause the display device to: In response to the return instruction, determine whether the display is currently displaying the projection information page, and the projection information page meets the requirements of the specified airplay protocol; and when it is determined that the display is currently displaying the projection information page, control the display to return to displaying a pre-specified page.
8. The display device according to claim 7, wherein the processor is further configured to execute computer instructions to cause the display device to: When controlling the display to return to displaying a pre-specified page, determining the data source object that was in the activated state before the display device entered the projection information page; The display is controlled to return to displaying a designated page corresponding to the data source object; different data source objects correspond to different designated pages.
9. The display device according to claim 8, wherein the processor is further configured to execute computer instructions to cause the display device to: If the data source object that was in the activated state before entering the screen projection information page is a signal source supported by the display device, controlling the display to return to displaying the desktop of the operating system of the display device; If the data source object that was in the startup state before entering the projection information page is an application installed in the application layer of the operating system of the display device, the display is controlled to return to display the main page corresponding to the application.
10. The display device according to claim 9, wherein the processor is further configured to execute computer instructions to cause the display device to: Get custom parameters; Determining whether the value of the custom parameter is equal to a preset value; If they are equal, it is determined that the data source object that was in the activated state before entering the screen projection information page is a signal source supported by the display device; If not equal, it is determined that the data source object that is in the startup state before entering the projection information page is an application installed in the application layer of the operating system of the display device.
11. The display device according to claim 7, wherein the processor is further configured to execute computer instructions to cause the display device to: When it is determined that the display is currently displaying the projection information page, the AirPlay software tool development kit SDK in the display device is called to broadcast the return instruction input by the communicator to the AirPlay application, so that the AirPlay application responds to the return instruction and controls the display to return to display the pre-specified page.
12. The display device according to claim 11, wherein the processor is further configured to execute computer instructions to cause the display device to: The AirPlay SDK is called to forward the return instruction to the startup service, and the return instruction is broadcast by calling the startup service to send the return instruction to the AirPlay application.
13. The display device according to claim 12, wherein the processor is further configured to execute computer instructions to cause the display device to: Call the AirPlay SDK to send the return instruction to the startup service in a socket manner.
14. The display device according to claim 7, wherein the processor is further configured to execute computer instructions to cause the display device to: The display is controlled to return to displaying the desktop of the operating system of the display device.
15. The display device according to claim 7, wherein the memory is further configured to write the business credential into a preset storage location of the display device; The communicator is further configured to send a credential acquisition request carrying the signature of the first device to the server; wherein, The credential acquisition request is used to request the server to return the service credential corresponding to the display device when it is determined that the display device has passed authentication based on the first device signature; Receiving the service certificate sent by the server; The processor is further configured to execute computer instructions to cause the display device to: A first device signature is generated according to a first encryption key written into the display device.
16. The display device according to claim 15, wherein the processor is further configured to execute computer instructions to cause the display device to: Encrypt the first file using the first encryption key to obtain a first encrypted file; Obtain summary information of the first file based on a preset algorithm; The first device signature is generated according to the first encrypted file and the summary information.
17. The display device according to claim 15, wherein the communicator is further configured to send an authentication request carrying a second device signature to the server, and receive an authentication response sent by the server; the authentication request is used to request the server to authenticate the display device based on the second device signature; The processor is further configured to execute computer instructions to cause the display device to: After writing the first encryption key into the display device, generating the second device signature based on the first encryption key; If the authentication response indicates that the display device authentication is passed, the first encryption key is determined to be valid; if the authentication response indicates that the display device authentication is failed, the first encryption key is determined to be invalid.
18. The display device according to claim 15, wherein the communicator is specifically configured to: receiving a second encrypted file sent by the server, where the second encrypted file is an encrypted file obtained by encrypting the business credential based on a second encryption key; Obtaining a second decryption key written into the display device, where the second decryption key is a decryption key corresponding to the second encryption key; The second encrypted file is decrypted using the second decryption key to obtain the business credential.
19. The display device according to claim 18, wherein the communicator is further configured to receive a third encrypted file sent by the server after the second decryption key is written into the display device; the third encrypted file is an encrypted file obtained by encrypting a preset file based on the second encryption key; The processor is further configured to execute computer instructions to cause the display device to: The third encrypted file is decrypted using the second decryption key to obtain decrypted data, and when the decrypted data is consistent with the preset file, the second decryption key is determined to be valid; when the decrypted data is inconsistent with the preset file, the second decryption key is determined to be invalid.
20. The display device according to claim 18, wherein the memory is further configured to receive a written fourth encrypted file, wherein the fourth encrypted file is an encrypted file obtained by encrypting the second decryption key based on the third encryption key; The processor is further configured to execute computer instructions to cause the display device to: The fourth encrypted file is decrypted according to a third decryption key pre-installed in the software system of the display device to obtain the second decryption key; the third decryption key is a decryption key corresponding to the third encryption key.
21. The display device according to any one of claims 15 to 20, wherein the memory is further configured to receive a written fifth encrypted file, wherein the fifth encrypted file is an encrypted file obtained by encrypting the first encryption key based on a third encryption key; The processor is further configured to execute computer instructions to cause the display device to: The fifth encrypted file is decrypted according to the third decryption key preset in the software system of the display device. The first encryption key is obtained by performing a decryption on the first decryption key, and the third decryption key is the decryption key corresponding to the third encryption key.
22. A method for controlling a display device, comprising: In response to the channel switching instruction, switch from the current channel to the projection channel; Obtaining a screen projection instruction sent by the screen projection data source device; In response to the screen projection instruction, detecting the network status and screen projection switch status of the Wi-Fi module; When the network status indicates that the network is off, control the Wi-Fi module to turn on the network and connect to the target network; and / or, when the screen projection switch status indicates that the screen projection is off, control the screen projection switch to be turned on; Obtain the projection data sent by the projection data source device through the target network, and control the display to display the projection data on the interface of the projection channel.
23. The method according to claim 22, further comprising: receiving a return instruction generated by a user by operating a return button of a control device; In response to the return instruction, determining whether a screen projection information page is currently displayed, and the screen projection information page meets the requirements of the specified AirPlay protocol; When it is determined that the projection information page is currently being displayed, the control returns to displaying a pre-specified page.
24. The method according to claim 22, further comprising: generating a first device signature based on a first encryption key written into the display device; Sending a credential acquisition request carrying the first device signature to a server, wherein the credential acquisition request is used to request the server to return a service credential corresponding to the display device if it is determined that the display device has passed authentication based on the first device signature; Receiving the service certificate sent by the server; The business credential is written into a preset storage location of the display device.
