CN115134667B - 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
CN115134667B
CN115134667B CN202210745685.7A CN202210745685A CN115134667B CN 115134667 B CN115134667 B CN 115134667B CN 202210745685 A CN202210745685 A CN 202210745685A CN 115134667 B CN115134667 B CN 115134667B
Authority
CN
China
Prior art keywords
television
hotkey
key
burning
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.)
Active
Application number
CN202210745685.7A
Other languages
Chinese (zh)
Other versions
CN115134667A (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
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

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 a key of a television and a computer readable storage medium, and belongs to the technical field of televisions. The method starts the predefined first service according to the starting broadcast of the television; obtaining state information of the hotkey based on the state of hotkey in the television set configured by the first service; judging whether the television is in a production mode or not according to the state information; if yes, executing a preset key burning strategy to perform automatic key burning operation. The invention solves the problem that the existing television key burning method directly exits the key burning mode due to the mode of the television which is easy to misjudge, avoids the problem that the key burning mode is directly exited due to 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 present invention relates to the field of televisions, and in particular, to a method, an apparatus, a device, and a computer readable storage medium for burning a key on a television.
Background
In the production process of a television, in order to ensure that all functions of the television can be used normally, the television is usually required to be burned in advance, i.e. the key is burned in the television. Because the baking of the television is generally completed in the production process, when the television is in the baking mode, whether the television is in the production mode or the normal use mode is generally judged through hotkey (hot key or shortcut key), so as to judge whether the television is in the automatic baking mode or not, namely, the television is in the production mode and then the automatic baking is needed. Therefore, before the television sets the key automatically, the state of hotkey needs to be set.
However, in the non-real-time operating system, the running time sequence of each thread may be changed according to the state of the running environment, for example, the automatic key burning thread runs before the thread is configured in hotkey states, so that the television is misjudged to be in a normal use mode and the automatic key burning is exited.
Therefore, the existing television key burning method by adding the delay key burning flow to the automatic key burning service has the problem that the mode of the television is easy to misjudge and the key burning is directly exited.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a computer readable storage medium for burning a key of a television, and aims to solve the problem that the existing method for burning the key of the television has a mode of the television which is easy to misjudge and directly exits from the key burning.
In order to achieve the above purpose, the present invention provides a method for burning a key on a television, which comprises the following steps:
Starting a predefined first service according to the start-up broadcast of the television;
Obtaining state information of the hotkey based on the state of hotkey in the television set configured by the first service;
Judging whether the television is in a production mode or not according to the state information;
If yes, executing a preset key burning strategy to perform automatic key burning operation.
Optionally, the step of obtaining the state information of hotkey based on the state of hotkey in the television set configured by the first service includes:
reading a first hotkey value in an environment variable stored in the television memory;
and configuring a value of hotkey in the television system attribute according to the first hotkey value to complete the state configuration of hotkey to obtain the state information of hotkey.
Optionally, before the step of executing the preset key burning strategy to perform the automatic key burning operation, the method further includes:
an intent for communication is sent to a predefined second service based on the first service.
Optionally, before the step of executing the preset key burning strategy to perform the automatic key burning operation, the method further includes:
analyzing the intention through a resolver in the second service, and acquiring actions 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 the preset key burning strategy to perform the automatic key burning operation according to the content of the action includes:
Judging whether the content of the action is to perform automatic key burning;
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 to perform automatic key burning, exiting the key burning.
Optionally, before the step of sending an intent for communication 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;
Or alternatively
The second service is initiated 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 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.
In addition, in order to achieve the above object, the present invention further provides a device for baking a key of a television, the device comprising:
the starting module is used for starting a predefined first service according to the starting broadcast of the television;
A state configuration module, configured to obtain state information of the hotkey based on the state of hotkey in the television set configured by 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 yes.
In addition, in order to achieve the above object, the present invention further provides a television key baking device, which includes: the system comprises a memory, a processor and a television key program stored on the memory and capable of running on the processor, wherein the television key program is configured to realize the steps of the television key method.
In addition, in order to achieve the above object, the present invention further provides a computer readable storage medium, where a television key burning program is stored, where the television key burning program, when executed by a processor, implements the steps of the television key burning method as described above.
The method starts the predefined first service according to the starting broadcast of the television; obtaining state information of the hotkey based on the state of hotkey in the television set configured by the first service; judging whether the television is in a production mode or not according to the state information; if yes, executing a preset key burning strategy to perform automatic key burning operation.
According to the invention, the first service is started according to the start-up broadcast, the state information of hotkey is obtained based on the state of the first service configuration hotkey, whether the television is in the production mode is judged according to the state information of hotkey, and whether the key burning operation is performed or not is further determined, so that the state configuration of hotkey is ensured before the key burning operation is determined, namely the state configuration of hotkey and the running time sequence of two threads of automatic key burning are ensured. Compared with the existing television key burning method, the method has the advantages that the problem that the television is directly out of the key burning due to misjudgment of the mode of the television is avoided, and production efficiency is effectively improved.
Drawings
FIG. 1 is a schematic diagram of a television key device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart of a key burning method for a television according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a key burning method for a television according to an embodiment of the present invention;
fig. 4 is a schematic diagram of the functional module structure of a key burning device of a television according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by 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 "at … …" or "in response to a determination" depending on the context. The terms "or", "and/or", "including at least one of", and the like, as used herein, may 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, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order 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 stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily occurring in sequence, but may be performed alternately or alternately with other steps or at least a portion of the other steps or stages.
For a clearer understanding of technical features, objects, and effects of the present invention, a specific embodiment of the present invention will be described with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic diagram of a television key device in a hardware running 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 baking device may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further 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 high-speed random access Memory (Random Access Memory, RAM) Memory or a stable Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 does not constitute a limitation of the television key device, and may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
As shown in fig. 1, an operating system, a data storage module, a network communication module, a user interface module, and a television key program may be included in the memory 1005 as one type of storage medium.
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 performs the following operations:
Starting a predefined first service according to the start-up broadcast of the television;
Obtaining state information of the hotkey based on the state of hotkey in the television set configured by the first service;
Judging whether the television is in a production mode or not according to the state information;
If yes, executing a preset key burning strategy to perform automatic key burning operation.
Further, the processor 1001 may be configured to call 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 the television memory;
and configuring a value of hotkey in the television system attribute according to the first hotkey value to complete the state configuration of hotkey to obtain the state information of hotkey.
Further, the processor 1001 may be configured to call a television key program stored in the memory 1005, and further perform the following operations:
an intent for communication is sent to a predefined second service based on the first service.
Further, the processor 1001 may be configured to call 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, and acquiring actions 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 call a television key program stored in the memory 1005, and further perform the following operations:
Judging whether the content of the action is to perform automatic key burning;
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 to perform automatic key burning, exiting the key burning.
Further, the processor 1001 may be configured to call 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;
Or alternatively
The second service is initiated based on the intent sent by the first service.
Further, the processor 1001 may be configured to call 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.
Television key burning is usually completed in the production process, and television software is usually distinguished from a normal use mode by hotkey, so that in order to realize automatic key burning, the state configuration of hotkey in the television needs to be coordinated with two threads of the automatic key burning, namely, the state configuration of hotkey needs to be ensured to be completed before the automatic key burning. The existing television key burning method generally adds a delayed key burning flow to the service of automatic key burning to enable the automatic key burning flow to meet the time sequence of automatic key burning. However, in a non-real-time operating system, the running time sequence of each thread is not completely fixed, and may change according to the state of the running environment, in this case, the existing television key-burning method cannot guarantee the time sequence between the state configuration of hotkey and the automatic key-burning. For example, the automatic key burning may be started when the state configuration thread hotkey is not completed, and at this time, misjudgment that the television is in the normal mode and directly exits from the automatic key burning may occur, so that the key needs to be burned again, and the production efficiency is reduced. Therefore, the existing television key burning method has the problem that the mode of the television which is easy to misjudge is directly withdrawn from the key burning.
In order to solve the technical problems, the invention provides a television key burning method, which is applied to a television and comprises the following steps: starting a predefined first service according to the start-up broadcast of the television; obtaining state information of the hotkey based on the state of hotkey in the television set configured by the first service; judging whether the television is in a production mode or not according to the state information; if yes, executing a preset key burning strategy to perform automatic key burning operation.
According to the method, the first service is started according to the start-up broadcast, the state information of hotkey is obtained based on the state of the first service configuration hotkey, whether the television is in the production mode is judged according to the state information of hotkey, and whether key burning operation is performed or not is further determined, so that the state configuration of hotkey is ensured before the determination of whether key burning operation is performed or not, namely the state configuration of hotkey and the running time sequence of two threads of automatic key burning are ensured. Compared with the existing television key burning method, the method has the advantages that the problem that the television is directly out of the key burning due to misjudgment of the mode of the television is avoided, and production efficiency is effectively improved.
Referring to fig. 2, fig. 2 is a schematic flow chart of an embodiment of a method for burning a key on a television according to the present invention.
In this embodiment, the method for burning key on a television set includes:
Step S10, starting a predefined first service according to the power-on broadcast of the television.
In this embodiment, the execution body is a television, and the predefined first service is a service for implementing state configuration of the 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 for a state configuration of hotkey.
Specifically, for example, the predefined first service is the broadcast receiver b, and the predefined method of the broadcast receiver is as follows:
step S20, obtaining state information of the hotkey based on the state of hotkey in the television set configured by the first service.
In this embodiment, the first service includes a processing flow for receiving the startup broadcast, so that the first service may execute the processing flow after receiving the startup broadcast and starting. Since the process flow includes the state configuration hotkey, the state of the television hotkey may be configured based on the first service.
Hotkey are hot keys or shortcut keys for distinguishing whether the television is in a production mode or a normal use mode, wherein the production mode indicates that the television needs to be subjected to key burning at the moment; in normal use mode means that the television does not need to be key burned at this time. The state hotkey can be divided into an on state and an off state, and the mode in which the television is located can be determined according to the state hotkey.
Hotkey is the state of hotkey after configuration is completed.
Optionally, step S20, obtaining the state information of hotkey based on the state of hotkey in the television set configured by the first service includes:
step S21, reading a first hotkey value in the environment variable stored in the television memory.
In this embodiment, environment variables generally refer to parameters used in an operating system to specify the operating system operating 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 defined by the MMC association, mainly for products such as mobile phones or tablet computers. The eMMC integrates a controller in the package, provides a standard interface and manages the flash memory so that the handset manufacturer can concentrate on other parts of the product development and shorten the time to market out the product.
Since the first hotkey value is stored in memory, it is not susceptible to changes in the state of the operating environment.
It should be noted that, at the time of production, it is generally necessary to pre-prepare the state of hotkey of each motherboard to a specific state, for example, to on (i.e., open state), so that consistency of the state of hotkey of each motherboard when it enters production can be ensured.
Step S22, configuring a value of hotkey in the television system attribute according to the first hotkey value, so as to complete the state configuration of hotkey and obtain the state information of hotkey.
In this embodiment, the value of hotkey in the television system attribute is configured according to the first hotkey value, that is, the value of hotkey in the television system attribute is changed to be consistent with the first hotkey value, so that the state configuration of hotkey is completed, and the state information of hotkey can be obtained according to the value of hotkey in the configured television system attribute.
The state information of hotkey, i.e., whether hotkey is in an on state or an off state, may be obtained hotkey by obtaining the value of hotkey, e.g., when the value of hotkey is on, then the state of hotkey is in an on state.
For better understanding, for example, assuming that the first hotkey value is hk (specific naming can be customized), the value of hk in the emc environment variable is obtained, if the obtained hk=on, hotkey =on in the television system attribute is enabled, so that the state configuration of hotkey is completed, and then the state information of hotkey is in an on state.
The embodiment achieves hotkey state configuration by obtaining the first hotkey values in the memory environment variables, and is beneficial to the accuracy of hotkey state configuration because parameters in the environment variables are not easily affected by running environment state changes.
And step S30, judging whether the television is in a production mode or not 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 hotkey is in the on state or the off state.
Specifically, for example, when hotkey is in the on state, it indicates that the television is in the production mode; when hotkey is in the off state, it indicates that 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 is understood that in some possible embodiments, other names may be used instead of the production mode or directly determine whether the television needs to be burned automatically.
Optionally, step S30, determining whether the television is in a production mode according to the status information, includes:
step S31, obtaining a second hotkey value corresponding to the state information.
In this embodiment, to distinguish the different states of hotkey, hotkey is typically set to a different value, i.e., the different state information of hotkey typically corresponds to a different hotkey value, so that the corresponding value of hotkey, i.e., the second hotkey value, can be obtained by the state information. For example, when hotkey is in the on state, the corresponding second hotkey value is on; when hotkey is off, the corresponding second hotkey value is off.
And step S32, when the second hotkey value is the preset value, judging that the television is in the production mode.
In this embodiment, the preset value may be defined by itself, for example, the preset value is set to on, and when the second hotkey value is on, it may be determined that the television is in the production mode, that is, the automatic key burning is required.
And judging that the television is in the production mode, and indicating that automatic key burning is needed for the television at the moment. It will be appreciated that the production mode may also be referred to by other names, only by indicating that the television is still in the process of production and automatic key burning is required.
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 is indicated that the television has been shipped out of the factory and is in the normal use state of the user, and automatic key burning is not required for the television. It will be appreciated that the normal usage mode may also be referred to by other names, only indicating that the television is not in the process of production at this time, and no automatic key burning is required.
In this embodiment, the mode of the television is determined by obtaining the value of hotkey corresponding to the state information hotkey, so as to determine whether the television needs to be key-burned.
And S40, if yes, executing a preset key burning strategy to perform automatic key burning operation.
In this embodiment, if yes, it is indicated that the television is in the production mode, that is, automatic key burning is required, so that a preset key burning strategy is required to be executed to burn the key of the television. The key burning refers to key or verification code burning.
It should be noted that, the key burning operation is performed on the television after the configuration of hotkey is completed, and the key is focused on ensuring the operation time sequence. Therefore, the specific key burning strategy, namely the method for realizing automatic key burning on the television, can directly use the mature technology in the prior art, and is not limited in the scheme.
According to the embodiment, the first service is started according to the power-on broadcast, the state information of hotkey is obtained based on the state of the first service configuration hotkey, whether the television is in the production mode is judged according to the state information of hotkey, and whether the key burning operation is performed or not is further determined, so that the state configuration of hotkey is ensured before whether the key burning operation is performed or not is determined, namely, the state configuration of hotkey and the running time sequence of two threads of automatic key burning are ensured. Compared with the existing television key burning method, the method has the advantages that the problem that the television is directly out of the key burning due to misjudgment of the mode of the television is avoided, and production efficiency is effectively improved.
Further, in another embodiment of the present invention, step S40, before executing the preset key burning policy to perform the automatic key burning operation, the method further includes:
Step S50, transmitting an intention for communication to a predefined second service based on the first service.
In this embodiment, the predefined second service is configured to respond to the intention sent by the first service, and determine whether to perform a preset key burning policy to burn a key on the television based on the intention, where the naming of the second service may be customized by the user.
Specifically, for example, assuming that the second service is an auto-burn key service S, the predefined method is as follows:
<service android:name=".service.s"/>
the intention is to be an intent, which may also be referred to as a purpose, and may be understood as a "medium" or "messenger" of communication between different components. In the invention, the intention is to predefine a thread communication mode between the first service and the second service, namely, the first service informs the second service of executing a preset key burning strategy through the intention so as to perform automatic key burning operation.
The first service defines a corresponding broadcast receiving response event, so that after the hotkey is configured, the television is determined to be in a production mode, namely, when automatic key burning is needed, the intention is sent to the second service.
Specifically, for example, a broadcast reception response event defining the first service is as follows:
Optionally, in step S50, before the first service sends the intention for communication to the predefined second service, the method comprises:
step S60, responding to the starting instruction of the television to start the second service;
Or to initiate the second service 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 a start-up instruction, that is, after the start-up of the motor or the start-up of the system is detected, the second service is started in advance; the second service may also be started based on the intention of the first service to send, i.e. after the first service has been configured hotkey and it is determined that an automatic key burning is required.
Specifically, for example, a specific method for predefining the second service s for startup is as follows:
According to the embodiment, after the automatic key burning of the television is required to be carried out on the basis of the first service is configured hotkey, the intention is sent to the second service, so that the second service can carry out the automatic key burning service, after the intention is received, whether the automatic key burning is carried out or not can be judged, the thread cooperation is realized by using a thread communication mode, and the configuration of hotkey and the operation time sequence of the automatic key burning are ensured.
Further, in another embodiment of the present invention, step S40 of executing a preset key burning policy to perform an automatic key burning operation includes:
Step S41, analyzing the intention through a resolver in the second service, and acquiring an action in the intention.
In this embodiment, when the second service receives the intention sent by the first service, the parser parses the intention to obtain an action in the intention, and the parser may also understand that the intention is predefined in the second service to receive a response event, and the naming of the response event may be defined by the user. The action may also be called action, and the action required to be executed is determined by the second service, and the action required to be executed is specific content.
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 obtained, it may be determined whether a preset key burning policy needs to be executed according to the content of the action to perform automatic key burning.
It can be appreciated that a specific key burning strategy is preset in the action, so that when the action is executed, the preset key burning strategy can be executed to automatically burn the key.
Specifically, for example, assuming that the parser is intended to receive response events for the second service, a specific definition method is as follows:
optionally, step S42 is executed to determine 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, judging 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, executing a preset key burning strategy to perform automatic key burning operation.
Step S423, if the content of the action is not to perform automatic key burning, the key burning is exited.
In this embodiment, the content of the action is the action required to be executed by the second service, so that it can be determined whether the preset key burning policy needs to be executed to perform the automatic key burning operation by whether the content of the action is to perform the automatic key burning.
Specifically, for example, referring to fig. 3, when the content of the received action is autoburnkey, executing a preset key burning strategy to perform automatic key burning operation; when the content of the received action is not autoburnkey, the preset key burning strategy is not executed, namely the key burning is exited.
According to the embodiment, the parser is defined in the second service or the response event is intended to be received, so that the second service can execute a corresponding method according to the communication message sent by the first service, coordination among threads is realized, and the operation time sequence between the two threads of the first service and the second service is further ensured.
Further, an embodiment of the present invention further provides a key baking device for a television, as shown in fig. 4, where the key baking device for a television of the present invention includes:
the starting module is used for starting a predefined first service according to the starting broadcast of the television;
A state configuration module, configured to obtain state information of the hotkey based on the state of hotkey in the television set configured by 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 yes.
Preferably, the state configuration module is further configured to:
reading a first hotkey value in an environment variable stored in the television memory;
and configuring a value of hotkey in the television system attribute according to the first hotkey value to complete the state configuration of hotkey to obtain the state information of hotkey.
Preferably, the apparatus further comprises:
A communication module for sending 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 a resolver in the second service, and acquiring actions 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 perform automatic key burning;
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 to perform automatic key burning, exiting the key burning.
Preferably, the starting module is further configured to:
responding to a starting instruction of the television to start the second service;
Or alternatively
The second service is initiated based on the intent sent by the first service.
Preferably, the judging module is further configured to:
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 steps implemented by each functional module of the above-mentioned television key-burning device in the present invention during operation may refer to each embodiment of the above-mentioned television key-burning method in the present invention, and will not be described herein again.
Further, the embodiment of the invention also provides a television key burning device, which comprises: the memory, the processor, and the television key-burning program stored in the memory and capable of running on the processor, where the television key-burning program is configured to implement the steps of the television key-burning method provided in the above embodiment, and the specific implementation steps may refer to the above embodiment and are not repeated herein.
Further, an embodiment of 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 provided in the foregoing embodiment are implemented, and the specific implementation steps may refer to the foregoing embodiment and are not repeated herein.
The method, the device, the equipment and the computer readable storage medium for burning the key of the television provided by the embodiment of the invention are used for realizing the method for burning the key of the television provided by the embodiment of the invention, solve the problem that the mode of the television which is easy to misjudge exists in the existing method for burning the key of the television and directly exit the key, and compared with the prior art, the method, the device, the equipment and the computer readable storage medium for burning the key of the television provided by the embodiment of the invention have the same beneficial effects as the method for burning the key of the television provided by the embodiment of the invention, and are not repeated herein.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (9)

1. The television key burning method is characterized by comprising the following steps of:
Starting a predefined first service according to the start-up broadcast of the television;
Obtaining state information of the hotkey based on the state of hotkey in the television set configured by the first service;
Judging whether the television is in a production mode or not according to the state information;
If yes, executing a preset key burning strategy to perform automatic key burning operation;
The step of obtaining the state information of hotkey based on the state of hotkey in the television set configured by the first service includes:
reading a first hotkey value in an environment variable stored in the television memory;
and configuring a value of hotkey in the television system attribute according to the first hotkey value to complete the state configuration of hotkey to obtain the state information of hotkey.
2. The television key burning method of claim 1, wherein prior to the step of performing the preset key burning strategy to perform the automatic key burning operation, the method further comprises:
an intent for communication is sent to a predefined second service based on the first service.
3. The television key burning method of claim 2, wherein before the step of performing the preset key burning strategy to perform the automatic key burning operation, the method further comprises:
analyzing the intention through a resolver in the second service, and acquiring actions 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.
4. The method for burning key on a television set as claimed in claim 3, wherein the step of determining whether to execute a 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 perform automatic key burning;
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 to perform automatic key burning, exiting the key burning.
5. A television key burning method according to claim 2 or 3, wherein before the step of sending an intention for communication 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;
Or alternatively
The second service is initiated based on the intent sent by the first service.
6. The method of claim 1, wherein the step of determining whether the television is in a production mode based on the status information comprises:
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.
7. A television key burning apparatus, the apparatus comprising:
the starting module is used for starting a predefined first service according to the starting broadcast of the television;
A state configuration module, configured to obtain state information of the hotkey based on the state of hotkey in the television set configured by 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;
The key burning module is used for executing a preset key burning strategy to perform automatic key burning operation if yes;
The state configuration module is further configured to:
reading a first hotkey value in an environment variable stored in the television memory;
and configuring a value of hotkey in the television system attribute according to the first hotkey value to complete the state configuration of hotkey to obtain the state information of hotkey.
8. A television key burning apparatus, the apparatus comprising: memory, a processor and a television key program stored on the memory and executable on the processor, the television key program being configured to implement the steps of the television key method of any of claims 1 to 6.
9. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a television key burning program, which when executed by a processor, implements the steps of the television key burning method according to any of claims 1 to 6.
CN202210745685.7A 2022-06-28 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 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 2022-06-28 Television key burning method, device, equipment and computer readable storage medium

Publications (2)

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

Family

ID=83380911

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN115134667B (en)

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

Also Published As

Publication number Publication date
CN115134667A (en) 2022-09-30

Similar Documents

Publication Publication Date Title
US20140208328A1 (en) Method for terminal acceleration, terminal and storage medium
CN107832100B (en) APK plug-in loading method and terminal thereof
CN109542744B (en) Method, device, storage medium and terminal for detecting abnormal starting problem of terminal
CN106201574B (en) Application interface starting method and device
US9204027B2 (en) Method for photographing processing and terminal device
US20220248123A1 (en) Wireless earphone serial port control method and apparatus, wireless earphone, and storage medium
WO2013182157A1 (en) Application program processing method and device
CN112738046B (en) One-key login method, terminal and system server
CN111488207A (en) Application process keep-alive method, device, network equipment and storage medium
CN105656894A (en) Main control intelligent terminal, controlled intelligent terminal and monitoring method
CN108268261B (en) UI (user interface) customization method of intelligent terminal, storage medium and intelligent terminal
CN106686627B (en) WiFi/hotspot starting method and device
CN111435318A (en) Dex optimization method of application program and terminal
CN107466022B (en) SIM card switching method, mobile terminal and storage medium
CN115134667B (en) Television key burning method, device, equipment and computer readable storage medium
CN110659082A (en) Application program interface display method and device, terminal and storage medium
CN108112052B (en) Terminal network sharing method and device, air conditioner and storage medium
CN109840113B (en) Application data processing method and equipment, storage medium and terminal thereof
JP2007336229A (en) Electronic apparatus and program
CN107704279B (en) Data loading method and device
CN113110901B (en) Desktop locking control method and device
CN112269991A (en) Malicious application detection method and device, electronic equipment and medium
CN109144446B (en) Image display method, image display device, electronic equipment and computer readable storage medium
CN106055392A (en) Processing method after application enters background, test method, and terminals
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
GR01 Patent grant