WO2024007719A1 - 一种显示设备和显示设备的控制方法 - Google Patents

一种显示设备和显示设备的控制方法 Download PDF

Info

Publication number
WO2024007719A1
WO2024007719A1 PCT/CN2023/092604 CN2023092604W WO2024007719A1 WO 2024007719 A1 WO2024007719 A1 WO 2024007719A1 CN 2023092604 W CN2023092604 W CN 2023092604W WO 2024007719 A1 WO2024007719 A1 WO 2024007719A1
Authority
WO
WIPO (PCT)
Prior art keywords
display device
display
network
screen projection
screen
Prior art date
Application number
PCT/CN2023/092604
Other languages
English (en)
French (fr)
Inventor
韩征
焉丽飞
片兆峰
段雨
Original Assignee
海信视像科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202210803145.XA external-priority patent/CN117411651A/zh
Priority claimed from CN202210977484.XA external-priority patent/CN115454367A/zh
Priority claimed from CN202211194198.2A external-priority patent/CN117827125A/zh
Application filed by 海信视像科技股份有限公司 filed Critical 海信视像科技股份有限公司
Publication of WO2024007719A1 publication Critical patent/WO2024007719A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the present disclosure relates to the field of multimedia technology, and in particular, to a display device and a control method of the display device.
  • the present disclosure provides a display device, including: a communicator, the communicator including a Wi-Fi module and a Bluetooth module, configured to: communicate with a screen projection data source device; a display, configured to display a broadcast system and/or network images and/or user interfaces; a memory configured to hold computer instructions and data associated with the 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 executes: in response to the channel switching instruction, switches from the current channel to the screen projection channel; in response to the projection instruction sent by the projection data source device, detects the network status and projection of the Wi-Fi module Screen switch status; when the network status indicates that the network is closed, 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 closed, Control turning on the screen projection switch; obtain the screen projection data sent by the screen projection data source device through the target network, and control the display to display the screen projection data on the interface
  • the present disclosure provides a control method for a display device, which includes: responding to a channel switching instruction, switching from the current channel to a screen projection channel; obtaining a screen projection instruction sent by the screen projection data source device; responding to the screen projection instruction, Detect the network status and screen projection switch status of the Wi-Fi module; when the network status indicates that the network is closed, control the Wi-Fi module to turn on the network and connect to the target network; and/or, when the When the status of the screen projection switch indicates that the screen projection is turned off, the screen projection switch is controlled to be turned on to obtain the screen projection data sent by the screen projection data source device through the target network, and the display is controlled to display the screen projection data on the interface of the screen projection channel.
  • Figure 1 is a schematic diagram of a scenario in some embodiments according to some embodiments.
  • Figure 2 is a schematic diagram 1 of a user interface of a display device according to some embodiments.
  • Figure 3 is a configuration block diagram of a control device according to some embodiments.
  • Figure 4 is a hardware configuration block diagram of a display device according to some embodiments.
  • Figure 5A is a schematic diagram of software configuration in a display device according to some embodiments.
  • Figure 5B is a schematic system framework diagram of a display device according to some embodiments.
  • Figure 6 is a schematic flowchart of a method for controlling a display device according to some embodiments.
  • Figure 7 is a schematic diagram of a network status setting interface according to some embodiments.
  • Figure 8 is a schematic diagram 2 of a user interface of a display device according to some embodiments.
  • Figure 9 is a schematic diagram 3 of a user interface of a display device according to some embodiments.
  • Figure 10 is a schematic diagram of a screen projection switch setting interface according to some embodiments.
  • Figure 11 is a schematic diagram of a display device displaying a signal source page according to some embodiments.
  • Figure 12 is a schematic diagram of a display device displaying a screen projection information page according to some embodiments.
  • Figure 13 is a schematic flowchart of a control method of a display device according to some embodiments.
  • Figure 14 is a schematic flowchart of a control method of a display device according to some embodiments.
  • Figure 15 is a schematic flowchart of a control method of a display device according to some embodiments.
  • Figure 16 is a schematic diagram of an interface jump of a display device according to some embodiments.
  • Figure 17 is a schematic diagram of an interface jump of a display device according to some embodiments.
  • Figure 18 is a schematic diagram of an interface jump of a display device according to some embodiments.
  • Figure 19 is an interactive flow chart of a business voucher writing method according to some embodiments.
  • Figure 20 is an interactive flow chart of a business voucher writing method according to some embodiments.
  • Figure 21 is an interactive flow chart of a business voucher writing method according to some embodiments.
  • Figure 22 is an interactive flow chart of a business voucher writing method according to some embodiments.
  • Figure 23 is an interactive flow chart of a business voucher writing method according to some embodiments.
  • Figure 24 is a step flow chart of a business voucher writing method according to some embodiments.
  • Figure 25 is a step flow chart of a business voucher writing method according to some embodiments.
  • Figure 1 is a schematic diagram of scenes in some embodiments provided by the embodiments of the present disclosure. As shown in Figure 1, Figure 1 includes a control device 100, a display device 200, an intelligent device 300 and a server 400. The user can operate the display device 200 through the intelligent device 300 or the control device 100 and play audio and video resources on the display device 200.
  • FIG. 2 illustrates the disclosure Schematic diagram 1 of the user interface of the display device provided by the embodiment.
  • the display device 200 switches from the current channel 11 to the projection channel 12 in response to the channel switching instruction.
  • the current channel in Figure 2 is HDMI1.
  • Channel, the screen casting channel is the AirPlay channel.
  • the user can control the display device 200 to play the audio and video on the smart device 300 while the display device 200 is in the screen casting channel.
  • the user sends a screen casting instruction to the display device 200 through the smart device 300.
  • the display device 200 obtains the network status and screen casting switch status of the Wi-Fi module to determine whether the smart device 300 and Whether the display device 200 is 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 closed, indicating that the display device 200 is not connected to the network, the display device 200 controls to turn on the network for network connection, and when the status of the screen casting switch indicates that screen casting is turned off, the screen casting switch is controlled to turn on the screen casting function of the display device 200, thereby ensuring that the display device 200 obtains intelligence when the network is turned on and the screen casting is turned on.
  • the device 300 sends the screen projection data through the target network and controls the display to display the screen projection data on the screen projection channel 12.
  • the display device 200 detects the network status and the screen projection switch status to avoid screen projection caused by network shutdown and screen projection shutdown. If it fails, ensure that the screen casting 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 cast, thereby effectively improving the success rate of screen casting and improving the user experience.
  • control device 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication, Bluetooth protocol communication, and wireless or other wired methods to control the display device 200 .
  • the user can control the display device 200 by inputting user instructions through buttons on the remote control, voice input, control panel input, etc.
  • smart devices, tablets, computers, laptops, and other smart devices may also be used to control the display device 200 .
  • the smart device 300 can install a software application with the display device 200 to implement connection communication through a network communication protocol to achieve one-to-one control operations and data communication purposes.
  • the audio and video content displayed on the smart device 300 can also be transmitted to the display device 200 to realize the synchronous display function.
  • the display device 200 also performs data communication with the server 400 through various communication methods.
  • the display device 200 may be allowed to communicate via 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 may be a liquid crystal display, an OLED display, or a projection display device.
  • the display device 200 may also additionally provide a smart network television function that provides computer support functions.
  • FIG. 3 is a configuration block diagram of the control device 100 provided by an embodiment of the present disclosure.
  • 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 input operation instructions from the user, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, thereby mediating the interaction between the user and the display device 200 .
  • the communication interface 130 is used to communicate with the outside and includes at least one of a WIFI chip, a Bluetooth module, NFC or a replaceable module.
  • the user input/output interface 140 includes at least one of a microphone, a touch pad, a sensor, a button, or a replaceable module.
  • FIG. 4 is a hardware configuration block diagram of the display device 200 provided by an embodiment of the present disclosure.
  • 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, audio output interface 270, memory, power supply, etc.
  • the processor 250 includes a central processing unit, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and first to nth interfaces for input/output.
  • the display 260 may be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and may also be a projection device and a projection screen.
  • the tuner-demodulator 210 receives broadcast television signals through wired or wireless reception methods, and demodulates audio and video signals, such as EPG data signals, from multiple wireless or wired broadcast television signals.
  • the detector 230 is used to collect signals from the external environment or interactions 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.
  • 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.
  • 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.
  • the user may input a user command into a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI).
  • GUI graphical user interface
  • the user can input a user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through the sensor to receive the user input command.
  • An output interface (display 260, and/or audio output interface 270) configured to output user interaction information
  • the communicator 220 is used to communicate with the server 400 or other devices according to the communication protocol.
  • An embodiment of the present disclosure provides a display device.
  • the display device includes: a communicator, the communicator includes a Wi-Fi module and a Bluetooth module, and is configured to: communicate with a screen projection data source device; and a display, configured to display a broadcast a system and/or network graphics and/or user interface, memory configured to hold computer instructions and data associated with said display; a processor in communication with said communicator, display, memory and configured to execute said computer Instructions to cause the display device to execute: in response to the channel switching instruction, switch from the current channel to the screen projection channel; in response to the screen projection instruction sent by the screen projection data source device, detect the network status and screen projection switch status of the Wi-Fi module ; When the network status indicates that the network is turned off, control the Wi-Fi module to turn on the network and connect to the target network; and/or, when the screen mirroring switch status indicates that screen mirroring is turned off, control the turning on of the screen mirroring switch; obtain the screen mirroring
  • the data source device sends the projection data
  • the above display device After switching to the screen casting channel, the above display device obtains the screen casting command sent by the screen casting data source device, and responds to the screen casting command to detect the network status and screen casting light-on status of the display device, and then indicates the network shutdown in the network status Under the circumstances, control to turn on the network and connect to the target network, and/or, when the status of the screen casting switch indicates that the screen casting is turned off, control the screen casting switch to avoid screen casting failure caused by the network being turned off and/or the screen casting being turned off, and further When the network is turned on and screencasting is enabled, it obtains the screencasting data sent by the source device of the screencasting data through the target network, and controls and displays the screencasting data to achieve successful screencasting and improve the user experience.
  • the processor 250 controls the Wi-Fi module to turn on the network and connect to the target network, obtain the screencast data sent by the source device of the screencast data through the target network, and Before the control display displays the projection data on the interface of the projection channel, it is also configured as:
  • the control display displays the first prompt information, which is used to prompt that the network is being opened for connection; in advance Determine whether the network connection is successful within a set period of time; when the network connection fails, the control display displays the network status setting interface, which includes a network switch control and the identification of multiple networks to be connected; receives the user's response to the network status setting interface Select input for the target network ID in ; in response to the selection input, attempt to connect to the target network indicated by the target network ID.
  • the network status setting interface which includes a network switch control and the identification of multiple networks to be connected
  • the processor 250 in response to the screen casting instruction, detects the network status and screen casting 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 also configured to:
  • the control display When the network status indicates that the network is closed, the control display displays the network status setting interface; the network status setting interface includes a network switch control and the identification of multiple networks to be connected; and obtains the user's first view of the network switch control in the network status setting interface. Input, the first input is used to indicate that the network will be turned on;
  • the processor 250 controls opening of the network, and is specifically configured to: in response to the first input, control the Wi-Fi module to open the network and connect to the target network.
  • the processor 250 in response to the screen casting instruction, detects the network status of the Wi-Fi module and the screen casting switch status, and before controlling the turning on of the screen casting switch, is further configured to:
  • the projection switch status setting interface includes the projection switch control; obtain the user's projection switch control in the projection switch status setting interface.
  • the second input, the second input is used to indicate turning on the screen projection switch;
  • the processor 250 controls turning on the network, and is specifically configured to: in response to the second input, control turning on the screen projection switch.
  • the processor 250 is further configured to:
  • the screencasting resource includes a screencasting key.
  • the processor 250 obtains the screencasting data sent by the terminal device and controls the display to display the screencasting data. Specifically, it is configured as follows: according to the updated screencasting key Decrypt the screencast data sent by the screencast data source device; control the display to display the decrypted screencast data.
  • Figure 5A is a schematic diagram of the software configuration in the display device 200 provided by one or more embodiments of the present disclosure.
  • the system is divided into four layers, from top to bottom: Applications ) layer (referred to as "application layer”), application framework (Application Framework) layer (referred to as “framework layer”), Android runtime (Android runtime) and system library layer (referred to as “system runtime library layer”), and kernel layer .
  • the kernel layer contains 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 supply Driver etc.
  • the video data transmission method provided by the embodiments of the present disclosure can be implemented based on the above-mentioned display device. In a certain embodiment of the present disclosure, it can be implemented by a player in the display device.
  • FIG. 5B is a schematic diagram of the system framework of a 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 (Trusted Execution Environment, TEE).
  • the Android application layer includes TV App (TVApp), screen casting application (AirPlayApk) and TV launch service (Airplay TV launch service);
  • the Android framework layer includes TV input Manager (TV input manager), the Linux layer includes the application process protocol stack (Airplay Daemon);
  • the trusted execution environment is usually used for digital rights management (Digital Rights Management, DRM), mobile payment and sensitive data protection.
  • This disclosure is used for Store screencasting keys, such as MFI KEY and FairPlay KEY.
  • the TV application is responsible for displaying the input devices of the device in a list form and communicating with the TV input manager of the Android framework layer to complete channel switching.
  • the TV input manager determines the network status and screen projection switch status.
  • the screen casting application is responsible for the specific business logic of the AirPlay screen casting channel, platform layer interface implementation (PAL_Impl), button processing, etc.
  • the screen mirroring startup service communicates with the application process protocol stack. When the screen mirroring switch changes, it is responsible for writing the screen mirroring switch status into the system attribute value.
  • the TV application reads the attribute value for the next step of logical processing.
  • the TV input manager is a native class of the Android architecture. TV applications communicate with the TV input module provided by the device manufacturer or other parties through the TV input manager.
  • Figure 6 is a schematic flowchart of a control method for a display device provided by an embodiment of the present disclosure. The method is applied to the display device. The method includes the following steps S601 to S605:
  • the control method of the display device provided by 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 the Wi-Fi module and the Bluetooth module.
  • the channel switching instruction may be the user's input on the channel interface of the display device.
  • the display device is in the current channel 11, and the user selects the screen projection channel 12 on the currently displayed channel interface, and a channel switching instruction is generated, indicating The user wants to switch from the current channel 11 to the projection channel 12. Further, the display device switches from the current channel to the screen projection channel in response to the channel switching instruction.
  • the current channel is a different channel from the screen projection channel, and can be the input channel of a display device such as High Definition Multimedia Interface (HDMI).
  • HDMI High Definition Multimedia Interface
  • the display device waits for the screen casting data source device to send a screen casting command.
  • detecting the network status refers to detecting the network status of the Wi-Fi module of the display device, which can be understood as detecting whether the display device has turned on the Wi-Fi connection function.
  • the failure of screen casting may be caused by the lagging of the screen casting resource configuration of the display device.
  • Embodiments of the present disclosure provide an implementation manner. After the display device obtains the screen casting instruction sent by the screen casting data source device, it responds to This screencasting instruction detects the resource update status. If the resource update status indicates that it has not been updated, the display device downloads the target version of the screencasting resource from the server, and updates the resource based on the target version of the screencasting resource to update the screencasting resource of the display device. Configuration Update the screencasting resources to the target version so that you can successfully receive the screencasting data sent by the screencasting data source device.
  • the failure of screen casting may be caused by a mismatch in the screen casting keys held by the display device and the screen casting data source device.
  • the display device detects that the resource update status indication has not been updated, and from After the server downloads the target version of the screencasting resource, it updates the display device screencasting key based on the screencasting key included in the target version of the screencasting resource to match the screencasting key of the screencasting data source device. Conducive to successful screencasting.
  • the control opens the network and connects to the target network.
  • the target network can be a network displayed in the historical connection network of the device, or a network manually connected by the user.
  • the display device controls the display to display a network status setting interface.
  • the network status setting interface includes a network switch control and multiple identifications of the networks to be connected, where the network switch control is To control the opening and closing of network status, the identifiers of multiple networks to be connected can be displayed in list form.
  • FIG. 7 is a schematic diagram of a network status setting interface provided by an embodiment of the present disclosure.
  • the figure shows a network switch control 71 and a list 72 composed of identifiers of multiple networks to be connected.
  • the display device when the network status indicates that the network is closed, the display device first controls the display to display a first dialog box (dialog).
  • the first dialog box is used to prompt to check the network connection.
  • the first dialog box Includes cancel controls and confirmation controls.
  • Figure 8 is a second schematic diagram of a user interface of a 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.
  • the dialog box 81 includes prompt content "Please check the network status", as well as a cancel control 82 and a confirmation control 83 .
  • the display device 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.
  • the display device controls the display to display the first prompt information, and the first prompt information is used to prompt that the network connection is being opened, as shown in Figure 9.
  • Figure 9 is a schematic diagram 3 of the user interface of the display device provided by an embodiment of the present disclosure.
  • the figure shows the first prompt information 91.
  • the content of the first prompt information may be "Opening network connection to network 1, please wait a moment.”
  • it is determined whether the network connection is successful within a preset time period after the first prompt information is displayed. If the network connection is successful, it means that the screen can be cast normally, and step S605 is subsequently performed; after the network connection is successful, In case of failure, the display device controls the display to display the network status setting interface.
  • the display device controls the display to display the network status setting interface, it receives the user's selection input for the target network identification 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 identification.
  • the display device controls the display to display the network status setting page to transfer control to the user and obtain the user's third setting of the network switch control in the network status setting interface.
  • the first input instruction changes the off state of the network switch control to the on state, and then the display device turns on the network in response to the first input control.
  • the display device can control the opening of the network and connect to the target network without the user being aware of it.
  • the target network is the first network among multiple networks to be connected to the display device, and the display device is connected by default. to this network.
  • the display device within a preset time period after the display device controls to open the network connection and connect to the target network, it detects whether the network connection is successful. If the network connection fails, the display device is controlled to display the network status setting interface to Receive a user's selection input for the target network identification, and then connect to the target network selected by the user in response to the selection input.
  • the network status setting interface is displayed in a form that the user can perceive, 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 form that is imperceptible to the user, the display device automatically controls to open the network connection and connect to the target network.
  • the control Display the network status setting interface to obtain the user's selection input for the target network identification, thereby meeting the user's needs and connecting to the target network selected by the user, so that the network status indicates that the network is on and the network is connected normally, which is conducive to successful screencasting.
  • FIG. 10 is a schematic diagram of a screen projection switch setting interface provided by an embodiment of the present disclosure. The figure shows a screen projection switch control 1001.
  • 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 instruct turning on the screen projection switch 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.
  • the display device controls to turn on the screen projection switch without the user being aware of it.
  • the projection status display interface is displayed to obtain the user's second input for the projection switch control and control the activation of the projection switch; or, the display device directly controls the activation of the projection switch. screen switch to avoid screencasting failure caused by turning off the screencast switch.
  • the network status indicator is off and the projection switch status indicator is off.
  • the two influencing factors of the network being off and the projection switch being off cause the display device to fail to cast the screen, and the display device is successful.
  • For screencasting control the opening of the network and connect to the target network, and control the turning on of the screencasting switch to ensure normal network connection and normal activation of the screencasting function, which will help improve the success rate of screencasting.
  • S605 Obtain the screen projection data sent by the screen projection data source device through the target network, and control the display to display the screen projection data on the interface of the screen projection channel.
  • the network status of the display device indicates that the network is on, and it is connected to the source device of the screen projection data through the target network, and the status of the screen projection switch indicates that the screen projection switch is on, and the screen projection function is on, indicating that the display device can cast normally. Screen.
  • the display device obtains the screencasting data sent by the screencasting data source device through the target network, and displays the screencasting data on the screencasting channel interface currently displayed on the monitor.
  • embodiments of the present disclosure provide a control method for a display device.
  • This method is applied to a display device. It first responds to a channel switching instruction, switches from the current channel to a screen projection channel, then obtains a screen projection instruction, and responds to a screen projection channel.
  • the command obtains the network status and projection switch status of the Wi-Fi module; then controls the opening of the network when the network status indication is off, and/or controls the activation of screen projection when the projection switch status indicates that projection is off.
  • the switch to ensure that when the network is turned on and screencasting is turned on, the screencasting data sent by the source device of the screencasting data through the target network is obtained, and the monitor is controlled to display the screencasting data on the interface of the screencasting channel, realizing the switch of the display device to After the screen casting channel, the network status and screen casting switch status are detected to ensure successful screen casting when the network is turned on and screen casting is turned on, avoiding screen casting failures caused by network status and/or screen casting switch status, and improving screen casting.
  • the success rate improves the user experience.
  • airplay is currently one of the more widely used technologies for screencasting, and can transmit content that needs to be screencasted to a display device that supports airplay.
  • the user can start the screencasting function in the display device through the signal source port provided in the display device and display the corresponding screencasting information, and then wait for the user to operate the smart device to establish a connection with the display device for screencasting.
  • the display device does not respond to the return command received on the screen display information page, which seriously affects the user experience.
  • embodiments of the present disclosure add processing logic for the return button of the control device to the aforementioned display device, so that when the display device receives a return instruction generated by the user operating the return button of the control device, it can project the screen based on the processing logic.
  • the information page jumps to the pre-specified page, which solves the problem of the current display device displaying the screen information page not responding to the return button, and the jump of the page is also more in line with the user's usage habits, which can improve the isolation provided by the display device. Experience of empty playback function.
  • the smart device 300 can realize connection communication with the software application installed on the display device 200 through a network communication protocol to achieve one-to-one control operations and data communication purposes.
  • the audio and video content displayed on the smart device 300 can also be transmitted to the display device 200 to realize the synchronous display function.
  • the display device 200 can also perform data communication with the server 400 through various communication methods.
  • the display device 200 may be allowed to communicate via 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 may be a liquid crystal display, an OLED display, or a projection display device.
  • the display device 200 may also additionally provide a smart network television function that provides computer support functions.
  • the user can control the display of the display device 200 by operating the virtual buttons in the smart device 300 or the keys 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.
  • the user can input instructions to the display device 200 by pressing the signal source button on the remote control so that the display device displays the signal source page.
  • the signal source page can display one or more signal source entries supported by the display device 200.
  • Android operating system Home
  • HDMI High Definition Multimedia Interface
  • Live TV live TV
  • air play airplay
  • Users can further operate the remote control to switch among the above multiple signal sources.
  • the display device 200 may include multiple HDMI interfaces, and different HDMI interfaces may input data from different data sources into the display device for display. Therefore, different HDMI interfaces may be distinguished as signal sources through different identifiers on the signal source page.
  • Air playback can be understood as using the smart device 300 that initiates screen casting as the source of display data for the display device (that is, as a signal source).
  • the data to be displayed obtained from the smart device 300 is parsed and then displayed and played on the display device. For example, if the user selects AirPlay as the signal source, it is equivalent to activating the AirPlay function in the display device.
  • the smart device 300 (such as a smartphone, PAD, etc.) that initiates air play (that is, initiates screencasting) and the display device need to be connected to the same WiFi to establish a normal connection and transmit data to be displayed.
  • the user interface 21 shown in FIG. 11 exemplarily shows the signal source page, where the user interface 21 includes: an area 201 for displaying the signal source page.
  • the area 201 can be all or part of the display area of the entire display, and this disclosure does not limit the display position, display size, color, text display style and other parameters of the area 201.
  • the signal source page can be suspended and displayed above the page originally displayed by the display device and close to the left edge. The brightness, color, transparency and other display parameters of the page originally displayed by the display device can be adjusted to Highlight the source page.
  • the area 201 may include an area 201a and multiple areas 201b.
  • Area 201 is used to display the name of the signal source page. The name can be in any language.
  • the Chinese "signal source” is used.
  • Area 201b is used to display signal sources.
  • Each area 201b corresponds to a signal source.
  • Figure 11 contains 6 signal sources, namely "Home Page”, “Live Broadcast”, “Air Play”, "HDMI1", “HDMI2” and “HDMI3”, the signal source selected by the user can be reflected in different display styles.
  • the text size in the area 201b corresponding to the signal source selected by the user is enlarged and bold, and the area 201b is filled with an obviously different color. .
  • 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, and receive the data input by the signal source for analysis and display. For example, if the user selects real-time live broadcast as the current signal source, the display device 200 receives real-time broadcast and television data as signal input to display the radio and television content; for another example, if the user selects air play as the current signal source, the display device 200 can initiate screencasting.
  • the smart device receives and analyzes the screen projection data and displays it.
  • the device may support multiple different airplay protocols for screencasting, for example, Miracast protocol or airplay protocol may be used.
  • different air play protocols have different specifications.
  • the display device 200 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 casting information page, where the screen casting information page
  • the information page can display the name of the display device, the name of the WiFi currently connected to the display device, etc., and the screen casting information page can also provide other function entrances.
  • After the display device 200 jumps to the screen casting information page it can wait Users operate smart devices to mirror the screen, directly operate the application to mirror the screen, etc.
  • the screen casting information page displays information about the display device and WiFi to be connected to the user, which ensures that the user can select the correct display device and connect to the correct WiFi when operating on the smart device to avoid the problem of screen casting failure. .
  • the display device 200 can jump to the user interface 31 shown in Figure 12 to display the screen projection information page.
  • the user interface 31 includes: area 301, area 302, area 303, portal 304 and area 305.
  • area 301 is used to display some introductory instructions for Air Play, for example, "Air Play, share content on your mobile phone, PAD or MAC through a wireless network", and can display related Air Play 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.
  • the entrance 304 is used to enter the air play setting page.
  • the air play setting page can modify the name of the display device, change the WiFi currently connected to the display device, and so on.
  • Area 305 is used to display prompt information related to air play, for example, text prompt content "Please ensure that 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” .
  • the display device After entering the screen mirroring information page, the display device will wait for the user to operate the smart device to mirror the screen. In some cases, the user may not want to proceed with the next step of screencasting, and usually the user will operate the control device to return.
  • the user sends a return instruction to the display device 200 by operating the return button on the smart device 300 or the control device 100 , the display device 200 does not respond to the return command on the screen casting information page. This may make the user think that the display device is stuck or there is an error in the screen casting function. This is not in line with the user's usage habits and will also cause the user to use air play. The functional experience is poor.
  • the present disclosure adds corresponding business logic to the display device 200, so that the display device 200 responds to the return instruction of the screen projection information page and jumps to the pre-specified page, which is not only in line with the user's usage habits, but also more convenient.
  • the processing logic can be set flexibly.
  • the return instructions of the screen projection information page can be specified to be uniformly returned to a specified page.
  • the processing logic is simple; or, the active data in the display device before entering the screen projection information page can also be analyzed.
  • Data source objects set different processing logic for different data source objects. This method is also more in line with users' usage habits.
  • the communicator 220 is configured to receive a return instruction generated by the user by operating the return button of the control device.
  • the processor 250 is configured to respond to the received return instruction, determine whether the display 260 is currently displaying the screen projection information page, and, when determining that the display 260 is currently displaying the screen projection information page, control the display 260 to return to display the pre-specified page.
  • the processor 250 can control the display to uniformly jump to a specified page, such as a desktop provided by the operating system of the display device.
  • the processor 250 may also return the designated page corresponding to the corresponding data source object according to the data source object in the activated state before entering the screen projection information page, where the designated pages corresponding to different data source objects are different.
  • the data source object started before the display device 200 enters the signal source page through the signal source entrance and starts the airplay function is the task object to be restarted by the display device.
  • 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 in the activated state before activating the airplay function can, for example, but is not limited to, display Desktop provided by the device's operating system Pages, settings pages, etc., which can be internal pages provided for applications installed in the operating system of the display device, the application's home page, settings pages, etc.
  • the display is controlled to return to display the operating system of the display device.
  • Desktop if the data source object in the startup state before entering the screen projection information page is an application installed in the application layer of the operating system of the display device, control the display to return to display the application The corresponding main page.
  • the return command generated by the return button will be returned to the desktop of the display operating system uniformly;
  • an application such as a video playback application
  • the main page of the application is displayed in response to the return command generated by the return button.
  • the processor 250 is specifically configured to: obtain custom parameters; determine whether the value of the custom parameter is equal to a preset value; and if equal, determine that the screen casting information page is started before entering.
  • the data source object in the status is a signal source supported by the display device; if not equal to, it is determined that the data source object in the startup state before entering the screen projection information page is an operation installed on the display device Applications in the application layer of the system.
  • the display device 200 can manage the tasks started in the display device through the native component provided by the operating system, that is, the activity manager (activity manager), where the task refers to all the tasks involved in the interaction with the user.
  • the activity manager activity manager
  • data source objects are arranged in a stack, that is, in the order in which the data source objects are started.
  • management can be based on the stack of the activity manager to restore the state of the data source object that needs to be restarted.
  • FIG. 13 is a schematic flowchart of a control method of a display device according to one or more embodiments of the present disclosure. Please refer to Figure 13. This embodiment includes:
  • the specified airplay protocol is the airplay protocol.
  • the AirPlay SDK receives the return instruction and analyzes 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 instruction. That is to say, the return command will be passed upward only when it is determined that the display is currently displaying the screen projection information page, otherwise it will be The AirPlay function is handled internally.
  • the return command is passed upward mainly to design 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 command is transmitted to the AirPlay application is different, but the interaction process between the front-end AirPlay SDK, startup service and AirPlay application is the same. . Therefore, here we first introduce the front-end processing flow of return instructions.
  • the return instruction is sent to the AirPlay application in a broadcast manner by calling the AirPlay SDK, so that the AirPlay application responds to the return instruction and controls the display to return to display the pre-specified page.
  • the AirPlay SDK in the kernel layer cannot communicate directly with the application layer and needs to rely on components in the middle layer. Therefore, the AirPlay SDK needs to forward the received return instructions to the system library layer first.
  • the startup service is then called 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.
  • the startup service can monitor socket connections, and the AirPlay SDK can forward the return command 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 the network.
  • a socket can be understood as one end of process communication.
  • the AirPlay SDK writes the return command into the socket corresponding to the underlying driver, and then sends the return command to the socket corresponding to the startup service through the transmission medium between the AirPlay SDK and the startup service.
  • the startup service starts from itself. Read the return instruction from the corresponding socket.
  • the communication efficiency between data components transmitted through socket is relatively high, which can improve the processing speed of the display device.
  • the AirPlay SDK can also send return instructions to the startup service through other methods.
  • the return instructions can also be transmitted through broadcast or Binder.
  • the broadcast method is simple and easy to implement; the Binder method has better performance and stronger real-time performance.
  • the way the AirPlay SDK transmits return instructions to the startup service can be flexibly set according to needs.
  • step 1401 Airplay SDK is executed, and step 1402: Start service is executed in a socket manner. After the service is started, step 1403: airplaying the application is performed in a broadcast manner. Finally, step 1404 is executed through the intent component implementation call: desktop startup component.
  • the AirPlay application responds to the return instruction to execute the operation of ending 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.
  • the Android system determines that the component to be called is the Android desktop startup component through the description data, then calls the Android desktop startup component to restart, and pulls up the desktop of the operating system for display.
  • This business logic can not only meet the user's usage habits, but also solve the problem of the display device not responding to return instructions on the screen projection information page, and the implementation complexity is relatively simple.
  • Step 1501 If the custom parameter is equal to the preset value, the desktop startup component is called through the intent component; thereby returning to the desktop of the operating system;
  • Step 1502 If the custom parameter is not equal to the preset value, call the target application through the activity manager; thereby returning to the main page of the target application.
  • the AirPlay application can obtain the value of the custom parameter and determine whether to return to the desktop of the operating system or the main page of the target application based on the value of the custom parameter.
  • Custom parameters can indicate whether the data source object in the startup state before entering the screen 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.
  • the launch source value corresponding to different applications can be the same or different. This disclosure does not limit this. For example, if the launch source value corresponding to any signal source is the same, the airplay application is relatively certain that the launch source value is equal to the default value, which means that the display device enters airplay under the signal source. It is relatively certain that the launch source value is not equal to the default value.
  • the value indicates that the display device enters airplay under the application; if the launch source is equal to the default value, it is determined that you need to return to the desktop of the Android system; if the launch source is not equal to the default value, you are determined to return to the main page of the application .
  • the present disclosure does not limit the size of the preset value.
  • the preset value can be 1, 0, or other numerical values.
  • the launch source can be updated by the activity manager based on the tasks of each application in the launched state. After receiving the return command, the AirPlay application always needs to obtain the latest launch source value from the activity manager.
  • the operation of ending the AirPlay application is executed.
  • the activity manager pops the task corresponding to the AirPlay application from the top of the stack and controls the closing of the AirPlay application. corresponding window to close the screencasting information page; after that, you can use the activity manager to push the task corresponding to the target application that is to be restored to the startup state to the top of the stack and gain focus, and then restart the corresponding task of the target application. task, and display the window corresponding to the target application, and display the target application in the window Main page provided.
  • FIGS. 16 to 18 are used to illustrate the changes in the user interface in the display device when the aforementioned two different implementation methods are adopted.
  • the display device responds to the instructions generated by the user operating the signal source button on the remote control and displays the signal source page on the desktop of the Android system. Then, the user selects the source page from multiple signal sources. Select AirPlay as the signal source, activate the AirPlay function, and the display device will jump to the screen projection information page shown in the middle. After that, it will receive the return command generated by the user operating the return button on the remote control, and the display device will The screen mirroring information page returns to the desktop of the Android system.
  • the display device responds to the instructions generated by the user operating the signal source button on the remote control and displays the signal source page on the top of the desktop of the Android system; then, the user selects the signal source page from multiple signal sources.
  • the display device will jump to the screen casting information page, and enter the AirPlay setting page through the AirPlay setting entrance in the screen casting information page; after that, the user can Establish a connection with the display device through screen mirroring or directly operate the cast button on the multimedia content playback page provided by the mobile phone application and display the cast content display page on the display device; in the process of displaying the cast content , the display device receives the return command generated by the user's operation of the return button on the remote control, and the display device first returns from the projection content display page to the projection information page; after that, the display device again receives the return command generated by the user's operation of the return button on the remote control. Return command, the display device will jump from the screen projection information page to the desktop of the Android system.
  • the display device is displaying the main page of application 1 installed in the display device; after that, the display device responds to the instructions generated by the user operating the signal source button on the remote control.
  • the signal source page is displayed on the main interface of Application 1; then, the user selects air play as the signal source from multiple signal sources, starts the air play function, and the display device jumps to the screen casting information page; after that, the user can directly By operating the screen casting button or screen mirroring in the multimedia content playback page provided by the mobile phone application, establish a connection with the display device and display the screen casting content on the display device; during the process of displaying the screen casting content, the display device receives The user operates the return button on the remote control to generate a return instruction, and the display device first returns from the projection content display page to the projection information page; after that, the display device again receives the return instruction generated by the user operating the return button on the remote control, and displays The device will jump from the screencasting information page to the main page of Application 1.
  • the first return command received by the display device is processed internally by the AirPlay SDK, and the second return command is uploaded by the AirPlay SDK to the AirPlay application by starting the service. deal with.
  • the display device can respond to the return of the screen projection information page with a unified strategy or a more flexible and targeted strategy. Instructions can control page jumps to meet the user's usage habits, and can improve the user's experience using the airplay function of the display device.
  • the currently commonly used method of writing business credentials is to write the business credentials to the display device in the production environment.
  • writing business credentials to related devices in the production environment causes the production progress to depend on the certification progress of the business credentials. If the display device fails to pass the certification of the business party, the business credentials cannot be obtained, which in turn affects the production progress of the display device.
  • writing business credentials to related devices in the production environment will also result in 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 display cannot be updated. The business credentials in the device are rewritten.
  • the embodiment of the present disclosure Based on this, the embodiment of the present disclosure generates a first device signature based on the first encryption key written to the display device, then sends a certificate acquisition request carrying the first device signature to the server, and receives the request sent by the server. the business voucher, and write the business voucher into a preset storage location of the display device.
  • the embodiment of the present disclosure since the embodiment of the present disclosure writes the business voucher to the display device by obtaining the business voucher from the server and writing the business voucher obtained from the server to the preset storage location, the embodiment of the present disclosure can be used in any Write business credentials to the display device at this stage, instead of being limited to writing business credentials to the display device in the production environment.
  • the credential acquisition request carries the display device to generate a first device signature based on the first encryption key written to the display device
  • the server can only determine that the display device has passed the authentication based on the first device signature.
  • the business voucher corresponding to the display device will be sent to the display device only under the condition. Therefore, the embodiment of the present disclosure can prevent illegal devices from stealing the business voucher of the display device from the server, thereby ensuring the security of the business voucher.
  • the above process can alleviate the problems of affecting the production progress and being unable to rewrite caused by writing business credentials to the display device in the production environment.
  • the scene architecture includes: a control device 100, a display device 200, a smart device 300 and a server 400.
  • 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 saves the business voucher corresponding to the display device 200.
  • the display device 200 can send a voucher acquisition request to the server 400 to obtain the business voucher, and write the business voucher into the designated storage location to complete the writing of the business voucher.
  • the server 400 After the server 400 receives the voucher acquisition request from the display device, it first The device performs authentication, and the business credentials will be returned to the display device only if the display device passes the authentication.
  • the display device may have multiple implementation forms, such as a television, a smart speaker refrigerator with a display function, a curtain with a display function, a personal computer (Personal Computer, PC), a laser projection device, a monitor (monitor) , electronic whiteboard (electronic bulletin board), wearable devices, vehicle-mounted equipment, electronic desktop (electronic table), etc.
  • the server may have multiple implementation forms, such as: cloud server (CloudServer), content delivery network (Content Delivery Network, CDN).
  • the server 400 may be a cluster or multiple clusters, and may include one or more types of servers.
  • the first encryption key is written for the display device 200 , and the business certificate corresponding to the display device 200 and the first decryption key corresponding to the first encryption key are uploaded to the server 400 .
  • the processor 250 reads the written first encryption key, and encrypts the key according to the first encryption key.
  • the key generates a first device signature, and then the processor 220 sends a certificate acquisition request carrying the first device signature to the server 400.
  • the server 400 authenticates the display device 200 based on the first decryption key and the first device signature. If the display device 200 passes the authentication, the server 400 sends the business voucher corresponding to the display device 200 to the display device 200 .
  • the display device 200 After receiving the business voucher sent by the server 400, the display device 200 saves the business voucher to a preset storage location to complete writing the business voucher. Since the server 400 will only send the service credentials to the display device 200 when it is sure that the display device 200 has passed the authentication, the above embodiment can prevent illegal devices from stealing the service credentials of the display device 200 from the server 400, thereby ensuring the business credentials. security.
  • the implementation of the display device 200 generating the first device signature according to the first encryption key written in the display device 200 may include: the processor 250 of the display device 200 passing the first encryption key pair The first file is encrypted to obtain the first encrypted file; and summary information of the first file is obtained based on a preset algorithm, and the first device signature is generated based on the first encrypted file and the summary information.
  • the implementation of the server 400 to authenticate the display device 200 based on the first device signature may include: the server 400 parses the first device signature to obtain the first encrypted file and the summary information of the first file, based on The first decryption key corresponding to the first encryption key decrypts the first encrypted file to obtain the decrypted data corresponding to the first encrypted file, and then obtains the decrypted data corresponding to the first encrypted file based on the preset algorithm.
  • the processor 250 of the display device 200 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 also A second device signature will be generated 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 the authentication request sent by the server 400. An authentication response; the processor 250 of the display device 200 will also determine that the first encryption key is valid when the authentication response indicates that the display device has passed the authentication. If the display device fails to pass the authentication, it is determined that the first encryption key is invalid.
  • 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.
  • the server 400 after writing the first encryption key to the display device 200, the validity of the first encryption key is also verified. Therefore, the disclosed implementation can also avoid writing the first encryption key to the display device 200.
  • the display device 200 cannot obtain the service certificate from the server 400 due to the invalid encryption key, thereby improving the reliability of writing the service certificate to the display device.
  • the second encryption key server 400 is also uploaded to the server, and the display device 200 is also written with a second decryption key corresponding to the second encryption key.
  • the implementation of the server 400 sending the business voucher to the display device 200 may include: the server 400 sends to the display device 200 a second encrypted file that encrypts the business voucher using a second encryption key. 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 voucher. .
  • one way for the server 400 to obtain the second encrypted file is to upload both the second encryption key and the business voucher to the server 400, and the server 400 encrypts the business voucher according to the second encryption key to obtain the second encrypted file.
  • file; another implementation method for the server 400 to obtain the second encrypted file may be: directly passing the second encryption key pair
  • the second encrypted file obtained by encrypting the business voucher is uploaded to the server 400 .
  • the communicator 220 of the display device 200 will also write the second decryption key into the display device 200.
  • obtain the third encrypted file obtained by encrypting the preset file based on the second encryption key from the server 400 and the processor 250 of the display device 200 will also use the second decryption key to encrypt the third encrypted file.
  • Perform decryption to obtain decrypted data and compare whether the decrypted data obtained by decrypting the third encrypted file is consistent with the preset file, and if the decrypted data is consistent with the preset file, determine the second decryption The secret key is valid.
  • the disclosed implementation can avoid writing the second decryption key to the display device 200.
  • the display device 200 cannot decrypt the encrypted business voucher due to the invalid decryption key, thereby improving the reliability of writing the business voucher to the display device.
  • the implementation of writing the second decryption key to the display device 200 may include: the memory of the display device 200 receives the written third decryption key based on The encryption key encrypts the fourth encrypted file obtained by encrypting the second decryption key.
  • the display device 200 controls the fourth encrypted file according to the third decryption key preset in the software system of the display device. Decrypt to obtain the second decryption key.
  • the third decryption key is the decryption key corresponding to the third encryption key.
  • the writing-related personnel or equipment can only obtain the fourth encrypted file obtained by encrypting the second decryption key based on the third encryption key, but cannot obtain the decryption Therefore, the above embodiment can prevent the second decryption key from being stolen during the writing process.
  • the display device 200 writes the first encryption key in an implementation manner that may include: the memory of the display device 200 receives the written third encryption-based
  • the display device 200 controls the fifth encrypted file obtained by encrypting the first encryption key with the secret key according to the third decryption key preset in the software system of the display device. Decrypt to obtain the second decryption key.
  • the third decryption key is the decryption key corresponding to the third encryption key.
  • 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 decryption Therefore, the above embodiment can prevent the first encryption key from being stolen during the writing process.
  • Figure 19 is a schematic diagram of the interaction flow of the business voucher writing method shown in an embodiment of the present disclosure. As shown in Figure 19, it includes the following steps:
  • the display device generates a first device signature according to the first encryption key written in the display device.
  • the first encryption key may 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.
  • the display device needs to obtain the business voucher, it reads the first encryption key written in the production environment and generates the first encryption key based on the first encryption key.
  • a device signature When the display device needs to obtain the business voucher, it reads the first encryption key written in the production environment and generates the first encryption key based on the first encryption key.
  • the first encryption key is used to authenticate the display device in the embodiment of the present disclosure, the first encryption key corresponds to the display device one-to-one, and each display device has a unique first encryption key.
  • the display device sends a certificate acquisition request carrying the signature of the first device to the server.
  • the server receives the certificate acquisition request sent by the display device and carries the signature of the first device.
  • the credential acquisition request is used to request the server to return the business credential corresponding to the display device when it is determined that the display device is authenticated based on the first device signature.
  • the credential acquisition request may be a registration request sent to the server when the display device is used online for the first time. After the server completes the authentication of the display device, it will send the business credentials corresponding to the display device to the display device.
  • the business certificate in the embodiment of the disclosure may be an MFI key, FairPlay Key, etc., which is not limited in the embodiment of the disclosure.
  • the server authenticates the display device according to the first device signature and the first decryption key corresponding to the first encryption key.
  • the first encryption key and the first decryption key have a one-to-one relationship, and each display device has a unique first encryption key.
  • 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.
  • the first encryption key and the first decryption key may be a key pair in an asymmetric encryption algorithm
  • the first encryption key is a public key in an asymmetric encryption algorithm
  • the secret key is the private key in the asymmetric encryption algorithm.
  • step S1903 if the server determines that the display device fails to pass authentication based on the first device signature and the first decryption key corresponding to the first encryption key, the server may determine that the display device does not have Obtain the authority for the business voucher, and therefore refuse to send the business voucher to the display device, and if the server determines the display based on the first device signature and the first decryption key corresponding to the first encryption key If the device authentication passes, the server can determine that the display device has the authority to obtain the business voucher, and therefore executes the following step S1904.
  • the server sends the service voucher to the display device.
  • the display device receives the service voucher sent by the server.
  • the display device writes the business voucher into a preset storage location of the display device.
  • the preset storage location may be a storage location in a trusted execution environment (Trusted execution environment, TEE) of the display device.
  • TEE trusted execution environment
  • Storing business credentials in a storage location in a trusted execution environment can prevent the business credentials from being stolen from the display device when they are written to the display device, thereby further improving the security of the business credentials.
  • the display device and business voucher writing method of some embodiments first generate a first device signature based on the first encryption key written to the display device, and then send a voucher acquisition request carrying the first device signature to the server. , and receive the business voucher sent by the server, and write the business voucher into a preset storage location of the display device.
  • the embodiment of the present disclosure since the embodiment of the present disclosure writes the business voucher to the display device by obtaining the business voucher from the server and writing the business voucher obtained from the server to the preset storage location, the embodiment of the present disclosure can be used in any Write business credentials to the display device at this stage, instead of being limited to writing business credentials to the display device in the production environment.
  • the credential acquisition request carries the display device to generate a first device signature based on the first encryption key written to the display device
  • the server can only determine the display based on the first device signature.
  • the business voucher corresponding to the display device will be sent to the display device only when the device authentication passes. Therefore, the embodiment of the present disclosure can prevent illegal devices from stealing the business voucher of the display device from the server, thereby ensuring the authenticity of the business voucher. safety.
  • 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 writing business credentials to the display device in the production environment that affects the production progress and cannot be rewritten. The problem.
  • the embodiment of the present disclosure provides another business voucher writing method.
  • the interactive flow chart of the business voucher writing method includes the following steps:
  • the display device encrypts the first file according to the first encryption key written in the display device, and obtains the first encrypted file.
  • the first file in the embodiment of the present disclosure can be any file.
  • the display device may randomly generate a text file containing a plurality of characters as the first file.
  • the display device obtains summary information of the first file based on a preset algorithm.
  • the above step S2002 (obtaining summary information of the first file based on a preset algorithm) may include:
  • Hash calculation is performed on the first file based on a hash algorithm, and a hash value obtained by hash calculation on the first file is used as the digest information of the first file.
  • the first file can be hashed based on the SHA256 algorithm (a hash algorithm with a hash value length of 256 bits), and the obtained hash value can be used as the digest information of the first file.
  • the SHA256 algorithm a hash algorithm with a hash value length of 256 bits
  • the display device generates the first device signature according to the first encrypted file and the summary information.
  • the first encrypted file and the summary information may be directly encapsulated into the same data packet, and the encapsulated data packet may be used as the first device signature.
  • the display device sends a certificate acquisition request carrying the signature of the first device to the server.
  • the server receives the certificate acquisition request sent by the display device and carries the signature of the first device.
  • the credential acquisition request is used to request the server to return the business credential corresponding to the display device when it is determined that the display device is authenticated based on the first device signature.
  • the server parses the first device signature to obtain the first encrypted file and the summary information.
  • the server decrypts the first encrypted file using the first decryption key, and obtains the decrypted data corresponding to the first encrypted file.
  • the server obtains summary information of decrypted data corresponding to the first encrypted file through the preset algorithm.
  • 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.
  • S2008 The server compares 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.
  • 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 summary information, the obtained summary The information should also be the same; and when the display device is an illegal device, because the encryption key for generating the first encrypted file (first encryption key) and the decryption key for decrypting the first encrypted file (first decryption key) are not mutually secret key pairs, so the decrypted data obtained by the server will not be the same as the first file, which will cause the summary information of the decrypted data obtained to be different from the summary information of the first file. Therefore, in the embodiment of the present disclosure, the first file can be obtained according to the first file. Whether the summary information of the decrypted data corresponding to an encrypted file is the same as the summary information of the first
  • 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 fails the authentication, and the message is never sent to the display device.
  • Business voucher 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 has passed the authentication and the following subsequent steps are performed.
  • the server sends the service voucher to the display device.
  • the display device receives the service voucher sent by the server.
  • the display device writes the business voucher into a preset storage location of the display device.
  • the first encryption key written to the display device may be invalid because it is not the encryption key corresponding to the first decryption key, resulting in the display device being unable to obtain services from the server. certificate.
  • the business voucher writing method according to some embodiments also performs the writing on the display device. The validity of the first encryption key in the device is verified. Referring to Figure 21, the process of verifying the validity of the first encryption key written in the display device includes the following steps:
  • the display device generates a second device signature based on the first encryption key.
  • the implementation manner in which the display device generates the second device signature based on the first encryption key may be the same as the implementation manner in which the display device generates the second device signature based on the first encryption key.
  • the display device may generate a second device signature based on the first encryption key by encrypting a specified file using the first encryption key to obtain the second device signature.
  • the display device sends an authentication request carrying the signature of the second device to the server.
  • the server receives the authentication request sent by the display device and carries the signature of the second device.
  • the authentication request is used to request the server to authenticate the display device according to the second device signature.
  • the server authenticates the display device according to the second device signature and the first decryption key.
  • the display device generates the second device signature based on the first encryption key in the same manner as the display device generates the second device signature based on the first encryption key.
  • the server The implementation of authenticating the display device based on the first decryption key corresponding to the second device signature and the first encryption key is the same as the implementation of authenticating the display device based on the first device signature and the first encryption key.
  • the implementation of the first decryption key for authenticating the display device is the same.
  • the implementation of the display device generating a second device signature based on the first encryption key may include: encrypting a specified file using the first encryption key to obtain the second device signature, At this time, the server authenticates the display device based on the second device signature and the first decryption key corresponding to the first encryption key.
  • the authentication may be implemented by: decrypting the second encrypted file using the first decryption key, obtaining the decrypted data corresponding to the second encrypted file, and decrypting the second encrypted file according to the decrypted data corresponding to the second encrypted file. Whether the data is the same as the specified file determines whether the authentication of the display device has passed.
  • the server sends an authentication response to the display device.
  • the display device receives the authentication response sent by the server.
  • the authentication response is used to indicate that the display device has passed the authentication, or the display device has failed to pass the authentication.
  • step S2105 If the authentication response indicates that the display device has passed the authentication, the following step S2105 is executed. If the authentication response indicates that the display device fails the authentication, the following step S2106 is executed.
  • the disclosed implementation can avoid writing the first encryption key to the display device.
  • the display device cannot obtain business credentials from the server due to an invalid key.
  • the method of triggering the verification of the validity of the first encryption key may be: in response to a user operation, starting to execute the process for verifying the validity of the first encryption key shown in Figure 21 .
  • the user enters the hidden entrance of the display device, such as: Settings - Sound - Advance Settings, and presses the "2022" button on the remote control to open the Outgoing Quality Control (OQC) application program, select the target virtual button in the application interface and confirm, then the process for verifying the validity of the first encryption key shown in Figure 21 will begin.
  • OQC Outgoing Quality Control
  • Methods may include:
  • the server sends the second encrypted file to the display device.
  • the display device receives the second encrypted file sent by the server.
  • the second encrypted file is an encrypted file obtained by encrypting the business voucher based on a second encryption key.
  • the implementation of the server obtaining the second encrypted file may include: the server receives the uploaded business voucher and the second encryption key, and encrypts the business voucher based on the second encryption key, to obtain the second encrypted file.
  • the business voucher and the second encryption key are written to the server, and then the server encrypts the business voucher based on the second encryption key to generate the second encrypted file.
  • the implementation of the server obtaining the second encrypted file may include: the server receiving the uploaded second encrypted file.
  • the second encrypted file is directly written to the server.
  • the implementation of obtaining the second encrypted file by the server includes: the server receives the uploaded business credentials certificate, the second encryption key, and encrypts the business certificate based on the second encryption key.
  • Obtaining the second encrypted file is shown as an example. However, in the embodiment of the present disclosure, all data can also be uploaded directly to the server. The second encrypted file.
  • writing the second encrypted file to the server can prevent the business voucher from being stolen from the server, thereby further improving the security of the business voucher.
  • the display device obtains the second decryption key written in the display device.
  • the second decryption key is the decryption key corresponding to the second encryption key.
  • the second decryption key may be written to the display device in a production environment.
  • 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.
  • 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 an asymmetric encryption algorithm
  • the secret key is the private key in the asymmetric encryption algorithm.
  • the display device decrypts the second encrypted file using the second decryption key to obtain the business voucher.
  • the above embodiment can prevent the business credentials from being stolen during the process of being sent by the server to the display device, thereby further improving the security of the business credentials.
  • 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, causing the display device to obtain the encrypted data from the server.
  • the business voucher After decrypting the business voucher (second encrypted file), the business voucher cannot be decrypted.
  • the business voucher writing method according to some embodiments also performs the writing on the display device. The validity of the second decryption key in the device is verified. Referring to Figure 23, the process of verifying the validity of the second decryption key written in the display device includes the following steps:
  • the server sends the third encrypted file to the display device.
  • the display device receives the third encrypted file sent by the server.
  • the third encrypted file is an encrypted file obtained by encrypting a preset file based on the second encryption key.
  • the display device decrypts the third encrypted file using the second decryption key, and obtains decrypted data corresponding to the third encrypted file.
  • the display device compares whether the decrypted data corresponding to the third encrypted file is the same as the default file.
  • step S2303 if the decrypted data corresponding to the third encrypted file is the same as the default file, then the following step S2304 is executed, and if the decrypted data corresponding to the third encrypted file is different from the default file , then execute the following step S2305.
  • the disclosed implementation can avoid writing the second decryption key into the display device. Caused by invalid key Display device cannot decrypt the encrypted business credentials.
  • the process of writing the second decryption key to the display device generally involves first issuing the second decryption key to the production system of the display device, and then writing the second decryption key into the display device by the production system of the display device.
  • the second decryption key may be stolen from the production system.
  • the implementation of writing the second decryption key to the display device in the business voucher writing method may include follows these steps:
  • the display device receives the written fourth encrypted file.
  • the fourth encrypted file is an encrypted file obtained by encrypting the second decryption key based on the third encryption key.
  • the display device decrypts the fourth encrypted file according to the third decryption key preset 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.
  • the third decryption key is configured in the software system of the display device in advance, and the second decryption key issued to the production system of the display device is 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 to the display device, and the display decrypts the fourth encrypted file through the third decryption key to obtain the second decryption key.
  • the third encryption key and the third decryption key may be keys in a symmetric encryption algorithm. That is, the third encryption key is the same as the third decryption key.
  • the third encryption key and the third decryption key may be a key pair in an asymmetric encryption algorithm
  • the third encryption key is a public key in an asymmetric encryption algorithm
  • the secret key is the private key in the asymmetric encryption algorithm.
  • 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 can be stolen.
  • the ciphertext of the second decryption key cannot be obtained, but 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 efficiency of the second decryption key. safety.
  • the display device may decrypt the fourth encrypted file using a third decryption key after being written to the fourth encrypted file, and store the obtained second decryption key so that it is needed later. Read directly when using.
  • the display device can decrypt the fourth encrypted file using the third decryption key only when the second decryption key needs to be used, obtain the second decryption key, and delete it after use. Since the display device stores the ciphertext that is also the second decryption key, the embodiment of the present disclosure can also prevent the second decryption key from being stolen in the display device, thereby further improving the security of the second decryption key.
  • the process of writing the first encryption key to the display device generally involves first issuing the first encryption key to the production system of the display device, and then writing the first encryption key to the display device by the production system of the display device.
  • the first encryption key may also be stolen from the production system.
  • the implementation of writing the first encryption key to the display device in the business voucher writing method may include follow these steps:
  • the display device receives the fifth encrypted file written.
  • the fifth encrypted file is an encrypted file obtained by encrypting the first encryption key based on a third encryption key.
  • the display device decrypts the fifth encrypted file according to the third decryption key preset in the software system of the display device to obtain the first encryption key.
  • the third decryption key is the decryption key corresponding to the third encryption key.
  • the third decryption key is configured in the software system of the display device in advance, and the first encryption key of the production system issued to the display device is the first encryption key obtained by encrypting the first encryption key with the third encryption key.
  • Fifth encrypted file the production system of the display device directly writes the fifth encrypted file to the display device, and the display decrypts the fifth encrypted file through the third decryption key to obtain the first encryption key.
  • 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, even if the first encryption key is stolen, only the first encryption key can be stolen.
  • the ciphertext of the first encryption key cannot be obtained, but 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 efficiency of the first encryption key. safety.
  • the display device may decrypt the fifth encrypted file using a third decryption key after being written to the fifth encrypted file, and store the obtained first encryption key so that it is needed later. Read directly when using.
  • the display device can decrypt the fifth encrypted file using the third decryption key only when the first encryption key needs to be used, obtain the first encryption key, and delete it after use. Since the display device stores the ciphertext that is also the first encryption key, embodiments of the present disclosure can also prevent the first encryption key from being stolen in the display device, thereby further improving the security of the first encryption key.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本公开涉及一种显示设备和显示设备的控制方法,该显示设备包括:通信器,所述通信器包括Wi-Fi模块和蓝牙模块,被配置为:与投屏数据源设备进行通信;显示器、存储器和与通信器、显示器和存储器进行通信的处理器;处理器,被配置为:响应于通道切换指令,从当前通道切换至投屏通道;响应于所述投屏数据源设备发送的投屏指令,检测所述Wi-Fi模块的网络状态和投屏开关状态;在所述网络状态指示网络关闭的情况下,控制所述Wi-Fi模块开启网络并连接至目标网络;和/或,在所述投屏开关状态指示投屏关闭的情况下,控制开启投屏开关;获取投屏数据源设备通过目标网络发送的投屏数据,并控制显示器在所述投屏通道的界面显示所述投屏数据。

Description

一种显示设备和显示设备的控制方法
相关申请的交叉引用
本公开要求在2022年09月28日提交中国专利局、申请号为202211194198.2、在2022年08月15日提交中国专利局、申请号为202210977484.X,以及在2022年07月07日提交中国专利局、申请号为202210803145.X的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开涉及多媒体技术领域,尤其涉及一种显示设备和显示设备的控制方法。
背景技术
随着智能产品的发展,将智能终端与电视连接并进行投影显示的应用越来越广泛。目前,在用户需要将手机上的音视频投屏至电视进行播放时,存在手机可能无法发现电视,投屏后电视黑屏等情况,投屏失败率高,影响用户的使用体验。
发明内容
本公开提供一种显示设备,包括:通信器,所述通信器包括Wi-Fi模块和蓝牙模块,被配置为:与投屏数据源设备进行通信;显示器,配置为显示广播系统和/或网络的图像和/或用户界面;存储器,配置为保存计算机指令和与所述显示器关联的数据;处理器,与所述通信器,所述显示器,所述存储器通信,并且配置为执行所述计算机指令以使得所述显示设备执行:响应于通道切换指令,从当前通道切换至投屏通道;响应于所述投屏数据源设备发送的投屏指令,检测所述Wi-Fi模块的网络状态和投屏开关状态;在所述网络状态指示网络关闭的情况下,控制所述Wi-Fi模块开启网络并连接至目标网络;和/或,在所述投屏开关状态指示投屏关闭的情况下,控制开启投屏开关;获取投屏数据源设备通过目标网络发送的投屏数据,并控制显示器在所述投屏通道的界面显示所述投屏数据。
本公开提供一种显示设备的控制方法,包括:响应于通道切换指令,从当前通道切换至投屏通道;获取所述投屏数据源设备发送的投屏指令;响应于所述投屏指令,检测所述Wi-Fi模块的网络状态和投屏开关状态;在所述网络状态指示网络关闭的情况下,控制所述Wi-Fi模块开启网络并连接至目标网络;和/或,在所述投屏开关状态指示投屏关闭的情况下,控制开启投屏开关获取投屏数据源设备通过目标网络发送的投屏数据,并控制显示器在所述投屏通道的界面显示所述投屏数据。
附图说明
图1为根据一些实施例的一些实施例中的场景示意图;
图2为根据一些实施例的显示设备的用户界面示意图一;
图3为根据一些实施例的控制装置的配置框图;
图4为根据一些实施例的显示设备的硬件配置框图;
图5A为根据一些实施例的显示设备中的软件配置示意图;
图5B为根据一些实施例的显示设备的系统框架示意图;
图6为根据一些实施例的一种显示设备的控制方法的流程示意图;
图7为根据一些实施例的网络状态设置界面的示意图;
图8为根据一些实施例的显示设备的用户界面示意图二;
图9为根据一些实施例的显示设备的用户界面示意图三;
图10为根据一些实施例的投屏开关设置界面的示意图;
图11为根据一些实施例的显示设备展示信号源页面的示意图;
图12为根据一些实施例的显示设备展示投屏信息页面的示意图;
图13为根据一些实施例的显示设备的控制方法的流程示意图;
图14为根据一些实施例的显示设备的控制方法的流程示意图;
图15为根据一些实施例的显示设备的控制方法的流程示意图;
图16为根据一些实施例的显示设备的界面跳转示意图;
图17为根据一些实施例的显示设备的界面跳转示意图;
图18为根据一些实施例的显示设备的界面跳转示意图;
图19为根据一些实施例的业务凭证写入方法的交互流程图;
图20为根据一些实施例的业务凭证写入方法的交互流程图;
图21为根据一些实施例的业务凭证写入方法的交互流程图;
图22为根据一些实施例的业务凭证写入方法的交互流程图;
图23为根据一些实施例的业务凭证写入方法的交互流程图;
图24为根据一些实施例的业务凭证写入方法的步骤流程图;
图25为根据一些实施例的业务凭证写入方法的步骤流程图。
具体实施方式
图1为本公开实施例提供的一些实施例中的场景示意图。如图1所示,图1中包括控制装置100、显示设备200、智能设备300和服务器400,用户可通过智能设备300或控制装置100操作显示设备200,在显示设备200上播放音视频资源。
以用户通过智能设备300操作显示设备200为例,智能设备300通过蓝牙与显示设备200相连接,用户通过智能设备300操作显示设备从当前通道切换至投屏通道,智能设备300可以通过蓝牙连接向显示设备200发送通道切换指令。参考图2所示,图2为本公开 实施例提供的显示设备的用户界面示意图一,图中显示设备200在接收到通道切换指令之后,响应于该通道切换指令,从当前通道11切换至投屏通道12,图2中当前通道是HDMI1通道,投屏通道是AirPlay通道。
显示设备200切换至投屏通道之后,用户可在显示设备200处于投屏通道的情况下,控制显示设备200播放智能设备300上的音视频。本公开实施例中,用户通过智能设备300向显示设备200发送投屏指令,显示设备200响应于该投屏指令,获取Wi-Fi模块的网络状态和投屏开关状态,以判断智能设备300和显示设备200是否处于同一局域网下,以及判断显示设备200的投屏功能是否开启;在网络状态指示网络关闭的情况下,表示显示设备200未连接网络,则显示设备200控制开启网络,以进行网络连接,而在投屏开关状态指示投屏关闭的情况下,控制开启投屏开关,以开启显示设备200的投屏功能,从而保证在网络开启、投屏开启的情况下,显示设备200获取智能设备300通过目标网络发送的投屏数据,并控制显示器在投屏通道12显示投屏数据。
在上述用户通过智能设备300操作显示设备200投屏显示智能设备上的音视频的场景中,显示设备200通过检测网络状态和投屏开关状态,以避免网络关闭、投屏关闭所导致的投屏失败,保证投屏开关开启、网络连接正常,使得显示设备200能够被智能设备300发现并进行投屏,从而有效提升了投屏的成功率,提升了用户的使用体验感。
在一些实施例中,控制装置100可以是遥控器,遥控器和显示设备的通信包括红外协议通信、蓝牙协议通信,无线或其他有线方式来控制显示设备200。用户可以通过遥控器上按键,语音输入、控制面板输入等输入用户指令,来控制显示设备200。在一些实施例中,也可以使用智能设备、平板电脑、计算机、笔记本电脑、和其他智能设备以控制显示设备200。
在一些实施例中,智能设备300可与显示设备200安装软件应用,通过网络通信协议实现连接通信,实现一对一控制操作的和数据通信的目的。也可以将智能设备300上显示音视频内容传输到显示设备200上,实现同步显示功能显示设备200还与服务器400通过多种通信方式进行数据通信。可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器400可以向显示设备200提供各种内容和互动。显示设备200,可以液晶显示器、OLED显示器、投影显示设备。显示设备200除了提供广播接收电视功能之外,还可以附加提供计算机支持功能的智能网络电视功能。
图3为本公开实施例提供的控制装置100的配置框图。如图3所示,控制装置100包括处理器110、通信接口130、用户输入/输出接口140、存储器、供电电源。控制装置100可接收用户的输入操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起用用户与显示设备200之间交互中介作用。通信接口130用于和外部通信,包含WIFI芯片,蓝牙模块,NFC或可替代模块中的至少一种。用户输入/输出接口140包含麦克风,触摸板,传感器,按键或可替代模块中的至少一种。
图4为本公开实施例提供的显示设备200的硬件配置框图。如图4所示显示设备200包括:调谐解调器210、通信器220、检测器230、外部装置接口240、处理器250、显示 器260、音频输出接口270、存储器、供电电源等。其中,处理器250包括中央处理器,视频处理器,音频处理器,图形处理器,RAM,ROM,用于输入/输出的第一接口至第n接口。显示器260可为液晶显示器、OLED显示器、触控显示器以及投影显示器中的至少一种,还可以为一种投影装置和投影屏幕。调谐解调器210通过有线或无线接收方式接收广播电视信号,以及从多个无线或有线广播电视信号中解调出音视频信号,如以及EPG数据信号。检测器230用于采集外部环境或与外部交互的信号。处理器250和调谐解调器210可以位于不同的分体设备中,即调谐解调器210也可在处理器250所在的主体设备的外置设备中,如外置机顶盒等。
在一些实施例中,上述显示设备是具有显示功能的终端设备,例如电视机、手机、电脑、学习机等。
在一些实施例中,处理器250,通过存储在存储器上中各种软件控制程序,来控制显示设备的工作和响应用户的操作。处理器250控制显示设备200的整体操作。用户可在显示器260上显示的图形用户界面(GUI)输入用户命令,则用户输入接口通过图形用户界面(GUI)接收用户输入命令。或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户输入接口通过传感器识别出声音或手势,来接收用户输入命令。
输出接口(显示器260,和/或,音频输出接口270),被配置为输出用户交互信息;
通信器220,用于根据通信协议与服务器400或其它设备进行通信。
本公开实施例提供一种显示设备,该显示设备包括:通信器,所述通信器包括Wi-Fi模块和蓝牙模块,被配置为:与投屏数据源设备进行通信;显示器,配置为显示广播系统和/或网络的图像和/或用户界面,存储器,配置为保存计算机指令和与所述显示器关联的数据;处理器,与所述通信器,显示器,存储器通信,并且配置为执行所述计算机指令以使得所述显示设备执行:响应于通道切换指令,从当前通道切换至投屏通道;响应于投屏数据源设备发送的投屏指令,检测Wi-Fi模块的网络状态和投屏开关状态;在网络状态指示网络关闭的情况下,控制Wi-Fi模块开启网络并连接至目标网络;和/或,在投屏开关状态指示投屏关闭的情况下,控制开启投屏开关;获取投屏数据源设备通过目标网络发送的投屏数据,并控制显示器在投屏通道的界面显示投屏数据。
上述显示设备在切换至投屏通道之后,获取投屏数据源设备发送的投屏指令,并响应于投屏指令检测显示设备的网络状态和投屏开光状态,进而在网络状态指示网络关闭的情况下,控制开启网络并连接至目标网络,和/或,在投屏开关状态指示投屏关闭的情况下,控制投屏开关,以避免网络关闭和/或投屏关闭导致的投屏失败,进一步的在网络开启、投屏开启的情况下,获取投屏数据源设备通过目标网络发送的投屏数据,并控制显示该投屏数据,实现成功投屏,提升了用户的使用体验感。
在一些实施例中,处理器250,在网络状态指示网络关闭的情况下,控制Wi-Fi模块开启网络并连接至目标网络之后,获取投屏数据源设备通过目标网络发送的投屏数据,并控制显示器在投屏通道的界面显示投屏数据之前,还被配置为:
控制显示器显示第一提示信息,第一提示信息用于提示正在开启网络进行连接;在预 设时长内判断网络连接是否成功;在网络连接失败的情况下,控制显示器显示网络状态设置界面,网络状态设置界面中包括网络开关控件和多个待连接网络的标识;接收用户针对网络状态设置界面中目标网络标识的选择输入;响应于选择输入,尝试连接至目标网络标识所指示的目标网络。
在一些实施例中,处理器250,响应于投屏指令,检测Wi-Fi模块的网络状态和投屏开关状态之后,控制Wi-Fi模块开启网络并连接至目标网络之前,还被配置为:
在网络状态指示网络关闭的情况下,控制显示器显示网络状态设置界面;网络状态设置界面中包括网络开关控件和多个待连接网络的标识;获取用户针对网络状态设置界面中网络开关控件的第一输入,第一输入用于指示将开启网络;
处理器250,控制开启网络,具体被配置为:响应于第一输入,控制Wi-Fi模块开启网络并连接至目标网络。
在一些实施例中,处理器250,响应于投屏指令,检测Wi-Fi模块的网络状态和投屏开关状态之后,控制开启投屏开关之前,还被配置为:
在投屏开关状态指示投屏关闭的情况下,控制显示器显示投屏开关状态设置界面,投屏开关状态设置界面中包括投屏开关控件;获取用户针对投屏开关状态设置界面中投屏开关控件的第二输入,第二输入用于指示开启投屏开关;
处理器250,控制开启网络,具体被配置为:响应于第二输入,控制开启投屏开关。
在一些实施例中,处理器250,检测Wi-Fi模块的网络状态和投屏开关状态之后,获取终端设备发送的投屏数据,并控制显示器显示投屏数据之前,还被配置为:
响应于投屏指令,检测资源更新状态;在资源更新状态指示未更新的情况下,下载目标版本的投屏资源;基于目标版本的投屏资源进行资源更新。
在一些实施例中,投屏资源中包括投屏密钥,处理器250,获取终端设备发送的投屏数据,并控制显示器显示投屏数据,具体被配置为:根据更新后的投屏密钥解密投屏数据源设备发送的投屏数据;控制显示器显示解密后的投屏数据。
如图5A所示,图5A为本公开一个或多个实施例提供的显示设备200中软件配置示意图,如图5A所示,将系统分为四层,从上至下分别为应用程序(Applications)层(简称“应用层”),应用程序框架(Application Framework)层(简称“框架层”),安卓运行时(Android runtime)和系统库层(简称“系统运行库层”),以及内核层。内核层至少包含以下驱动中的至少一种:音频驱动、显示驱动、蓝牙驱动、摄像头驱动、WIFI驱动、USB驱动、HDMI驱动、传感器驱动(如指纹传感器,温度传感器,压力传感器等)、以及电源驱动等。本公开实施例提供的视频数据传输方法可以基于上述显示设备实现,在本公开的某一实施例中可以通过显示设备中的播放器实现。
图5B为本公开实施例提供的显示设备的系统框架示意图,图中显示设备的系统包括安卓应用层、安卓框架层(Android Framework)、Linux层以及可信执行环境(Trusted Execution Environment,TEE)。其中安卓应用层包括电视应用程序(TVApp)、投屏应用程序(AirPlayApk)和电视启动服务(Airplay TV launch service);安卓框架层包括电视输入 管理器(TV input manager),Linux层包括应用进程协议栈(Airplay Daemon);可信执行环境通常用来进行数字版权管理(Digital Rights Management,DRM)、移动支付和敏感数据保护,本公开用于存储投屏密钥,例如MFI KEY和FairPlay KEY。
本公开实施例中,电视应用程序负责以列表形式显示设备的输入设备,与安卓框架层的电视输入管理器进行通信以完成通道切换。用户在点击通道时,由电视输入管理器判断网络状态和投屏开关状态。投屏应用程序负责AirPlay投屏通道的具体业务逻辑,平台层接口实现(PAL_Impl)、处理按键等。投屏启动服务与应用进程协议栈通信,当投屏开关改变时,负责将投屏开关状态写入系统属性值中,电视应用程序读取该属性值,用来进行下一步的逻辑处理。电视输入管理器是安卓架构原生类,TV应用通过电视输入管理器与设备制造商或其他方提供的电视输入模块进行通信。
为了更加详细的说明实施方式,以下将以在本公开的某一实施例中方式结合图6进行说明,可以理解的是,图6中所涉及的步骤在实际实现时可以包括更多的步骤,或者更少的步骤,并且这些步骤之间的顺序也可以不同,以能够实现本公开实施例中提供的显示设备的控制方法为准。
如图6所示,图6为本公开实施例提供的一种显示设备的控制方法的流程示意图,该方法应用于显示设备,该方法包括如下步骤S601~S605:
S601、响应于通道切换指令,从当前通道切换至投屏通道。
本公开实施例提供的显示设备的控制方法应用与显示设备,显示设备作为投屏数据接收设备,与投屏数据源设备通过Wi-Fi模块和蓝牙模块进行通信。
一些实施例中,通道切换指令可以是用户在显示设备的通道界面的输入,例如参考图2显示设备处于当前通道11,用户在当前显示的通道界面选择投屏通道12,生成通道切换指令,表示用户期望从当前通道11切换至投屏通道12。进一步的,显示设备响应于该通道切换指令,从当前通道切换至投屏通道。
需要说明的是,当前通道是与投屏通道不同的通道,可以是高清多媒体接口(High Definition Multimedia Interface,HDMI)等显示设备的输入通道。本公开对此不做赘述。
S602、获取投屏数据源设备发送的投屏指令。
一些实施例中,在显示设备处于投屏通道时,显示设备等待投屏数据源设备发送投屏指令。
S603、响应于投屏指令,检测所述Wi-Fi模块的网络状态和投屏开关状态。
一些实施例中,在显示设备获取到投屏数据源设备发送的投屏指令之后,响应于该投屏指令,检测网络状态和投屏开关状态。其中,检测网络状态是指检测显示设备Wi-Fi模块的网络状态,可以理解为,检测显示设备是否打开Wi-Fi连接功能。
一些实施例中,投屏失败可能是显示设备的投屏资源配置滞后造成的,本公开实施例提供一种实施方式,在显示设备获取到投屏数据源设备发送的投屏指令之后,响应于该投屏指令,检测资源更新状态,在资源更新状态指示未更新的情况下,显示设备从服务器下载目标版本的投屏资源,基于该目标版本的投屏资源进行资源更新,以将显示设备所配置 的投屏资源更新至目标版本,以便于后续成功接收投屏数据源设备发送的投屏数据。
一些实施例中,投屏失败可能是显示设备和投屏数据源设备所持有投屏密钥不匹配造成的,显示设备响应于投屏指令,在检测到资源更新状态指示未更新,并从服务器下载目标版本的投屏资源之后,基于目标版本的投屏资源中包括的投屏密钥,将显示设备投屏密钥进行更新,以与投屏数据源设备的投屏密钥相匹配,有利于成功投屏。
S604、在网络状态指示网络关闭的情况下,控制开启网络并连接至目标网络;和/或,在投屏开关状态指示投屏关闭的情况下,控制开启投屏开关。
一些实施例中,在检测网络状态和投屏开关状态之后,确定网路状态指示网络关闭,表示投屏开关状态指示投屏开启,由于网络关闭可能导致投屏失败,所以在网络状态指示网络关闭的情况下,控制开启网络,并连接至目标网络。
需要说明的是,目标网络可以是显示设备历史连接网络中的网络,也可以是用户手动连接的网络。
一些实施例中,在网络状态指示网络关闭的情况下,显示设备控制显示器显示网络状态设置界面,该网络状态设置界面中包括网络开关控件和多个待连接网络的标识,其中,网络开关控件用于控制网络状态的开启和关闭,多个待连接网络的标识可以列表形式显示。
如图7所示,图7为本公开实施例提供的网络状态设置界面的示意图,图中示出网络开关控件71和多个待连接网络的标识组成的列表72。
在本公开的某一实施例中,在网络状态指示网络关闭的情况下,显示设备先控制显示器显示第一对话框(dialog),第一对话框用于提示检查网络连接,第一对话框中包括取消控件和确认控件。
如图8所示,图8为本公开实施例提供的显示设备的用户界面示意图二,图中示出在网络状态指示网络关闭的情况下,显示设备控制显示器显示第一对话框81,第一对话框81中包括提示内容“请检查网络状态”,以及取消控件82和确认控件83。
在显示设备接收到用户针对第一对话框中确认控件的选择输入之后,显示设备控制显示器显示网络状态设置界面。
一些实施例中,显示设备控制显示器显示第一提示信息,第一提示信息用于提示正在开启网络连接,如图9所示,图9为本公开实施例提供的显示设备的用户界面示意图三,图中示出第一提示信息91,第一提示信息的内容可以是“正在开启网络连接至网络1,请稍作等待”。在本公开的某一实施例中,在显示第一提示信息后的预设时长内判断网络连接是否成功,在网络连接成功的情况下,表示能够正常投屏,后续执行步骤S605;在网络连接失败的情况下,显示设备控制显示器显示网络状态设置界面。
上述任一实施例中,显示设备控制显示器显示网络状态设置界面之后,接收用户针对网络状态设置界面中目标网络标识的选择输入,响应于该选择输入,尝试连接至目标网络标识指示的目标网络。
一些实施例中,在网络状态指示网络关闭的情况下,显示设备控制显示器显示网络状态设置页面,以将控制权交由用户,获取用户针对网络状态设置界面中网络开关控件的第 一输入,第一输入指示将网络开关控件的关闭状态修改为开启状态,进而显示设备响应于第一输入控制开启网络。
一些实施例中,显示设备可在用户无感知的情况下,控制开启网络并连接至目标网络,通常情况下,目标网络为显示设备的多个待连接网络中第一个网络,显示设备默认连接至该网络。在本公开的某一实施例中,在显示设备控制开启网络连接并连接至目标网络之后的预设时长内,检测网络连接是否成功,若网络连接失败,则控制显示器显示网络状态设置界面,以接收用户针对目标网络标识的选择输入,进而响应于选择输入连接至用户选择的目标网络。
上述实施例,在网络状态指示网络关闭的情况下,以用户有感知的形式显示网络状态设置界面,进而由用户开启网络开关控件,选择目标网络,使得显示设备开启网络并连接至目标网络;或者,以用户无感知的形式,显示设备自行控制开启网络连接并连接至目标网络,在本公开的某一实施例中,对网络连接是否成功进行检测,在检测到网络连接失败的情况下,控制显示网络状态设置界面,以获取用户针对目标网络标识的选择输入,进而满足用户需求连接至用户选择的目标网络,以使得网络状态指示网络开启且网络正常连接,有利于成功投屏。
一些实施例中,在检测网络状态和投屏开光状态之后,确定投屏开关状态指示投屏关闭的情况下,表示网络状态指示网络开启,而投屏关闭可能导致投屏失败,为避免投屏关闭所导致的投屏失败,本公开实施例提供一种实施方式,在投屏开关状态指示投屏关闭的情况下,控制显示器显示投屏开关设置界面,该投屏开关设置界面中包括投屏开关控件,如图10所示,图10为本公开实施例提供的投屏开关设置界面的示意图,图中示出投屏开关控件1001。进而获取用户针对投屏开关设置界面中投屏开关控件的第二输入,第二输入用于指示开启投屏开关,以打开显示设备的投屏功能。显示设备响应于该第二输入控制开启投屏开关。
一些实施例中,在投屏开关状态指示投屏关闭的情况下,显示设备在用户无感知的情况下,控制开启投屏开关。
上述实施例,在投屏开关状态指示投屏关闭的情况下,显示投屏状态显示界面以获取用户针对投屏开关控件的第二输入,控制开启投屏开关;或者,显示设备直接控制开启投屏开关,从而避免由于投屏开关关闭所导致的投屏失败。
在检测网络状态和投屏开关状态之后,确定网络状态指示关闭并且投屏开关状态指示关闭的情况下,网络关闭和投屏开关关闭这两个影响因素导致显示设备投屏失败,显示设备为成功投屏,控制开启网路并连接至目标网络,并且控制开启投屏开关,以保障网络正常连接,投屏功能正常开启,进而有利于提升投屏的成功率。
S605、获取投屏数据源设备通过目标网络发送的投屏数据,并控制显示器在投屏通道的界面显示投屏数据。
一些实施例中,显示设备的网络状态指示网络开启,通过目标网络与投屏数据源设备相连接,并且投屏开关状态指示投屏开关开启,投屏功能开启,表示显示设备能够正常投 屏。为满足用户的投屏需求,显示设备获取投屏数据源设备通过目标网络发送的投屏数据,并在显示器当前显示的投屏通道界面显示投屏数据。
综上,本公开实施例提供一种显示设备的控制方法,该方法应用于显示设备,首先响应于频道切换指令,从当前通道切换至投屏通道,然后获取投屏指令,并响应于投屏指令获取Wi-Fi模块的网络状态以及投屏开关状态;进而在网络状态指示关闭的情况下,控制开启网络,和/或,在投屏开关状态指示投屏关闭的情况下,控制开启投屏开关,以保证在网络开启、投屏开启的情况下,获取投屏数据源设备通过目标网络发送的投屏数据,并控制显示器在投屏通道的界面显示投屏数据,实现了显示设备切换至投屏通道后检测网络状态和投屏开关状态,从而保证在网络开启、投屏开启的情况下成功投屏,避免网络状态和/或投屏开关状态所导致的投屏失败,提高了投屏的成功率,提升了用户的使用体验感。
另考虑到隔空播放(airplay)是目前使用较为广泛的实现投屏的技术之一,可以将需要投屏的内容传送到支持隔空播放的显示设备。基于airplay实现投屏时,用户可以通过显示设备中提供的信号源口启动显示设备中的投屏功能并展示相应的投屏信息,进而可以等待用户操作智能设备与显示设备建立连接进行投屏,然而,目前存在显示设备在展示投屏信息页面中对于接收到的返回指令无响应的现象,这严重影响用户体验。
基于此,本公开实施例通过在前述显示设备中添加对于控制装置的返回按键的处理逻辑,使得显示设备在接收到用户操作控制装置的返回按键生成的返回指令时,能够基于处理逻辑由投屏信息页面跳转至预先指定的页面,解决了目前显示设备展示投屏信息页面对于返回按键无响应的问题,且页面的跳转也更加符合用户的使用习惯,能够提升用户使用显示设备提供的隔空播放功能的体验。
以前述图1所示应用场景进行说明,智能设备300可与显示设备200安装的软件应用,通过网络通信协议实现连接通信,实现一对一控制操作的和数据通信的目的。也可以将智能设备300上显示音视频内容传输到显示设备200上,实现同步显示功能。显示设备200还可以与服务器400通过多种通信方式进行数据通信。可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器400可以向显示设备200提供各种内容和互动。显示设备200,可以液晶显示器、OLED显示器、投影显示设备。显示设备200除了提供广播接收电视功能之外,还可以附加提供计算机支持功能的智能网络电视功能。
其中,用户可以通过操作智能设备300中的虚拟按钮或者控制装置100提供的按键,如遥控器中的返回按键、主页按键、信号源按键、上下左右按键、确认按键等等,控制显示设备200展示一些指定的页面以获取用户需要的信息或者进入用户需要的功能集合页面。
以遥控器为例,用户可以通过按压遥控器上的信号源按键向显示设备200输入指令使得显示设备展示信号源页面,信号源页面可以展示显示设备200支持的一种或多种信号源入口,例如,安卓操作系统(Home)、一个或者多个高清多媒体接口(High Definition Multimedia Interface,HDMI)、实时直播(Live TV)、隔空播放(airplay)等等。用户可以进一步操作遥控器在上述多种信号源中进行切换。
其中,显示设备200可以包括多个HDMI接口,不同HDMI接口可以分别将不同数据源的数据输入至显示设备中进行显示,因此,在信号源页面可以通过不同的标识区分不同HDMI接口作为信号源。
隔空播放可以理解为是将发起投屏的智能设备300作为显示设备的显示数据来源(即作为一种信号源),将从智能设备300得到的待显示数据解析后在显示设备中展示播放。例如,用户选择隔空播放作为信号源,相当于启动了显示设备中的隔空播放功能。
可以理解的是,通常发起隔空播放(即发起投屏)的智能设备300(如智能手机、PAD等等)与显示设备需要连接至相同的WiFi才能够正常建立连接并传输待显示数据。
图11所示的用户界面21示例性示出了信号源页面,其中,用户界面21包括:区域201,用于展示信号源页面。区域201可以为整个显示器的全部或者部分显示区域,且本公开对于区域201显示位置、显示尺寸、颜色、文字的显示样式等等参数均不做限定。如图11所示,信号源页面可以悬浮显示在显示设备原先所展示的页面之上并且靠近左侧边缘,显示设备原先所展示的页面的亮度、色彩、透明度等等显示参数可以进行调整,以突出信号源页面。
其中,区域201可以包括:区域201a以及多个区域201b。区域201用于展示信号源页面的名称,名称可以采用任意语言,例如图11中采用中文“信号源”。区域201b用于展示信号源,每个区域201b对应一个信号源,例如,图11中包含6个信号源,分别为“主页面”、“实时直播”、“隔空播放”、“HDMI1”、“HDMI2”以及“HDMI3”,用户选中的信号源可以采用不同的显示样式体现,例如用户选中的信号源对应的区域201b中的文字字号加大加粗,且区域201b采用具有明显区别的色彩填充。
在图11所示用户界面21的基础上,用户可以从信号源页面中展示的多种信号源选择其中一种作为显示设备当前的信号输入源,接收该信号源输入的数据进行解析并展示。例如,用户选择实时直播作为当前信号源,则显示设备200接收实时的广播电视数据作为信号输入,以展示广播电视内容;又如,用户选择隔空播放作为当前信号源,则可以从发起投屏的智能设备接收投屏数据解析并进行展示。
设备可能支持采用多种不同的隔空播放协议实现投屏,例如,可以采用Miracast协议或者airplay协议。其中,不同的隔空播放协议的规范也不同。例如,通过airplay协议实现隔空播放时,当用户在信号源页面选择隔空播放作为当前信号源,则基于airplay协议的规范,会要求显示设备200跳转至投屏信息页面,其中,投屏信息页面可以展示显示设备的名称、显示设备当前连接的WiFi的名称等等投屏信息,且投屏信息页面还可以提供其他功能入口,显示设备200跳转至投屏信息页面后,便可等待用户操作智能设备通过镜像投屏、直接操作应用程序投屏等方式进行投屏。通过投屏信息页面向用户展示要连接的显示设备以及WiFi的信息,能够保证用户在智能设备中进行操作时可以选择正确的显示设备,并连接至正确的WiFi中,避免出现投屏失败的问题。
例如,在图11所示用户界面21的基础上,用户通过选择隔空播放作为信号源,则显示设备200可以跳转至图12所示的用户界面31,以展示投屏信息页面。参阅图12所示, 用户界面31包括:区域301、区域302、区域303、入口304以及区域305。
其中,区域301用于展示一些隔空播放的介绍说明,例如,“隔空播放,通过无线网络将您手机、PAD或者MAC中的内容进行分享”,并且可以展示相关隔空播放的图标。区域302用于展示显示设备连接的WiFi的名称。区域303用于展示显示设备的名称。
入口304用于进入隔空播放设置页面,隔空播放设置页面可以修改显示设备的名称、更换显示设备当前连接的WiFi等等。
区域305用于展示隔空播放相关的提示信息,例如,文字提示内容“请确保您的手机、PAD或者MAC连接至本设备连接的WiFi网络。如您想获取更多信息,请访问xxxxxx网站”。
进入投屏信息页面之后,显示设备便会等待用户操作智能设备进行投屏。在一些情况下,用户可能不想进行下一步投屏操作,通常用户会操作控制装置进行返回。然而,现有的显示设备基于隔空播放协议实现投屏时,当通过信号源页面进入投屏信息页面之后,用户通过操作智能设备300或者控制装置100中的返回按键向显示设备200发送返回指令,显示设备200在投屏信息页面针对返回指令无响应,这可能会让用户认为显示设备出现卡顿或者投屏功能出现错误,这既不符合用户的使用习惯,也会导致用户使用隔空播放功能的体验感受较差。
为了解决该问题,本公开通过在显示设备200中添加相应的业务逻辑,使得显示设备200响应投屏信息页面的返回指令,跳转至预先指定的页面,既符合用户的使用习惯,也能够较好地提升用户感受。其中,处理逻辑可以灵活设置,例如,可以指定响应投屏信息页面的返回指令统一返回至某个指定页面,处理逻辑简单;或者,也可以通过分析进入投屏信息页面之前显示设备中的活跃的数据源对象,针对不同的数据源对象设置不同的处理逻辑,该方式也更加契合用户的使用习惯。
另以前述图4示出的显示设备200进行说明,本公开中,通信器220,被配置为接收用户通过操作控制装置的返回按键生成的返回指令。
处理器250,被配置为响应接收到的返回指令,确定显示器260当前是否展示投屏信息页面,以及,确定显示器260当前展示投屏信息页面时,控制所述显示器260返回展示预先指定的页面。
在一些实施例中,处理器250可以控制显示器统一跳转至指定页面,如显示设备的操作系统提供的桌面。
另一些实施例中,处理器250也可以根据进入投屏信息页面之前的处于启动状态的数据源对象返回相应数据源对象对应的指定页面,其中,不同数据源对象对应的指定页面不同。
需要说明的是,显示设备200通过信号源入口进入信号源页面并启动隔空播放功能之前所启动的数据源对象即为显示设备要重新启动的任务对象。该数据源对象可以为安装在显示设备的操作系统中的任一应用程序或者任一信号源;启动隔空播放功能之前处于启动状态的数据源对象所提供的用户界面例如可以但不限于为显示设备的操作系统提供的桌 面、设置页面等等,可以为安装在显示设备的操作系统中的应用程序提供的内部页面、应用程序的主页面、设置页面等等。
在一些实施例中,若进入所述投屏信息页面之前处于启动状态的所述数据源对象为所述显示设备所支持的信号源,则控制所述显示器返回显示所述显示设备的操作系统的桌面;若进入所述投屏信息页面之前处于启动状态的所述数据源对象为安装在所述显示设备的操作系统的应用程序层中的应用程序,则控制所述显示器返回显示所述应用程序对应的主页面。即,当用户在操作系统的桌面、HDMI、实时直播或者其他信号源下,由信号源入口进入投屏信息页面时,响应返回按键生成的返回指令统一返回显示操作系统的桌面;当用户在一些应用程序下,如视频播放类应用程序,由信号源入口进入投屏信息页面时,响应返回按键生成的返回指令显示应用程序的主页面。
在一些实施例中,处理器250,具体被配置为:通过获取自定义参数;确定所述自定义参数的值是否等于预设值;若等于,则确定进入所述投屏信息页面之前处于启动状态的所述数据源对象为所述显示设备所支持的信号源;若不等于,则确定进入所述投屏信息页面之前处于启动状态的所述数据源对象为安装在所述显示设备的操作系统的应用程序层中的应用程序。
需要说明的是,显示设备200可以通过操作系统提供的原生组件即活动管理器(activity manager)来管理显示设备中启动的任务(task),其中,任务是指与用户交互过程中所涉及的所有数据源对象的集合。在活动管理器中,数据源对象按照堆栈排列,即按照启动数据源对象启动的顺序排列。在响应针对投屏信息页面的返回指令时,可以基于活动管理器的堆栈进行管理从而恢复需要重新启动的数据源对象的状态。
接下来通过图13至图15所示实施例详细介绍显示设备响应返回指令时所涉及的组件之间调用流程以及各组件的处理流程。
图13为根据本公开一个或多个实施例的显示设备的控制方法的流程示意图。请参阅图13所示,本实施例包括:
S1301、接收用户通过操作控制装置的返回按键生成的返回指令。
S1302、响应返回指令,确定当前是否展示投屏信息页面,投屏信息页面符合指定隔空播放协议的要求。
其中,指定隔空播放协议即为airplay协议。
S1303、确定显示器当前展示投屏信息页面时,控制显示器返回展示预先指定的页面。
结合前文所述,至少有以下两种实现方式:(1)基于不同的投屏前通道进入投屏信息页面可以统一返回至安卓系统的桌面;(2)根据进入投屏信息页面前处于启动状态的数据源对象返回至该数据源对象对应的指定页面。其中,图14以及图15分别示出了上述两种实现方式分别对应的组件调用过程示意图。
请参阅图14以及图15所示,隔空播放SDK接收到返回指令进行解析,确定当前是否显示投屏信息页面,若是,则执行步骤S1303;若否,则由隔空播放SDK响应返回指令。也就是说,在确定显示器当前显示投屏信息页面时,才会将返回指令向上传递,否则便在 隔空播放功能内部处理。
其中,返回指令向上传递主要设计隔空播放SDK、系统库层中的启动服务以及应用程序层中的隔空播放应用程序。图14与图15的区别在于,返回指令被传输至隔空播放应用程序之后的处理方式不同,但前端隔空播放SDK、启动服务以及隔空播放应用程序三者之间的交互过程是相同的。因此,这里首先对前端对于返回指令的处理流程进行介绍。
具体地,通过调用隔空播放SDK将返回指令以广播(broadcast)的方式发送给隔空播放应用程序,使得隔空播放应用程序响应返回指令,控制显示器返回展示预先指定的页面。
在安卓系统中,内核层中的隔空播放SDK无法与应用程序层直接进行通信,需要依赖中间层的组件实现,因此,隔空播放SDK需要将接收到的返回指令先转发给系统库层中的启动服务,再调用启动服务广播返回指令,以将返回指令发送给应用程序层中的隔空播放应用程序,使得隔空播放应用程序响应返回指令返回至预先指定的页面。
在一些实施例中,启动服务可以监听套接字连接,隔空播放SDK可以将返回指令可以套接字(socket)的方式转发给启动服务。套接字是对网络中不同应用进程之间进行双向通信的端点的抽象,一个套接字可以理解为是进程通信的一端。通信时,隔空播放SDK将返回指令写入底层驱动所对应的socket中,再通过隔空播放SDK与启动服务之间的传输介质将返回指令发送至启动服务对应的socket中,启动服务从自身相对应的socket中读取返回指令。其中,通过socket方式传输数据组件之间的通信效率较高,能够提高显示设备的处理速度。
可以理解的是,隔空播放SDK还可以通过其他方式将返回指令发送给启动服务,例如,还可以通过广播或者Binder的方式传输返回指令。其中,采用广播的方式简单易于实现;采用Binder的方式相比较而言性能更好,实时性更强。可根据需求灵活设置隔空播放SDK向启动服务传输返回指令的方式。
接下来分别对图14以及图15所示实施例中隔空播放应用程序响应返回指令的处理方式进行介绍。
针对上述实现方式(1),如图14所示,需要通过意图组件和安卓的桌面启动组件(Launcher)实现。实施时,通过执行步骤1401:隔空播放SDK,并以套接字的方式执行步骤1402:启动服务。待服务启动之后以广播的方式执行步骤1403:隔空播放应用程序。最后通过意图组件实现调用来执行步骤1404:桌面启动组件。
在图14所示实施例中,针对上述实现方式(1),无论是在安卓的操作系统的桌面、HDMI或者其他信号源通道下,通过信号源入口进入信号源页面再进入隔空播放,还是由安装在显示设备中的应用程序的相关页面通过信号源入口进入信号源页面再进入隔空播放,当接收到返回指令,均返回安卓的操作系统的桌面,返回至操作系统的桌面需要重启桌面启动组件。
具体地,隔空播放应用程序响应返回指令执行结束隔空播放应用程序的操作,活动管理器将隔空播放应用程序对应的任务从堆栈顶部弹出,并控制关闭隔空播放应用程序对应的窗口,从而关闭投屏信息页面;进一步地,通过意图组件针对返回指令生成相应的描述 数据,安卓系统通过描述数据确定要调用的组件为安卓的桌面启动组件,再调用安卓的桌面启动组件重新启动,拉起操作系统的桌面进行显示。该业务逻辑既能够满足用户的使用习惯,解决显示设备在投屏信息页面对于返回指令无响应的问题,且实现复杂度也相对较为简单。
针对上述实现方式(2),参照图15所示,需要通过活动管理器、目标应用程序(进入投屏信息页面前处于启动状态的数据源对象)、意图组件以及安卓的桌面启动组件。
在图15所示实施例中,针对上述实现方式(2),针对不同的投屏前通道返回不同的页面,更加具有针对性,也更符合“从哪儿来回哪儿去”的业务逻辑以及用户的使用习惯,能够带给用户更好的体验感受。实施时,在隔空播放应用程序之前均与前述图14的步骤相同,此处不再赘述。待执行步骤1404:隔空播放应用程序之后,根据接收到的返回指令获取自定义参数的值。
步骤1501:自定义参数等于预设值,则通过意图组件实现调用桌面启动组件;以此返回操作系统的桌面;
步骤1502:自定义参数不等于预设值,则通过活动管理器实现调用目标应用程序;以此返回目标应用程序的主页面。
具体地,隔空播放应用程序接收到返回指令后,可以获取自定义参数的值,基于自定义参数的值确定返回操作系统的桌面,还是目标应用程序的主页面。
自定义参数能够指示进入投屏信息页面前处于启动状态的数据源对象是属于显示设备支持的信号源还是安装在显示设备中的某个应用程序。假设,自定义参数为launch source,任意信号源对应的launch source值相同,不同应用程序分别对应的launch source值可以相同也可以不同,本公开对此不做限定。以任意信号源对应的launch source值相同为例,隔空播放应用程序比较确定launch source值等于预设值则表示显示设备是在信号源下进入隔空播放,比较确定launch source值不等于预设值则表示显示设备在应用程序下进入隔空播放;若launch source等于预设值,则确定需要返回安卓系统的桌面;若launch source不等于预设值,则确定需要返回至应用程序的主页面。
其中,本公开对于预设值的大小不做限定,例如,预设值可以为1也可以为0,还可以为其他数值。此外,launch source可以由活动管理器根据处于启动状态的各应程序的任务进行更新。隔空播放应用程序接收到返回指令后始终需要从活动管理器中得到最新状态的launch source值。
在图15所示实施例中,确定返回至安卓系统的桌面之后的具体处理流程与图14所示实施例的处理流程是一致的,可参照图14所示实施例的描述,简明起见,此处不再赘述。
若确定需要返回至应用程序的主页面,则响应返回指令执行结束隔空播放应用程序的操作,活动管理器将隔空播放应用程序对应的任务从堆栈顶部弹出,并控制关闭隔空播放应用程序对应的窗口,从而关闭投屏信息页面;之后,可以通过活动管理器将接下来要重新恢复为启动状态的目标应用程序对应的任务推至堆栈顶部并获得焦点,进而再重新启动目标应用程序对应的任务,并显示目标应用程序对应的窗口,在窗口中展示目标应用程序 提供的主页面。
接下来,以图16至图18所示实施例对采用前述两种不同实现方式时,显示设备中的用户界面变化进行示意。
参阅图16所示,按照箭头所示的界面顺序,显示设备响应用户操作遥控器上的信号源按键生成的指令,在安卓系统的桌面上显示信号源页面,接着,用户从多个信号源中选择隔空播放作为信号源,启动隔空播放功能,显示设备则跳转至中间所示的投屏信息页面,之后,再接收用户操作遥控器中的返回按键生成的返回指令,显示设备则由投屏信息页面返回至安卓系统的桌面。
请参阅图17所示,按照箭头所示的界面顺序,显示设备响应用户操作遥控器上的信号源按键生成的指令,在安卓系统的桌面上方显示信号源页面;接着,用户从多个信号源中选择隔空播放作为信号源,启动隔空播放功能,显示设备则跳转至投屏信息页面,通过投屏信息页面中的隔空播放设置入口进入隔空播放设置页面;之后,用户可以通过屏幕镜像的方式或者直接通过操作手机上应用程序提供的多媒体内容播放页面中的投屏按钮等方式,与显示设备建立连接并在显示设备中展示投屏内容展示页面;在展示投屏内容的过程中,显示设备接收用户操作遥控器中的返回按键生成的返回指令,显示设备则由投屏内容展示页面先返回至投屏信息页面;之后,显示设备再次接收用户操作遥控器中的返回按键生成的返回指令,显示设备则由投屏信息页面跳转至安卓系统的桌面。
请参阅图18所示,按照箭头所示的界面顺序,显示设备正在展示安装在显示设备中的应用1的主页面;之后,显示设备响应用户操作遥控器上的信号源按键生成的指令,在应用1的主界面上显示信号源页面;接着,用户从多个信号源中选择隔空播放作为信号源,启动隔空播放功能,显示设备则跳转至投屏信息页面;之后,用户可以直接通过操作手机上应用程序提供的多媒体内容播放页面中的投屏按钮或者屏幕镜像等方式,与显示设备建立连接并在显示设备中展示投屏内容;在展示投屏内容的过程中,显示设备接收用户操作遥控器中的返回按键生成的返回指令,显示设备则由投屏内容展示页面先返回至投屏信息页面;之后,显示设备再次接收用户操作遥控器中的返回按键生成的返回指令,显示设备则由投屏信息页面跳转至应用1的主页面。
结合图17以及图18所示,显示设备接收的第一个返回指令是由隔空播放SDK内部处理的,第二个返回指令是由隔空播放SDK通过启动服务上传至隔空播放应用程序进行处理。
结合图16至图18所示实施例,通过采用本公开提供的显示设备的控制方法,显示设备可以统一的策略或者采用灵活性较高且针对性较强的策略响应针对投屏信息页面的返回指令,控制页面跳转以满足用户的使用习惯,且能够提高用户使用显示设备的隔空播放功能的体验感受。
隔空播放功能的正常使用需要依赖MFI key(Made for iPhone/iPod/iPad,用于主要用于苹果设备的合法性校验)和FairPlay Key(用于解密受FairPlay的数字版权保护的加密多媒体内容)。
为了保证业务凭证的安全性,目前普遍采用的业务凭证写入方法为在生产环境将业务凭证写入显示设备。然而,一方面在生产环境对相关设备进行业务凭证的写入导致生产进度必须依赖业务凭证的认证进度,如果显示设备未通过业务方的认证,则无法获取业务凭证,进而影响显示设备的生产进度;另一方面,在生产环境对相关设备进行业务凭证的写入还会导致业务凭证一旦被写入显示设备并交付用户,则无法更改业务凭证,当业务凭证异常或需要更新时,无法对显示设备中业务凭证进行重写。
基于此,本公开实施例通过根据写入所述显示设备的第一加密秘钥生成第一设备签名,然后向服务器发送携带有所述第一设备签名的凭证获取请求,并接收所述服务器发送的所述业务凭证,以及将所述业务凭证写入所述显示设备的预设存储位置。一方面,由于本公开实施例是通过从服务器获取业务凭证,并将从服务器获取的业务凭证写入预设存储位置的方式对显示设备进行业务凭证写入的,因此本公开实施例可以在任意阶段对显示设备进行业务凭证的写入,而不必局限于在生产环境下对显示设备进行业务凭证的写入。另一方面,由于凭证获取请求携带有显示设备根据写入所述显示设备的第一加密秘钥生成第一设备签名,且服务器只有在基于所述第一设备签名确定所述显示设备鉴权通过的情况下才会向所述显示设备发送所述显示设备对应的业务凭证,因此本公开实施例可以避免非法设备从服务器盗取所述显示设备的业务凭证,进而保证业务凭证的安全性。
由此,通过上述流程能够缓解在生产环境对显示设备进行业务凭证的写入带来的影响生产进度和无法重写的问题。
仍以前述图1所示应用场景进行说明供的业务凭证写入方法的场景架构示意图。如图1所示,根据一些实施例的场景架构,包括:控制装置100、显示设备200、智能设备300以及服务器400。
用户可通过智能设备300或控制装置100操作显示设备200,以控制显示设备200执行相应的操作。显示设备200与服务器400之间建立有数据通信链路,服务器400保存有显示设备200对应的业务凭证。显示设备200可以向服务器400发送请求获取业务凭证的凭证获取请求,并将业务凭证写入指定存储位置,以完成业务凭证的写入,服务器400接收到显示设备的凭证获取请求后,首先对显示设备进行鉴权,且只有在显示设备鉴权通过的情况下才会向显示设备返回业务凭证。
根据一些实施例的显示设备可以具有多种实施形式,例如,可以电视、具有显示功能的智能音箱冰箱、具有显示功能的窗帘、个人计算机(Personal Computer,PC)、激光投影设备、显示器(monitor)、电子白板(electronic bulletin board)、可穿戴设备、车载设备、电子桌面(electronic table)等。根据一些实施例的服务器可以具有多种实施形式,例如:云服务器(CloudServer)、内容分发网络(Content Delivery Network,CDN)。服务器400可以是一个集群,也可以是多个集群,可以包括一类或多类服务器。
在一些实施例中,为显示设备200写入了第一加密秘钥,并将显示设备200对应的业务凭证和第一加密秘钥对应的第一解密秘钥上传到了服务器400中。显示设备200在需要进行业务凭证写入时,通过处理器250读取写入的第一加密秘钥,并根据所述第一加密秘 钥生成第一设备签名,然后通过处理器220向服务器400发送携带有所述第一设备签名的凭证获取请求。服务器400根据第一解密秘钥和第一设备签名对显示设备200进行鉴权,若显示设备200鉴权通过,则服务器400向显示设备200发送显示设备200对应的业务凭证。显示设备200通过接收到服务器400发送的业务凭证后,将业务凭证保存至预设存储位置,以完成业务凭证的写入。由于服务器400只有确定显示设备200鉴权通过的情况下才会向显示设备200发送业务凭证,因此上述实施例可以避免非法设备从服务器400盗取所述显示设备200的业务凭证,进而保证业务凭证的安全性。
在一些实施例中,显示设备200根据写入所述显示设备200的第一加密秘钥生成第一设备签名的实现方式可以包括:显示设备200的处理器250通过所述第一加密秘钥对第一文件进行加密,获取第一加密文件;并基于预设算法获取所述第一文件的摘要信息,以及根据所述第一加密文件和所述摘要信息生成所述第一设备签名。相应的,服务器400基于所述第一设备签名对显示设备200进行鉴权的实现方式可以包括:服务器400解析第一设备签名获取所述第一加密文件和所述第一文件的摘要信息,基于第一加密秘钥对应的第一解密秘钥对所述第一加密文件进行解密获取第一加密文件对应的解密数据,然后基于所述预设算法获取所述第一加密文件对应的解密数据的摘要信息,最后比对第一加密文件对应的解密数据的摘要信息是否与凭证获取请求中携带的摘要信息相同;若相同,则确定显示设备200鉴权通过,若不同,则确定显示设备200鉴权不通过。
在一些实施例中,为了保证写入显示设备200中的第一加密秘钥的有效性,在将所述第一加密秘钥写入所述显示设备200之后,显示设备200的处理器250还会根据所述第一加密秘钥生成第二设备签名;显示设备200的通信器200还会向所述服务器400发送携带有所述第二设备签名的鉴权请求,以及接收所述服务器400发送的鉴权响应;显示设备200的处理器250还会在所述鉴权响应指示所述显示设备鉴权通过的情况下,确定所述第一加密秘钥有效,在所述鉴权响应指示所述显示设备鉴权不通过的情况下,确定所述第一加密秘钥无效。相应的,服务器400接收到显示设备200发送的鉴权请求后,基于鉴权请求中携带第二设备签名对所述显示设备200进行鉴权,以及向显示设备200返回鉴权结果。上述实施例在将所述第一加密秘钥写入所述显示设备200之后,还会对第一加密秘钥的有效性进行验证,因此本公开实施还可以避免写入显示设备200的第一加密秘钥无效导致的显示设备200无法从服务器400获取业务凭证,进而提升向显示设备写入业务凭证的可靠性。
在一些实施例中,还向服务器上传了第二加密秘钥服务器400,显示设备200还被写入了第二加密秘钥对应的第二解密秘钥。服务器400向显示设备200发送业务凭证的实现方式可以包括:服务器400向显示设备200发送通过第二加密秘钥对业务凭证进行加密到的第二加密文件。显示设备200接收到第二加密文件后,获取写入所述显示设备的第二解密秘钥,并通过所述第二解密秘钥对所述第二加密文件进行解密,以获取所述业务凭证。其中,服务器400获取第二加密文件的一种实现方式为:将第二加密秘钥和业务凭证均上传到服务器400,服务器400根据第二加密秘钥对业务凭证进行加密,以获取第二加密文件;服务器400获取第二加密文件的另一种实现方式可以为:直接将通过第二加密秘钥对 业务凭证进行加密得到的第二加密文件上传到服务器400中。
在一些实施例中,为保证写入显示设备200中的第二解密秘钥的有效性,显示设备200的通信器220还会在将所述第二解密秘钥写入所述显示设备200之后,从服务器400获取基于所述第二加密秘钥对预设文件进行加密得到的第三加密文件,显示设备200的处理器250还会通过所述第二解密秘钥对所述第三加密文件进行解密获取解密数据,以及比对所述解密第三加密文件得到的解密数据是否与预设文件一致,以及在所述解密数据与所述预设文件一致的情况下,确定所述第二解密秘钥有效,在所述解密数据与所述预设文件不一致的情况下,确定所述第二解密秘钥无效。上述实施例在将所述第二解密秘钥写入所述显示设备200之后,还会进一步对第二解密秘钥的有效性进行验证,因此本公开实施可以避免写入显示设备200的第二解密秘钥无效导致的显示设备200无法解密加密后的业务凭证,进而提升向显示设备写入业务凭证的可靠性。
在一些实施例中,为了避免第二解密秘钥在写入过程中被窃取,向显示设备200写入第二解密秘钥的实现方式可包括:显示设备200的存储器接收写入的基于第三加密秘钥对所述第二解密秘钥进行加密得到的第四加密文件,显示设备200的控制根据预置于所述显示设备的软件系统中的第三解密秘钥对所述第四加密文件进行解密,以获取所述第二解密秘钥。其中,所述第三解密秘钥为所述第三加密秘钥对应的解密秘钥。由于写入过程中第二解密秘钥已被加密,写入相关人员或设备只能获取基于第三加密秘钥对所述第二解密秘钥进行加密得到的第四加密文件,而无法获取解密后的第二解密秘钥,因此上述实施例可以避免第二解密秘钥在写入过程中被窃取。
在一些实施例中,为了避免第一加密秘钥在写入过程中被窃取,显示设备200写入第一加密秘钥的实现方式可包括:显示设备200的存储器接收写入的基于第三加密秘钥对所述第一加密秘钥进行加密得到的第五加密文件,显示设备200的控制根据预置于所述显示设备的软件系统中的第三解密秘钥对所述第五加密文件进行解密,以获取所述第二解密秘钥。其中,所述第三解密秘钥为所述第三加密秘钥对应的解密秘钥。由于写入过程中第一加密秘钥已被加密,写入相关人员或设备只能获取基于第三加密秘钥对所述第一加密秘钥进行加密得到的第五加密文件,而无法获取解密后的第一加密秘钥,因此上述实施例可以避免第一加密秘钥在写入过程中被窃取。
图19中在本公开的某一实施例中示出了的业务凭证写入方法的交互流程示意图,如图19所示,包括如下步骤:
S1901、显示设备根据中写入所述显示设备的第一加密秘钥生成第一设备签名。
在一些实施例中,可以在生产环境中将所述第一加密秘钥写入所述显示设备。即,在生产环境中将第一加密秘钥写入显示设备,显示设备在需要获取业务凭证时,读取在生产环境中写入的第一加密秘钥,并根据第一加密秘钥生成第一设备签名。
由于本公开实施例中第一加密秘钥作用为对显示设备进行鉴权,因此第一加密秘钥与显示设备一一对应,每一个显示设备具有唯一的第一加密秘钥。
S1902、显示设备向服务器发送携带有所述第一设备签名的凭证获取请求。
相应的,服务器接收显示设备发送的携带有第一设备签名的凭证获取请求。
其中,所述凭证获取请求用于请求所述服务器在基于所述第一设备签名确定所述显示设备鉴权通过的情况下返回所述显示设备对应的业务凭证。
在一些实施例中,凭证获取请求可以为显示设备首次联网使用时向服务器发送的注册请求,当服务器完成显示设备的鉴权后,会向显示设备发送显示设备对应的业务凭证。
本公开实施例中的业务凭证可以为MFI key、FairPlay Key等,本公开实施例对此不作限定。
S1903、服务器根据所述第一设备签名和所述第一加密秘钥对应的第一解密秘钥对所述显示设备进行鉴权。
本公开实施例中的第一加密秘钥与第一解密秘钥是一对一的关系,且每一台显示设备具有唯一的第一加密秘钥。
在一些实施中,所述第一加密秘钥与所述第一解密秘钥可以为对称加密算法中的秘钥。即,第一加密秘钥与第一解密秘钥相同。
在一些实施中,所述第一加密秘钥与所述第一解密秘钥可以为非对称加密算法中的秘钥对,第一加密秘钥为非对称加密算法中的公钥,第一解密秘钥为非对称加密算法中的私钥。
在上步骤S1903中,若服务器根据所述第一设备签名和所述第一加密秘钥对应的第一解密秘钥确定所述显示设备鉴权不通过,则服务器可以确定所述显示设备不具有获取所述业务凭证的权限,因此拒绝向所述显示设备发送所述业务凭证,而若服务器根据所述第一设备签名和所述第一加密秘钥对应的第一解密秘钥确定所述显示设备鉴权通过,则服务器可以确定所述显示设备具有获取所述业务凭证的权限,因此执行如下步骤S1904。
S1904、服务器向所述显示设备发送所述业务凭证。
相应的,显示设备接收所述服务器发送的所述业务凭证。
S1905、显示设备将所述业务凭证写入所述显示设备的预设存储位置。
在一些实施例中,所述预设存储位置可以为所述显示设备的可信执行环境(Trusted execution environment,TEE)中的存储位置。
将业务凭证存储在可信执行环境中的存储位置可以避免业务凭证在写入显示设备被从显示设备中窃取,进而进一步提升业务凭证的安全性。
根据一些实施例的显示设备和业务凭证写入方法,首先根据写入所述显示设备的第一加密秘钥生成第一设备签名,然后向服务器发送携带有所述第一设备签名的凭证获取请求,并接收所述服务器发送的所述业务凭证,以及将所述业务凭证写入所述显示设备的预设存储位置。一方面,由于本公开实施例是通过从服务器获取业务凭证,并将从服务器获取的业务凭证写入预设存储位置的方式对显示设备进行业务凭证写入的,因此本公开实施例可以在任意阶段对显示设备进行业务凭证的写入,而不必局限于在生产环境下对显示设备进行业务凭证的写入。另一方面,由于凭证获取请求携带有显示设备根据写入所述显示设备的第一加密秘钥生成第一设备签名,且服务器只有在基于所述第一设备签名确定所述显示 设备鉴权通过的情况下才会向所述显示设备发送所述显示设备对应的业务凭证,因此本公开实施例可以避免非法设备从服务器盗取所述显示设备的业务凭证,进而保证业务凭证的安全性。综上所述,本公开实施例可以在显示设备交付后安全的对显示设备进行业务凭证的写入,解决在生产环境对显示设备进行业务凭证的写入带来的影响生产进度和无法重写的问题。
作为对上图19所示实施例的扩展和细化,本公开实施例提供了另一种业务凭证写入方法,参照图20所示,该业务凭证写入方法的交互流程图包括如下步骤:
S2001、显示设备根据写入所述显示设备的第一加密秘钥对第一文件进行加密,获取第一加密文件。
本公开实施例中的第一文件可以为任意文件。
在一些实施例中,显示设备可以随机生成包含多个字符的文本文件作为所述第一文件。
S2002、显示设备基于预设算法获取所述第一文件的摘要信息。
在一些实施例中,上述步骤S2002(基于预设算法获取所述第一文件的摘要信息)可以包括:
基于哈希算法对第一文件进行哈希计算,并将对第一文件进行哈希计算得到的哈希值作为所述第一文件的摘要信息。
例如:可以基于SHA256算法(哈希值长度为256位的哈希算法)对第一文件进行哈希计算,并得到的哈希值作为所述第一文件的摘要信息。
S2003、显示设备根据所述第一加密文件和所述摘要信息生成所述第一设备签名。
在一些实施例中,可以直接对所述第一加密文件和所述摘要信息封装到同一个一个数据包中,并将封装得到的数据包作为所述第一设备签名。
S2004、显示设备向服务器发送携带有所述第一设备签名的凭证获取请求。
相应的,服务器接收显示设备发送的携带有第一设备签名的凭证获取请求。
其中,所述凭证获取请求用于请求所述服务器在基于所述第一设备签名确定所述显示设备鉴权通过的情况下返回所述显示设备对应的业务凭证。
S2005、服务器解析所述第一设备签名获取所述第一加密文件和所述摘要信息。
S2006、服务器通过第一解密秘钥对所述第一加密文件进行解密,获取所述第一加密文件对应的解密数据。
S2007、服务器通过所述预设算法获取所述第一加密文件对应的解密数据的摘要信息。
需要说明的是,服务器获取所述第一加密文件对应的解密数据的摘要信息算法与显示设备获取所述第一文件的摘要信息的算法一致。
S2008、服务器比对所述第一加密文件对应的解密数据的摘要信息是否与所述第一文件的摘要信息相同。
当显示设备为合法的显示设备时,由于生成第一加密文件的加密秘钥(第一加密秘钥)与解密第一加密文件的解密秘钥(第一解密秘钥)互为秘钥对,因此服务器获取解密数据即为第一文件,且因为显示设备与服务器获取摘要信息采用的算法相同,因此获取的摘要 信息也应当是相同的;而当显示设备为非法设备时,由于生成第一加密文件的加密秘钥(第一加密秘钥)与解密第一加密文件的解密秘钥(第一解密秘钥)不互为秘钥对,因此服务器获取解密数据不会与第一文件相同,进而会导致获取的解密数据的摘要信息与第一文件的摘要信息不同,因此本公开实施例中可以根据所述第一加密文件对应的解密数据的摘要信息是否与所述第一文件的摘要信息相同来判断所述显示设备鉴权是否通过。
即,在上述步骤S2008中,若所述第一加密文件对应的解密数据的摘要信息与所述第一文件的摘要信息不同,则可以确定显示设备鉴权不通过,决绝向所述显示设备发送业务凭证;若所述第一加密文件对应的解密数据的摘要信息与所述第一文件的摘要信息相同,则可以确定显示设备鉴权通过并执行如下后续步骤。
S2009、服务器向所述显示设备发送所述业务凭证。
相应的,显示设备接收服务器发送的所述业务凭证。
S2010、显示设备将所述业务凭证写入所述显示设备的预设存储位置。
向显示设备写入的第一加密秘钥可能会因为并非第一解密秘钥对应的加密秘钥等原因导致写入显示设备中的第一加密秘钥无效,进而导致显示设备无法从服务器获取业务凭证。为了保证写入显示设备中的第一加密秘钥的有效性,在将所述第一加密秘钥写入所述显示设备之后,根据一些实施例的业务凭证写入方法还会对写入显示设备中的第一加密秘钥的有效性进行校验。参照图21所示,对写入显示设备中的第一加密秘钥的有效性进行校验的过程包括如下步骤:
S2101、显示设备根据所述第一加密秘钥生成第二设备签名。
在一些实施例中,显示设备根据所述第一加密秘钥生成第二设备签名的实现方式可以与显示设备根据所述第一加密秘钥生成第二设备签名的实现方式相同。
在一些实施例中,显示设备根据所述第一加密秘钥生成第二设备签名的实现方式可以为:通过所述第一加密秘钥对指定文件进行加密,以获取所述第二设备签名。
S2102、显示设备向所述服务器发送携带有所述第二设备签名的鉴权请求。
相应的,服务器接收显示设备发送的携带有所述第二设备签名的鉴权请求。
其中,所述鉴权请求用于请求所述服务器根据所述第二设备签名对所述显示设备进行鉴权。
S2103、服务器根据所述第二设备签名和所述第一解密秘钥对所述显示设备进行鉴权。
在一些实施例中,显示设备根据所述第一加密秘钥生成第二设备签名的实现方式可以与显示设备根据所述第一加密秘钥生成第二设备签名的实现方式相同,此时,服务器根据所述第二设备签名和所述第一加密秘钥对应的第一解密秘钥对所述显示设备进行鉴权的实现方式与根据所述第一设备签名和所述第一加密秘钥对应的第一解密秘钥对所述显示设备进行鉴权的实现方式相同。
在一些实施例中,显示设备根据所述第一加密秘钥生成第二设备签名的实现方式可以包括:通过所述第一加密秘钥对指定文件进行加密,以获取所述第二设备签名,此时服务器根据所述第二设备签名和所述第一加密秘钥对应的所述第一解密秘钥对所述显示设备 进行鉴权的实现方式可以为:通过所述第一解密秘钥对所述第二加密文件进行解密,获取所述第二加密文件对应的解密数据,并根据所述第二加密文件对应的解密数据是否与所述指定文件相同,确定所述显示设备的鉴权是否通过。
S2104、服务器向显示设备发送鉴权响应。
相应的,显示设备接收服务器发送的鉴权响应。
其中,所述鉴权响应用于指示所述显示设备鉴权通过,或者所述显示设备鉴权不通过。
若所述鉴权响应指示所述显示设备鉴权通过,则执行如下步骤S2105,而若所述鉴权响应指示所述显示设备鉴权不通过,则执行如下步骤S2106。
S2105、确定所述第一加密秘钥有效。
S2106、确定所述第一加密秘钥无效。
上述实施例在将所述第一加密秘钥写入所述显示设备之后,还会进一步对第一加密秘钥的有效性进行验证,因此本公开实施可以避免写入显示设备的第一加密秘钥无效导致的显示设备无法从服务器获取业务凭证。
在一些实施例中,触发对第一加密秘钥的有效性进行校验方式可以为:响应于用户操作开始执行图21所示的用于对第一加密秘钥的有效性进行校验的流程。
例如:用户进入显示设备隐藏入口,如:设置(Settings)–声音(Sound)–高级设置(Advance Settings),并按遥控器按键“2022”,打开出货品质检验(Outgoing Quality Control,OQC)应用程序,选择应用程序界面中的目标虚拟按键并确认,则开始执行图21所示的用于对第一加密秘钥的有效性进行校验的流程。
在服务器向显示设备发送业务凭证的过程,业务凭证可能被拦截,进而导致业务凭证被盗取。为了保证服务器向显示设备发送业务凭证的过程的安全性,参照图22所示,在图19所示实施例的基础上,上述步骤S1904(服务器向所述显示设备发送所述业务凭证)的实现方式可以包括:
S1904a、服务器向显示设备发送的第二加密文件。
相应的,显示设备接收所述服务器发送的第二加密文件。
其中,所述第二加密文件为基于第二加密秘钥对所述业务凭证进行加密得到的加密文件。
在一些实施例中,服务器获取第二加密文件的实现方式可以包括:服务器接收上传的所述业务凭证和所述第二加密秘钥,并基于第二加密秘钥对所述业务凭证进行加密,以获取所述第二加密文件。
即,向服务器写入所述业务凭证和所述第二加密秘钥,然后由服务器基于第二加密秘钥对所述业务凭证进行加密生成所述第二加密文件。
在一些实施例中,服务器获取第二加密文件的实现方式可以包括:服务器接收上传的所述第二加密文件。
即,直接向服务器写入所述第二加密文件。
图22中以服务器获取第二加密文件的实现方式包括:服务器接收上传的所述业务凭 证、所述第二加密秘钥,并基于第二加密秘钥对所述业务凭证进行加密,以获取所述第二加密文件为例示出,但本公开实施例中也可以直接向服务器上传所述第二加密文件。
相比于向服务器写入所述业务凭证和所述第二加密秘钥,向服务器写入所述第二加密文件可以避免业务凭证被从服务器盗取,进而进一步提升业务凭证的安全性。
S1904b、显示设备获取写入所述显示设备的第二解密秘钥。
其中,所述第二解密秘钥为所述第二加密秘钥对应的解密秘钥。
在一些实施例中,可以在生产环境中将所述第二解密秘钥写入所述显示设备。
在一些实施中,所述第二加密秘钥与所述第二解密秘钥可以为对称加密算法中的秘钥。即,第一加密秘钥与第一解密秘钥相同。
在一些实施中,所述第二加密秘钥与所述第二解密秘钥可以为非对称加密算法中的秘钥对,第二加密秘钥为非对称加密算法中的公钥,第二解密秘钥为非对称加密算法中的私钥。
S1904c、显示设备通过所述第二解密秘钥对所述第二加密文件进行解密,以获取所述业务凭证。
由于服务器向显示设备发送是加密后的业务凭证,因此上述实施例可以避免业务凭证在服务器向显示设备发送的过程中被盗取,进而进一步提升业务凭证的安全性。
向显示设备写入的第二解密秘钥可能会因为并非第二加密秘钥对应的解秘钥等原因导致写入显示设备中的第二解密秘钥无效,进而导致显示设备从服务器获取加密后的业务凭证(第二加密文件)后,无法解密出业务凭证。为了保证写入显示设备中的第二解密秘钥的有效性,在将所述第二解密秘钥写入所述显示设备之后,根据一些实施例的业务凭证写入方法还会对写入显示设备中的第二解密秘钥的有效性进行校验。参照图23所示,对写入显示设备中的第二解密秘钥的有效性进行校验的过程包括如下步骤:
S2301、服务器向显示设备发送第三加密文件。
相应的,显示设备接收服务器发送的第三加密文件。
其中,所述第三加密文件为基于所述第二加密秘钥对预设文件进行加密得到的加密文件。
S2302、显示设备通过所述第二解密秘钥对所述第三加密文件进行解密,获取所述第三加密文件对应的解密数据。
S2303、显示设备比对所述第三加密文件对应的解密数据与所述预设文件是否相同。
在上述步骤S2303中,若所述第三加密文件对应的解密数据与所述预设文件相同,则执行如下步骤S2304,而若所述第三加密文件对应的解密数据与所述预设文件不同,则执行如下步骤S2305。
S2304、确定所述第二解密秘钥有效。
S2305、确定所述第二解密秘钥无效。
上述实施例在将所述第二解密秘钥写入所述显示设备之后,还会进一步对第二解密秘钥的有效性进行验证,因此本公开实施可以避免写入显示设备的第二解密秘钥无效导致的 显示设备无法解密加密后的业务凭证。
向显示设备写入第二解密秘钥的过程一般为,首先将第二解密秘钥发放到显示设备的生产系统,然后再由显示设备的生产系统写入显示设备。然而,在将第二解密秘钥发放到显示设备的生产系统后,第二解密秘钥有可能被从生产系统中被窃取。为了避免第二解密秘钥在写入显示设备的过程中被窃取,参照图24所示,根据一些实施例的业务凭证写入方法中向显示设备写入第二解密秘钥的实现方式可以包括如下步骤:
S2401、显示设备接收写入的第四加密文件。
其中,所述第四加密文件为基于第三加密秘钥对所述第二解密秘钥进行加密得到的加密文件。
S2402、显示设备根据预置于所述显示设备的软件系统中的第三解密秘钥对所述第四加密文件进行解密,以获取所述第二解密秘钥。
其中,所述第三解密秘钥为所述第三加密秘钥对应的解密秘钥。
即,预先在显示设备的软件系统中配置了第三解密秘钥,且发放到显示设备的生产系统第二解密秘钥是通过第三加密秘钥对第二解密秘钥加密进行加密得到的第四加密文件,显示设备的生产系统直接将第四加密文件写入显示设备,显示再通过第三解密秘钥解密第四加密文件,以获取所述第二解密秘钥。
在一些实施中,所述第三加密秘钥与所述第三解密秘钥可以为对称加密算法中的秘钥。即,第三加密秘钥与第三解密秘钥相同。
在一些实施中,所述第三加密秘钥与所述第三解密秘钥可以为非对称加密算法中的秘钥对,第三加密秘钥为非对称加密算法中的公钥,第三解密秘钥为非对称加密算法中的私钥。
由于发放到显示设备的生产系统第二解密秘钥是通过第三加密秘钥对第二解密秘钥加密进行加密得到的第四加密文件,因此即使对第二解密秘钥进行窃取也只能窃取到第二解密秘钥密文,而无法获取第二解密秘钥的明文,因此上述实施例可以避免第二解密秘钥在写入显示设备的过程中被窃取,进而提升第二解密秘钥的安全性。
在一些实施例中,显示设备可以在被写入第四加密文件后,对通过第三解密秘钥对所述第四加密文件进行解密,并存储获取的第二解密秘钥,以便在后续需要使用时直接读取。
在一些实施例中,显示设备可以仅在需要使用第二解密秘钥时通过第三解密秘钥对所述第四加密文件进行解密,获取第二解密秘钥,并在使用后删除。由于显示设备中存储也是第二解密秘钥的密文,本公开实施例还可以避免第二解密秘钥在显示设备中被窃取,进而进一步提升第二解密秘钥的安全性。
向显示设备写入第一加密秘钥的过程一般为,首先将第一加密秘钥发放到显示设备的生产系统,然后再由显示设备的生产系统写入显示设备。然而,在将第一加密秘钥发放到显示设备的生产系统后,第一加密秘钥也有可能被从生产系统中被窃取。为了避免第一加密秘钥在写入显示设备的过程中被窃取,参照图25所示,根据一些实施例的业务凭证写入方法中向显示设备写入第一加密秘钥的实现方式可以包括如下步骤:
S2501、显示设备接收写入的第五加密文件。
其中,所述第五加密文件为基于第三加密秘钥对所述第一加密秘钥进行加密得到的加密文件。
S2502、显示设备根据预置于所述显示设备的软件系统中的第三解密秘钥对所述第五加密文件进行解密,以获取所述第一加密秘钥。
其中,所述第三解密秘钥为所述第三加密秘钥对应的解密秘钥。
即,预先在显示设备的软件系统中配置了第三解密秘钥,且发放到显示设备的生产系统第一加密秘钥是通过第三加密秘钥对第一加密秘钥加密进行加密得到的第五加密文件,显示设备的生产系统直接将第五加密文件写入显示设备,显示再通过第三解密秘钥解密第五加密文件,以获取所述第一加密秘钥。
由于发放到显示设备的生产系统第一加密秘钥是通过第三加密秘钥对第一加密秘钥加密进行加密得到的第五加密文件,因此即使对第一加密秘钥进行窃取也只能窃取到第一加密秘钥密文,而无法获取第一加密秘钥的明文,因此上述实施例可以避免第一加密秘钥在写入显示设备的过程中被窃取,进而提升第一加密秘钥的安全性。
在一些实施例中,显示设备可以在被写入第五加密文件后,对通过第三解密秘钥对所述第五加密文件进行解密,并存储获取的第一加密秘钥,以便在后续需要使用时直接读取。
在一些实施例中,显示设备可以仅在需要使用第一加密秘钥时通过第三解密秘钥对所述第五加密文件进行解密,获取第一加密秘钥,并在使用后删除。由于显示设备中存储也是第一加密秘钥的密文,本公开实施例还可以避免第一加密秘钥在显示设备中被窃取,进而进一步提升第一加密秘钥的安全性。

Claims (24)

  1. 一种显示设备,包括:
    通信器,所述通信器包括Wi-Fi模块和蓝牙模块,被配置为:与投屏数据源设备进行通信;
    显示器,配置为显示广播系统和/或网络的图像和/或用户界面;
    存储器,配置为保存计算机指令和与所述显示器关联的数据;
    处理器,与所述通信器,所述显示器,所述存储器通信,并且配置为执行所述计算机指令以使得所述显示设备执行:响应于通道切换指令,从当前通道切换至投屏通道;
    响应于所述投屏数据源设备发送的投屏指令,检测所述Wi-Fi模块的网络状态和投屏开关状态;
    在所述网络状态指示网络关闭的情况下,控制所述Wi-Fi模块开启网络并连接至目标网络;和/或,在所述投屏开关状态指示投屏关闭的情况下,控制开启投屏开关;
    获取投屏数据源设备通过目标网络发送的投屏数据,并控制显示器在所述投屏通道的界面显示所述投屏数据。
  2. 根据权利要求1所述的显示设备,所述处理器,还被配置为执行计算机指令以使得所述显示设备:
    获取投屏数据源设备通过目标网络发送的投屏数据,并控制显示器在所述投屏通道的界面显示所述投屏数据之前,在控制所述Wi-Fi模块开启网络并连接至目标网络之后;控制所述显示器显示用于提示开启网络进行连接的第一提示信息;并在预设时长内确定所述网络连接成功;
    若所述网络在所述预设时长内连接失败,则控制所述显示器显示网络状态设置界面,所述网络状态设置界面中包括网络开关控件和多个待连接网络的标识;
    接收用户针对所述网络状态设置界面中目标网络标识的选择输入;
    响应于所述选择输入,尝试连接至所述目标网络标识所指示的目标网络。
  3. 根据权利要求1所述的显示设备,所述处理器,还被配置为执行计算机指令以使所述显示设备:
    检测所述Wi-Fi模块的网络状态和投屏开关状态之后,控制所述Wi-Fi模块开启网络并连接至目标网络之前;在所述网络状态指示网络关闭的情况下,控制所述显示器显示网络状态设置界面;所述网络状态设置界面中包括网络开关控件和多个待连接网络的标识;
    获取用户针对网络状态设置界面中所述网络开关控件的第一输入,所述第一输入用于指示开启网络;
    所述处理器,还被配置为执行计算机指令以使所述显示设备:
    响应于所述第一输入,控制所述Wi-Fi模块开启网络并连接至目标网络。
  4. 根据权利要求1所述的显示设备,所述处理器,还被配置为执行计算机指令以使所述显示设备:
    检测所述Wi-Fi模块的网络状态和投屏开关状态之后,控制开启投屏开关之前;在所述投屏开关状态指示投屏关闭的情况下,控制所述显示器显示投屏开关状态设置界面,所述投屏开关状态设置界面中包括投屏开关控件;
    获取用户针对所述投屏开关状态设置界面中所述投屏开关控件的第二输入,所述第二输入用于指示开启投屏开关;
    所述处理器,还被配置为执行计算机指令以使所述显示设备:
    响应于所述第二输入,控制开启投屏开关。
  5. 根据权利要求1所述的显示设备,所述处理器,还被配置为执行计算机指令以使所述显示设备:
    检测所述Wi-Fi模块的网络状态和投屏开关状态之后,获取终端设备发送的投屏数据,并控制显示器显示所述投屏数据之前;响应于所述投屏指令,检测资源更新状态;
    在所述资源更新状态指示未更新的情况下,下载目标版本的投屏资源;
    基于所述目标版本的投屏资源进行资源更新。
  6. 根据权利要求5所述的显示设备,所述投屏资源中包括投屏密钥,所述处理器,还被配置为执行计算机指令以使所述显示设备:
    获取终端设备发送的投屏数据,并控制显示器显示所述投屏数据时,根据更新后的投屏密钥解密所述投屏数据源设备发送的投屏数据;
    控制所述显示器显示解密后的投屏数据。
  7. 根据权利要求1所述的显示设备,所述显示设备还被配置为:接收用户通过操作控制装置的返回按键生成的返回指令;
    所述处理器,还被配置为执行计算机指令以使所述显示设备:
    响应所述返回指令,确定所述显示器当前是否展示投屏信息页面,所述投屏信息页面符合指定隔空播放协议的要求;以及,确定所述显示器当前展示所述投屏信息页面时,控制所述显示器返回展示预先指定的页面。
  8. 根据权利要求7所述的显示设备,所述处理器,还被配置为执行计算机指令以使所述显示设备:
    控制所述显示器返回展示预先指定的页面时,确定所述显示设备进入所述投屏信息页面之前处于启动状态的数据源对象;
    控制所述显示器返回显示所述数据源对象对应的指定页面;不同的数据源对象对应的指定页面不同。
  9. 根据权利要求8所述的显示设备,所述处理器,还被配置为执行计算机指令以使所述显示设备:
    若进入所述投屏信息页面之前处于启动状态的所述数据源对象为所述显示设备所支持的信号源,则控制所述显示器返回显示所述显示设备的操作系统的桌面;
    若进入所述投屏信息页面之前处于启动状态的所述数据源对象为安装在所述显示设备的操作系统的应用程序层中的应用程序,则控制所述显示器返回显示所述应用程序对应的主页面。
  10. 根据权利要求9所述的显示设备,所述处理器,还被配置为执行计算机指令以使所述显示设备:
    获取自定义参数;
    确定所述自定义参数的值是否等于预设值;
    若等于,则确定进入所述投屏信息页面之前处于启动状态的所述数据源对象为所述显示设备所支持的信号源;
    若不等于,则确定进入所述投屏信息页面之前处于启动状态的所述数据源对象为安装在所述显示设备的操作系统的应用程序层中的应用程序。
  11. 根据权利要求7所述的显示设备,所述处理器,还被配置为执行计算机指令以使所述显示设备:
    确定所述显示器当前展示所述投屏信息页面时,调用所述显示设备中的隔空播放软件工具开发包SDK将所述通信器输入的所述返回指令以广播的方式发送给隔空播放应用程序,使得所述隔空播放应用程序响应所述返回指令,控制所述显示器返回展示预先指定的页面。
  12. 根据权利要求11所述的显示设备,所述处理器,还被配置为执行计算机指令以使所述显示设备:
    调用所述隔空播放SDK将所述返回指令转发给启动服务,通过调用所述启动服务广播所述返回指令,以将所述返回指令发送给所述隔空播放应用程序。
  13. 根据权利要求12所述的显示设备,所述处理器,还被配置为执行计算机指令以使所述显示设备:
    调用所述隔空播放SDK以套接字的方式将所述返回指令发送给所述启动服务。
  14. 根据权利要求7所述的显示设备,所述处理器,还被配置为执行计算机指令以使所述显示设备:
    控制所述显示器返回显示所述显示设备的操作系统的桌面。
  15. 根据权利要求7所述的显示设备,所述存储器还被配置为将所述业务凭证写入所述显示设备的预设存储位置;
    所述通信器,还被配置为向服务器发送携带有所述第一设备签名的凭证获取请求;其中,所述凭证获取请求用于请求所述服务器在基于所述第一设备签名确定所述显示设备鉴权通过的情况下返回所述显示设备对应的业务凭证;
    接收所述服务器发送的所述业务凭证;
    所述处理器,还被配置为执行计算机指令以使所述显示设备:
    根据写入所述显示设备的第一加密秘钥生成第一设备签名。
  16. 根据权利要求15所述的显示设备,所述处理器,还被配置为执行计算机指令以 使所述显示设备:
    通过所述第一加密秘钥对第一文件进行加密,获取第一加密文件;
    基于预设算法获取所述第一文件的摘要信息;
    根据所述第一加密文件和所述摘要信息生成所述第一设备签名。
  17. 根据权利要求15所述的显示设备,所述通信器,还被配置为向所述服务器发送携带有第二设备签名的鉴权请求,以及接收所述服务器发送的鉴权响应;所述鉴权请求用于请求所述服务器根据所述第二设备签名对所述显示设备进行鉴权;
    所述处理器,还被配置为执行计算机指令以使所述显示设备:
    在将所述第一加密秘钥写入所述显示设备之后,根据所述第一加密秘钥生成所述第二设备签名;
    在所述鉴权响应指示所述显示设备鉴权通过的情况下,确定所述第一加密秘钥有效,在所述鉴权响应指示所述显示设备鉴权不通过的情况下,确定所述第一加密秘钥无效。
  18. 根据权利要求15所述的显示设备,所述通信器,具体被配置为:
    接收所述服务器发送的第二加密文件,所述第二加密文件为基于第二加密秘钥对所述业务凭证进行加密得到的加密文件;
    获取写入所述显示设备的第二解密秘钥,所述第二解密秘钥为所述第二加密秘钥对应的解密秘钥;
    通过所述第二解密秘钥对所述第二加密文件进行解密,以获取所述业务凭证。
  19. 根据权利要求18所述的显示设备,所述通信器,还被配置为在将所述第二解密秘钥写入所述显示设备之后,接收所述服务器发送的第三加密文件;所述第三加密文件为基于所述第二加密秘钥对预设文件进行加密得到的加密文件;
    所述处理器,还被配置为执行计算机指令以使所述显示设备:
    通过所述第二解密秘钥对所述第三加密文件进行解密获取解密数据,以及在所述解密数据与所述预设文件一致的情况下,确定所述第二解密秘钥有效,在所述解密数据与所述预设文件不一致的情况下,确定所述第二解密秘钥无效。
  20. 根据权利要求18所述的显示设备,所述存储器,还被配置为接收写入的第四加密文件,所述第四加密文件为基于第三加密秘钥对所述第二解密秘钥进行加密得到的加密文件;
    所述处理器,还被配置为执行计算机指令以使所述显示设备:
    根据预置于所述显示设备的软件系统中的第三解密秘钥对所述第四加密文件进行解密,以获取所述第二解密秘钥;所述第三解密秘钥为所述第三加密秘钥对应的解密秘钥。
  21. 根据权利要求15-20中任一项所述的显示设备,所述存储器,还被配置为接收写入的第五加密文件,所述第五加密文件为基于第三加密秘钥对所述第一加密秘钥进行加密得到的加密文件;
    所述处理器,还被配置为执行计算机指令以使所述显示设备:
    根据预置于所述显示设备的软件系统中的第三解密秘钥对所述第五加密文件进行解 密,以获取所述第一加密秘钥,所述第三解密秘钥为所述第三加密秘钥对应的解密秘钥。
  22. 一种显示设备的控制方法,包括:
    响应于通道切换指令,从当前通道切换至投屏通道;
    获取所述投屏数据源设备发送的投屏指令;
    响应于所述投屏指令,检测所述Wi-Fi模块的网络状态和投屏开关状态;
    在所述网络状态指示网络关闭的情况下,控制所述Wi-Fi模块开启网络并连接至目标网络;和/或,在所述投屏开关状态指示投屏关闭的情况下,控制开启投屏开关;
    获取投屏数据源设备通过目标网络发送的投屏数据,并控制显示器在所述投屏通道的界面显示所述投屏数据。
  23. 根据权利要求22所述的方法,所述方法还包括:
    接收用户通过操作控制装置的返回按键生成的返回指令;
    响应所述返回指令,确定当前是否展示投屏信息页面,所述投屏信息页面符合指定隔空播放协议的要求;
    确定当前展示所述投屏信息页面时,控制返回展示预先指定的页面。
  24. 根据权利要求22所述的方法,所述方法还包括:
    根据写入显示设备的第一加密秘钥生成第一设备签名;
    向服务器发送携带有所述第一设备签名的凭证获取请求,所述凭证获取请求用于请求所述服务器在基于所述第一设备签名确定所述显示设备鉴权通过的情况下返回所述显示设备对应的业务凭证;
    接收所述服务器发送的所述业务凭证;
    将所述业务凭证写入所述显示设备的预设存储位置。
PCT/CN2023/092604 2022-07-07 2023-05-06 一种显示设备和显示设备的控制方法 WO2024007719A1 (zh)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN202210803145.X 2022-07-07
CN202210803145.XA CN117411651A (zh) 2022-07-07 2022-07-07 显示设备、服务器及业务凭证写入方法
CN202210977484.XA CN115454367A (zh) 2022-08-15 2022-08-15 一种显示设备及显示设备控制方法
CN202210977484.X 2022-08-15
CN202211194198.2A CN117827125A (zh) 2022-09-28 2022-09-28 一种显示设备、投屏显示方法、电子设备及存储介质
CN202211194198.2 2022-09-28

Publications (1)

Publication Number Publication Date
WO2024007719A1 true WO2024007719A1 (zh) 2024-01-11

Family

ID=89454340

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/092604 WO2024007719A1 (zh) 2022-07-07 2023-05-06 一种显示设备和显示设备的控制方法

Country Status (1)

Country Link
WO (1) WO2024007719A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111935518A (zh) * 2020-08-13 2020-11-13 青岛海信传媒网络技术有限公司 一种视频投屏方法及显示设备
CN112243141A (zh) * 2020-08-24 2021-01-19 青岛海信传媒网络技术有限公司 投屏功能的显示方法及显示设备
CN113207144A (zh) * 2021-05-06 2021-08-03 北京字跳网络技术有限公司 投屏设备无线网络探测方法、装置、介质和投屏设备
CN113778360A (zh) * 2021-08-20 2021-12-10 荣耀终端有限公司 投屏方法和电子设备
CN114143371A (zh) * 2021-11-17 2022-03-04 深圳Tcl新技术有限公司 投屏方法、装置、存储介质及电子设备
CN115454367A (zh) * 2022-08-15 2022-12-09 海信视像科技股份有限公司 一种显示设备及显示设备控制方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111935518A (zh) * 2020-08-13 2020-11-13 青岛海信传媒网络技术有限公司 一种视频投屏方法及显示设备
CN112243141A (zh) * 2020-08-24 2021-01-19 青岛海信传媒网络技术有限公司 投屏功能的显示方法及显示设备
CN113207144A (zh) * 2021-05-06 2021-08-03 北京字跳网络技术有限公司 投屏设备无线网络探测方法、装置、介质和投屏设备
CN113778360A (zh) * 2021-08-20 2021-12-10 荣耀终端有限公司 投屏方法和电子设备
CN114143371A (zh) * 2021-11-17 2022-03-04 深圳Tcl新技术有限公司 投屏方法、装置、存储介质及电子设备
CN115454367A (zh) * 2022-08-15 2022-12-09 海信视像科技股份有限公司 一种显示设备及显示设备控制方法

Similar Documents

Publication Publication Date Title
CN108595970B (zh) 处理组件的配置方法、装置、终端及存储介质
US9846783B2 (en) Multiscreen secure content access
WO2019120091A1 (zh) 身份认证方法、系统及计算设备
US9560025B2 (en) Apparatus and method for secure delivery of data from a communication device
WO2021121125A1 (zh) 用于智能家居设备的控制方法及其介质和终端
US9088861B2 (en) Method and apparatus for bearer and server independent parental control on smartphone, managed by smartphone
KR101478419B1 (ko) 디바이스들의 임시 등록
US11812263B2 (en) Methods and apparatus for securely storing, using and/or updating credentials using a network device at a customer premises
US20230125139A1 (en) Account Data Sharing Method and Electronic Device
KR20150017844A (ko) 페이지 구성 방법 및 이를 지원하는 전자 장치
KR102133711B1 (ko) 무선 통신 시스템에서 사용자 디바이스의 보호 콘텐츠 데이터 전송 방법 및 사용자 디바이스
KR20130006950A (ko) 임시 키를 이용한 전자 장치의 컨텐츠 공유 방법 및 이를 적용한 전자 장치
US20170359172A1 (en) Security for monitoring and detection systems
CN113055169B (zh) 数据加密方法、装置、电子设备及存储介质
WO2024007719A1 (zh) 一种显示设备和显示设备的控制方法
TW201737149A (zh) 透過行動裝置所執行的授權碼認證方法及相關的電腦程式產品
CN115686542A (zh) 应用安装方法、装置、设备及存储介质
WO2022108525A1 (zh) 部署联邦学习应用的方法、装置、系统和电子设备
US20230412373A1 (en) Accessory assisted account recovery
WO2024001257A1 (zh) 一种显示设备及用于显示设备的处理方法
CN113904830A (zh) 一种spa认证的方法、装置、电子设备和可读存储介质
US20150193634A1 (en) Image processing apparatus and control method thereof
KR20190010682A (ko) 멀티 디바이스 환경에서의 사용자 프라이버시 보호를 위한 메시지 제공 방법 및 이를 위한 장치
CN111240868B (zh) 实例处理与调用方法、设备、系统及存储介质
KR101941075B1 (ko) 멀티 디바이스 환경에서의 사용자 프라이버시 보호를 위한 메시지 제공 방법 및 이를 위한 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23834494

Country of ref document: EP

Kind code of ref document: A1