WO2015043485A1 - 一种显示方法及显示设备 - Google Patents

一种显示方法及显示设备 Download PDF

Info

Publication number
WO2015043485A1
WO2015043485A1 PCT/CN2014/087435 CN2014087435W WO2015043485A1 WO 2015043485 A1 WO2015043485 A1 WO 2015043485A1 CN 2014087435 W CN2014087435 W CN 2014087435W WO 2015043485 A1 WO2015043485 A1 WO 2015043485A1
Authority
WO
WIPO (PCT)
Prior art keywords
source port
player
program interface
display device
graphics program
Prior art date
Application number
PCT/CN2014/087435
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
Application filed by 乐视致新电子科技(天津)有限公司 filed Critical 乐视致新电子科技(天津)有限公司
Priority to US15/023,671 priority Critical patent/US20160232871A1/en
Publication of WO2015043485A1 publication Critical patent/WO2015043485A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/003Details of a display terminal, the details relating to the control arrangement of the display terminal and to the interfaces thereto
    • 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
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/08Arrangements within a display terminal for setting, manually or automatically, display parameters of the display terminal
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2370/00Aspects of data communication
    • G09G2370/20Details of the management of multiple sources of image data

Definitions

  • the present application relates to the field of display technologies, and in particular, to a display method and a display device.
  • intelligent display devices can support the display of multiple signals because they have multiple source ports.
  • the display device can generally present a plurality of signal source ports to the user in a display interface in the form of the name of the source port or the icon of the source port, so that the user can select the display interface according to his own needs.
  • the source port is displayed in the source to switch the source.
  • the above display device displays a plurality of signal source ports.
  • the user can achieve the purpose of switching the signal source, it is not clear and intuitive, that is, the user needs to understand the role of each source port before selecting the corresponding source port.
  • the signal source is switched, thereby affecting the display effect, which is inconvenient for the user to operate and reduces the user experience.
  • the embodiment of the present invention provides a display method and a display device, which can improve display effects, facilitate user operations, and improve user experience.
  • a display method includes: receiving, when a first data signal received by the current source port is displayed in a current preview window corresponding to a current source port, receiving from a control device The switching instruction is used to indicate that the current source port is switched to the first source port; and the second data signal received by the first source port is acquired according to the switching instruction; The second data signal is displayed at a position of the first preview window corresponding to the first source port.
  • acquiring the second data signal received by the first source port according to the switching instruction further comprising: configuring a first player and a first graphics program interface corresponding to the first source port to play The second data signal.
  • configuring the first player and the first graphics program interface corresponding to the first source port include: creating a first player and a first graphics program interface corresponding to the first source port, and The first player is associated with the first graphics program interface to display a play screen of the first player through the first graphics program interface.
  • the configuring the first player and the first graphics program interface corresponding to the first source port further includes: unregistering the current player and the current graphics program interface corresponding to the current source port, releasing the The resource occupied by the current player and the current graphics program interface for use in creating the first player and the first graphics program interface corresponding to the first source port.
  • configuring the first player and the first graphics program interface corresponding to the first source port includes: reading location data and size data in the attribute information of the first preview window pre-stored locally, a first graphics program interface corresponding to the first source port is disposed at a position of the first preview window, and controls, by the first graphics program interface, a first play corresponding to the first source port The size of the playback screen of the device matches the size of the first preview window.
  • the first player and the first graphics program interface corresponding to the first source port are configured to: parse the audio and video parameters of the second data signal, and according to the audio and video of the second data signal The parameter configures a first player corresponding to the first source port.
  • displaying the second data signal at a position of the first preview window corresponding to the first source port includes: inputting the second data signal to correspond to the first source port The first player performs playback; on the first preview window, the play screen of the first player is displayed through a first graphics program interface corresponding to the first source port.
  • the method further includes: receiving a full-screen playback command from the control device, and acquiring a full screen size,
  • the first graphics program interface controls the size of the play screen of the first player to be enlarged to match the full screen size.
  • the method further includes: intercepting the current signal when receiving a switching instruction from the control device And transmitting, by the source port, a last frame of the still image of the first data signal, and displaying the last frame of the first data signal on the current preview window.
  • a display method includes: pre-setting a plurality of preview windows on a desktop, each preview window corresponding to one source port; receiving a start command from a control device, respectively acquiring the received by each source port A data signal is displayed in each of the preview windows for a data signal received by a corresponding source port.
  • receiving a startup command from the control device respectively acquiring the data signals received by each of the source ports, further comprising: configuring a player and a graphics program interface corresponding to each of the source ports to play each of the source ports Received data signal.
  • configuring a player and a graphics program interface corresponding to each source port including: creating a player and a graphics program interface corresponding to each source port, and the player corresponding to the same source port and The graphics program interface is associated to display a playback screen of the player corresponding to the same source port through a graphics program interface corresponding to the same source port.
  • configuring a player and a graphics program interface corresponding to each source port includes: reading location data and size data in attribute information of each preview window pre-stored locally; for corresponding to the same source port a player, a graphics program interface, and a preview window, the graphics program interface is disposed at a position of the corresponding preview window, and the size of the playback screen of the player and the size of the preview window are controlled by the graphics program interface Match.
  • configuring a player and a graphics program interface corresponding to each source port includes: parsing audio and video parameters of the data signal received by each source port, and sounds of the data signal received according to each source port The video parameters configure the player corresponding to each source port.
  • displaying, in each of the preview windows, a data signal received by a corresponding source port comprising: inputting a data signal received by each source port to each source port pair The corresponding player plays; on each preview window, the corresponding player's playback screen is displayed through a graphic program interface corresponding to the corresponding source port.
  • the method further includes: receiving a trigger instruction from the control device to the source port, and maintaining the data signal of the triggered source port. And capturing the full screen size; controlling the size of the playing screen of the player of the source port triggered by the graphic program interface of the triggered source port to be enlarged to match the full screen size; and deregistering the untriggered source port corresponding to the signal source port The player and graphics program interface to release the resources used.
  • a display device includes: a receiving unit, an obtaining unit, and a display unit, wherein the receiving unit is configured to display the current signal when the display unit is in a current preview window corresponding to a current source port And receiving, by the source port, a switching instruction from the control device, where the switching instruction is used to indicate switching from the current source port to the first source port; the acquiring unit is configured to And a switching instruction, acquiring a second data signal received by the first source port; the display unit, configured to display the second data at a position of a first preview window corresponding to the first source port signal.
  • the method further includes: a processing unit, configured to configure a first player and a first graphics program interface corresponding to the first source port to play the second data signal.
  • the processing unit is configured to create a first player and a first graphics program interface corresponding to the first source port, and associate the first player with the first graphics program interface to pass The first graphics program interface displays a play screen of the first player.
  • the processing unit is configured to read location data and size data in the attribute information of the first preview window stored locally, and set a first graphics program interface corresponding to the first source port Positioning the first preview window, and controlling, by the first graphics program interface, a size of a play screen of the first player corresponding to the first source port to match a size of the first preview window.
  • the processing unit is configured to parse the audio and video parameters of the second data signal, and configure a first player corresponding to the first source port according to the audio and video parameters of the second data signal.
  • processing unit is configured to cancel the current current corresponding to the current source port
  • the player and the current graphics program interface release the resources occupied by the current player and the current graphics program interface for use in creating the first player and the first graphics program interface corresponding to the first source port Resources.
  • processing unit is configured to input the second data signal to a first player corresponding to the first source port for playing; the display unit is configured to be in the first preview window And displaying a play screen of the first player through a first graphics program interface corresponding to the first source port.
  • the receiving unit is further configured to receive a full screen display instruction from the control device; the processing unit is further configured to retrieve a full screen size, and control the playing of the first player by using the first graphics program interface. The size of the picture is enlarged to match the full screen size.
  • processing unit is further configured to: when receiving a switching instruction from the control device, intercept a last frame static image of the first data signal received by the current source port; the display unit is configured to: Displaying a last frame still image of the first data signal on the current preview window.
  • a display device includes: an obtaining unit and a display unit, wherein the acquiring unit is configured to respectively acquire data signals received by each signal source port; and the display unit is configured to pre-predetermine on the desktop A plurality of preview windows are provided, each preview window corresponding to a source port, in each of which a data signal received by the acquisition unit by the corresponding source port is displayed.
  • the method further includes: a configuration unit configured to configure a player and a graphics program interface corresponding to each of the source ports to play the data signals received by each of the source ports.
  • the configuration unit is configured to create a player and a graphics program interface corresponding to each source port, and associate a player corresponding to the same source port with a graphics program interface, thereby corresponding to the same
  • the graphics program interface of a source port displays the playback screen of the player corresponding to the same source port.
  • the configuration unit is configured to read location data and size data in attribute information of each preview window stored locally; for a player, a graphic program interface, and a preview window corresponding to the same source port,
  • the graphics program interface is disposed at a position of a corresponding preview window, and controls, by the graphics program interface, a size of the playback screen of the player and the preview The size of the window matches.
  • the configuration unit is configured to acquire audio and video parameters of the data signal received by each source port, and configure a player of each source port according to audio and video parameters of the data signal received by each source port.
  • the acquiring unit is configured to input a data signal received by each source port to a player corresponding to each source port for playing; the display unit is configured to pass on each preview window
  • the graphics program interface corresponding to the corresponding source port displays the playback screen of the corresponding player.
  • the method further includes: a receiving unit, configured to receive a triggering instruction from the control device to the signal source port; and the configuration unit is configured to keep receiving when the receiving unit receives the triggering instruction
  • the data signal of the triggered source port and the full screen size is controlled, and the size of the playback screen of the player of the source port triggered by the graphic program interface of the triggered source port is enlarged to match the full screen size.
  • the player and the graphics program interface corresponding to the untriggered source port are deregistered to release the occupied resources.
  • the display method and the display device provided by the embodiments of the present application can display the data/analog signals received by the switched signal source port in a preview manner, and simultaneously display the data/analog signals received by the respective signal source ports in a preview manner.
  • FIG. 1 is a flowchart of a display method according to Embodiment 1 of the present application.
  • FIG. 2 is a flowchart of another display method according to Embodiment 2 of the present application.
  • FIG. 3 is a flowchart of a display method according to Embodiment 3 of the present application.
  • FIG. 5 is a schematic structural diagram of a display device according to Embodiment 5 of the present application.
  • FIG. 6 is still another schematic structural diagram of a display device according to Embodiment 5 of the present application.
  • FIG. 7 is a schematic structural diagram of a display device according to Embodiment 6 of the present application.
  • FIG. 8 is still another schematic structural diagram of a display device according to Embodiment 6 of the present application.
  • FIG. 9 is still another schematic structural diagram of a display device according to Embodiment 6 of the present application.
  • FIG. 10 is a schematic structural diagram of a display device according to Embodiment 7 of the present application.
  • FIG. 11 is a schematic structural diagram of a display device according to Embodiment 8 of the present application.
  • the embodiment of the present application provides a display method. As shown in FIG. 1 , the method may include:
  • the display device When the display device displays the first data signal received by the current source port in the current preview window corresponding to the current source port, the display device receives a switching instruction from the control device, where the switching instruction is used to indicate the current source port. Switch to the first source port.
  • a signal source is an instrument or device that outputs a data signal. If the display device externally connects to the signal source, the data signal outputted by the signal source can be input to the display device, so that the user can view the data signal output by the signal source; the port refers to the interface between the device and the outside world; The source port is the interface in the display device that is connected to an external source. In the embodiment of the present application, a plurality of signal source ports may be disposed in the display device, so that the user can select a signal source connected to the signal source port by selecting a signal source port.
  • the external signal source of the display device may include: a set top box, a USB (Universal Serial Bus), a DVD (Digital Versatile Disc), a mobile phone, a computer, etc.
  • the source port of the display device may include a CVBS (Composite Video Broadcast Signal) port, a left channel port, a right channel port, a USB port, and an HDMI (High Definition Multimedia Interface). Multimedia interface), VGA (Video Graphics Array) port, etc.
  • the CVBS port can be used to transmit composite video signals
  • the left channel port can be used to transmit compressed low audio signals related to human left ear
  • the right channel port can be used to transmit analog people.
  • the USB port can be used to transmit signals in USB devices
  • the HDMI can be used to transmit uncompressed all digital audio signals and video signals
  • the VGA port can be used to transmit analog video signals.
  • the user can obtain the data signals output by the respective signal sources connected to the respective signal source ports by switching the respective signal source ports and viewing the display screens corresponding to the respective signal source ports.
  • the display device displays the first data signal received by the current source port in the current preview window corresponding to the current source port
  • the user switches the signal source through the control device, that is, the display device receives the switching instruction issued by the control device, and the switching The indication may be used to indicate that the current source port is switched to the first source port, wherein the current source port may be any one of the source ports of the display device; the first source port may be a signal of the display device In the source port, any port other than the current source port.
  • the above control device may be a remote controller or a display device itself.
  • the control device is a remote controller, after the user uses the remote controller to open the signal source desktop of the display device, it is assumed that the signal source connected to the current source port HDMI is a set top box, when the user uses the "upper” and "" of the remote controller.
  • the VGA port is selected by the direction keys such as "", “Left”, “Right”, etc., or use the arrow keys to select the VGA port and press the OK button on the remote control to select the VGA port.
  • the source port of the display device is The current source port HDMI is switched to the VGA port selected by the user, that is, the first source port, and the source of the display device is also switched from the set top box to the computer connected to the VGA port.
  • the control device is the display device itself, that is, the user can complete the switching between the signal source ports through the buttons set on the display device, the specific switching process is similar to the process of the user switching using the remote controller, Let me repeat.
  • the display device acquires the second data signal received by the first source port according to the switching instruction.
  • the display device When the user switches the signal source through the control device, after the display device receives the switching instruction from the control device, the display device acquires the second data signal received by the first source port according to the switching instruction, that is, is connected to the first source port. The second data signal of the signal source output.
  • the display device can obtain the computer connected to the VGA port from the VGA port of the display device.
  • the second data signal when the user switches the source port of the display device from HDMI to the VGA port using a button provided on the remote controller or the display device, the display device can obtain the computer connected to the VGA port from the VGA port of the display device. The second data signal.
  • the switching instruction refers to the remote control on the main board of the display device that can be driven by the remote controller or the display device after pressing the confirmation button of the remote controller or the confirmation button of the display device after the user selects a certain source port.
  • the signal of the control circuit refers to the remote control on the main board of the display device that can be driven by the remote controller or the display device after pressing the confirmation button of the remote controller or the confirmation button of the display device after the user selects a certain source port.
  • the switching instruction may also refer to a process in which the user moves the focus to the corresponding source port by means of a direction key operation, a cursor movement operation, or a gesture operation, and according to the moving focus operation, the remote controller, the somatosensory device, or the display device A signal is sent that can drive the remote control circuitry on the motherboard of the display device.
  • the foregoing second data signal may include an audio signal, a video signal, and the like.
  • the display device displays the second data signal at a position of a first preview window corresponding to the first source port.
  • the designer when designing the display device, the designer provides a desktop preview image of the signal source of the display device, and the preview rendering image provides location data of each preview window corresponding to each source port, which is developed by the developer.
  • position data of each preview window corresponding to each of the source ports can be saved in the display device.
  • the location data may be a coordinate position of the preview window corresponding to each source port on the display interface, that is, an abscissa and an ordinate of the respective vertices forming the preview window on the display interface.
  • the display device may receive the first source port according to the location data of the first preview window corresponding to the first source port saved in the display device.
  • the second data signal is displayed in the first preview window, and the user reads the content played by the preview window corresponding to a certain source port to learn the data signal outputted by the signal source connected to the source port, thereby realizing A preview of the second data signal output by the signal source connected to the source port, so that the user can intuitively and clearly select the source of the signal that he or she wants to view.
  • the user will display the signal of the device using a button set on the remote control or display device.
  • the display device can obtain the second data signal received by the source port from the computer from the source port connected to the computer, and The display device can display the second data signal from the computer in the preview window according to the locally saved location data of the preview window corresponding to the source port connected to the computer.
  • the display device when the user switches the signal source, the display device can display the second data signal received by the switched source port in the preview window corresponding to the source port, that is, The preview mode displays the second data signal received by the switched source port, so that the user can intuitively and clearly know the second data signal received by the source port, that is, the signal source output connected to the source port.
  • the second data signal can improve the display effect, facilitate user operation, and enhance the user experience.
  • the embodiment of the present application further provides another display method. As shown in FIG. 2, the method may include:
  • the display device presets multiple preview windows on the desktop, and each preview window corresponds to one source port.
  • the desktop in the step S201 refers to a signal source desktop.
  • the designer provides a preview image of the source of the display device.
  • the preview image is provided with multiple preview windows, and each window can be used to display data of a source port.
  • the preview rendering diagram provides location data of each preview window corresponding to each of the source ports.
  • the location data of each preview window corresponding to each source port can be saved in the display.
  • the location data may be a coordinate position of a preview window corresponding to each source port on the display interface.
  • a signal source is an instrument or device that outputs a data signal. If the display device externally connects to the signal source, the data signal outputted by the signal source can be input to the display device, so that the user can view the data signal output by the signal source; the port refers to the interface between the device and the outside world; The source port is the interface in the display device that is connected to an external source. In the embodiment of the present application, in the display device Multiple source ports can be provided so that the user can select the source to which the source port is connected by selecting the source port.
  • the display device respectively acquires data signals received by each source port, and displays data signals received by the corresponding source ports in each preview window.
  • the display device may display the data signals received by the respective source ports according to the position data of each preview window respectively corresponding to each source port stored in the display device.
  • a preview of the data signals outputted by the signal sources connected to the respective source ports is realized, so that the user can intuitively and clearly select the signal source that he or she needs to view.
  • the display device needs to call the relevant interface provided by the underlying hardware platform of the display device, and the data signals are respectively acquired from the corresponding signal sources connected to the respective signal source ports.
  • the data signal may include an audio signal, a video signal, and the like.
  • the display device provided by the embodiment of the present application can support the data output by each signal source in each preview window, because the bottom layer hardware platform of the display device can simultaneously play the multi-channel signals.
  • the underlying hardware platform refers to a software architecture and hardware system that can drive various chips on the motherboard of the display device to perform its functions.
  • the multi-channel playing function of the underlying hardware platform of the display device depends on the multi-channel function of the main control chip on the main board of the display device, that is, the main control chip on the main board of the display device provided by the embodiment of the present application can be set.
  • the multi-channel playback function enables the underlying hardware platform of the display device to drive the main control chip on the main board of the display device to implement multi-channel playback.
  • the data signals received by the respective source ports of the display device may be simultaneously displayed in the respective preview windows corresponding to the respective source ports.
  • the data signals received by the respective source ports are simultaneously displayed in a preview manner, so that the user can intuitively and clearly know the data signals received by the respective source ports at the same time, thereby improving the display effect and facilitating user operations, and Improve user experience.
  • the embodiment of the present application provides a display method. As shown in FIG. 3, the method may include:
  • the display device receives a startup command from the control device, where the startup command is used to start the signal source desktop, and the display device scans all the signal source ports set in the display device.
  • a signal source is an instrument or device that outputs a data signal. If the display device externally connects to the signal source, the data signal outputted by the signal source can be input to the display device, so that the user can view the data signal output by the signal source; the port refers to the interface between the device and the outside world; The source port is the interface in the display device that is connected to an external source. In the embodiment of the present application, a plurality of signal source ports may be disposed in the display device, so that the user can select a signal source connected to the signal source port by selecting a signal source port.
  • the external signal source of the display device may include: a set top box, a USB, a DVD, a mobile phone, a computer, etc.; correspondingly, the signal source port of the display device may include a CVBS port and a left channel port. , right channel port, USB port, HDMI, VGA port, etc.
  • the CVBS port can be used to transmit a composite video signal
  • the left channel port can be used to transmit a compressed low audio signal that is analog to the human left ear
  • the right channel port can be used to transmit a compressed low audio signal that is analog to the human right ear.
  • the USB port can be used to transmit signals in USB devices
  • HDMI can be used to transmit uncompressed all-digital audio signals and video signals
  • the VGA port can be used to transmit analog video signals.
  • four types of desktops such as a cable television, a video carousel, a smart application, and a signal source
  • the display device can display the four types of desktops to enable the user.
  • the user can switch between the four types of desktops by using the remote controller or the direction button set on the display device, thereby realizing quick switching between the cable television station, the network video live broadcast, the application software and the external signal source.
  • the cable television desktop refers to a display interface on the display device that receives the cable television signal from the set top box;
  • the video carousel desktop refers to the display interface of the network video live broadcast;
  • the smart application desktop refers to the application software loaded on the display device.
  • the signal source desktop refers to the display interface of the signal source port of the external signal source set on the display device.
  • a plurality of signal source ports may be disposed in the display device.
  • the user may use the control device to enable the display device to activate the signal source.
  • the desktop, and the display device scans all available source ports in the display device while the source desktop is booting.
  • all the signal source ports in the display device refer to all externally connectable signal sources set in the display device, wherein the signal source port may include HDMI, VGA, USB, etc., and the source port in the display device
  • the main board of the display device is a main circuit board installed in the display device, and mainly includes a circuit unit and a main control chip for realizing various functions of the display device, and the main control chip is a display device.
  • the core component of the motherboard can be used to connect various circuit units on the main board of the display device.
  • the main control chip controls the respective circuit units to implement corresponding functions, and controls the entire display device to implement corresponding functions.
  • the implementation of the functions of the various source ports on the motherboard of the display device is controlled by the master chip on the motherboard of the display device.
  • the foregoing control device may be a remote controller or a display device itself.
  • the control device is a remote controller
  • the user can use the button of the remote controller to issue a startup command to the display device, and the display device can start the signal source desktop of the display device according to the startup command.
  • the control device is the display device itself
  • the user can issue a startup command through the button set on the display device to complete the startup of the signal source desktop, specifically start the process of the signal source desktop and start the signal source desktop through the remote controller. The process is similar and will not be described here.
  • the user can use the signal source button on the remote controller to issue a startup command to the display device, so that the display device starts the signal source desktop of the display device according to the startup command;
  • the button set on the display device starts the signal source desktop, and the user can use the signal source button on the display device to issue a startup command to the display device, so that the display device starts the signal source desktop according to the startup command, wherein the startup command can be the user.
  • Press the source button on the remote control or the source button on the display device to signal the remote control circuit on the main board that can drive the display device.
  • the display device acquires identification information of each source port.
  • the display device can scan all the available source ports set in the display device, obtain the identification information of each source port, and save the identification information of each source port to The memory of the display device provides a basis for subsequent user preview signal sources.
  • the identifier information of the source port may include the type of the source port.
  • the type of the source port may include CVBS, HDMI, VGA, and the like.
  • the display device displays the icons of the respective source ports in the respective preview windows according to the identification information of each source port and the locally stored location data in the attribute information of each preview window corresponding to each source port.
  • the display device can select an icon corresponding to each source port from the icon library of the locally saved source port according to the identification information of each source port, and according to the locally saved and The position data of each preview window corresponding to each source port is displayed in each preview window corresponding to each source port on the source desktop.
  • the display device is externally connected to the signal source, the user can select the icon of the signal source port on the desktop of the signal source by the control device to preview the data signal received by the signal source port, thereby obtaining the data signal output by the external signal source.
  • the developer may save the location data of each preview window corresponding to each signal source port in the display device, and when the user starts the signal source desktop preview signal source through the display device, the display device By calling the position data of each preview window, the icons of the respective source ports are respectively displayed at the centers of the respective preview windows corresponding to the respective source ports.
  • the icon of the source port is provided by the designer and can be saved by the developer in the memory of the display device during development.
  • the icon of a source port can be represented as the type of the source port. .
  • the number of preview windows provided by the designer corresponding to the source port should be the same as the number of source ports set in the display device.
  • the icon of the VGA port can be represented as an icon of the computer; if the source port is HDMI, the icon of the HDMI can be represented as an HDMI word or the like.
  • the display device When the display device displays the first data signal received by the current source port in the current preview window corresponding to the current source port, the display device receives a switching instruction from the control device, where the switching instruction is used to indicate the current source port. Switch to the first source port.
  • the display device externally connects multiple signal sources
  • the user when the user needs to know the data signals output by the respective signal sources, the user can select the icons of the respective source ports and view the ports with the respective source ports.
  • the corresponding display screen learns the data signals output by the respective signal sources connected to the respective source ports.
  • the user switches the signal source through the control device, that is, the display device can receive the switching instruction issued by the control device,
  • the switching instruction may be used to indicate that the current source port is switched to the first source port, wherein the current source port may be any one of the source ports of the display device; the first source port may be the display device In the source port, any port other than the current source port.
  • the control device is a remote controller
  • the signal source connected to the current source port HDMI is a set top box
  • the VGA port is selected by the “Bottom”, “Left”, “Right” and other direction keys, or use the arrow keys to select the VGA port and press the OK button on the remote control to select the VGA port.
  • the source port of the display device is displayed. Switch from the current source port HDMI to the user-selected VGA port, the first source port, and the display device's source is also switched from the set-top box to the computer connected to the VGA port.
  • the control device is the display device itself, that is, the user can complete the switching between the signal source ports through the buttons set on the display device, the specific switching process is similar to the process of the user switching using the remote controller, Let me repeat.
  • the content of the configuration mainly includes two aspects:
  • the second data signal is not directly displayed, and the corresponding player needs to be defined to play and parse the second data signal. At the same time, the content of the parsed play needs to be displayed on the screen through the graphic program interface.
  • a first player and a first graphics program interface corresponding to the first source port are created, and the first player is associated with a first graphics program interface, so that the first graphics can be passed
  • the program interface displays a play screen of the first player.
  • the display device can learn, according to the switching instruction, that the user needs to switch from the current source port to the first source port. Since the underlying hardware platform of the display device can only play the data signal of an external signal source at the same time, in order to successfully play the second data signal received by the first source port, the first player and the first graphics program interface are created.
  • the current player and the current graphics program interface corresponding to the current source port may be deactivated, and the resources occupied by the current player and the current graphics program interface are released, thereby creating a corresponding to the first source port.
  • the resource is used when the first player interfaces with the first graphics program.
  • the resources are sufficient, the current player and the current graphics program interface may also be selected without being logged out, and the application is not limited thereto.
  • the audio and video parameters of the second data signal are further parsed, and the first player corresponding to the first source port is configured according to the audio and video parameters of the second data signal.
  • the audio and video parameters of the second data signal do not necessarily need to be obtained when the second data signal is received, because the second data signal is from the first source port, the first source.
  • the second data signal transmitted by the port must conform to the data standard of the first source port, and this data standard is known and determined. Therefore, the audio and video parameters of the second data signal can be known according to this data standard.
  • the present application can also obtain the audio and video parameters of the second data signal by parsing the actually received second data signal, so that the obtained audio and video parameters are more reliable.
  • the audio parameters of the second data signal may include a sampling frequency, an amplitude, a phase, a signal to noise ratio, and the like of the audio signal;
  • the video parameters of the second data signal may include a frame frequency, a horizontal frequency, a field frequency, and an image of the video signal. Aspect ratio, analog coding chromatic aberration, etc.
  • the display position of the first graphics program interface is displayed on the first preview window. All preview windows including the first preview window are all defined in the source desktop, including location data, size data, etc. of each preview window, which are also pre-stored in the display device. local.
  • the display device uses an Android (Android) system, wherein Android is an open source operating system based on Linux (an operating system).
  • Android is an open source operating system based on Linux (an operating system).
  • the display device utilizes the SurfaceView provided in the Android system to implement the graphics program interface in the solution of the present application.
  • SurfaceView is a view technology for image output display on the Android system platform. It can realize the smooth moving and zooming of images. By panning and zooming the position of SurfaceView, the image output position is translated and scaled.
  • the display device acquires the second data signal received by the first source port according to the switching instruction.
  • the display device When the user switches the signal source through the control device, the display device first receives the switching instruction issued by the control device, and after the display device receives the switching instruction, the display device may acquire the second data received by the first source port according to the switching instruction.
  • the signal that is, the second data signal output by the signal source connected to the first source port.
  • the display device when the user switches the source port of the display device from the HDMI to the VGA port using a button provided on the remote controller or the display device, the display device can obtain the computer connected to the VGA port from the VGA port of the display device.
  • the second data signal when the user switches the source port of the display device from the HDMI to the VGA port using a button provided on the remote controller or the display device, the display device can obtain the computer connected to the VGA port from the VGA port of the display device.
  • the second data signal when the user switches the source port of the display device from the HDMI to the VGA port using a button provided on the remote controller or the display device.
  • the display device needs to call the relevant interface provided by the underlying hardware platform of the display device, and obtain the first data signal from the signal source connected to the current source port, and switch to the slave.
  • a signal source connected to the first source port acquires the second data signal.
  • the switching instruction refers to the remote control on the main board of the display device that can be driven by the remote controller or the display device after pressing the confirmation button of the remote controller or the confirmation button of the display device after the user selects a certain source port.
  • the signal of the control circuit refers to the remote control on the main board of the display device that can be driven by the remote controller or the display device after pressing the confirmation button of the remote controller or the confirmation button of the display device after the user selects a certain source port.
  • the switching instruction may also refer to a process in which the user moves the focus to the corresponding source port by means of a direction key operation, a cursor movement operation, or a gesture operation, and according to the moving focus operation, the remote controller, the somatosensory device, or the display device A signal is sent that can drive the remote control circuitry on the motherboard of the display device.
  • the first data signal and the second data signal may include an audio signal, a video signal, and the like.
  • the application does not limit the execution sequence of S305 and S306, that is, the application may perform S305 after executing S305, or may perform S305 after executing S306; S305 and S306 are performed.
  • the display device After the display device acquires the parameter of the second data signal received by the first source port and creates the first player corresponding to the first source port, the display device may configure the first player according to the parameter of the second data signal. And inputting the second data signal to the configured first player, so that the configured first player plays the second data signal.
  • the display device can obtain a signal source connected to the VGA port from the VGA port, such as a computer. And a second data signal, and the parameter of the second data signal is obtained according to the second data signal, such as a video parameter of the second data signal output by the computer, and the display device can be configured according to the parameter of the second data signal.
  • the configured first player can play a data signal of a type corresponding to the second data signal received by the VGA port, and the display device can input the second data signal output by the computer received by the VGA port to the configuration The first player, so that the configured first player can successfully play the second data signal.
  • the display device After the display device creates the first player and the first graphics program interface corresponding to the first source port, the display device has set the first graphics program interface at the position of the first preview window. The user listens to the content played by the preview window corresponding to a certain source port to learn the data signal output by the signal source connected to the source port.
  • the first data signal received by the current source port before the switching can be intuitively obtained, and the display device can receive the first data signal.
  • the switching instruction from the control device intercepting the last frame of the still image of the first data signal received by the current source port, and displaying the second data signal received by the first source port when the first preview window is displayed A last frame of the first data signal is displayed on the current preview window.
  • the current source port refers to a source port selected by the user before the display device receives the switching instruction from the control device.
  • the display method provided by the embodiment of the present application can support multiple preview windows to simultaneously play data output by multiple signal sources, where the bottom layer of the display device
  • a hardware platform refers to a software architecture and hardware system that can drive various chips on a motherboard that can drive a display device to perform its functions.
  • the multi-channel playing function of the bottom hardware platform of the display device depends on the multi-channel function set by the main control chip on the main board of the display device. If the main control chip on the main board of the display device is configured with multi-channel playing function, The underlying hardware platform of the display device can drive the main control chip on the main board of the display device to implement multi-channel playback.
  • the display device After the display device displays the second data signal in the first preview window, the display device receives a full-screen playback command from the control device, and invokes a full-screen size, and controls playback of the first player by using the first graphics program interface.
  • the size of the picture is enlarged to match the full screen size to enable the display device to play the second data signal in full screen.
  • the full-screen playback instruction in this step refers to the operation of confirming the click of the selected preview window after the focus is moved to the corresponding preview window by the arrow key operation, the cursor movement operation or the gesture operation, the remote controller, the somatosensory device or A signal from a remote control circuit on the main board of the display device that can be driven by the display device.
  • the display method provided by the embodiment of the present application needs to be implemented in combination with an underlying hardware platform of the display device. If the underlying hardware platform of the display device is different, the method for switching the source port may be different, and the image output is available in the display device.
  • the graphic program interface may be displayed in the actual implementation, or may be a VideoView technology or an OpenGL (Open Graphics Library) technology. Among them, VideoView is used to play video files, and images can be read from different sources (such as resource files or content providers). Calculate and maintain the video's screen size to fit any layout manager and provide display options such as scaling, shading, etc.
  • OpenGL is a cross-programming, cross-platform, professional graphical program interface that can be used to call the underlying Graphics library.
  • the display device when the user switches the signal source, the display device can display the second data signal received by the switched source port in the preview window corresponding to the source port, that is, The preview mode displays the second data signal received by the switched source port, so that the user can intuitively and clearly know the second data signal received by the source port, that is, the signal source output connected to the source port.
  • the second data signal can improve the display effect, facilitate user operation, and enhance the user experience.
  • the embodiment of the present application further provides another display method. As shown in FIG. 4, the method may include:
  • the desktop in the step S401 refers to a signal source desktop.
  • the designer provides a preview image of the source of the display device.
  • the preview image is provided with multiple preview windows, and each window can be used to display data of a source port.
  • the preview rendering diagram provides location data of each preview window corresponding to each of the source ports.
  • the location data of each preview window corresponding to each source port can be saved in the display.
  • the location data may be a coordinate position of the preview window corresponding to each source port on the display interface, that is, an abscissa and an ordinate of the respective vertices forming the preview window on the display interface.
  • a signal source is an instrument or device that outputs a data signal. If the display device externally connects to the signal source, the data signal outputted by the signal source can be input to the display device, so that the user can view the data signal output by the signal source; the port refers to the interface between the device and the outside world; The source port is the interface in the display device that is connected to an external source. In the embodiment of the present application, a plurality of signal source ports may be disposed in the display device, so that the user can select a signal source connected to the signal source port by selecting a signal source port.
  • the display device receives a startup instruction from the control device, where the startup instruction is used to start the signal source desktop, and the display device scans all the signal source ports set in the display device.
  • the display device can display four types of desktops: a cable TV, a video carousel, a smart application, and a signal source, so that the user can select a corresponding desktop to watch the corresponding program according to his own needs.
  • the user can switch between the four types of desktops by using the remote controller or the direction button set on the display device, thereby realizing quick switching between the cable television station, the network video live broadcast, the application software and the external signal source.
  • a plurality of signal source ports may be disposed in the display device.
  • the user may use the control device to enable the display device to start the signal source desktop, and the display device starts the signal source desktop. Medium, scans all available source ports in the display device.
  • the foregoing control device may be a remote controller or a display device itself.
  • the control device is a remote controller
  • the user can use the button of the remote controller to issue a startup command to the display device, and the display device can start the signal source desktop of the display device according to the startup command.
  • the control device is the display device itself
  • the user can issue a startup command through the button set on the display device to complete the startup of the signal source desktop, specifically start the process of the signal source desktop and start the signal source desktop through the remote controller. The process is similar and will not be described here.
  • the content of the configuration mainly includes two aspects:
  • the data signal received by each source port can not be directly displayed. It is necessary to define the corresponding player to parse and play the data signal. At the same time, the content of the parsed play needs to be displayed on the screen through the graphic program interface.
  • a player and a graphics program interface corresponding to each source port are created, and a player corresponding to the same source port is associated with a graphics program interface, thereby passing a graphics program interface corresponding to the same source port. Displays the playback screen of the player corresponding to the same source port.
  • the audio and video parameters of the data signals received by each of the source ports are analyzed, and the player corresponding to each source port is configured according to the audio and video parameters of the data signals received by each of the source ports.
  • the audio and video parameters of the data signals received by each source port do not necessarily need to be obtained when receiving the data signals received by each source port, because the data signals are from each source port.
  • the data signal transmitted by each source port must conform to the data standard of the corresponding source port. This data standard is known and determined. Therefore, each source can be known according to the data standard of each source port.
  • the audio and video parameters of the data signal of the port can also obtain the audio and video parameters of the data signal by parsing the data signal of each signal source port actually received, so that the obtained audio and video parameters are more reliable.
  • the audio parameters of the data signal may include a sampling frequency, an amplitude, a phase, a signal to noise ratio, and the like of the audio signal;
  • the video parameters of the data signal may include a frame frequency, a horizontal frequency, a field frequency, an image aspect ratio of the video signal, Analog coding chromatic aberration, etc.
  • the player and graphics program interface are not enough. It is also necessary to define the display position of each graphics program interface on the screen.
  • all preview windows are already defined on the source desktop in advance.
  • the attribute information includes position data of each preview window, size data, and the like, and these attribute information are also stored in advance on the display device. What is needed is to associate the corresponding graphical program interface to the respective preview window.
  • the display device uses an Android (Android) system, wherein Android is an open source operating system based on Linux (an operating system).
  • Android is an open source operating system based on Linux (an operating system).
  • the display device utilizes the SurfaceView provided in the Android system to implement the graphics program interface in the solution of the present application.
  • SurfaceView is a view technology for image output display on the Android system platform. It can realize the smooth moving and zooming of images. By panning and zooming the position of SurfaceView, the image output position is translated and scaled.
  • the display device respectively acquires data signals received by each source port according to the startup instruction.
  • the display device When the source desktop is started, the display device needs to call the relevant interface provided by the underlying hardware platform of the display device, and the data signals are respectively obtained from the corresponding signal sources connected to the respective source ports.
  • the data signal may include an audio signal, a video signal, and the like.
  • the application does not limit the execution order of S403 and S404, that is, the application may execute S403 after executing S403 first; or S403 may be executed after executing S404; S403 and S404 are executed.
  • the display device needs to call the relevant interface provided by the underlying hardware platform of the display device, and the data signals are respectively acquired from the corresponding signal sources connected to the respective signal source ports.
  • the data signal may include an audio signal, a video signal, and the like.
  • the display device can obtain a signal source connected to the VGA port from the VGA port, such as a computer. And a second data signal, and the parameter of the second data signal is obtained according to the second data signal, such as a video parameter of the second data signal output by the computer, and the display device can be configured according to the parameter of the second data signal.
  • the configured first player can play a data signal of a type corresponding to the second data signal received by the VGA port, and the display device can input the second data signal output by the computer received by the VGA port to the configuration The first player, so that the configured first player can successfully play the second data signal.
  • the display device may display the number of positions of the preview windows corresponding to the respective source ports according to the display devices. According to the data signals received by the respective signal source ports are simultaneously displayed in the corresponding preview windows, thereby realizing the preview of the data signals outputted by the signal sources connected to the respective signal source ports, so that the user can be intuitive and clear. Choose what you want to watch from the source to play.
  • the bottom hardware platform of the display device Refers to the software architecture and hardware system that can drive the various chips on the motherboard of the display device to perform its functions.
  • the multi-channel playing function of the bottom hardware platform of the display device depends on the multi-channel function set by the main control chip on the main board of the display device. If the main control chip on the main board of the display device is configured with multi-channel playing function, The underlying hardware platform of the display device can drive the main control chip on the main board of the display device to implement multi-channel playback.
  • the display method provided by the embodiment of the present application needs to be implemented in combination with an underlying hardware platform of the display device. If the underlying hardware platform of the display device is different, the method for switching the source port may be different, and the image output is available in the display device.
  • the graphic program interface may be displayed in the actual implementation, or may be a VideoView technology or an OpenGL (Open Graphics Library) technology.
  • VideoView is used to play video files, can read images from different sources (such as resource files or content providers), calculate and maintain the screen size of the video to make it suitable for any layout manager, and provide some such as zoom, Display options such as shading;
  • OpenGL is a cross-programming, cross-platform, professional graphical program interface that can be used to call the underlying graphics library.
  • the data signals received by the respective signal source ports of the display device can be simultaneously displayed in the respective preview windows corresponding to the respective signal source ports, that is, the data signals received by the respective signal source ports are simultaneously displayed in a preview manner.
  • the user can simultaneously and intuitively know the data signals received by the respective signal source ports, thereby improving the display effect, facilitating user operations, and improving the user experience.
  • the embodiment of the present application provides a display device 1 corresponding to the display method provided in Embodiments 1 and 3 of the present application.
  • the display device 1 may include: a receiving unit 10, an obtaining unit 11, and a display. Unit 12.
  • the receiving unit 10 is configured to receive a switching instruction from the control device when the display unit 12 displays the first data signal received by the current source port in a current preview window corresponding to the current source port, the switching instruction Used to indicate switching from the current source port to the first source port;
  • the obtaining unit 11 is configured to acquire, according to the switching instruction, a second data signal received by the first source port;
  • the display unit 12 is configured to display the second data signal at a position of a first preview window corresponding to the first source port.
  • the display device further includes a processing unit 13.
  • the processing unit 13 is configured to configure, according to the switching instruction, a first player and a first graphics program interface corresponding to the first source port to play the second data signal.
  • the processing unit 13 may be configured to create a first player and a first graphics program interface corresponding to the first source port, and associate the first player with the first graphics program interface, thereby Displaying a play screen of the first player through the first graphics program interface; and/or,
  • the processing unit 13 is configured to read the location data and the size data in the attribute information of the first preview window that is pre-stored locally, and the first graphics program interface corresponding to the first source port Provided at a position of the first preview window, and controlling, by the first graphics program interface, a size of a play screen of the first player corresponding to the first source port and a size of the first preview window Match; and/or,
  • the processing unit 13 may be configured to parse the audio and video parameters of the second data signal, and configure a first player corresponding to the first source port according to the audio and video parameters of the second data signal; and/or ,
  • the processing unit 13 may be configured to cancel the current player and the current graphics program interface corresponding to the current source port, and release the resources occupied by the current player and the current graphics program interface, for creating the first The resource is used when the first player corresponding to the source port and the first graphics program interface.
  • processing unit 13 may be further configured to: input the second data signal to a first player corresponding to the first source port for playing; and display unit 12, in the On a preview window, the play screen of the first player is displayed through a first graphics program interface corresponding to the first source port.
  • the receiving unit 11 is further configured to receive a full screen display instruction from the control device; the processing unit 13 is further configured to retrieve a full screen size, and the size of the play screen of the first player is controlled to be enlarged by the first graphics program interface to Corresponding to the full screen size, the notification display unit 12 performs display.
  • the processing unit 13 is further configured to: when receiving the switching instruction from the control device, intercept a last frame of the still image of the first data signal received by the current source port; the display unit 12 is configured to: The last frame of the data signal is displayed on the current preview window.
  • the display device when the user switches the signal source, the display device can display the second data signal received by the switched source port in the preview window corresponding to the source port, that is, The preview mode displays the second data signal received by the switched source port, so that the user can intuitively and clearly know the second data signal received by the source port, that is, the signal source output connected to the source port.
  • the second data signal can improve the display effect, facilitate user operation, and enhance the user experience.
  • the embodiment of the present application further provides a display device 1 corresponding to another display method provided by the second and fourth embodiments of the present application.
  • the display device 1 may include: an obtaining unit 21 and a display unit 22 .
  • the acquiring unit 21 is configured to respectively acquire data signals received by each signal source port.
  • the display unit 22 is configured to preset a plurality of preview windows on the desktop, each preview window corresponding to one source port, and displaying, in each preview window, a data signal received by the acquiring unit by the corresponding source port .
  • the acquiring unit 21 is configured to input a data signal received by each source port to a player corresponding to each source port for playing, and a display unit 22, on each preview window, The corresponding player's playback screen is displayed through a graphics program interface corresponding to the corresponding source port.
  • the display device further includes a configuration unit 23 .
  • the configuration unit 23 is configured to configure a player and a graphics program interface corresponding to each source port to play data signals received by each source port.
  • the configuration unit 23 is further configured to create a player and a graphics program interface corresponding to each source port, and associate a player corresponding to the same source port with a graphics program interface, thereby corresponding to A graphics program interface of the same source port displays a playback screen of the player corresponding to the same source port; and/or,
  • the configuration unit 23 is further configured to read the location data and the size data in the attribute information of each preview window stored locally; for the player, the graphics program interface, and the preview window corresponding to the same source port, the graphic is Setting a program interface at a position of the corresponding preview window, and controlling, by the graphic program interface, a size of the play screen of the player to match the size of the preview window; and/or,
  • the configuration unit 23 is further configured to acquire audio and video parameters of the data signals received by each of the source ports, and configure a player of each source port according to audio and video parameters of the data signals received by each of the source ports.
  • the display device further includes a configuration unit 23 and a receiving unit 24 .
  • the receiving unit 24 is configured to receive a trigger instruction from the control device to the source port of the signal;
  • the size of the playback screen of the player of the triggered source port is enlarged to match the full screen size, and the player and the graphics program interface corresponding to the untriggered source port are deregistered to release the occupied resources.
  • the data signals received by the respective signal source ports of the display device may be simultaneously displayed in the respective preview windows corresponding to the respective signal source ports, that is, Simultaneously displaying the data signals received by the respective source ports in a preview manner, thereby enabling the user to simultaneously and intuitively know the data signals received by the respective source ports, thereby improving the display effect, facilitating user operations, and improving the user experience. sense.
  • the embodiment of the present application provides a display device, which is related to the display method provided by Embodiments 1 and 3 of the present application, and the display device may include a receiver 31, a processor 32, a display 33, and a memory. 34, a system bus 35 and a signal source port 36, wherein
  • the receiver 31, the processor 32, the display 33, the memory 34, and the signal source port 36 are connected by the system bus 35 and communicate with each other.
  • Processor 32 may be a single core or multi-core central processing unit, or a particular integrated circuit, or one or more integrated circuits configured to implement embodiments of the present application.
  • the memory 34 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • Memory 34 is used by the computer to execute instructions. Specifically, the program code may be included in the computer execution instruction.
  • the receiver 31 can be used when the display 33 is in a pair with a current source port. Receiving, by the current preview window, the first data signal received by the current source port, receiving a switching instruction from the control device, the switching instruction being used to indicate switching from the current source port to the first source port 36
  • the processor 32 can acquire the second data signal received by the first signal source port 36 through the system bus 35 according to the switching instruction received by the receiver 31; the display 33 can be used to The second data signal is displayed by the system bus 35 at a position of the first preview window corresponding to the first source port; the memory 34 is configured to store the second data signal received by the source port 36
  • Software code and a software program that controls the display device to perform the above process, such that the processor 32 can perform the above process by executing the software program stored in the memory 34 and invoking the corresponding software code.
  • the processor 32 is configured to configure a first player and a first graphics program interface corresponding to the first source port to play the second data signal.
  • the processor 32 is configured to: after the receiver 31 receives the switching instruction from the control device, create a first player and a first graphics program interface corresponding to the first source port 36, And associating the first player with the first graphics program interface to display a play screen of the first player through the first graphics program interface.
  • the processor 32 is configured to read location data and size data in the attribute information of the first preview window that is pre-stored locally, and use a first graphics program interface corresponding to the first source port. Provided at a position of the first preview window, and controlling, by the first graphics program interface, a size of a play screen of the first player corresponding to the first source port and a size of the first preview window Match.
  • the processor 32 is configured to parse the audio and video parameters of the second data signal, and configure a first play corresponding to the first source port according to the audio and video parameters of the second data signal. Device.
  • the processor 32 is further configured to cancel the current player and the current graphics program interface corresponding to the current source port, and release the resources occupied by the current player and the current graphics program interface.
  • the resource is used when creating a first player and a first graphics program interface corresponding to the first source port.
  • the processor 32 is further configured to: input the second data signal to a first player corresponding to the first source port for playing; and display 33, for transmitting on the first preview window
  • the first graphics program interface corresponding to the first source port displays a play screen of the first player.
  • the receiver 31 is further configured to receive a full screen display instruction from the control device; the processor 32 is further configured to retrieve a full screen size, and the size of the play screen of the first player is controlled to be enlarged by the first graphics program interface to Matches the full screen size.
  • the processor 32 is further configured to: when receiving a switching instruction from the control device, intercept a last frame of the still image of the first data signal received by the current source port; and display 33, configured to: use the first data The last frame of the signal is displayed on the current preview window.
  • the display device provided by the embodiment of the present application may be a smart TV, a computer, or the like.
  • the display device when the user switches the signal source, the display device can display the second data signal received by the switched source port in the preview window corresponding to the source port, that is, The preview mode displays the second data signal received by the switched source port, so that the user can intuitively and clearly know the second data signal received by the source port, that is, the signal source output connected to the source port.
  • the second data signal can improve the display effect, facilitate user operation, and enhance the user experience.
  • an embodiment of the present application provides a display device, which is provided with another display method provided by Embodiments 2 and 4 of the present application.
  • the display device may include a receiver 41 , a processor 42 , and a display 43 .
  • the receiver 41, the processor 42, the display 43, the memory 44, and the source port 46 are connected by the system bus 45 and communicate with each other.
  • Processor 42 may be a single core or multi-core central processing unit, or a particular integrated circuit, or one or more integrated circuits configured to implement embodiments of the present application.
  • the memory 44 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • Memory 44 is used by the computer to execute instructions. Specifically, the program code may be included in the computer execution instruction.
  • the processor 42 is configured to respectively acquire data signals received by each signal source port through the system bus 45;
  • the display 43 may be configured to preset a plurality of preview windows on the desktop, each preview window and Corresponding to a signal source port, through which the data signal received by the acquisition unit by the corresponding signal source port is simultaneously displayed through the system bus 45;
  • the memory 44 can be used to store the signal source port 46.
  • a software code of the received data signal, and a software program that controls the display device to perform the above process such that the processor 42 can execute the software program stored in the memory 44 and invoke the corresponding software code, Complete the above process.
  • the processor 42 is configured to input a data signal received by each source port to a player corresponding to each source port for playing; and a display 43 for performing and correspondingly on each preview window.
  • the graphics program interface corresponding to the source port displays the playback screen of the corresponding player.
  • the processor 42 is configured to configure a player and a graphics program interface corresponding to each source port to play data signals received by each source port.
  • the processor 42 is configured to create a player and a graphics program interface corresponding to each source port, and associate a player corresponding to the same source port with a graphics program interface, thereby corresponding to the same
  • the graphics program interface of a source port displays the playback screen of the player corresponding to the same source port.
  • the processor 42 is configured to read the location data and the size data in the attribute information of each preview window stored locally; for the player, the graphic program interface, and the preview window corresponding to the same source port,
  • the graphics program interface is disposed at a position of the corresponding preview window, and the size of the playback screen of the player is controlled by the graphics program interface to match the size of the preview window.
  • the processor 42 is configured to acquire audio and video parameters of the data signal received by each source port, and configure a player of each source port according to audio and video parameters of the data signal received by each source port.
  • the receiver 41 is configured to receive a trigger instruction from the control device to the signal source port; and the processor 42 is configured to keep receiving the data of the triggered source port when the trigger 41 receives the trigger instruction.
  • the data signals received by the respective signal source ports of the display device may be simultaneously displayed in the respective preview windows corresponding to the respective signal source ports, that is, Simultaneously displaying the data signals received by the respective source ports in a preview manner, thereby enabling the user to simultaneously and intuitively know the data signals received by the respective source ports, thereby improving the display effect, facilitating user operations, and improving the user experience. sense.
  • the units may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a readable storage medium.
  • the technical solution of the present application or the part that contributes to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a device (which may be a microcontroller, chip, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes.
  • the display device when the user switches the signal source, the display device can display the data signal received by the switched source port in the preview window corresponding to the source port, that is, preview The mode displays the data signal received by the source port after the switching, so that the user can intuitively and clearly know the data signal received by the source port.
  • the data signals received by the respective source ports of the display device can be simultaneously displayed in the respective preview windows corresponding to the respective source ports, that is, the respective sources are simultaneously displayed in a preview manner.
  • the data signal received by the port can, therefore, enable the user to intuitively and clearly know the data signals received by the respective source ports.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种显示方法及显示设备,其中所述显示方法包括:在与当前信号源端口对应的当前预览窗口显示所述当前信号源端口接收的第一数据信号时,接收来自控制设备的切换指令,所述切换指令用于指示从所述当前信号源端口切换至第一信号源端口;根据所述切换指令,获取所述第一信号源端口接收的第二数据信号;在与所述第一信号源端口对应的第一预览窗口的位置上,显示所述第二数据信号。本申请的显示方法及显示设备能够改善显示效果,方便用户操作,提升用户体验感。

Description

一种显示方法及显示设备
交叉引用
本申请引用于2013年9月26日递交的名称为“一种显示方法及显示设备”的第201310447100.4号中国专利申请,其通过引用被全部并入本申请。
技术领域
本申请涉及显示技术领域,具体地说,涉及一种显示方法及显示设备。
背景技术
随着智能化技术的广泛应用,各类家电、通讯产品,如电视、手机等正在日益实现“智能化”。目前智能化的显示设备由于具有多个信号源端口,因此可以支持多种信号的显示。
现有技术中,显示设备通常可将多个信号源端口以信号源端口的名称或信号源端口的图标的形式在一个显示界面中呈现给用户,以使得用户可根据自己的需求通过选择显示界面中显示的信号源端口,从而进行信号源的切换。
然而,上述显示设备显示多个信号源端口的方法,虽然能够使得用户达到切换信号源的目的,但是不够清晰直观,即用户需要了解各个信号源端口的作用后才能选择相应的信号源端口,以进行信号源的切换,从而影响显示效果,不便于用户操作,降低用户体验感。
发明内容
本申请实施例提供一种显示方法及显示设备,能够改善显示效果,方便用户操作,提升用户体验感。
为达到上述目的,本申请实施例采用如下技术方案:
第一方面,一种显示方法,包括:在与当前信号源端口对应的当前预览窗口显示所述当前信号源端口接收的第一数据信号时,接收来自控制设备 的切换指令,所述切换指令用于指示从所述当前信号源端口切换至第一信号源端口;根据所述切换指令,获取所述第一信号源端口接收的第二数据信号;在与所述第一信号源端口对应的第一预览窗口的位置上,显示所述第二数据信号。
进一步地,根据所述切换指令,获取所述第一信号源端口接收的第二数据信号,还包括:配置与所述第一信号源端口对应的第一播放器和第一图形程序接口以播放所述第二数据信号。
进一步地,配置与所述第一信号源端口对应的第一播放器和第一图形程序接口,包括:创建与所述第一信号源端口对应的第一播放器和第一图形程序接口,并将所述第一播放器与第一图形程序接口进行关联从而通过所述第一图形程序接口显示所述第一播放器的播放画面。
进一步地,配置与所述第一信号源端口对应的第一播放器和第一图形程序接口,还包括:注销与所述当前信号源端口对应的当前播放器和当前图形程序接口,释放所述当前播放器和当前图形程序接口所占用的资源,以供创建与所述第一信号源端口对应的第一播放器和第一图形程序接口时使用所述资源。
进一步地,配置与所述第一信号源端口对应的第一播放器和第一图形程序接口,包括:读取本地预存的所述第一预览窗口的属性信息中的位置数据和尺寸数据,将与所述第一信号源端口对应的第一图形程序接口设置在所述第一预览窗口的位置上,并通过所述第一图形程序接口控制与所述第一信号源端口对应的第一播放器的播放画面的尺寸与所述第一预览窗口的尺寸相符。
进一步地,配置与所述第一信号源端口对应的第一播放器和第一图形程序接口,包括:解析得到所述第二数据信号的音视频参数,根据所述第二数据信号的音视频参数配置与所述第一信号源端口对应的第一播放器。
进一步地,在与所述第一信号源端口对应的第一预览窗口的位置上,显示所述第二数据信号,包括:将所述第二数据信号输入至与所述第一信号源端口对应的第一播放器进行播放;在所述第一预览窗口上,通过与所述第一信号源端口对应的第一图形程序接口显示所述第一播放器的播放画面。
进一步地,在与所述第一信号源端口对应的第一预览窗口的位置上,显示所述第二数据信号之后,还包括:接收来自控制设备的全屏播放指令,调取全屏尺寸,通过所述第一图形程序接口控制所述第一播放器的播放画面的尺寸放大至与所述全屏尺寸相符。
进一步地,在与所述第一信号源端口对应的第一预览窗口的位置上,显示所述第二数据信号之后,还包括:在接收到来自控制设备的切换指令时,截取所述当前信号源端口所接收的第一数据信号的最后一帧静态图像,并将所述第一数据信号的最后一帧静态图像显示在所述当前预览窗口上。
第二方面,一种显示方法,包括:在桌面上预先设置多个预览窗口,每个预览窗口与一个信号源端口对应;接收来自控制设备的启动指令,分别获取由每个信号源端口接收的数据信号,在所述每个预览窗口显示由对应的信号源端口接收的数据信号。
进一步地,接收来自控制设备的启动指令,分别获取由每个信号源端口接收的数据信号,还包括:配置与每个信号源端口对应的播放器和图形程序接口以播放由每个信号源端口接收的数据信号。
进一步地,配置与每个信号源端口对应的播放器和图形程序接口,包括:创建与每个信号源端口对应的播放器和图形程序接口,并将对应于同一个信号源端口的播放器与图形程序接口进行关联,从而通过对应于同一个信号源端口的图形程序接口显示对应于同一个信号源端口的播放器的播放画面。
进一步地,配置与每个信号源端口对应的播放器和图形程序接口,包括:读取本地预存的每个预览窗口的属性信息中的位置数据和尺寸数据;对于与同一个信号源端口对应的播放器、图形程序接口和预览窗口,将所述图形程序接口设置在对应的预览窗口的位置上,并通过所述图形程序接口控制所述播放器的播放画面的尺寸与所述预览窗口的尺寸相符。
进一步地,配置与每个信号源端口对应的播放器和图形程序接口,包括:解析得到由每个信号源端口接收的数据信号的音视频参数,根据每个信号源端口接收的数据信号的音视频参数配置与每个信号源端口对应的播放器。
进一步地,在所述每个预览窗口显示由对应的信号源端口接收的数据信号,包括:将由每个信号源端口接收的数据信号输入至与每个信号源端口对 应的播放器进行播放;在每个预览窗口上,通过与相应信号源端口对应的图形程序接口显示相应的播放器的播放画面。
进一步地,在所述每个预览窗口显示由对应的信号源端口接收的数据信号之后,还包括:接收来自控制设备对信号源端口的触发指令,保持接收所触发的信号源端口的数据信号,并调取全屏尺寸;通过所触发的信号源端口的图形程序接口控制所触发的信号源端口的播放器的播放画面的尺寸放大至与所述全屏尺寸相符;注销未触发的信号源端口对应的播放器和图形程序接口以释放所占用的资源。
第三方面,一种显示设备,包括:接收单元、获取单元和显示单元,其中,所述接收单元,用于当所述显示单元在与当前信号源端口对应的当前预览窗口显示所述当前信号源端口接收的第一数据信号时,接收来自控制设备的切换指令,所述切换指令用于指示从所述当前信号源端口切换至第一信号源端口;所述获取单元,用于根据所述切换指令,获取所述第一信号源端口接收的第二数据信号;所述显示单元,用于在与所述第一信号源端口对应的第一预览窗口的位置上,显示所述第二数据信号。
进一步地,还包括:处理单元,用于配置与所述第一信号源端口对应的第一播放器和第一图形程序接口以播放所述第二数据信号。
进一步地,所述处理单元,用于创建与所述第一信号源端口对应的第一播放器和第一图形程序接口,并将所述第一播放器与第一图形程序接口进行关联从而通过所述第一图形程序接口显示所述第一播放器的播放画面。
进一步地,所述处理单元,用于读取本地预存的所述第一预览窗口的属性信息中的位置数据和尺寸数据,将与所述第一信号源端口对应的第一图形程序接口设置在所述第一预览窗口的位置上,并通过所述第一图形程序接口控制与所述第一信号源端口对应的第一播放器的播放画面的尺寸与所述第一预览窗口的尺寸相符。
进一步地,所述处理单元,用于解析得到所述第二数据信号的音视频参数,根据所述第二数据信号的音视频参数配置与所述第一信号源端口对应的第一播放器。
进一步地,所述处理单元,用于注销与所述当前信号源端口对应的当前 播放器和当前图形程序接口,释放所述当前播放器和当前图形程序接口所占用的资源,以供创建与所述第一信号源端口对应的第一播放器和第一图形程序接口时使用所述资源。
进一步地,所述处理单元,用于将所述第二数据信号输入至与所述第一信号源端口对应的第一播放器进行播放;所述显示单元,用于在所述第一预览窗口上,通过与所述第一信号源端口对应的第一图形程序接口显示所述第一播放器的播放画面。
进一步地,所述接收单元,还用于接收来自控制设备的全屏显示指令;所述处理单元,还用于调取全屏尺寸,通过所述第一图形程序接口控制所述第一播放器的播放画面的尺寸放大至与所述全屏尺寸相符。
进一步地,所述处理单元,还用于在接收到来自控制设备的切换指令时,截取所述当前信号源端口所接收的第一数据信号的最后一帧静态图像;所述显示单元,用于将所述第一数据信号的最后一帧静态图像显示在所述当前预览窗口上。
第三方面,一种显示设备,包括:获取单元和显示单元,其中,所述获取单元,用于分别获取由每个信号源端口接收的数据信号;所述显示单元,用于在桌面上预先设置多个预览窗口,每个预览窗口与一个信号源端口对应,在所述每个预览窗口显示通过所述获取单元由对应的信号源端口接收的数据信号。
进一步地,还包括:配置单元,用于配置与每个信号源端口对应的播放器和图形程序接口以播放由每个信号源端口接收的数据信号。
进一步地,所述配置单元,用于创建与每个信号源端口对应的播放器和图形程序接口,并将对应于同一个信号源端口的播放器与图形程序接口进行关联,从而通过对应于同一个信号源端口的图形程序接口显示对应于同一个信号源端口的播放器的播放画面。
进一步地,所述配置单元,用于读取本地预存的每个预览窗口的属性信息中的位置数据和尺寸数据;对于与同一个信号源端口对应的播放器、图形程序接口和预览窗口,将所述图形程序接口设置在对应的预览窗口的位置上,并通过所述图形程序接口控制所述播放器的播放画面的尺寸与所述预览 窗口的尺寸相符。
进一步地,所述配置单元,用于获取由每个信号源端口接收的数据信号的音视频参数,根据每个信号源端口接收的数据信号的音视频参数配置每个信号源端口的播放器。
进一步地,所述获取单元,用于将由每个信号源端口接收的数据信号输入至与每个信号源端口对应的播放器进行播放;所述显示单元,用于在每个预览窗口上,通过与相应信号源端口对应的图形程序接口显示相应的播放器的播放画面。
进一步地,还包括:接收单元;所述接收单元,用于接收来自控制设备对信号源端口的触发指令;所述配置单元,在所述接收单元接收到所述触发指令时,用于保持接收所触发的信号源端口的数据信号,并调取全屏尺寸,通过所触发的信号源端口的图形程序接口控制所触发的信号源端口的播放器的播放画面的尺寸放大至与所述全屏尺寸相符,注销未触发的信号源端口对应的播放器和图形程序接口以释放所占用的资源。
与现有的方案相比,本申请所获得的技术效果:
通过本申请实施例提供的显示方法及显示设备,可以预览的方式显示切换后的信号源端口接收的数据/模拟信号,也可以预览的方式同时显示各个信号源端口接收的数据/模拟信号。
附图概述
图1为本申请实施例一提供的一种显示方法的流程图;
图2为本申请实施例二提供的另一种显示方法的流程图;
图3为本申请实施例三提供的一种显示方法的流程图;
图4为本申请实施例四提供的另一种显示方法的流程图;
图5为本申请实施例五提供的显示设备的结构示意图;
图6为本申请实施例五提供的显示设备的又一结构示意图;
图7为本申请实施例六提供的显示设备的结构示意图;
图8为本申请实施例六提供的显示设备的又一结构示意图;
图9为本申请实施例六提供的显示设备的又一结构示意图;
图10为本申请实施例七提供的显示设备的结构示意图;及
图11为本申请实施例八提供的显示设备的结构示意图。
本申请的较佳实施方式
以下将配合图式及实施例来详细说明本申请的实施方式,藉此对本申请如何应用技术手段来解决技术问题并达成技术功效的实现过程能充分理解并据以实施。
实施例一
本申请实施例提供一种显示方法,如图1所示,该方法可以包括:
S101、当显示设备在与当前信号源端口对应的当前预览窗口显示当前信号源端口接收的第一数据信号时,显示设备接收来自控制设备的切换指令,该切换指令用于指示从当前信号源端口切换至第一信号源端口。
信号源是指输出数据信号的仪器或设备。若显示设备外接信号源,则由该信号源输出的数据信号可以输入至显示设备中显示,从而使得用户可观看到由该信号源输出的数据信号;端口是指设备与外界通讯的接口;信号源端口是指显示设备中与外接信号源连接的接口。本申请实施例中,显示设备中可以设置有多个信号源端口,从而用户可通过选择信号源端口而选择与该信号源端口连接的信号源。
需要说明的是,本申请实施例提供的显示设备的外接信号源可以包括:机顶盒、USB(Universal Serial Bus,通用串行总线)、DVD(Digital Versatile Disc,数字多功能光盘)、手机、电脑等;相应的,该显示设备的信号源端口可以包括CVBS(Composite Video Broadcast Signal,复合视频广播信号)端口、左声道端口、右声道端口、USB端口、HDMI(High Definition Multimedia Interface,高清晰度多媒体接口)、VGA(Video Graphics Array,视屏图形阵列)端口等。其中,CVBS端口可用于传输复合视频信号,左声道端口可用于传输模拟人类左耳相关的压缩后的低音频信号,右声道端口可用于传输模拟人 类右耳相关的压缩后的低音频信号,USB端口可用于传输USB设备中的信号,HDMI可用于传输无压缩的全数字音频信号及视频信号,VGA端口可用于传输模拟的视频信号。
当用户需要获知各个信号源输出的数据信号时,用户可通过切换各个信号源端口并观看与各个信号源端口对应的显示画面获知与各个信号源端口连接的各个信号源输出的数据信号。当显示设备在与当前信号源端口对应的当前预览窗口显示当前信号源端口接收的第一数据信号时,用户通过控制设备切换信号源,即该显示设备接收到控制设备发出的切换指令,该切换指示可用于指示从当前信号源端口切换至第一信号源端口,其中,当前信号源端口可以为上述显示设备的信号源端口中的任意一个端口;第一信号源端口可以为上述显示设备的信号源端口中,除当前信号源端口外的任意一个端口。
示例性的,上述控制设备可以为遥控器,也可以为显示设备本身。一方面,若上述控制设备为遥控器,则用户使用遥控器打开显示设备的信号源桌面后,假设与当前信号源端口HDMI连接的信号源为机顶盒,当用户使用遥控器的“上”、“下”、“左”、“右”等方向键选中VGA端口时,或者,使用方向键选中VGA端口并结合按遥控器的确定键选择该VGA端口时,此时,显示设备的信号源端口从当前的信号源端口HDMI切换至用户选择的VGA端口,即第一信号源端口,同时显示设备的信号源也从机顶盒切换至与VGA端口连接的电脑。另一方面,若上述控制设备为显示设备本身,即用户可通过显示设备上设置的按键完成上述信号源端口之间的切换,具体的切换过程与用户使用遥控器切换的过程类似,此处不再赘述。
可以理解的是,用户在信号源桌面将当前信号源端口切换至第一信号源端口时,与当前信号源端口连接的信号源也同时切换至与第一信号源端口连接的信号源。
S102、显示设备根据该切换指令,获取第一信号源端口接收的第二数据信号。
当用户通过控制设备切换信号源时,显示设备接收到控制设备发出的切换指令后,显示设备根据该切换指令,获取第一信号源端口接收的第二数据信号,即与第一信号源端口连接的信号源输出的第二数据信号。
示例性的,当用户使用遥控器或显示设备上设置的按键将显示设备的信号源端口从HDMI切换至VGA端口时,该显示设备可以从显示设备的VGA端口获取来自与VGA端口连接的电脑的第二数据信号。
需要说明的是,切换指令指的是用户选中某个信号源端口之后,按下遥控器的确认按键或显示设备的确认按键后,遥控器或显示设备发出的可驱动显示设备的主板上的遥控控制电路的信号。
另一方面,切换指令也可以指用户通过方向键操作、光标移动操作或者手势操作等方式将移动焦点到相应的信号源端口的过程中,根据移动焦点操作,遥控器、体感设备或显示设备所发出的可驱动显示设备的主板上的遥控控制电路的信号。
可选的,上述第二数据信号可以包括音频信号、视频信号等。
S103、显示设备在与所述第一信号源端口对应的第一预览窗口的位置上,显示所述第二数据信号。
需要说明的是,设计显示设备时,设计人员会提供显示设备的信号源桌面预览效果图,该预览效果图提供了与各个信号源端口分别对应的各个预览窗口的位置数据,在开发人员开发该显示设备时,可将与各个信号源端口分别对应的各个预览窗口的位置数据保存在该显示设备中。
可选的,上述位置数据可以为与各个信号源端口对应的预览窗口在显示界面的坐标位置,即形成预览窗口的各个顶点在显示界面上的横坐标和纵坐标。
显示设备获取到第一信号源端口接收的第二数据信号后,显示设备可根据显示设备中保存的与第一信号源端口对应的第一预览窗口的位置数据,将第一信号源端口接收的第二数据信号显示在该第一预览窗口,用户通过观看与某个信号源端口对应的预览窗口播放的内容,以获知与该信号源端口连接的信号源输出的数据信号,从而实现了与第一信号源端口连接的信号源输出的第二数据信号的预览,以便于用户可直观的、清晰的选择自己所需观看的信号源。
示例性的,用户使用遥控器或显示设备上设置的按键将显示设备的信号 源端口从与机顶盒连接的信号源端口切换至与电脑连接的信号源端口时,该显示设备可以从与电脑连接的信号源端口获取该信号源端口接收到的来自电脑的第二数据信号,且显示设备可根据本地保存的与和电脑连接的信号源端口对应的预览窗口的位置数据,将该来自电脑的第二数据信号显示在该预览窗口。
通过本申请实施例所提供的显示方法,当用户切换信号源时,由于显示设备可以将切换后的信号源端口接收的第二数据信号在与该信号源端口对应的预览窗口显示出来,即以预览的方式显示切换后的信号源端口接收的第二数据信号,因此,可以使得用户直观、清晰的获知该信号源端口接收的第二数据信号,即为与该信号源端口连接的信号源输出的第二数据信号,从而能够改善显示效果,方便用户操作,以及提升用户体验感。
实施例二
本申请实施例还提供另一种显示方法,如图2所示,该方法可以包括:
S201、显示设备在桌面上预先设置多个预览窗口,每个预览窗口与一个信号源端口对应。
示例性的,本申请实施例中,显示设备中设置了有线电视、视频轮播、智能应用、信号源等四类桌面,步骤S201中所述的桌面即是指信号源桌面。需要说明的是,设计显示设备时,设计人员会提供显示设备的信号源桌面预览效果图,这个预览效果图上设置有多个预览窗口,每个窗口可以用来显示一个信号源端口的数据。该预览效果图提供了与各个信号源端口分别对应的各个预览窗口的位置数据,在开发人员开发该显示设备时,可将与各个信号源端口分别对应的各个预览窗口的位置数据保存在该显示设备中。可选的,上述位置数据可以为与各个信号源端口对应的预览窗口在显示界面的坐标位。
信号源是指输出数据信号的仪器或设备。若显示设备外接信号源,则由该信号源输出的数据信号可以输入至显示设备中显示,从而使得用户可观看到由该信号源输出的数据信号;端口是指设备与外界通讯的接口;信号源端口是指显示设备中与外接信号源连接的接口。本申请实施例中,显示设备中 可以设置有多个信号源端口,从而用户可通过选择信号源端口而选择与该信号源端口连接的信号源。
S202、显示设备分别获取由每个信号源端口接收的数据信号,在所述每个预览窗口显示由对应的信号源端口接收的数据信号。
显示设备分别获取到各个信号源端口接收的数据信号后,显示设备可根据显示设备中保存的与各个信号源端口分别对应的各个预览窗口的位置数据,将各个信号源端口接收的数据信号显示在对应的该各个预览窗口,从而实现了同时对与各个信号源端口连接的信号源输出的数据信号的预览,以便于用户可直观的、清晰的选择自己所需观看的信号源。
需要说明的是,显示设备需调用显示设备的底层硬件平台提供的相关接口,将分别从与各个信号源端口连接的对应信号源获取数据信号。可选的,上述数据信号可以包括音频信号、视频信号等。
本申请实施例中,由于显示设备的底层硬件平台能够实现多路信号同时播放,因此,本申请实施例提供的显示方法可以支持各个预览窗口同时播放各个信号源输出的数据,其中,显示设备的底层硬件平台是指可驱动显示设备的主板上的各个芯片运行以实现其功能的软件架构及硬件系统。具体的,显示设备的底层硬件平台的多路播放功能,取决于显示设备的主板上的主控芯片设置的多路功能,即本申请实施例提供的显示设备的主板上的主控芯片可以设置有多路播放功能,从而使得显示设备的底层硬件平台可驱动显示设备的主板上的主控芯片实现多路播放功能。
通过本申请实施例所提供的另一种显示方法,当用户启动信号源桌面时,由于显示设备的各个信号源端口接收的数据信号可以在与该各个信号源端口分别对应的各个预览窗口同时显示出来,即以预览的方式同时显示各个信号源端口接收的数据信号,因此,可以使得用户同时直观、清晰的获知该各个信号源端口接收的数据信号,从而能够改善显示效果,方便用户操作,以及提升用户体验感。
实施例三
本申请实施例提供一种显示方法,如图3所示,该方法可以包括:
S301、显示设备接收来自控制设备的启动指令,该启动指令用于启动信号源桌面,且显示设备扫描该显示设备中设置的全部信号源端口。
信号源是指输出数据信号的仪器或设备。若显示设备外接信号源,则由该信号源输出的数据信号可以输入至显示设备中显示,从而使得用户可观看到由该信号源输出的数据信号;端口是指设备与外界通讯的接口;信号源端口是指显示设备中与外接信号源连接的接口。本申请实施例中,显示设备中可以设置有多个信号源端口,从而用户可通过选择信号源端口而选择与该信号源端口连接的信号源。
需要说明的是,本申请实施例提供的显示设备的外接信号源可以包括:机顶盒、USB、DVD、手机、电脑等;相应的,该显示设备的信号源端口可以包括CVBS端口、左声道端口、右声道端口、USB端口、HDMI、VGA端口等。其中,CVBS端口可用于传输复合视频信号,左声道端口可用于传输模拟人类左耳相关的压缩后的低音频信号,右声道端口可用于传输模拟人类右耳相关的压缩后的低音频信号,USB端口可用于传输USB设备中的信号,HDMI可用于传输无压缩的全数字音频信号及视频信号,VGA端口可用于传输模拟的视频信号。
示例性的,本申请实施例中,显示设备中设置了有线电视、视频轮播、智能应用、信号源等四类桌面,即显示设备开机后,显示设备可显示这四类桌面,以使用户可以根据自己的需求选择对应的桌面观看相应的节目。用户可以通过使用遥控器或该显示设备上设置的方向按键在这四类桌面之间进行任意切换,从而实现在有线电视台、网络视频直播、应用软件与外接信号源之间的快捷切换。
需要说明的是,有线电视桌面是指显示设备上接收来自机顶盒的有线电视信号的显示界面;视频轮播桌面是指网络视频直播的显示界面;智能应用桌面是指显示设备上加载的应用软件的显示界面;信号源桌面是指显示设备上设置的可外接信号源的信号源端口的显示界面。
本申请实施例中,显示设备中可以设置有多个信号源端口,当用户需在信号源端口之间进行切换时,用户可使用控制设备使得显示设备启动信号源 桌面,且显示设备在启动信号源桌面的过程中,可扫描显示设备中全部可供使用的信号源端口。
可以理解的是,显示设备中的全部信号源端口是指在显示设备中设置的所有可外接信号源的端口,其中,信号源端口可以包括HDMI、VGA、USB等,显示设备中的信号源端口设置在显示设备的主板上,其中,显示设备的主板是指安装在显示设备中的总电路板,主要包括显示设备实现各个功能的电路单元和主控芯片,而该主控芯片是显示设备的主板的核心组件,其可用于连接显示设备的主板上的各个电路单元,该主控芯片通过控制各个电路单元实现相应的功能,而控制整个显示设备实现相应的功能。特别的,显示设备的主板上的各个信号源端口的功能的实现需通过显示设备的主板上的主控芯片的控制。
可选的,上述控制设备可以为遥控器,也可以为显示设备本身。一方面,若上述控制设备为遥控器,则用户可使用遥控器的按键发出启动指令至显示设备,而显示设备可根据该启动指令,启动显示设备的信号源桌面。另一方面,若上述控制设备为显示设备本身,则用户可通过显示设备上设置的按键发出启动指令完成上述信号源桌面的启动,具体启动信号源桌面的过程与通过遥控器启动信号源桌面的过程类似,此处不再赘述。
具体的,若用户使用遥控器启动信号源桌面,则用户可使用遥控器上的信号源按键发出启动指令至显示设备,以使显示设备根据该启动指令启动显示设备的信号源桌面;若用户使用显示设备上设置的按键启动信号源桌面,则用户可使用显示设备上的信号源按键发出启动指令至显示设备,以使显示设备根据该启动指令启动信号源桌面,其中,上述启动指令可以为用户按下遥控器上的信号源按键或显示设备上的信号源按键,发出的可驱动显示设备的主板上的遥控控制电路的信号。
S302、显示设备获取各个信号源端口的标识信息。
显示设备启动信号源桌面的过程中,显示设备可扫描显示设备中设置的全部可供使用的信号源端口,并分别获取各个信号源端口的标识信息,且将各个信号源端口的标识信息保存至该显示设备的内存中,以为后续用户预览信号源提供依据。
需要说明的是,信号源端口的标识信息可以包括信号源端口的类型。可选的,信号源端口的类型可以包括CVBS、HDMI、VGA等。
S303、显示设备根据各个信号源端口的标识信息及本地预存的与各个信号源端口分别对应的各个预览窗口的属性信息中的位置数据,在各个预览窗口分别显示各个信号源端口的图标。
用户通过显示设备启动信号源桌面预览信号源时,显示设备可根据各个信号源端口的标识信息从本地保存的信号源端口的图标库中选择各个信号源端口对应的图标,并根据本地保存的与各个信号源端口分别对应的各个预览窗口的位置数据,将各个信号源的图标显示在信号源桌面上与各个信号源端口分别对应的各个预览窗口。当该显示设备外接信号源时,用户可通过控制设备选择信号源桌面上的信号源端口的图标,以预览信号源端口接收的数据信号,从而获知该外接信号源输出的数据信号。
具体的,在显示设备开发过程中,开发人员可将与各个信号源端口分别对应的各个预览窗口的位置数据保存在显示设备中,当用户通过显示设备启动信号源桌面预览信号源时,显示设备通过调用各个预览窗口的位置数据,将各个信号源端口的图标分别显示在与各个信号源端口对应的各个预览窗口的中心。
需要说明的是,信号源端口的图标是由设计人员提供的,并可在开发过程中由开发人员保存在显示设备的内存中,某个信号源端口的图标可表示为该信号源端口的类型。进一步地,设计人员提供的与信号源端口对应的预览窗口的数量应与显示设备中设置的信号源端口的数量一致。
举例来说,若信号源端口为VGA端口,则该VGA端口的图标可以表示为电脑的图标;若信号源端口为HDMI,则HDMI的图标可以表示为HDMI字样等等。
S304、当显示设备在与当前信号源端口对应的当前预览窗口显示当前信号源端口接收的第一数据信号时,显示设备接收来自控制设备的切换指令,该切换指令用于指示从当前信号源端口切换至第一信号源端口。
当该显示设备外接多个信号源时,当用户需要获知各个信号源输出的数据信号时,用户可通过选择各个信号源端口的图标并观看与各个信号源端口 对应的显示画面获知与各个信号源端口连接的各个信号源输出的数据信号。当显示设备在与当前信号源端口对应的当前预览窗口正在显示当前信号源端口接收的第一数据信号时,用户通过控制设备切换信号源,即该显示设备可接收到控制设备发出的切换指令,该切换指令可用于指示从当前信号源端口切换至第一信号源端口,其中,当前信号源端口可以为上述显示设备的信号源端口中的任意一个端口;第一信号源端口可以为上述显示设备的信号源端口中,除当前信号源端口外的任意一个端口。
示例性的,若上述控制设备为遥控器,则用户使用遥控器打开显示设备的信号源桌面后,假设与当前信号源端口HDMI连接的信号源为机顶盒,当用户使用遥控器的“上”、“下”、“左”、“右”等方向键选中VGA端口时,或者,使用方向键选中VGA端口并结合按遥控器的确定键选择该VGA端口时,此时,显示设备的信号源端口从当前的信号源端口HDMI切换至用户选择的VGA端口,即第一信号源端口,同时显示设备的信号源也从机顶盒切换至与VGA端口连接的电脑。另一方面,若上述控制设备为显示设备本身,即用户可通过显示设备上设置的按键完成上述信号源端口之间的切换,具体的切换过程与用户使用遥控器切换的过程类似,此处不再赘述。
可以理解的是,用户在信号源桌面将当前信号源端口切换至第一信号源端口时,与当前信号源端口连接的信号源也同时切换至与第一信号源端口连接的信号源。
S305、配置与所述第一信号源端口对应的第一播放器和第一图形程序接口以播放所述第二数据信号。
配置的内容,主要包括两个方面:
1)创建播放器和图形程序接口;
第二数据信号接收到并不能直接显示出来,需要定义相应播放器才能对第二数据信号就行解析播放,同时对于解析播放的内容还需要通过图形程序接口才能够在屏幕上显示出来。
首先,创建与所述第一信号源端口对应的第一播放器和第一图形程序接口,并将所述第一播放器与第一图形程序接口进行关联,这样就可以通过所述第一图形程序接口显示所述第一播放器的播放画面。
另外,需要说明的是,显示设备接收到控制设备发送的切换指令之后,显示设备可根据该切换指令获知用户需要从当前信号源端口切换至第一信号源端口。由于显示设备的底层硬件平台同一时刻只能播放一个外接信号源的数据信号,因此,为了能够成功播放第一信号源端口接收的第二数据信号,在创建第一播放器和第一图形程序接口之前,可以注销与所述当前信号源端口对应的当前播放器和当前图形程序接口,释放所述当前播放器和当前图形程序接口所占用的资源,这样创建与所述第一信号源端口对应的第一播放器和第一图形程序接口时就使用所述资源了。当然,如果资源充足的前提下,也可以选择不注销当前播放器和当前图形程序接口,本申请并不限于此。
最后,还要解析得到所述第二数据信号的音视频参数,根据所述第二数据信号的音视频参数配置与所述第一信号源端口对应的第一播放器。这里需要说明的是,所述第二数据信号的音视频参数并不一定需要在接收到第二数据信号时才能获得,因为所述第二数据信号来自于第一信号源端口,第一信号源端口传输的第二数据信号必须要符合第一信号源端口的数据标准的,而这个数据标准是已知而且确定的因此,根据这个数据标准就可以获知第二数据信号的音视频参数。当然,本申请也完全可以通过对实际接收到的第二数据信号进行解析从而得到第二数据信号的音视频参数,这样得到的音视频参数可靠性更强。
可选的,第二数据信号的音频参数可以包括音频信号的采样频率、幅度、相位、信噪比等;第二数据信号的视频参数可以包括视频信号的帧频、行频、场频、图像宽高比、模拟编码色差等。
2)关联图形程序接口和预览窗口;
当然,只有播放器和图形程序接口还不够,还需要定义第一图形程序接口在屏幕上的显示位置,在本申请的方案中,这个显示位置是在第一预览窗口上进行显示。包括第一预览窗口在内的所有预览窗口是预先就已经在信号源桌面上定义好了所有属性信息,包括每个预览窗口的位置数据、尺寸数据等等,这些属性信息也是预先存储在显示设备本地。
读取本地预存的所述第一预览窗口的属性信息中的位置数据和尺寸数据,将与所述第一信号源端口对应的第一图形程序接口设置在所述第一预览 窗口的位置上,并通过所述第一图形程序接口控制与所述第一信号源端口对应的第一播放器的播放画面的尺寸与所述第一预览窗口的尺寸相符。
本申请实施例中,显示设备使用的是Android(安卓)系统,其中,Android是一种基于Linux(一种操作系统)的开放源代码的操作系统。显示设备利用Android系统中提供的SurfaceView来实现本申请方案中的图形程序接口。SurfaceView是Android系统平台上的可供图像输出显示的视图技术,能够实现图像的平滑移动和缩放的特点,通过对SurfaceView的位置做平移和缩放以使图像输出位置发生平移和按比例缩放。
S306、显示设备根据该切换指令,获取第一信号源端口接收的第二数据信号。
当用户通过控制设备切换信号源时,显示设备首先接收到控制设备发出的切换指令,显示设备接收到该切换指令后,显示设备可根据该切换指令,获取第一信号源端口接收的第二数据信号,即与第一信号源端口连接的信号源输出的第二数据信号。
示例性的,当用户使用遥控器或显示设备上设置的按键将显示设备的信号源端口从HDMI切换至VGA端口时,该显示设备可以从显示设备的VGA端口获取来自与该VGA端口连接的电脑的第二数据信号。
需要说明的是,在信号源端口之间进行切换时,显示设备需调用显示设备的底层硬件平台提供的相关接口,将从与当前信号源端口连接的信号源获取第一数据信号,切换到从与第一信号源端口连接的信号源获取第二数据信号。
需要说明的是,切换指令指的是用户选中某个信号源端口之后,按下遥控器的确认按键或显示设备的确认按键后,遥控器或显示设备发出的可驱动显示设备的主板上的遥控控制电路的信号。
另一方面,切换指令也可以指用户通过方向键操作、光标移动操作或者手势操作等方式将移动焦点到相应的信号源端口的过程中,根据移动焦点操作,遥控器、体感设备或显示设备所发出的可驱动显示设备的主板上的遥控控制电路的信号。
可选的,上述第一数据信号和第二数据信号可以包括音频信号、视频信号等。
需要说明的是,显示设备接收来自控制设备的切换指令之后,本申请不限制S305与S306的执行顺序,即本申请可以先执行S305后执行S306;也可以先执行S306后执行S305;还可以同时执行S305和S306。
S307、将所述第二数据信号输入至与所述第一信号源端口对应的第一播放器进行播放。
显示设备获取第一信号源端口接收的第二数据信号的参数,并创建了与第一信号源端口对应的第一播放器之后,显示设备可根据该第二数据信号的参数配置第一播放器,并将该第二数据信号输入至配置后的第一播放器,以使配置后的第一播放器播放该第二数据信号。
示例性的,假设用户使用遥控器或显示设备上设置的按键将显示设备的信号源端口从HDMI切换至VGA端口时,该显示设备可从VGA端口获取来自与VGA端口连接的信号源,如电脑的第二数据信号,并可根据该第二数据信号获取该第二数据信号的参数,如电脑输出的第二数据信号的视频参数,且显示设备可根据该第二数据信号的参数配置第一播放器,以使得配置后的第一播放器能够播放与VGA端口接收的第二数据信号的类型一致的数据信号,以及显示设备可将VGA端口接收的电脑输出的第二数据信号输入至配置后的第一播放器,从而以使配置后的第一播放器能够成功播放该第二数据信号。
可以理解的是,由于播放器需播放与信号源端口接收的第二数据信号的类型一致的数据信号,因此,不同的信号源端口需要创建不同的播放器。
S308、在所述第一预览窗口上,通过与所述第一信号源端口对应的第一图形程序接口显示所述第一播放器的播放画面。
显示设备创建与第一信号源端口对应的第一播放器和第一图形程序接口之后,显示设备已将第一图形程序接口设置在第一预览窗口的位置上。用户通过观看与某个信号源端口对应的预览窗口播放的内容,以获知与该信号源端口连接的信号源输出的数据信号。
特别的,为了使得用户可以在预览切换后的第一信号源端口接收的第二数据信号时,仍能直观的获知切换前的当前信号源端口接收的第一数据信号,显示设备可在接收到来自控制设备的切换指令时,截取所述当前信号源端口所接收的第一数据信号的最后一帧静态图像,并在第一预览窗口显示第一信号源端口接收到的第二数据信号时将所述第一数据信号的最后一帧静态图像显示在所述当前预览窗口上。这样以便于用户可以更直观的选择自己所需的节目。其中,当前信号源端口是指显示设备接收来自控制设备的切换指令之前用户所选择的信号源端口。
可选的,若显示设备的底层硬件平台能够实现多路信号同时播放,则本申请实施例提供的显示方法可以支持多个预览窗口同时播放多个信号源输出的数据,其中,显示设备的底层硬件平台是指可驱动显示设备的主板上的各个芯片运行以实现其功能的软件架构及硬件系统。具体的,显示设备的底层硬件平台的多路播放功能,取决于显示设备的主板上的主控芯片设置的多路功能,若显示设备的主板上的主控芯片设置有多路播放功能,则显示设备的底层硬件平台可驱动显示设备的主板上的主控芯片实现多路播放功能。
S309、显示设备在第一预览窗口显示该第二数据信号之后,显示设备接收来自控制设备的全屏播放指令,调取全屏尺寸,通过所述第一图形程序接口控制所述第一播放器的播放画面的尺寸放大至与所述全屏尺寸相符,以实现显示设备全屏播放该第二数据信号。
本步骤中的全屏播放指令,是指在通过方向键操作、光标移动操作或者手势操作将焦点移动到相应的预览窗口之后,根据对选中的预览窗口的点击确认的操作,遥控器、体感设备或显示设备所发出的可驱动显示设备的主板上的遥控控制电路的信号。
可选的,本申请实施例提供的显示方法需要结合显示设备的底层硬件平台实现,若显示设备的底层硬件平台不同,则信号源端口的切换方法也可能不同,并且显示设备中可供图像输出显示的图形程序接口,在实际实现中可以为SurfaceView技术,也可以为VideoView技术或OpenGL(Open Graphics Library,开放图形库)技术等,本申请不做限制。其中,VideoView用于播放视频文件,可以从不同的来源(例如资源文件或内容提供器)读取图像, 计算和维护视频的画面尺寸以使其适用于任何布局管理器,并提供一些诸如缩放、着色之类的显示选项;OpenGL是一个跨编程语言、跨平台的专业的图形程序接口,可用于调用底层图形库。
通过本申请实施例所提供的显示方法,当用户切换信号源时,由于显示设备可以将切换后的信号源端口接收的第二数据信号在与该信号源端口对应的预览窗口显示出来,即以预览的方式显示切换后的信号源端口接收的第二数据信号,因此,可以使得用户直观、清晰的获知该信号源端口接收的第二数据信号,即为与该信号源端口连接的信号源输出的第二数据信号,从而能够改善显示效果,方便用户操作,以及提升用户体验感。
实施例四
本申请实施例还提供另一种显示方法,如图4所示,该方法可以包括:
S401、在桌面上预先设置多个预览窗口,每个预览窗口与一个信号源端口对应;
示例性的,本申请实施例中,显示设备中设置了有线电视、视频轮播、智能应用、信号源等四类桌面,步骤S401中所述的桌面即是指信号源桌面。需要说明的是,设计显示设备时,设计人员会提供显示设备的信号源桌面预览效果图,这个预览效果图上设置有多个预览窗口,每个窗口可以用来显示一个信号源端口的数据。该预览效果图提供了与各个信号源端口分别对应的各个预览窗口的位置数据,在开发人员开发该显示设备时,可将与各个信号源端口分别对应的各个预览窗口的位置数据保存在该显示设备中。可选的,上述位置数据可以为与各个信号源端口对应的预览窗口在显示界面的坐标位置,即形成预览窗口的各个顶点在显示界面上的横坐标和纵坐标。
信号源是指输出数据信号的仪器或设备。若显示设备外接信号源,则由该信号源输出的数据信号可以输入至显示设备中显示,从而使得用户可观看到由该信号源输出的数据信号;端口是指设备与外界通讯的接口;信号源端口是指显示设备中与外接信号源连接的接口。本申请实施例中,显示设备中可以设置有多个信号源端口,从而用户可通过选择信号源端口而选择与该信号源端口连接的信号源。
S402、显示设备接收来自控制设备的启动指令,该启动指令用于启动信号源桌面,且显示设备扫描该显示设备中设置的全部信号源端口。
示例性的,显示设备开机后,显示设备可显示有线电视、视频轮播、智能应用、信号源这四类桌面,以使用户可以根据自己的需求选择对应的桌面观看相应的节目。用户可以通过使用遥控器或该显示设备上设置的方向按键在这四类桌面之间进行任意切换,从而实现在有线电视台、网络视频直播、应用软件与外接信号源之间的快捷切换。
本申请实施例中,显示设备中可以设置有多个信号源端口,当用户需选择信号源端口时,用户可使用控制设备使得显示设备启动信号源桌面,且显示设备在启动信号源桌面的过程中,可扫描显示设备中全部可供使用的信号源端口。
可选的,上述控制设备可以为遥控器,也可以为显示设备本身。一方面,若上述控制设备为遥控器,则用户可使用遥控器的按键发出启动指令至显示设备,而显示设备可根据该启动指令,启动显示设备的信号源桌面。另一方面,若上述控制设备为显示设备本身,则用户可通过显示设备上设置的按键发出启动指令完成上述信号源桌面的启动,具体启动信号源桌面的过程与通过遥控器启动信号源桌面的过程类似,此处不再赘述。
S403、配置与每个信号源端口对应的播放器和图形程序接口以播放由每个信号源端口接收的数据信号。
配置的内容,主要包括两个方面:
1)创建播放器和图形程序接口;
由每个信号源端口接收的数据信号并不能直接显示出来,需要定义相应播放器才能对数据信号就行解析播放,同时对于解析播放的内容还需要通过图形程序接口才能够在屏幕上显示出来。
首先,创建与每个信号源端口对应的播放器和图形程序接口,并将对应于同一个信号源端口的播放器与图形程序接口进行关联,从而通过对应于同一个信号源端口的图形程序接口显示对应于同一个信号源端口的播放器的播放画面。
另外,解析得到由每个信号源端口接收的数据信号的音视频参数,根据每个信号源端口接收的数据信号的音视频参数配置与每个信号源端口对应的播放器。这里需要说明的是,每个信号源端口接收的数据信号的音视频参数并不一定需要在接收到每个信号源端口接收的数据信号时才能获得,因为数据信号来自于每个信号源端口,每个信号源端口传输的数据信号必须要符合相应信号源端口的数据标准的,而这个数据标准是已知而且确定的,因此,根据每个信号源端口的数据标准就可以获知每个信号源端口的数据信号的音视频参数。当然,本申请也完全可以通过对实际接收到的每个信号源端口的数据信号进行解析从而得到数据信号的音视频参数,这样得到的音视频参数可靠性更强。
可选的,数据信号的音频参数可以包括音频信号的采样频率、幅度、相位、信噪比等;数据信号的视频参数可以包括视频信号的帧频、行频、场频、图像宽高比、模拟编码色差等。
2)关联图形程序接口和预览窗口;
当然,只有播放器和图形程序接口还不够,还需要定义每个图形程序接口在屏幕上的显示位置,在本申请的方案中,所有预览窗口是预先就已经在信号源桌面上定义好了所有属性信息,包括每个预览窗口的位置数据、尺寸数据等等,这些属性信息也是预先存储在显示设备本地。需要的是将相应的图形程序接口关联到各自的预览窗口。
读取本地预存的每个预览窗口的属性信息中的位置数据和尺寸数据;对于与同一个信号源端口对应的播放器、图形程序接口和预览窗口,将所述图形程序接口设置在对应的预览窗口的位置上,并通过所述图形程序接口控制所述播放器的播放画面的尺寸与所述预览窗口的尺寸相符。
本申请实施例中,显示设备使用的是Android(安卓)系统,其中,Android是一种基于Linux(一种操作系统)的开放源代码的操作系统。显示设备利用Android系统中提供的SurfaceView来实现本申请方案中的图形程序接口。SurfaceView是Android系统平台上的可供图像输出显示的视图技术,能够实现图像的平滑移动和缩放的特点,通过对SurfaceView的位置做平移和缩放以使图像输出位置发生平移和按比例缩放。
S404、显示设备根据启动指令,分别获取由每个信号源端口接收的数据信号。
在信号源桌面启动时,显示设备需调用显示设备的底层硬件平台提供的相关接口,将分别从与各个信号源端口连接的对应信号源获取数据信号。可选的,上述数据信号可以包括音频信号、视频信号等。
需要说明的是,显示设备接收来自控制设备的切换指令之后,本申请不限制S403与S404的执行顺序,即本申请可以先执行S403后执行S404;也可以先执行S404后执行S403;还可以同时执行S403与S404。
S405、将由每个信号源端口接收的数据信号输入至与每个信号源端口对应的播放器进行播放。
需要说明的是,显示设备需调用显示设备的底层硬件平台提供的相关接口,将分别从与各个信号源端口连接的对应信号源获取数据信号。可选的,上述数据信号可以包括音频信号、视频信号等。
示例性的,假设用户使用遥控器或显示设备上设置的按键将显示设备的信号源端口从HDMI切换至VGA端口时,该显示设备可从VGA端口获取来自与VGA端口连接的信号源,如电脑的第二数据信号,并可根据该第二数据信号获取该第二数据信号的参数,如电脑输出的第二数据信号的视频参数,且显示设备可根据该第二数据信号的参数配置第一播放器,以使得配置后的第一播放器能够播放与VGA端口接收的第二数据信号的类型一致的数据信号,以及显示设备可将VGA端口接收的电脑输出的第二数据信号输入至配置后的第一播放器,从而以使配置后的第一播放器能够成功播放该第二数据信号。
可以理解的是,由于播放器需播放与信号源端口接收的数据信号的类型一致的数据信号,因此,不同的信号源端口需要创建不同的播放器。
S406、在每个预览窗口上,通过与相应信号源端口对应的图形程序接口显示相应的播放器的播放画面。
显示设备分别获取到各个信号源端口接收的数据信号后,显示设备可根据显示设备中保存的与各个信号源端口分别对应的各个预览窗口的位置数 据,将各个信号源端口接收的数据信号同时显示在对应的该各个预览窗口,从而实现了同时对与各个信号源端口连接的信号源输出的数据信号的预览,以便于用户可直观的、清晰的选择自己所需观看的信号源播放的内容。
因为显示设备的底层硬件平台能够实现多路信号同时播放,这就成为了本申请的方案中可以支持多个预览窗口同时播放多个信号源输出的数据的基础,其中,显示设备的底层硬件平台是指可驱动显示设备的主板上的各个芯片运行以实现其功能的软件架构及硬件系统。具体的,显示设备的底层硬件平台的多路播放功能,取决于显示设备的主板上的主控芯片设置的多路功能,若显示设备的主板上的主控芯片设置有多路播放功能,则显示设备的底层硬件平台可驱动显示设备的主板上的主控芯片实现多路播放功能。
S407、接收来自控制设备对信号源端口的触发指令,保持接收所触发的信号源端口的数据信号,并调取全屏尺寸,通过所触发的信号源端口的图形程序接口控制所触发的信号源端口的播放器的播放画面的尺寸放大至与所述全屏尺寸相符,以实现显示设备全屏播放该第二数据信号。
另外,此时因为对用户通过控制设备选定的信号源端口的数据信号进行全屏播放,其他预览窗口就不需要再显示,所以这些预览窗口相应的播放器和图形程序接口也就不再需要,此时完全可以注销未触发的信号源端口对应的播放器和图形程序接口以释放所占用的资源。当然也可以不进行注销,本申请并不限于此。
可选的,本申请实施例提供的显示方法需要结合显示设备的底层硬件平台实现,若显示设备的底层硬件平台不同,则信号源端口的切换方法也可能不同,并且显示设备中可供图像输出显示的图形程序接口,在实际实现中可以为SurfaceView技术,也可以为VideoView技术或OpenGL(Open Graphics Library,开放图形库)技术等,本申请不做限制。其中,VideoView用于播放视频文件,可以从不同的来源(例如资源文件或内容提供器)读取图像,计算和维护视频的画面尺寸以使其适用于任何布局管理器,并提供一些诸如缩放、着色之类的显示选项;OpenGL是一个跨编程语言、跨平台的专业的图形程序接口,可用于调用底层图形库。
通过本申请实施例所提供的另一种显示方法,当用户启动信号源桌面 时,由于显示设备的各个信号源端口接收的数据信号可以在与该各个信号源端口分别对应的各个预览窗口同时显示出来,即以预览的方式同时显示各个信号源端口接收的数据信号,因此,可以使得用户同时直观、清晰的获知该各个信号源端口接收的数据信号,从而能够改善显示效果,方便用户操作,以及提升用户体验感。
实施例五
如图5所示,本申请实施例提供一种显示设备1,对应于本申请实施例一、三所提供的一种显示方法,该显示设备1可以包括:接收单元10、获取单元11和显示单元12。
接收单元10,用于当所述显示单元12在与当前信号源端口对应的当前预览窗口显示所述当前信号源端口接收的第一数据信号时,接收来自控制设备的切换指令,所述切换指令用于指示从所述当前信号源端口切换至第一信号源端口;
获取单元11,用于根据所述切换指令,获取所述第一信号源端口接收的第二数据信号;
显示单元12,用于在与所述第一信号源端口对应的第一预览窗口的位置上,显示所述第二数据信号。
可选的,如图6所示,所述显示设备还包括处理单元13。
处理单元13,用于根据所述切换指令,配置与所述第一信号源端口对应的第一播放器和第一图形程序接口以播放所述第二数据信号。
具体来说,处理单元13,可以用于创建与所述第一信号源端口对应的第一播放器和第一图形程序接口,并将所述第一播放器与第一图形程序接口进行关联从而通过所述第一图形程序接口显示所述第一播放器的播放画面;和/或,
处理单元13,可以用于读取本地预存的所述第一预览窗口的属性信息中的位置数据和尺寸数据,将与所述第一信号源端口对应的第一图形程序接口 设置在所述第一预览窗口的位置上,并通过所述第一图形程序接口控制与所述第一信号源端口对应的第一播放器的播放画面的尺寸与所述第一预览窗口的尺寸相符;和/或,
处理单元13,可以用于解析得到所述第二数据信号的音视频参数,根据所述第二数据信号的音视频参数配置与所述第一信号源端口对应的第一播放器;和/或,
处理单元13,可以用于注销与所述当前信号源端口对应的当前播放器和当前图形程序接口,释放所述当前播放器和当前图形程序接口所占用的资源,以供创建与所述第一信号源端口对应的第一播放器和第一图形程序接口时使用所述资源。
另外,可选地,处理单元13,还可以用于将所述第二数据信号输入至与所述第一信号源端口对应的第一播放器进行播放;显示单元12,用于在所述第一预览窗口上,通过与所述第一信号源端口对应的第一图形程序接口显示所述第一播放器的播放画面。
接收单元11,还用于接收来自控制设备的全屏显示指令;处理单元13,还用于调取全屏尺寸,通过所述第一图形程序接口控制所述第一播放器的播放画面的尺寸放大至与所述全屏尺寸相符,通知显示单元12进行显示。
处理单元13,还用于在接收到来自控制设备的切换指令时,截取所述当前信号源端口所接收的第一数据信号的最后一帧静态图像;显示单元12,用于将所述第一数据信号的最后一帧静态图像显示在所述当前预览窗口上。
通过本申请实施例所提供的显示设备,当用户切换信号源时,由于显示设备可以将切换后的信号源端口接收的第二数据信号在与该信号源端口对应的预览窗口显示出来,即以预览的方式显示切换后的信号源端口接收的第二数据信号,因此,可以使得用户直观、清晰的获知该信号源端口接收的第二数据信号,即为与该信号源端口连接的信号源输出的第二数据信号,从而能够改善显示效果,方便用户操作,以及提升用户体验感。
实施例六
如图7所示,本申请实施例还提供一种显示设备1,对应于本申请实施例二、四所提供的另一种显示方法,该显示设备1可以包括:获取单元21和显示单元22。
获取单元21,用于分别获取由每个信号源端口接收的数据信号。
显示单元22,用于在桌面上预先设置多个预览窗口,每个预览窗口与一个信号源端口对应,在所述每个预览窗口显示通过所述获取单元由对应的信号源端口接收的数据信号。
另外,可选地,获取单元21,用于将由每个信号源端口接收的数据信号输入至与每个信号源端口对应的播放器进行播放;显示单元22,用于在每个预览窗口上,通过与相应信号源端口对应的图形程序接口显示相应的播放器的播放画面。
可选的,如图8所示,所述显示设备还包括配置单元23。
配置单元23,用于配置与每个信号源端口对应的播放器和图形程序接口以播放由每个信号源端口接收的数据信号。
具体来说,配置单元23,进一步用于创建与每个信号源端口对应的播放器和图形程序接口,并将对应于同一个信号源端口的播放器与图形程序接口进行关联,从而通过对应于同一个信号源端口的图形程序接口显示对应于同一个信号源端口的播放器的播放画面;和/或,
配置单元23,进一步用于读取本地预存的每个预览窗口的属性信息中的位置数据和尺寸数据;对于与同一个信号源端口对应的播放器、图形程序接口和预览窗口,将所述图形程序接口设置在对应的预览窗口的位置上,并通过所述图形程序接口控制所述播放器的播放画面的尺寸与所述预览窗口的尺寸相符;和/或,
配置单元23,进一步用于获取由每个信号源端口接收的数据信号的音视频参数,根据每个信号源端口接收的数据信号的音视频参数配置每个信号源端口的播放器。
可选的,如图9所示,所述显示设备还包括配置单元23和接收单元24。
接收单元24,用于接收来自控制设备对信号源端口的触发指令;
配置单元23,在所述接收单元24接收到所述触发指令时,用于保持接收所触发的信号源端口的数据信号,并调取全屏尺寸,通过所触发的信号源端口的图形程序接口控制所触发的信号源端口的播放器的播放画面的尺寸放大至与所述全屏尺寸相符,注销未触发的信号源端口对应的播放器和图形程序接口以释放所占用的资源。
通过本申请实施例所提供的显示设备,当用户启动信号源桌面时,由于显示设备的各个信号源端口接收的数据信号可以在与该各个信号源端口分别对应的各个预览窗口同时显示出来,即以预览的方式同时显示各个信号源端口接收的数据信号,因此,可以使得用户同时直观、清晰的获知该各个信号源端口接收的数据信号,从而能够改善显示效果,方便用户操作,以及提升用户体验感。
实施例七
如图10所示,本申请实施例提供一种显示设备,对应于本申请实施例一、三所提供的一种显示方法,该显示设备可包括接收器31、处理器32、显示器33、存储器34、系统总线35和信号源端口36,其中,
接收器31、处理器32、显示器33、存储器34和信号源端口36之间通过系统总线35连接并完成相互间的通信。
处理器32可能为单核或多核中央处理单元,或者为特定集成电路,或者为被配置成实施本申请实施例的一个或多个集成电路。
存储器34可以为高速RAM存储器,也可以为非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。
存储器34用于计算机执行指令。具体的,计算机执行指令中可以包括程序代码。
具体的,所述接收器31可用于当所述显示器33在与当前信号源端口对 应的当前预览窗口显示所述当前信号源端口接收的第一数据信号时,接收来自控制设备的切换指令,所述切换指令用于指示从所述当前信号源端口切换至第一信号源端口36;所述处理器32可根据所述接收器31接收的所述切换指令,通过所述系统总线35获取所述第一信号源端口36接收的第二数据信号;所述显示器33可用于在与所述第一信号源端口对应的第一预览窗口的位置上,通过所述系统总线35显示所述第二数据信号;所述存储器34可用于存储所述信号源端口36接收的第二数据信号的软件代码,以及控制显示设备完成上述过程的软件程序,从而使得所述处理器32可通过执行上所述存储器34中存储的所述软件程序及调用相应的软件代码,完成上述过程。
可选的,所述处理器32,用于配置与所述第一信号源端口对应的第一播放器和第一图形程序接口以播放所述第二数据信号。
可选的,所述处理器32,用于在所述接收器31接收来自控制设备的切换指令之后,创建与所述第一信号源端口36对应的第一播放器和第一图形程序接口,并将所述第一播放器与第一图形程序接口进行关联从而通过所述第一图形程序接口显示所述第一播放器的播放画面。
可选的,所述处理器32,用于读取本地预存的所述第一预览窗口的属性信息中的位置数据和尺寸数据,将与所述第一信号源端口对应的第一图形程序接口设置在所述第一预览窗口的位置上,并通过所述第一图形程序接口控制与所述第一信号源端口对应的第一播放器的播放画面的尺寸与所述第一预览窗口的尺寸相符。
可选的,所述处理器32,用于解析得到所述第二数据信号的音视频参数,根据所述第二数据信号的音视频参数配置与所述第一信号源端口对应的第一播放器。
可选的,所述处理器32,还用于注销与所述当前信号源端口对应的当前播放器和当前图形程序接口,释放所述当前播放器和当前图形程序接口所占用的资源,以供创建与所述第一信号源端口对应的第一播放器和第一图形程序接口时使用所述资源。
处理器32,还可以用于将所述第二数据信号输入至与所述第一信号源端口对应的第一播放器进行播放;显示器33,用于在所述第一预览窗口上,通 过与所述第一信号源端口对应的第一图形程序接口显示所述第一播放器的播放画面。
接收器31,还用于接收来自控制设备的全屏显示指令;处理器32,还用于调取全屏尺寸,通过所述第一图形程序接口控制所述第一播放器的播放画面的尺寸放大至与所述全屏尺寸相符。
处理器32,还用于在接收到来自控制设备的切换指令时,截取所述当前信号源端口所接收的第一数据信号的最后一帧静态图像;显示器33,用于将所述第一数据信号的最后一帧静态图像显示在所述当前预览窗口上。
本申请实施例提供的显示设备可以为智能电视、电脑等设备。
通过本申请实施例所提供的显示设备,当用户切换信号源时,由于显示设备可以将切换后的信号源端口接收的第二数据信号在与该信号源端口对应的预览窗口显示出来,即以预览的方式显示切换后的信号源端口接收的第二数据信号,因此,可以使得用户直观、清晰的获知该信号源端口接收的第二数据信号,即为与该信号源端口连接的信号源输出的第二数据信号,从而能够改善显示效果,方便用户操作,以及提升用户体验感。
实施例八
如图11所示,本申请实施例提供一种显示设备,对应于本申请实施例二、四所提供的另一种显示方法,该显示设备可包括接收器41、处理器42、显示器43、存储器44、系统总线45和信号源端口46,其中,
接收器41、处理器42、显示器43、存储器44和信号源端口46之间通过系统总线45连接并完成相互间的通信。
处理器42可能为单核或多核中央处理单元,或者为特定集成电路,或者为被配置成实施本申请实施例的一个或多个集成电路。
存储器44可以为高速RAM存储器,也可以为非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。
存储器44用于计算机执行指令。具体的,计算机执行指令中可以包括程序代码。
具体的,所述处理器42可用于通过所述系统总线45分别获取由每个信号源端口接收的数据信号;所述显示器43可用于在桌面上预先设置多个预览窗口,每个预览窗口与一个信号源端口对应,通过所述系统总线45同时在所述每个预览窗口显示通过所述获取单元由对应的信号源端口接收的数据信号;所述存储器44可用于存储所述信号源端口46接收的所述数据信号的软件代码,以及控制显示设备完成上述过程的软件程序,从而使得所述处理器42可通过执行上所述存储器44中存储的所述软件程序及调用相应的软件代码,完成上述过程。
可选地,处理器42,用于将由每个信号源端口接收的数据信号输入至与每个信号源端口对应的播放器进行播放;显示器43,用于在每个预览窗口上,通过与相应信号源端口对应的图形程序接口显示相应的播放器的播放画面。
可选的,处理器42,用于配置与每个信号源端口对应的播放器和图形程序接口以播放由每个信号源端口接收的数据信号。
可选的,处理器42,用于创建与每个信号源端口对应的播放器和图形程序接口,并将对应于同一个信号源端口的播放器与图形程序接口进行关联,从而通过对应于同一个信号源端口的图形程序接口显示对应于同一个信号源端口的播放器的播放画面。
可选的,处理器42,用于读取本地预存的每个预览窗口的属性信息中的位置数据和尺寸数据;对于与同一个信号源端口对应的播放器、图形程序接口和预览窗口,将所述图形程序接口设置在对应的预览窗口的位置上,并通过所述图形程序接口控制所述播放器的播放画面的尺寸与所述预览窗口的尺寸相符。
可选的,处理器42,用于获取由每个信号源端口接收的数据信号的音视频参数,根据每个信号源端口接收的数据信号的音视频参数配置每个信号源端口的播放器。
可选的,接收器41,用于接收来自控制设备对信号源端口的触发指令;处理器42,在接收器41接收到所述触发指令时,用于保持接收所触发的信号源端口的数据信号,并调取全屏尺寸,通过所触发的信号源端口的图形程序接口控制所触发的信号源端口的播放器的播放画面的尺寸放大至与所述 全屏尺寸相符,注销未触发的信号源端口对应的播放器和图形程序接口以释放所占用的资源。
通过本申请实施例所提供的显示设备,当用户启动信号源桌面时,由于显示设备的各个信号源端口接收的数据信号可以在与该各个信号源端口分别对应的各个预览窗口同时显示出来,即以预览的方式同时显示各个信号源端口接收的数据信号,因此,可以使得用户同时直观、清晰的获知该各个信号源端口接收的数据信号,从而能够改善显示效果,方便用户操作,以及提升用户体验感。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的。
所述的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的 存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。
工业实用性
通过本申请所提供的显示方法及显示设备,当用户切换信号源时,由于显示设备可以将切换后的信号源端口接收的数据信号在与该信号源端口对应的预览窗口显示出来,即以预览的方式显示切换后的信号源端口接收的数据信号,因此,可以使得用户直观、清晰的获知该信号源端口接收的数据信号。
另外,当用户启动信号源桌面时,由于显示设备的各个信号源端口接收的数据信号可以在与该各个信号源端口分别对应的各个预览窗口同时显示出来,即以预览的方式同时显示各个信号源端口接收的数据信号,因此,可以使得用户同时直观、清晰的获知该各个信号源端口接收的数据信号。

Claims (32)

  1. 一种显示方法,其特征在于,包括:
    在与当前信号源端口对应的当前预览窗口显示所述当前信号源端口接收的第一数据信号时,接收来自控制设备的切换指令,所述切换指令用于指示从所述当前信号源端口切换至第一信号源端口;
    根据所述切换指令,获取所述第一信号源端口接收的第二数据信号;
    在与所述第一信号源端口对应的第一预览窗口的位置上,显示所述第二数据信号。
  2. 根据权利要求1所述的显示方法,其特征在于,根据所述切换指令,获取所述第一信号源端口接收的第二数据信号,还包括:
    配置与所述第一信号源端口对应的第一播放器和第一图形程序接口以播放所述第二数据信号。
  3. 根据权利要求1或2所述的显示方法,其特征在于,配置与所述第一信号源端口对应的第一播放器和第一图形程序接口,进一步包括:
    创建与所述第一信号源端口对应的第一播放器和第一图形程序接口,并将所述第一播放器与第一图形程序接口进行关联从而通过所述第一图形程序接口显示所述第一播放器的播放画面。
  4. 根据权利要求1或2所述的显示方法,其特征在于,配置与所述第一信号源端口对应的第一播放器和第一图形程序接口,还包括:
    注销与所述当前信号源端口对应的当前播放器和当前图形程序接口,释放所述当前播放器和当前图形程序接口所占用的资源,以供创建与所述第一信号源端口对应的第一播放器和第一图形程序接口时使用所述资源。
  5. 根据权利要求1或2所述的显示方法,其特征在于,配置与所述第一信号源端口对应的第一播放器和第一图形程序接口,进一步包括:
    读取本地预存的所述第一预览窗口的属性信息中的位置数据和尺寸数据,将与所述第一信号源端口对应的第一图形程序接口设置在所述第一预览窗口的位置上,并通过所述第一图形程序接口控制与所述第一信号源端口对 应的第一播放器的播放画面的尺寸与所述第一预览窗口的尺寸相符。
  6. 根据权利要求1或2所述的显示方法,其特征在于,配置与所述第一信号源端口对应的第一播放器和第一图形程序接口,进一步包括:
    解析得到所述第二数据信号的音视频参数,根据所述第二数据信号的音视频参数配置与所述第一信号源端口对应的第一播放器。
  7. 根据权利要求1所述的显示方法,其特征在于,在与所述第一信号源端口对应的第一预览窗口的位置上,显示所述第二数据信号,进一步包括:
    将所述第二数据信号输入至与所述第一信号源端口对应的第一播放器进行播放;
    在所述第一预览窗口上,通过与所述第一信号源端口对应的第一图形程序接口显示所述第一播放器的播放画面。
  8. 根据权利要求7所述的显示方法,其特征在于,在与所述第一信号源端口对应的第一预览窗口的位置上,显示所述第二数据信号之后,还包括:
    接收来自控制设备的全屏播放指令,调取全屏尺寸,通过所述第一图形程序接口控制所述第一播放器的播放画面的尺寸放大至与所述全屏尺寸相符。
  9. 根据权利要求7所述的显示方法,其特征在于,在与所述第一信号源端口对应的第一预览窗口的位置上,显示所述第二数据信号之后,还包括:
    在接收到来自控制设备的切换指令时,截取所述当前信号源端口所接收的第一数据信号的最后一帧静态图像,并将所述第一数据信号的最后一帧静态图像显示在所述当前预览窗口上。
  10. 一种显示方法,其特征在于,
    在桌面上预先设置多个预览窗口,每个预览窗口与一个信号源端口对应;
    接收来自控制设备的启动指令,分别获取由每个信号源端口接收的数据信号,在所述每个预览窗口显示由对应的信号源端口接收的数据信号。
  11. 根据权利要求10所述的显示方法,其特征在于,接收来自控制设 备的启动指令,分别获取由每个信号源端口接收的数据信号,还包括:
    配置与每个信号源端口对应的播放器和图形程序接口以播放由每个信号源端口接收的数据信号。
  12. 根据权利要求10或11所述的显示方法,其特征在于,配置与每个信号源端口对应的播放器和图形程序接口,进一步包括:
    创建与每个信号源端口对应的播放器和图形程序接口,并将对应于同一个信号源端口的播放器与图形程序接口进行关联,从而通过对应于同一个信号源端口的图形程序接口显示对应于同一个信号源端口的播放器的播放画面。
  13. 根据权利要求10或11所述的显示方法,其特征在于,配置与每个信号源端口对应的播放器和图形程序接口,进一步包括:
    读取本地预存的每个预览窗口的属性信息中的位置数据和尺寸数据;
    对于与同一个信号源端口对应的播放器、图形程序接口和预览窗口,将所述图形程序接口设置在对应的预览窗口的位置上,并通过所述图形程序接口控制所述播放器的播放画面的尺寸与所述预览窗口的尺寸相符。
  14. 根据权利要求10或11所述的显示方法,其特征在于,配置与每个信号源端口对应的播放器和图形程序接口,进一步包括:
    解析得到由每个信号源端口接收的数据信号的音视频参数,根据每个信号源端口接收的数据信号的音视频参数配置与每个信号源端口对应的播放器。
  15. 根据权利要求10所述的显示方法,其特征在于,在所述每个预览窗口显示由对应的信号源端口接收的数据信号,进一步包括:
    将由每个信号源端口接收的数据信号输入至与每个信号源端口对应的播放器进行播放;
    在每个预览窗口上,通过与相应信号源端口对应的图形程序接口显示相应的播放器的播放画面。
  16. 根据权利要求15所述的显示方法,其特征在于,在所述每个预览窗口显示由对应的信号源端口接收的数据信号之后,还包括:
    接收来自控制设备对信号源端口的触发指令,保持接收所触发的信号源端口的数据信号,并调取全屏尺寸;
    通过所触发的信号源端口的图形程序接口控制所触发的信号源端口的播放器的播放画面的尺寸放大至与所述全屏尺寸相符;
    注销未触发的信号源端口对应的播放器和图形程序接口以释放所占用的资源。
  17. 一种显示设备,其特征在于,包括:接收单元、获取单元和显示单元,其中,
    所述接收单元,用于当所述显示单元在与当前信号源端口对应的当前预览窗口显示所述当前信号源端口接收的第一数据信号时,接收来自控制设备的切换指令,所述切换指令用于指示从所述当前信号源端口切换至第一信号源端口;
    所述获取单元,用于根据所述切换指令,获取所述第一信号源端口接收的第二数据信号;
    所述显示单元,用于在与所述第一信号源端口对应的第一预览窗口的位置上,显示所述第二数据信号。
  18. 根据权利要求17所述的显示设备,其特征在于,还包括:
    处理单元,用于配置与所述第一信号源端口对应的第一播放器和第一图形程序接口以播放所述第二数据信号。
  19. 根据权利要求18所述的显示设备,其特征在于,
    所述处理单元,用于创建与所述第一信号源端口对应的第一播放器和第一图形程序接口,并将所述第一播放器与第一图形程序接口进行关联从而通过所述第一图形程序接口显示所述第一播放器的播放画面。
  20. 根据权利要求18所述的显示设备,其特征在于,
    所述处理单元,用于读取本地预存的所述第一预览窗口的属性信息中的位置数据和尺寸数据,将与所述第一信号源端口对应的第一图形程序接口设置在所述第一预览窗口的位置上,并通过所述第一图形程序接口控制与所述第一信号源端口对应的第一播放器的播放画面的尺寸与所述第一预览窗口 的尺寸相符。
  21. 根据权利要求18所述的显示设备,其特征在于,
    所述处理单元,用于解析得到所述第二数据信号的音视频参数,根据所述第二数据信号的音视频参数配置与所述第一信号源端口对应的第一播放器。
  22. 根据权利要求18所述的显示设备,其特征在于,
    所述处理单元,用于注销与所述当前信号源端口对应的当前播放器和当前图形程序接口,释放所述当前播放器和当前图形程序接口所占用的资源,以供创建与所述第一信号源端口对应的第一播放器和第一图形程序接口时使用所述资源。
  23. 根据权利要求18所述的显示设备,其特征在于,
    所述处理单元,用于将所述第二数据信号输入至与所述第一信号源端口对应的第一播放器进行播放;
    所述显示单元,用于在所述第一预览窗口上,通过与所述第一信号源端口对应的第一图形程序接口显示所述第一播放器的播放画面。
  24. 根据权利要求23所述的显示设备,其特征在于,
    所述接收单元,还用于接收来自控制设备的全屏显示指令;
    所述处理单元,还用于调取全屏尺寸,通过所述第一图形程序接口控制所述第一播放器的播放画面的尺寸放大至与所述全屏尺寸相符。
  25. 根据权利要求23所述的显示设备,其特征在于,
    所述处理单元,还用于在接收到来自控制设备的切换指令时,截取所述当前信号源端口所接收的第一数据信号的最后一帧静态图像;
    所述显示单元,用于将所述第一数据信号的最后一帧静态图像显示在所述当前预览窗口上。
  26. 一种显示设备,其特征在于,包括:获取单元和显示单元,其中,
    所述获取单元,用于分别获取由每个信号源端口接收的数据信号;
    所述显示单元,用于在桌面上预先设置多个预览窗口,每个预览窗口与 一个信号源端口对应,在所述每个预览窗口显示通过所述获取单元由对应的信号源端口接收的数据信号。
  27. 根据权利要求26所述的显示设备,其特征在于,还包括:
    配置单元,用于配置与每个信号源端口对应的播放器和图形程序接口以播放由每个信号源端口接收的数据信号。
  28. 根据权利要求27所述的显示设备,其特征在于,
    所述配置单元,进一步用于创建与每个信号源端口对应的播放器和图形程序接口,并将对应于同一个信号源端口的播放器与图形程序接口进行关联,从而通过对应于同一个信号源端口的图形程序接口显示对应于同一个信号源端口的播放器的播放画面。
  29. 根据权利要求27所述的显示设备,其特征在于,
    所述配置单元,进一步用于读取本地预存的每个预览窗口的属性信息中的位置数据和尺寸数据;对于与同一个信号源端口对应的播放器、图形程序接口和预览窗口,将所述图形程序接口设置在对应的预览窗口的位置上,并通过所述图形程序接口控制所述播放器的播放画面的尺寸与所述预览窗口的尺寸相符。
  30. 根据权利要求27所述的显示设备,其特征在于,
    所述配置单元,进一步用于获取由每个信号源端口接收的数据信号的音视频参数,根据每个信号源端口接收的数据信号的音视频参数配置每个信号源端口的播放器。
  31. 根据权利要求27所述的显示设备,其特征在于,
    所述获取单元,用于将由每个信号源端口接收的数据信号输入至与每个信号源端口对应的播放器进行播放;
    所述显示单元,用于在每个预览窗口上,通过与相应信号源端口对应的图形程序接口显示相应的播放器的播放画面。
  32. 根据权利要求31所述的显示设备,其特征在于,还包括:接收单元;
    所述接收单元,用于接收来自控制设备对信号源端口的触发指令;
    所述配置单元,在所述接收单元接收到所述触发指令时,用于保持接收所触发的信号源端口的数据信号,并调取全屏尺寸,通过所触发的信号源端口的图形程序接口控制所触发的信号源端口的播放器的播放画面的尺寸放大至与所述全屏尺寸相符,注销未触发的信号源端口对应的播放器和图形程序接口以释放所占用的资源。
PCT/CN2014/087435 2013-09-26 2014-09-25 一种显示方法及显示设备 WO2015043485A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/023,671 US20160232871A1 (en) 2013-09-26 2014-09-25 Display method and display device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310447100.4 2013-09-26
CN201310447100.4A CN103500081A (zh) 2013-09-26 2013-09-26 一种显示方法及显示设备

Publications (1)

Publication Number Publication Date
WO2015043485A1 true WO2015043485A1 (zh) 2015-04-02

Family

ID=49865297

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087435 WO2015043485A1 (zh) 2013-09-26 2014-09-25 一种显示方法及显示设备

Country Status (3)

Country Link
US (1) US20160232871A1 (zh)
CN (1) CN103500081A (zh)
WO (1) WO2015043485A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078491A (zh) * 2019-10-12 2020-04-28 中国平安财产保险股份有限公司 监控信息显示方法、装置、监控终端和计算机存储介质

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500081A (zh) * 2013-09-26 2014-01-08 乐视致新电子科技(天津)有限公司 一种显示方法及显示设备
CN103561340A (zh) * 2013-10-30 2014-02-05 乐视致新电子科技(天津)有限公司 一种智能电视桌面跳转切换方法、装置及智能电视
CN103561328A (zh) * 2013-10-30 2014-02-05 乐视致新电子科技(天津)有限公司 一种智能电视的播放方法、装置及智能电视
CN104202675A (zh) * 2014-09-03 2014-12-10 乐视致新电子科技(天津)有限公司 智能终端及其快速频道切换方法和装置
CN104333715A (zh) * 2014-11-27 2015-02-04 天津天地伟业数码科技有限公司 示证输入与本地视频输入的切换方法
CN106658137A (zh) 2015-11-02 2017-05-10 腾讯科技(深圳)有限公司 一种视频播放方法及装置
CN107438193B (zh) * 2016-05-27 2021-03-12 西安诺瓦星云科技股份有限公司 一种基于Android平台的节目切换播放方法
CN107690075A (zh) * 2016-08-04 2018-02-13 创盛视联数码科技(北京)有限公司 直播流切换方法
US10462020B2 (en) * 2017-02-16 2019-10-29 Cisco Technology, Inc. Network device user interface
CN107484014A (zh) * 2017-07-25 2017-12-15 深圳Tcl数字技术有限公司 信源快速切换方法、电视设备及存储介质
CN107509102A (zh) * 2017-08-22 2017-12-22 深圳Tcl数字技术有限公司 电视信源的预览方法、装置及计算机可读存储介质
TWI675591B (zh) * 2017-12-07 2019-10-21 宏正自動科技股份有限公司 電視牆系統中的影像串流同步切換方法
CN108289147B (zh) * 2018-01-15 2021-09-24 维沃移动通信有限公司 一种显示控制方法及移动终端
CN108737881A (zh) * 2018-04-27 2018-11-02 晨星半导体股份有限公司 一种信号源实时动态预览方法及系统
CN111385618B (zh) * 2018-12-29 2022-01-04 深圳Tcl新技术有限公司 一种信源列表显示方法、Android电视及存储介质
CN110286870B (zh) * 2019-07-01 2022-03-25 联想(北京)有限公司 输出方法和输出设备
CN110611847B (zh) * 2019-10-16 2022-07-12 北京字节跳动网络技术有限公司 视频预览的方法、装置、存储介质及电子设备
CN111666056B (zh) * 2020-05-28 2024-01-05 阿波罗智联(北京)科技有限公司 屏幕切换显示方法、装置、智能后视镜和可读存储介质
CN113766164B (zh) * 2021-09-28 2023-04-25 海信视像科技股份有限公司 显示设备及信号源界面显示方法
CN114237533B (zh) * 2021-12-02 2024-10-18 北京德为智慧科技有限公司 一种显示器的显示模式切换方法、装置及显示器
KR20240070084A (ko) * 2022-11-14 2024-05-21 에스케이플래닛 주식회사 단말장치 및 클라우드 스트리밍 서비스 방법
CN116582696B (zh) * 2023-07-14 2023-09-26 北京医百科技有限公司 切换节目场景到预设监视窗口的方法和系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889686A (zh) * 2006-07-14 2007-01-03 北京时越网络技术有限公司 一种同时显示多路视频信息的方法
CN102194435A (zh) * 2011-04-12 2011-09-21 四川长虹电器股份有限公司 多端口显示设备的信号源显示的切换方法
CN103500081A (zh) * 2013-09-26 2014-01-08 乐视致新电子科技(天津)有限公司 一种显示方法及显示设备

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005531971A (ja) * 2002-07-01 2005-10-20 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ ビデオ信号処理システム
CN1271518C (zh) * 2003-06-25 2006-08-23 英业达股份有限公司 动态查询应用程序配置信息的方法
CN1863288A (zh) * 2005-05-11 2006-11-15 中强光电股份有限公司 显示装置信号源选择方法
CN1741595A (zh) * 2005-06-15 2006-03-01 海信集团有限公司 电视机画中画窗口显示信号源信息的方法
US20070241990A1 (en) * 2006-04-14 2007-10-18 Smith Douglas L Method for automatically switching video sources to a display device
US8532170B2 (en) * 2007-08-29 2013-09-10 Harman International Industries, Incorporated Enhanced presentation of sub-picture information
US20110025920A1 (en) * 2009-07-31 2011-02-03 Action Star Enterprise Co., Ltd. System for controlling a host computer by a portable computer
KR20120008114A (ko) * 2010-07-16 2012-01-30 (주)휴맥스 타 영상 소스를 모니터링하는 방법 및 장치
US20120050183A1 (en) * 2010-08-27 2012-03-01 Google Inc. Switching display modes based on connection state
CN102467328A (zh) * 2010-11-17 2012-05-23 康佳集团股份有限公司 一种基于嵌入式系统图形库的管理弹出窗口的方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889686A (zh) * 2006-07-14 2007-01-03 北京时越网络技术有限公司 一种同时显示多路视频信息的方法
CN102194435A (zh) * 2011-04-12 2011-09-21 四川长虹电器股份有限公司 多端口显示设备的信号源显示的切换方法
CN103500081A (zh) * 2013-09-26 2014-01-08 乐视致新电子科技(天津)有限公司 一种显示方法及显示设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078491A (zh) * 2019-10-12 2020-04-28 中国平安财产保险股份有限公司 监控信息显示方法、装置、监控终端和计算机存储介质
CN111078491B (zh) * 2019-10-12 2022-09-20 中国平安财产保险股份有限公司 监控信息显示方法、装置、监控终端和计算机存储介质

Also Published As

Publication number Publication date
CN103500081A (zh) 2014-01-08
US20160232871A1 (en) 2016-08-11

Similar Documents

Publication Publication Date Title
WO2015043485A1 (zh) 一种显示方法及显示设备
CN111447498B (zh) 显示设备的唤醒方法及显示设备
US10200738B2 (en) Remote controller and image display apparatus having the same
WO2021031623A1 (zh) 显示设备、分享文件的方法和服务器
CN110659010A (zh) 一种画中画显示方法以及显示设备
CN112019782B (zh) 增强型音频回传通道的控制方法及显示设备
KR20160031403A (ko) 멀티 윈도우 어플리케이션을 지원하는 멀티 스크린 제어 방법 및 디바이스
WO2020248714A1 (zh) 一种数据传输方法及设备
CN113825032B (zh) 媒资播放方法及显示设备
CN112118400B (zh) 显示设备上图像的显示方法及显示设备
KR20160003400A (ko) 디스플레이 장치 및 그 제어 방법
WO2020248681A1 (zh) 显示设备及蓝牙开关状态的显示方法
CN114095778B (zh) 一种应用级播放器的音频硬解码方法及显示设备
CN112243141A (zh) 投屏功能的显示方法及显示设备
WO2022078065A1 (zh) 显示设备资源播放方法及显示设备
CN112272331B (zh) 一种节目频道列表快速展示的方法及显示设备
CN112218145A (zh) 智能电视、vr显示设备以及相关方法
CN111954043A (zh) 一种信息栏显示方法及显示设备
CN113573149B (zh) 一种频道搜索方法及显示设备
CN111988646B (zh) 一种应用程序的用户界面显示方法和显示设备
WO2014203926A1 (ja) 放送受信装置、拡張機能実行装置、放送受信装置の制御方法、および、情報処理装置
CN114390190A (zh) 显示设备及监测应用启动摄像头的方法
CN112367550A (zh) 一种媒资列表多标题动态展示的实现方法及显示设备
CN112261463A (zh) 显示设备及节目推荐方法
CN113810747A (zh) 一种显示设备及信号源设置界面交互方法

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: 14847063

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15023671

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14847063

Country of ref document: EP

Kind code of ref document: A1