CN115134667A - Television key burning method, device, equipment and computer readable storage medium - Google Patents

Television key burning method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN115134667A
CN115134667A CN202210745685.7A CN202210745685A CN115134667A CN 115134667 A CN115134667 A CN 115134667A CN 202210745685 A CN202210745685 A CN 202210745685A CN 115134667 A CN115134667 A CN 115134667A
Authority
CN
China
Prior art keywords
television
key
burning
hotkey
service
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202210745685.7A
Other languages
Chinese (zh)
Other versions
CN115134667B (en
Inventor
向浩源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202210745685.7A priority Critical patent/CN115134667B/en
Priority claimed from CN202210745685.7A external-priority patent/CN115134667B/en
Publication of CN115134667A publication Critical patent/CN115134667A/en
Application granted granted Critical
Publication of CN115134667B publication Critical patent/CN115134667B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

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

Abstract

The invention discloses a method, a device and equipment for burning keys of a television and a computer readable storage medium, and belongs to the technical field of televisions. The invention starts the predefined first service by starting broadcast according to the startup of the television; configuring the state of a hotkey in the television based on the first service to obtain the state information of the hotkey; judging whether the television is in a production mode or not according to the state information; and if so, executing a preset key burning strategy to perform automatic key burning operation. The invention solves the problem that the conventional method for burning keys of the television directly exits from the mode of the television which is easy to misjudge, avoids the problem of directly exiting from the key burning caused by misjudging the mode of the television, and effectively improves the production efficiency.

Description

Television key burning method, device, equipment and computer readable storage medium
Technical Field
The invention relates to the field of televisions, in particular to a method, a device and equipment for burning keys of a television and a computer readable storage medium.
Background
In the production process of the television, in order to ensure that each function of the television can be used normally, a key (secret key) needs to be burned in advance on the television, that is, the secret key is burned in the television. Because the key burning of the television is generally completed in the production process, when the television burns the key, whether the television is in a production mode or a normal use mode is generally judged through a hot key (a hot key or a shortcut key), and whether the automatic key burning is needed is further judged, namely the automatic key burning is needed when the television is in the production mode. Therefore, before the television automatically burns the key, the state of the hotkey needs to be set.
However, in the non-real-time operating system, the running timing of each thread may change due to the state of the running environment, for example, the automatic key-burning thread runs before the hotkey state configuration thread, which causes misjudgment that the television is in the normal use mode and exits the automatic key-burning.
Therefore, the problem that the existing method for burning the keys by the television, which adds a delayed key burning flow in the automatic key burning service, directly exits from the key burning due to the mode of the television which is easy to misjudge exists.
Disclosure of Invention
The invention mainly aims to provide a method, a device and equipment for burning keys of a television and a computer readable storage medium, and aims to solve the problem that the conventional method for burning keys of the television is easy to misjudge the mode of the television and directly exits from burning keys.
In order to achieve the purpose, the invention provides a method for burning keys by a television, which comprises the following steps:
starting a predefined first service according to the starting broadcast of the television;
configuring the state of a hotkey in the television based on the first service to obtain the state information of the hotkey;
judging whether the television is in a production mode or not according to the state information;
and if so, executing a preset key burning strategy to perform automatic key burning operation.
Optionally, the step of configuring the state of the hotkey in the television based on the first service to obtain the state information of the hotkey includes:
reading a first hotkey value in an environment variable stored in a television memory;
and configuring the value of the hotkey in the television system attribute according to the first hotkey value so as to complete the state configuration of the hotkey and obtain the state information of the hotkey.
Optionally, before the step of executing a preset key burning policy to perform automatic key burning operation, the method further includes:
sending an intent for communication to a predefined second service based on the first service.
Optionally, before the step of executing the preset key burning policy to perform automatic key burning operation, the method further includes:
analyzing the intention through an analyzer in the second service to obtain an action in the intention;
and judging whether to execute a preset key burning strategy to perform automatic key burning operation according to the content of the action.
Optionally, the step of determining whether to execute a preset key burning policy to perform automatic key burning operation according to the content of the action includes:
judging whether the content of the action is to automatically burn keys or not;
if the content of the action is to perform automatic key burning, executing a preset key burning strategy to perform automatic key burning operation;
and if the content of the action is not the automatic burning key, quitting the burning key.
Optionally, before the step of sending the intent to communicate to a predefined second service based on the first service, the method further comprises:
responding to a starting instruction of the television to start the second service;
alternatively, the first and second electrodes may be,
initiating the second service based on the intent sent by the first service.
Optionally, the step of determining whether the television is in a production mode according to the state information includes:
acquiring a second hotspot value corresponding to the state information;
when the second hotkey value is a preset value, judging that the television is in the production mode;
and when the second hotkey value is not the preset value, judging that the television is in a normal use mode.
In addition, in order to achieve the above object, the present invention further provides a key burning device for a television, the device comprising:
the starting module is used for starting predefined first service according to the starting broadcast of the television;
the state configuration module is used for configuring the state of the hotkey in the television to obtain the state information of the hotkey based on the first service;
the judging module is used for judging whether the television is in a production mode or not according to the state information;
and the key burning module is used for executing a preset key burning strategy to perform automatic key burning operation if the key burning module is used for executing the preset key burning strategy.
In addition, to achieve the above object, the present invention also provides a television key burning apparatus, including: the device comprises a memory, a processor and a television burn key program stored on the memory and capable of running on the processor, wherein the television burn key program is configured to realize the steps of the television burn key method.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, where a television key burning program is stored, and when the television key burning program is executed by a processor, the steps of the television key burning method are implemented as described above.
The invention starts the predefined first service by starting broadcast according to the startup of the television; configuring the state of a hotkey in the television based on the first service to obtain the state information of the hotkey; judging whether the television is in a production mode or not according to the state information; and if so, executing a preset key burning strategy to perform automatic key burning operation.
According to the method and the device, the first service is started according to the startup broadcast, the state of the hotkey is configured based on the first service, the state information of the hotkey is obtained, whether the television is in a production mode is judged according to the state information of the hotkey, whether the key burning operation is carried out is further determined, the state configuration of the hotkey is guaranteed before the key burning operation is determined, and the running time sequence of two threads of the state configuration of the hotkey and the automatic key burning is guaranteed. Compared with the conventional method for burning keys of the television, the method avoids the problem of directly quitting burning keys due to misjudgment of the mode of the television, and effectively improves the production efficiency.
Drawings
Fig. 1 is a schematic structural diagram of a television key device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a method for burning keys on a television according to an embodiment of the present invention;
FIG. 3 is a schematic view of a detailed flow chart of an embodiment of a method for burning keys on a television according to the present invention;
fig. 4 is a schematic structural diagram of functional modules of a key burning device of a television set according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context. The terms "or," "and/or," "including at least one of the following," and the like, as used herein, are to be construed as inclusive or mean any one or any combination.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
In order to more clearly understand the technical features, objects, and effects of the present invention, embodiments of the present invention will now be described with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a television key-burning device in a hardware operating environment according to an embodiment of the present invention. The television key burning device can be an intelligent television.
As shown in fig. 1, the television key device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the television key device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a data storage module, a network communication module, a user interface module, and a television key program.
In the television key device shown in fig. 1, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the television key-burning device of the present invention may be disposed in the television key-burning device, and the television key-burning device calls the television key-burning program stored in the memory 1005 through the processor 1001, and executes the following operations:
starting a predefined first service according to the starting broadcast of the television;
configuring the state of a hotkey in the television based on the first service to obtain the state information of the hotkey;
judging whether the television is in a production mode or not according to the state information;
and if so, executing a preset key burning strategy to perform automatic key burning operation.
Further, the processor 1001 may be configured to invoke a television key program stored in the memory 1005, and further perform the following operations:
reading a first hotkey value in an environment variable stored in a television memory;
and configuring the value of the hotkey in the television system attribute according to the first hotkey value so as to complete the state configuration of the hotkey and obtain the state information of the hotkey.
Further, the processor 1001 may be configured to invoke a television key program stored in the memory 1005, and further perform the following operations:
sending an intent for communication to a predefined second service based on the first service.
Further, the processor 1001 may be configured to invoke a television key program stored in the memory 1005, and further perform the following operations:
analyzing the intention through a resolver in the second service to obtain an action in the intention;
and judging whether to execute a preset key burning strategy to perform automatic key burning operation according to the content of the action.
Further, the processor 1001 may be configured to invoke a television key program stored in the memory 1005, and further perform the following operations:
judging whether the content of the action is to automatically burn keys or not;
if the content of the action is to perform automatic key burning, executing a preset key burning strategy to perform automatic key burning operation;
and if the content of the action is not the automatic burning key, quitting the burning key.
Further, the processor 1001 may be configured to invoke a television key program stored in the memory 1005, and further perform the following operations:
responding to a starting instruction of the television to start the second service;
alternatively, the first and second electrodes may be,
initiating the second service based on the intent sent by the first service.
Further, the processor 1001 may be configured to invoke a television key program stored in the memory 1005, and further perform the following operations:
acquiring a second hotkey value corresponding to the state information;
when the second hotkey value is a preset value, judging that the television is in the production mode;
and when the second hotkey value is not the preset value, judging that the television is in a normal use mode.
The television key burning is usually completed in the production process, and the television software distinguishes the production mode and the normal use mode and usually uses the hotkey for distinguishing, so in order to realize the automatic key burning, the state configuration of the hotkey in the television and the automatic key burning need to be cooperated, namely, the state configuration of the hotkey needs to be ensured to be completed before the automatic key burning. The existing method for burning keys of a television generally meets the time sequence of automatic burning keys by adding a delay time delay key burning flow into the service of the automatic burning keys. However, in a non-real-time operating system, the running time sequence of each thread is not completely fixed, and changes due to the state of the running environment, and in this case, the existing television key burning method cannot guarantee the time sequence between the state configuration of the hot key and the automatic key burning. For example, it is possible to start the automatic key burning when the state configuration thread of the hotkey is not completed, and at this time, it may be determined by mistake that the television is in the normal mode and directly exits from the automatic key burning, so that the key needs to be burned again, and the production efficiency is reduced. Therefore, the existing method for burning the key of the television has the problem that the mode of the television which is easy to misjudge is directly exited for burning the key.
In order to solve the technical problem, the invention provides a method for burning keys by a television, which is applied to the television and comprises the following steps: starting a predefined first service according to the starting broadcast of the television; configuring the state of a hotkey in the television based on the first service to obtain the state information of the hotkey; judging whether the television is in a production mode or not according to the state information; and if so, executing a preset key burning strategy to perform automatic key burning operation.
According to the method, the first service is started according to the startup broadcast, the state of the hotkey is configured based on the first service, the state information of the hotkey is obtained, whether the television is in a production mode is judged according to the state information of the hotkey, and whether the key burning operation is carried out is further determined, so that the state configuration of the hotkey is ensured before the key burning operation is determined, namely, the running time sequence of two threads of the state configuration of the hotkey and the automatic key burning is ensured. Compared with the conventional method for burning keys of the television, the method avoids the problem of directly quitting burning keys due to misjudgment of the mode of the television, and effectively improves the production efficiency.
An embodiment of the present invention provides a method for burning keys on a television, and referring to fig. 2, fig. 2 is a schematic flow diagram of an embodiment of the method for burning keys on a television according to the present invention.
In this embodiment, the method for burning keys by a television includes:
step S10, a predefined first service is started according to the power-on broadcast of the television.
In this embodiment, the execution subject is a television, and the predefined first service is a service for implementing state configuration of a television hotkey, where a name of the first service may be customized by a user. The first service may be started upon receiving a power-on broadcast of the television set to perform state configuration of the hotkey.
Specifically, for example, if the predefined first service is the broadcast receiver b, the predefined method of the broadcast receiver is as follows:
Figure BDA0003718610900000071
Figure BDA0003718610900000081
step S20, configuring the state of the hotkey in the television based on the first service to obtain the state information of the hotkey.
In this embodiment, the first service includes a processing procedure for receiving the startup broadcast, so that the first service can execute the processing procedure after receiving the startup broadcast and starting the startup broadcast. Since the state configuration of the hotkey is included in the processing flow, the state of the hotkey of the television can be configured based on the first service.
The Hotkey is a hot key or a shortcut key and is used for distinguishing whether the television is in a production mode or a normal use mode, wherein the Hotkey indicates that the television needs to be burned at the moment when the television is in the production mode; being in the normal use mode means that no key is required to be burned on the television at this time. The states of the hotkey can be divided into an on state and an off state, and the mode of the television can be determined according to the states of the hotkey.
The state information of the hotkey is the state of the hotkey after the configuration is completed.
Optionally, in step S20, configuring a state of the hotkey in the television based on the first service to obtain state information of the hotkey, where the method includes:
and step S21, reading a first hotkey value in the environment variable stored in the television memory.
In this embodiment, the environment variable generally refers to some parameters used in the operating system to specify the operating system running environment, such as: temporary folder location and system folder location, etc.
The memory may be an eMMC (embedded Multi Media card) memory, which is an embedded memory standard specification established by the MMC association and mainly used for products such as mobile phones and tablet computers. The eMMC integrates a controller in a package, provides a standard interface, and manages flash memory, so that a handset manufacturer can concentrate on other parts of product development and shorten the time to market products.
Since the first hotkey value is stored in the memory, it is not easily affected by a change in the state of the operating environment.
It should be noted that, during production, the state of the hotkey of each motherboard needs to be pre-fabricated into a specific state, for example, on (i.e., open state), so that the consistency of the hotkey state when each motherboard enters into production can be ensured.
Step S22, configuring the value of the hotkey in the television system attribute according to the first hotkey value, so as to complete the state configuration of the hotkey and obtain the state information of the hotkey.
In this embodiment, the value of the hotkey in the attribute of the television system is configured according to the first value of the hotkey, that is, the value of the hotkey in the attribute of the television system is changed to be consistent with the first value of the hotkey, so that the state configuration of the hotkey is completed, and the state information of the hotkey can be obtained according to the configured value of the hotkey in the attribute of the television system.
The state information of the hot key, that is, the information whether the hot key is in the on state or the off state, may be obtained by obtaining the value of the hot key, for example, when the value of the hot key is on, the state of the hot key is in the on state at this time.
For better understanding, for example, assuming that the first hotkey value is hk (the specific name may be customized), the value of hk in the emmc environment variable is acquired, and if the acquired hk is on, the hotkey in the television system attribute is on, so that the state configuration of the hotkey is completed, and the state information of the hotkey is in an on state at this time.
According to the method and the device, the state configuration of the hot key is realized by acquiring the first hot key value in the environment variable of the memory, and the parameters in the environment variable are not easily influenced by the change of the running environment state, so that the method and the device are favorable for the accuracy of the state configuration of the hot key.
And step S30, judging whether the television is in a production mode according to the state information.
In this embodiment, whether the television is in the production mode is determined according to the state information, that is, whether the television is in the production mode is determined according to whether the hotkey is in the on state or the off state.
Specifically, for example, when the hotkey is in the on state, it indicates that the television is in the production mode; when the hotkey is in the off state, the television is in the normal use mode.
It should be noted that the essence of determining whether the television is in the production mode is to determine whether the television needs to be burned, so it can be understood that, in some practical embodiments, other names may be used instead of the production mode or to directly determine whether the television needs to be automatically burned.
Optionally, step S30, determining whether the television is in a production mode according to the status information, includes:
and step S31, acquiring a second hotkey value corresponding to the state information.
In this embodiment, in order to distinguish different states of the hotkey, the hotkey is usually set to different values, that is, different state information of the hotkey usually corresponds to different hotkey values, so that the corresponding value of the hotkey, that is, the second hotkey value, can be obtained through the state information. For example, when a hotkey is in an on state, the corresponding second hotkey value is on; when the hotkey is in the off state, the corresponding second hotkey value is off.
Step S32, when the second hotkey value is the preset value, it is determined that the television is in the production mode.
In this embodiment, the preset value may be defined by itself, for example, if the preset value is set to on, it may be determined that the television is in the production mode when the second hotkey value is on, that is, it is necessary to perform automatic key burning.
And if the television is judged to be in the production mode, the fact that the television needs to be automatically burned at the moment is shown. It can be understood that the production mode may also be referred to as other names, and only needs to indicate that the television still needs to be automatically turned during the production process.
And step S33, when the second hotkey value is not the preset value, judging that the television is in a normal use mode.
In this embodiment, if it is determined that the television is in the normal use mode, it indicates that the television is shipped from the factory and is in the normal use state of the user, and it is not necessary to automatically burn keys on the television. It can be understood that the normal use mode can also be referred to as other names, and only needs to indicate that the television is not in the production process at this time, and automatic key burning is not needed.
In this embodiment, what mode the television is in is determined by obtaining the value of the hotkey corresponding to the state information of the hotkey, and then whether the television needs to be burned or not is determined.
And step S40, if yes, executing a preset key burning strategy to perform automatic key burning operation.
In this embodiment, if yes, it is described that the television is in the production mode, that is, the automatic key burning is required, and therefore, a preset key burning policy needs to be executed to burn the key of the television. Wherein, burn key means key or identifying code burn.
It should be noted that the method is mainly used for ensuring that the key burning operation is performed on the television after the hot key configuration is completed, and the method is mainly used for ensuring the running time sequence. Therefore, the specific burning strategy, that is, the method for automatically burning the key of the television can directly use the mature technology in the prior art, and is not limited in the scheme.
According to the method, the first service is started according to the startup broadcast, the state of the hotkey is configured and the state information of the hotkey is obtained based on the first service, whether the television is in the production mode is judged according to the state information of the hotkey, whether the key burning operation is performed or not is further determined, the state configuration of the hotkey is guaranteed before whether the key burning operation is performed or not is determined, and the running time sequence of the state configuration of the hotkey and the running time sequence of the two threads of the automatic key burning are guaranteed. Compared with the existing method for burning the keys by the television, the method avoids the problem of directly quitting burning the keys due to misjudgment of the mode of the television, and effectively improves the production efficiency.
Further, in another embodiment of the method for burning keys on a television of the present invention, before executing the preset key burning policy to perform the automatic key burning operation in step S40, the method further includes:
step S50, sending an intention for communication to a predefined second service based on the first service.
In this embodiment, the predefined second service is used for responding to the intention sent by the first service, and determining whether to execute a preset burning policy to burn keys on the television based on the intention, wherein the name of the second service can be customized by a user.
Specifically, for example, assuming that the second service is an automatic key burning service S, the predefined method is as follows:
<service android:name=".service.s"/>
where the intent is intent, which may also be referred to as intent, it may be understood as an "intermediary" or "messenger" for communication between different components. In the invention, the intention is a predefined thread communication mode between the first service and the second service, namely the first service informs the second service of executing a preset burn-key strategy through the intention so as to carry out automatic burn-key operation.
Corresponding broadcast receiving response events are defined in the first service, so that after the hot key configuration is completed, the intention is sent to the second service when the television is determined to be in a production mode, namely, automatic key burning is needed.
Specifically, for example, a broadcast reception response event defining the first service is as follows:
Figure BDA0003718610900000111
Figure BDA0003718610900000121
optionally, before sending the intention for communication to the predefined second service based on the first service, step S50, the method comprises:
step S60, responding to the power-on command of the television to start the second service;
alternatively, the second service is initiated based on the intent sent by the first service.
In this embodiment, the starting time of the second service is not limited, and the second service may be started in response to the starting instruction, that is, the second service is started in advance after the motor is detected to be started or the system is started; or the second service can be started based on the intention sent by the first service, namely the second service is started after the first service is configured with the hotkey and when the automatic key burning is determined to be needed.
Specifically, for example, the specific method for predefining the boot-up second service s is as follows:
Figure BDA0003718610900000122
in the embodiment, after the hotkey is configured based on the first service and the automatic burning of the television is determined to be required, the intention is sent to the second service, so that the second service can perform the automatic burning of the key, whether the automatic burning of the key is performed or not can be judged after the intention is received, thread cooperation is realized by using a thread communication mode, and the operation time sequence of the hotkey configuration and the automatic burning of the key is ensured.
Further, in another embodiment of the method for burning keys by a television of the present invention, in step S40, executing a preset key burning policy to perform an automatic key burning operation, including:
step S41, parsing the intention by the parser in the second service, and acquiring an action in the intention.
In this embodiment, the parser is used for parsing the intention of the second service when receiving the intention sent by the first service, so as to obtain an action in the intention, and the parser may also be understood as an intention receiving response event predefined in the second service, and the name of the intention receiving response event may be defined by the user. The action may also be referred to as action, and is used for the second service to determine the action that needs to be executed, where the action that needs to be executed is specifically contextualized.
And step S42, judging and executing a preset key burning strategy according to the content of the action to perform automatic key burning operation.
In this embodiment, after the content of the action is acquired, whether a preset key burning strategy needs to be executed for automatic key burning can be determined according to the content.
It can be understood that a specific burn-in policy is preset in the action, so that when the action is executed, the preset burn-in policy can be executed to perform automatic burn-in.
Specifically, for example, assuming that the parser receives a response event for the intention of the second service, the method is specifically defined as follows:
Figure BDA0003718610900000131
optionally, in step S42, determining whether to execute a preset key burning policy to perform an automatic key burning operation according to the content of the action, including:
step S421, determining whether the content of the action is to perform automatic key burning.
Step S422, if the content of the action is to perform automatic key burning, a preset key burning policy is executed to perform automatic key burning operation.
In step S423, if the content of the action is not the automatic burning key, the burning key is exited.
In this embodiment, the content of the action is the action that needs to be executed by the second service, and therefore, it may be determined whether a preset burning policy needs to be executed to perform automatic burning operation by determining whether the content of the action is for performing automatic burning.
Specifically, for example, referring to fig. 3, when the content of the received action is an auto burn key, a preset burn key policy is executed to perform an automatic burn key operation; and when the content of the received action is not the autoburn key, not executing the preset key burning strategy, namely exiting the key burning.
In this embodiment, by defining a parser in the second service or intending to receive a response event, the second service may execute a corresponding method according to the communication message sent by the first service, thereby implementing cooperation between threads, and further ensuring the running time sequence between the two threads of the first service and the second service.
Further, an embodiment of the present invention further provides a television key burning device, as shown in fig. 4, the television key burning device of the present invention includes:
the starting module is used for starting predefined first service according to the starting broadcast of the television;
the state configuration module is used for configuring the state of the hotkey in the television based on the first service to obtain the state information of the hotkey;
the judging module is used for judging whether the television is in a production mode or not according to the state information;
and the key burning module is used for executing a preset key burning strategy to perform automatic key burning operation if the key burning module is used for executing the preset key burning strategy.
Preferably, the state configuration module is further configured to:
reading a first hotkey value in an environment variable stored in a television memory;
and configuring the value of the hotkey in the television system attribute according to the first hotkey value so as to complete the state configuration of the hotkey and obtain the state information of the hotkey.
Preferably, the apparatus further comprises:
a communication module to send an intent for communication to a predefined second service based on the first service.
Preferably, the burn key module is further configured to:
analyzing the intention through an analyzer in the second service to obtain an action in the intention;
and judging whether to execute a preset key burning strategy to perform automatic key burning operation according to the content of the action.
Preferably, the burn key module is further configured to:
judging whether the content of the action is to automatically burn a key or not;
if the content of the action is to perform automatic key burning, executing a preset key burning strategy to perform automatic key burning operation;
and if the content of the action is not the automatic burning key, quitting the burning key.
Preferably, the starting module is further configured to:
responding to a starting instruction of the television to start the second service;
alternatively, the first and second electrodes may be,
initiating the second service based on the intent sent by the first service.
Preferably, the determining module is further configured to:
acquiring a second hotspot value corresponding to the state information;
when the second hotkey value is a preset value, judging that the television is in the production mode;
and when the second hotkey value is not the preset value, judging that the television is in a normal use mode.
The steps implemented when the functional modules of the television key-burning device of the present invention operate may refer to the embodiments of the television key-burning method of the present invention, and are not described herein again.
Further, an embodiment of the present invention further provides a television key burning device, where the television key burning device includes: the method includes the steps of implementing the method for burning keys of a television provided in the above embodiment by using the program for burning keys of a television stored in the memory and capable of running on the processor, and the specific implementation steps may refer to the above embodiment and are not described herein again.
Further, an embodiment of the present invention further provides a computer-readable storage medium, where a television key burning program is stored in the computer-readable storage medium, and when the television key burning program is executed by a processor, the steps of the television key burning method provided in the foregoing embodiment are implemented, and specific implementation steps may refer to the foregoing embodiment, and are not described in detail herein.
The method, the device, the equipment and the computer-readable storage medium for burning the keys of the television provided by the embodiment of the invention are used for realizing the method for burning the keys of the television provided by the embodiment, and solving the problem that the conventional method for burning the keys of the television has a mode in which the television is easily misjudged and directly exits from burning the keys.
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.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. 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 server, or a network device) 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.

Claims (10)

1. A method for burning keys of a television is characterized by comprising the following steps:
starting a predefined first service according to the starting broadcast of the television;
configuring the state of a hotkey in the television based on the first service to obtain the state information of the hotkey;
judging whether the television is in a production mode or not according to the state information;
and if so, executing a preset key burning strategy to perform automatic key burning operation.
2. The method for burning keys on a television set according to claim 1, wherein the step of configuring the state of the hotkey in the television set based on the first service to obtain the state information of the hotkey comprises:
reading a first hotkey value in an environment variable stored in a television memory;
and configuring the value of the hotkey in the television system attribute according to the first hotkey value so as to complete the state configuration of the hotkey and obtain the state information of the hotkey.
3. The television burn-in method of claim 1, wherein prior to the step of performing an automatic burn-in operation for the preset burn-in policy, the method further comprises:
sending an intent for communication to a predefined second service based on the first service.
4. The television burn key method of claim 3, wherein prior to the step of performing an automatic burn key operation in accordance with a preset burn key policy, the method further comprises:
analyzing the intention through an analyzer in the second service to obtain an action in the intention;
and judging whether to execute a preset key burning strategy to perform automatic key burning operation according to the content of the action.
5. The method for burning keys on a television as claimed in claim 4, wherein the step of determining whether to execute the preset key burning strategy for automatic key burning operation according to the content of the action comprises:
judging whether the content of the action is to automatically burn keys or not;
if the content of the action is to perform automatic key burning, executing a preset key burning strategy to perform automatic key burning operation;
and if the content of the action is not the automatic burning key, quitting the burning key.
6. The television burn key method of claim 3 or 4 wherein prior to the step of sending the intent to communicate to a predefined second service based on the first service, the method further comprises:
responding to a starting instruction of the television to start the second service;
alternatively, the first and second electrodes may be,
initiating the second service based on the intent sent by the first service.
7. The method for burning a key on a television set according to claim 1, wherein the step of determining whether the television set is in a production mode according to the status information comprises:
acquiring a second hotspot value corresponding to the state information;
when the second hotkey value is a preset value, judging that the television is in the production mode;
and when the second hotkey value is not the preset value, judging that the television is in a normal use mode.
8. A television key device, the device comprising:
the starting module is used for starting predefined first service according to the starting broadcast of the television;
the state configuration module is used for configuring the state of the hotkey in the television based on the first service to obtain the state information of the hotkey;
the judging module is used for judging whether the television is in a production mode or not according to the state information;
and the key burning module is used for executing a preset key burning strategy to perform automatic key burning operation if the key burning module is used for executing the preset key burning strategy.
9. A television key device, characterized in that the device comprises: a memory, a processor, and a television burn key program stored on the memory and executable on the processor, the television burn key program configured to implement the steps of the television burn key method of any of claims 1-7.
10. A computer-readable storage medium, having a television burn key program stored thereon, which when executed by a processor, performs the steps of the television burn key method of any of claims 1-7.
CN202210745685.7A 2022-06-28 Television key burning method, device, equipment and computer readable storage medium Active CN115134667B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210745685.7A CN115134667B (en) 2022-06-28 Television key burning method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210745685.7A CN115134667B (en) 2022-06-28 Television key burning method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN115134667A true CN115134667A (en) 2022-09-30
CN115134667B CN115134667B (en) 2024-05-31

Family

ID=

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719355A (en) * 2009-11-27 2010-06-02 福建捷联电子有限公司 Method for reading serial number from liquid crystal display EDID and writing serial number in main board memory
CN103905631A (en) * 2012-12-31 2014-07-02 比亚迪股份有限公司 Mobile terminal and MEDOM chip and LINUX chip unified downloading method thereof
CN105245954A (en) * 2015-10-12 2016-01-13 Tcl集团股份有限公司 Smart television starting method and smart television starting device
CN109089108A (en) * 2018-08-15 2018-12-25 晶晨半导体(上海)股份有限公司 test method and system
CN113505105A (en) * 2021-06-23 2021-10-15 惠州Tcl云创科技有限公司 Factory setting restoration processing method and device for mobile terminal, mobile terminal and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719355A (en) * 2009-11-27 2010-06-02 福建捷联电子有限公司 Method for reading serial number from liquid crystal display EDID and writing serial number in main board memory
CN103905631A (en) * 2012-12-31 2014-07-02 比亚迪股份有限公司 Mobile terminal and MEDOM chip and LINUX chip unified downloading method thereof
CN105245954A (en) * 2015-10-12 2016-01-13 Tcl集团股份有限公司 Smart television starting method and smart television starting device
CN109089108A (en) * 2018-08-15 2018-12-25 晶晨半导体(上海)股份有限公司 test method and system
CN113505105A (en) * 2021-06-23 2021-10-15 惠州Tcl云创科技有限公司 Factory setting restoration processing method and device for mobile terminal, mobile terminal and medium

Similar Documents

Publication Publication Date Title
CN106201574B (en) Application interface starting method and device
CN106648685B (en) Intelligent terminal system application processing method and device and intelligent terminal
CN107577472B (en) Software installation method and device and computer readable storage medium
CN109067416B (en) Method for realizing hot plug and start of SIM card and intelligent hardware
EP2825956B1 (en) Method, apparatus and system of recovering an operating system on a portable communication device
KR20130142073A (en) Method and terminal for using mobile memory card to boot up mobile phone operating system
US9858400B2 (en) Information processing system, terminal, and authentication method
US10416751B2 (en) Power saving mode control method and device for multiple operating systems, and terminal
WO2017219482A1 (en) Starting method and device
CN112738046B (en) One-key login method, terminal and system server
WO2023065517A1 (en) Shortcut key control method for remote control device, device and storage medium
CN106686627B (en) WiFi/hotspot starting method and device
CN115134667B (en) Television key burning method, device, equipment and computer readable storage medium
CN108112052B (en) Terminal network sharing method and device, air conditioner and storage medium
CN115134667A (en) Television key burning method, device, equipment and computer readable storage medium
CN109840113B (en) Application data processing method and equipment, storage medium and terminal thereof
CN110659082A (en) Application program interface display method and device, terminal and storage medium
CN107977313B (en) Debugging interface calling method and device
CN110018918B (en) Method and device for repairing terminal abnormity, mobile terminal and storage medium
KR20210113595A (en) Anomaly handling method, terminal device and storage medium
CN107155164B (en) NFC power management apparatus and method
CN109660585B (en) Method, device, equipment and storage medium for calling AOP enhanced object service
CN113950044A (en) Method and device for identifying user identification card, terminal equipment and storage medium
CN109582586B (en) Application program advanced networking test method, device, server and storage medium
CN113543102A (en) Bluetooth connection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant