Disclosure of Invention
The invention mainly aims to provide a display terminal user interface replacing method, and aims to solve the technical problem of replacing a user interface more conveniently and more conveniently with less cost.
In addition, in order to achieve the above object, the present invention further provides a display terminal user interface replacing method, including the following steps:
monitoring a network information table and a service group association table to acquire the network information table and the service group association table when a starting-up instruction is received;
analyzing the network information table and the service group association table to obtain a link descriptor, and acquiring a network address from the link descriptor;
and downloading the user interface corresponding to the network address to the local, and loading and outputting the user interface when receiving a display terminal user interface replacement instruction.
Optionally, the monitoring a network information table and a service group association table to obtain the network information table and the service group association table when the power-on instruction is received includes:
when a starting-up instruction is received, a filter is set, and a network information table and a service group association table are received;
and monitoring the version update of the network information table and the service group association table, and acquiring the network information table and the service group association table with the latest version.
Optionally, the step of analyzing the network information table and the service group association table to obtain a link descriptor, and acquiring a network address from the link descriptor includes:
analyzing the network information table and the service group association table, and judging whether a link descriptor exists in the network information table or the service group association table after the analysis;
if the link descriptor exists in the network information table or the service group association table, judging whether a uniform resource identifier corresponding to the link descriptor conforms to a domain name system protocol or not;
if the uniform resource identifier conforms to the domain name system protocol, judging that the type of the network address is an online type, and acquiring the online type network address from the link descriptor.
Optionally, after the step of determining whether the uniform resource identifier corresponding to the link descriptor conforms to a domain name system protocol, the method includes:
if the uniform resource identifier does not accord with the domain name system protocol, judging whether the uniform resource identifier accords with a digital video broadcasting protocol or not;
if the uniform resource identifier conforms to the digital video broadcasting protocol, judging the type of the network address to be an offline type, and acquiring the offline type network address from the link descriptor.
Optionally, after the step of analyzing the network information table and the service group association table to obtain a link descriptor and acquiring a network address from the link descriptor, the method includes:
judging whether a downloaded user interface exists locally;
if the downloaded user interface exists locally and the user interface with the latest version is detected to exist, outputting updating prompt information;
when an update confirmation instruction input based on the update prompt information is received, downloading the user interface of the latest version to the local;
and if the downloaded user interface does not exist locally, the step of downloading the user interface to the local, and loading and outputting the target user interface based on the target user interface selected by the user from the user interface is executed.
Optionally, after the step of analyzing the network information table and the service group association table to obtain a link descriptor and acquiring a network address from the link descriptor, the method further includes:
acquiring the type of the network address, and determining a calling protocol according to the acquired type of the network address, wherein the calling protocol is used for downloading the user interface;
and after the calling protocol is determined, downloading the user interface according to the calling protocol.
Optionally, the step of downloading the user interface corresponding to the network address to the local, acquiring a target user interface in a display terminal user interface replacement instruction when the display terminal user interface replacement instruction is received, and loading and outputting the target user interface includes:
downloading a user interface, storing the user interface to the local in a format of a mixed broadcast display terminal protocol, and outputting a user interface list consisting of the user interfaces when a display terminal user interface replacement instruction is received;
and when a confirmation instruction input by a user based on the user interface list is received, acquiring a target user interface corresponding to the confirmation instruction, and loading and outputting the target user interface.
In addition, to achieve the above object, the present invention further provides a display terminal user interface replacing device, including:
the monitoring module is used for monitoring a network information table and a service group association table when a starting-up instruction is received so as to obtain the network information table and the service group association table;
the analysis module is used for analyzing the network information table and the service group association table to obtain a link descriptor and acquiring a network address from the link descriptor;
and the download output module is used for downloading the user interface corresponding to the network address to the local, acquiring a target user interface in the display terminal user interface replacing instruction when the display terminal user interface replacing instruction is received, and loading and outputting the target user interface.
In addition, to achieve the above object, the present invention further provides a display terminal user interface replacing device, including: the system comprises a memory, a processor and a display terminal user interface replacing program which is stored on the memory and can run on the processor, wherein when the display terminal user interface replacing program is executed by the processor, the steps of the display terminal user interface replacing method are realized.
In addition, to achieve the above object, the present invention further provides a storage medium, in which a display terminal user interface replacing program is stored, and the display terminal user interface replacing program, when executed by a processor, implements the steps of the display terminal user interface replacing method as described above.
The embodiment of the invention provides a display terminal user interface replacing method, device, equipment and storage medium. In the embodiment of the invention, when the user opens the display terminal, the user interface replacement program of the display terminal monitors the network information table and the service group association table in the code stream through the wired interface to acquire the network information table and the service group association table, further, the obtained network information table and the service group association table are analyzed to obtain a link descriptor, and a network address of an operator user interface contained in the link descriptor is obtained, downloading the user interface of the operator to the local according to the acquired network address, and when the user selects to replace the user interface of the display terminal, outputting the downloaded operator user interface for selection by the user, displaying a terminal user interface replacement program to load and output a target user interface selected by the user after the user is selected, the target user interface is displayed on the display terminal, and the user can select the replaceable user interface independently.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The display terminal user interface replacement terminal (called terminal, equipment or terminal equipment) in the embodiment of the invention can be an intelligent television, and can also be terminal equipment with a display function, such as an intelligent screen.
As shown in fig. 1, the terminal may include: aprocessor 1001, such as a CPU, anetwork interface 1004, auser interface 1003, amemory 1005, acommunication bus 1002. Wherein acommunication bus 1002 is used to enable connective communication between these components. Theuser interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and theoptional user interface 1003 may also include a standard wired interface, a wireless interface. Thenetwork interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). Thememory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). Thememory 1005 may alternatively be a storage device separate from theprocessor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, amemory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a display terminal user interface replacement program.
In the terminal shown in fig. 1, thenetwork interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; theuser interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and theprocessor 1001 may be configured to invoke a display terminal user interface replacement program stored in thememory 1005 that, when executed by the processor, performs operations in the display terminal user interface replacement method provided by the embodiments described below.
Based on the hardware structure of the equipment, the embodiment of the display terminal user interface replacing method is provided.
Referring to fig. 2, in a first embodiment of a display terminal user interface replacement method according to the present invention, the display terminal user interface replacement method includes:
step S10, when receiving the power-on command, monitoring the network information table and the service group association table to obtain the network information table and the service group association table.
The method for replacing the user interface of the display terminal in the embodiment is applied to a user interface replacing device (called a terminal, a device or a terminal device) of the display terminal, wherein the user interface replacing device of the display terminal comprises the following steps: smart television and wisdom screen.
The startup instruction in this embodiment is an instruction for starting up a television, and the operation for triggering the instruction may be that a user clicks a television switch button, or that a television is set to be started up by a fixed point. In this embodiment, there are two methods for implementing the user interface replacement by the display terminal user interface replacement method, one is to monitor the network information table and the service group association table through the network interface on the television in the online environment, and it can be known that the network information table is a table used by the digital television system to transmit network information, and it can transmit physical information of the multi-component code stream and information of the network itself through a certain network; the service group association table provides information related to the service group. The service may be a channel, and the service group may be a general term of some channels, for example, a central station and a local station. The network information table and the service group association table are both obtained from a code stream transmitted to a television, and the step of monitoring the network information table and the service group association table includes setting a filter so as to filter the network information table and the service group association table from the code stream of the cable broadcast. The other is that the network information table and the service group association table are monitored through a cable interface on the television under an off-line environment so as to obtain the network information table and the service group association table.
Step S20, parsing the network information table and the service group association table to obtain a link descriptor, and obtaining a network address from the link descriptor.
It can be known that the network information table contains some information of the network and other networks, which mainly includes network identifiers, network names and transmission parameters, and the code stream for data transmission to the television contains the network information table and the service group association table. After the replacing program of the user interface of the display terminal acquires the network information table and the service group association table, the two tables are analyzed to obtain the link descriptors, and the analyzing process is equivalent to traversal, namely, the network information table and the service group association table are searched from beginning to end to obtain the link descriptors contained in the network information table or the service group association table. The link descriptor includes a network address of the operator UI (user interface), and the network address of the operator UI is obtained, that is, the operator UI can be downloaded through the network address, which is also a reason for analyzing the network information table.
It should be noted that, after the user powers on, the tv display interface stays on a specific channel, and the link descriptor may be in the network information table or the service group association table, where the specific channel is a service, and some operators may place the network address of the UI in a specific channel group (i.e. service group) or a specific channel. Therefore, when the television interface stays on a specific channel, the display terminal user interface replacement program firstly judges whether a link descriptor exists in the network information table and the service group association table before analyzing the acquired network information table and the service group association table, and if the operator places the user interface replacement program in another channel, the display terminal user interface replacement program does not exist in the network information table and the service group association table acquired in the channel after the television is started.
And step S30, downloading the user interface corresponding to the network address to the local, and loading and outputting the user interface when receiving a display terminal user interface replacement instruction.
In this embodiment, displaying the terminal user interface replacement instruction refers to an operation actively triggered by the user to replace the existing user interface of the television. May include the user selecting a user interface for replacement and clicking on a replacement button.
The obtained network information table and the service group association table are analyzed to obtain a link descriptor, and after a network address of the operator UI is obtained from the link descriptor, a terminal user interface replacement program is displayed to access the network address. When the user interface is successfully downloaded locally to the display terminal, it is saved in another specific format, which is dependent on the television set, because the downloaded user interface can be presented on the television set. Therefore, after the user interface is downloaded and stored successfully, the user may manually select to replace the current user interface of the television with the downloaded operator user interface, and when the user selects to replace the current UI of the television, the display terminal user interface replacement program outputs the downloaded operator user interface on the television display interface for the user to select, and loads and outputs the operator user interface (i.e., the user interface in this embodiment) selected by the user, thereby completing the replacement operation of the display terminal user interface.
Specifically, the step S10 is a step of refining, including:
step a1, when receiving the start-up command, setting filter, and receiving network information table and service group association table.
Step a2, monitoring the version update of the network information table and the service group association table, and obtaining the network information table and the service group association table of the latest version.
It is known that a code stream for data transmission with a television includes a plurality of tables, and therefore, a filter needs to be provided to screen out a network information table and a service group association table from the plurality of tables. When a user opens the television, the display terminal user interface replacement program sets a filter and receives the network information table and the service group association table from the code stream, and therefore the network information table and the service group association table have the problem of version updating.
In this embodiment, when the user turns on the television, the display terminal user interface replacement program monitors the network information table and the service group association table in the code stream through the wired interface to obtain the network information table and the service group association table, further parses the obtained network information table and the service group association table to obtain a link descriptor, obtains a network address of the operator user interface included in the link descriptor, downloads the operator user interface to the local according to the obtained network address, outputs the downloaded operator user interface for the user to select when the user selects to replace the television user interface, loads and outputs the target user interface selected by the user through the display terminal user interface replacement program after the user selects the target user interface to display the target user interface on the television, and downloads and outputs the operator user interface through the wired interface of the television, the set top box is saved, and the user interface can be replaced more conveniently and more conveniently with less cost.
Further, referring to fig. 3, on the basis of the above-mentioned embodiment of the present invention, a second embodiment of the display terminal user interface replacement method of the present invention is provided.
This embodiment is a step of the first embodiment, which is a refinement of step S20, and the difference between this embodiment and the above-described embodiment of the present invention is:
step S21, after analyzing the network information table and the service group association table, determining whether a link descriptor exists in the network information table or the service group association table.
Step S22, if the link descriptor exists in the network information table or the service group association table, determining whether a uniform resource identifier corresponding to the link descriptor conforms to a domain name system protocol.
Step S23, if the uniform resource identifier conforms to the domain name system protocol, determining that the type of the network address is an online type, and obtaining the online type network address from the link descriptor.
It should be noted that the link descriptor may exist in the network information table or the service group association table, and when the link descriptor exists in the service group association table, after the obtained network information table and the service group association table are analyzed, it is further required to determine whether the link descriptor exists in the network information table and the service group association table. It is known that each channel has a corresponding service group association table, some operators will place the network address of the UI in a specific channel or channel group, and when a user turns on the television and the channel displayed on the television interface is not a channel stored in the network address of the UI, the display terminal user interface replacement program will not obtain the network address from the acquired network information table and the service group association table. Therefore, after the obtained network information table and the service group association table are analyzed, it is further necessary to determine whether a link descriptor exists in the network information table and the service group association table.
The display terminal user interface replacement method realizes replacement of an operator user interface by an online method and an offline method, and the type of the network address acquired by the online method is an online type and the type of the network address acquired by the online method is an offline type. The type of network address also determines the protocol under which the carrier user interface is downloaded. If the link descriptor exists in the network information table and the service group association table, the uniform resource identifier corresponding to the link descriptor is obtained, and whether the uniform resource identifier conforms to the domain name system protocol or not is judged, which is a process of judging whether the type of the network address is the online type or not. If the uniform resource identifier does not conform to the domain name system protocol, the network address cannot be acquired, and thus, the network address acquired by the display terminal user interface replacement program will also be an online type network address.
Specifically, steps subsequent to step S22 include:
step b1, if the uniform resource identifier does not conform to the domain name system protocol, determining whether the uniform resource identifier conforms to the digital video broadcasting protocol.
And b2, if yes, determining the type of the network address is an offline type, and acquiring the network address of the offline type from the link descriptor.
The display terminal user interface replacement method realizes replacement of an operator user interface by an online method and an offline method, and the type of the network address acquired by the online method is an online type and the type of the network address acquired by the online method is an offline type. The type of network address also determines the protocol under which the carrier user interface is downloaded. If the link descriptor exists in the network information table and the service group association table, the uniform resource identifier corresponding to the link descriptor is obtained, and whether the uniform resource identifier conforms to the domain name system protocol or not is judged, which is a process of judging whether the type of the network address is an offline type or not. In this way, the network address obtained by the display terminal user interface replacement program will also be an offline type network address.
In this embodiment, a detailed process of analyzing the network information table and the service group association table to obtain the link descriptor and acquiring the network address from the link descriptor is provided, and the offline type of the network address is introduced to realize downloading and updating of the operator UI even in the absence of a network.
Further, referring to fig. 4, on the basis of the above-mentioned embodiment of the present invention, a third embodiment of the method for replacing a user interface of a display terminal according to the present invention is provided.
This embodiment is a step after step S20 in the first embodiment, and the present embodiment is different from the above-described embodiments of the present invention in that:
step S40, determine whether there is a downloaded user interface locally.
Step S50, if the downloaded user interface exists locally and it is detected that the user interface of the latest version exists, the update prompt information is output.
And step S60, downloading the latest version of the user interface to the local when receiving an update confirmation instruction input based on the update prompting information.
Step S70, if no downloaded user interface exists locally, the steps of downloading the user interface to the local, loading and outputting the target user interface based on the target user interface selected by the user from the user interface are executed.
Therefore, after the user interface replacement program obtains the network address, it is further determined whether the local computer has downloaded the operator user interface, that is, whether the downloaded user interface exists locally. If the downloaded user interface exists locally as a result of the judgment, and it is also necessary to judge whether the downloaded user interface is the latest version, it is known that the operator will update the user interface irregularly, which is also a reason for judging whether the downloaded user interface is the latest version, and if the downloaded user interface is not the latest version, that is, there is the latest version of the user interface, at this time, the user interface replacement program will output an update prompt message to prompt the user that there is an updated operator user interface. When a user's confirmation update instruction is received, the display terminal user interface replacement program will access the network address to download the latest version of the user interface. It is known that, if there is no downloaded user interface locally, step S30 in the first embodiment will be executed.
In this embodiment, before the user interface replacement program accesses the network address to download the user interface, it needs to first determine whether the user interface exists locally, and when the user interface exists locally, detect the version of the user interface, so as to push the operator user interface of the latest version.
Further, referring to fig. 5, on the basis of the above-mentioned embodiment of the present invention, a fourth embodiment of the method for replacing a user interface of a display terminal according to the present invention is provided.
This embodiment is a step after step S20 in the first embodiment, and the present embodiment is different from the above-described embodiments of the present invention in that:
step S80, obtaining the type of the network address, and determining a calling protocol according to the obtained type of the network address, where the calling protocol is used to download the user interface.
And step S90, after the calling protocol is determined, downloading the user interface according to the calling protocol.
It is known that the type of the network address determines which protocol is used to download the operator user interface, and when the type of the network address is an online type, the display terminal user interface replacement program calls an http (HyperText transfer protocol) protocol to download the operator user interface. And when the type of the network address is an offline type, the display terminal user interface replacement program calls a dsmcc (Digital Storage Media Command and control extension protocol) protocol to download the operator user interface. The downloaded operator user interface is also displayed in a webpage form, a specific calling Protocol is related to the environment where the television is located, if the television is in a networking state (namely, an online environment), a network address acquired by a display terminal user interface replacement program is of an online type, and a corresponding calling Protocol is an http (HyperText Transfer Protocol) Protocol; if the television is in a no-network state (i.e. an offline environment), the network address acquired by the display terminal user interface replacement program is of an offline type, and the corresponding calling protocol is a dsmcc (Digital Storage Media Command and Control) protocol.
In this embodiment, the invoking protocol for downloading the user interface of the operator is determined by the type of the network address, and the process of downloading the user interface of the operator is described in detail.
Further, referring to fig. 6, a fifth embodiment of the display terminal user interface replacement method according to the present invention is provided on the basis of the above-mentioned embodiment of the present invention.
This embodiment is a step of the first embodiment, which is a refinement of step S30, and the difference between this embodiment and the above-described embodiment of the present invention is:
and step S31, downloading a user interface, storing the user interface to the local in a format of a mixed broadcast television protocol, and outputting a user interface list consisting of the user interfaces when a display terminal user interface replacing instruction is received.
And step S32, when a confirmation instruction input by the user based on the user interface list is received, acquiring a target user interface corresponding to the confirmation instruction, and loading and outputting the target user interface.
It is known that the downloaded user interface needs to be stored after the user interface is successfully downloaded by the display terminal user interface replacement program, and that the downloaded user interface is stored in a format of a hybrid broadcast television protocol for presentation on a television. When the user interface is downloaded and stored successfully, the user can manually select to replace the current user interface of the television with the downloaded operator user interface, and when the user selects to replace the current UI of the television, the display terminal user interface replacement program outputs the downloaded operator user interface (i.e., the user interface list in this embodiment) on the television display interface for the user to select, loads and outputs the operator user interface selected by the user, i.e., completes the replacement operation of the display terminal user interface.
In this embodiment, the user interface that is successfully downloaded needs to be stored in the format of the hybrid broadcast television protocol, so that the user can change the user interface for the next time when the user interface is not updated.
The embodiment of the invention also provides a display terminal user interface replacing device, which comprises:
the monitoring module is used for monitoring a network information table and a service group association table when a starting-up instruction is received so as to obtain the network information table and the service group association table;
the analysis module is used for analyzing the network information table and the service group association table to obtain a link descriptor and acquiring a network address from the link descriptor;
and the download output module is used for downloading the user interface corresponding to the network address to the local, and loading and outputting the user interface when receiving a display terminal user interface replacement instruction.
Optionally, the listening module includes:
the receiving unit is used for setting a filter when a starting-up instruction is received, and receiving a network information table and a service group association table;
and the monitoring unit is used for monitoring the version updating of the network information table and the service group association table and acquiring the network information table and the service group association table with the latest version.
Optionally, the parsing module includes:
a first determining unit, configured to analyze the network information table and the service group association table, and determine whether a link descriptor exists in the network information table or the service group association table after the network information table and the service group association table are analyzed;
a second determining unit, configured to determine whether a uniform resource identifier corresponding to the link descriptor conforms to a domain name system protocol if the link descriptor exists in the network information table or the service group association table;
and the first judging unit is used for judging the type of the network address to be an online type if the uniform resource identifier conforms to a domain name system protocol, and acquiring the online type of the network address from the link descriptor.
Optionally, the display terminal user interface replacing apparatus further includes:
a third determining unit, configured to determine whether the uniform resource identifier conforms to a digital video broadcasting protocol if the uniform resource identifier does not conform to the domain name system protocol;
a second determining unit, configured to determine that the type of the network address is an offline type if the uniform resource identifier conforms to the digital video broadcast protocol, and obtain the offline type of the network address from the link descriptor.
Optionally, the display terminal user interface replacing apparatus further includes:
the fourth judging unit is used for judging whether the downloaded user interface exists locally;
the output unit is used for outputting the update prompt information if the downloaded user interface exists locally and the user interface with the latest version is detected to exist;
the first downloading unit is used for downloading the user interface of the latest version to the local part when receiving an updating confirmation instruction input based on the updating prompt information;
and the execution unit is used for downloading the user interface to the local, and loading and outputting the target user interface based on the target user interface selected by the user from the user interface if the downloaded user interface does not exist locally.
Optionally, the display terminal user interface replacing apparatus further includes:
the obtaining unit is used for obtaining the type of the network address and determining a calling protocol according to the obtained type of the network address, wherein the calling protocol is used for downloading the user interface;
and the second downloading unit is used for downloading the user interface according to the calling protocol after the calling protocol is determined.
Optionally, the download output module includes:
downloading a user interface, storing the user interface to the local in a format of a mixed broadcast television protocol, and outputting a user interface list consisting of the user interfaces when receiving a display terminal user interface replacing instruction;
and when a confirmation instruction input by a user based on the user interface list is received, acquiring a target user interface corresponding to the confirmation instruction, and loading and outputting the target user interface.
The method executed by each program module can refer to each embodiment of the method of the present invention, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a tablet computer, etc.) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.