CN108683930B - Digital television, initialization method and device of interface of digital television and readable storage medium - Google Patents

Digital television, initialization method and device of interface of digital television and readable storage medium Download PDF

Info

Publication number
CN108683930B
CN108683930B CN201810390635.5A CN201810390635A CN108683930B CN 108683930 B CN108683930 B CN 108683930B CN 201810390635 A CN201810390635 A CN 201810390635A CN 108683930 B CN108683930 B CN 108683930B
Authority
CN
China
Prior art keywords
card information
information structure
digital television
conditional access
read
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
CN201810390635.5A
Other languages
Chinese (zh)
Other versions
CN108683930A (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.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network Technology 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 Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN201810390635.5A priority Critical patent/CN108683930B/en
Publication of CN108683930A publication Critical patent/CN108683930A/en
Application granted granted Critical
Publication of CN108683930B publication Critical patent/CN108683930B/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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/418External card to be used in combination with the client device, e.g. for conditional access
    • H04N21/4181External card to be used in combination with the client device, e.g. for conditional access for conditional access
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/418External card to be used in combination with the client device, e.g. for conditional access
    • H04N21/4184External card to be used in combination with the client device, e.g. for conditional access providing storage capabilities, e.g. memory stick
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof

Abstract

The invention discloses a digital television, an initialization method and device of an interface of the digital television and a readable storage medium, wherein a stored card information structure of a conditional access module is obtained when the digital television is started; configuring a register according to a card information structure; switching the digital television interface into an input/output mode, executing an initialization process of the digital television interface, and ending the initialization process when the initialization is successful; and when the initialization is abnormal, reading the card information structure of the conditional access module inserted into the current digital television interface, updating the currently stored card information structure by using the read card information structure, and configuring the register according to the read card information structure again. In the initialization process of the digital television interface, the card information structure of the condition receiving module is not required to be read every time, but the stored card information structure is directly adopted for relevant configuration, so that the initialization speed of hardware is improved, the time from starting to playing programs is shortened, and better watching experience is provided for users.

Description

Digital television, initialization method and device of interface of digital television and readable storage medium
Technical Field
The invention relates to the technical field of digital televisions, in particular to a digital television, an interface initialization method and device thereof and a readable storage medium.
Background
The digital television is used in cooperation with a Conditional Access Module (CAM for short), so that accessory equipment such as a set top box and an additional remote controller can be omitted, and the digital television is safer, more convenient and more popular with more and more users. The condition receiving module is matched with the digital television for use, and a user can watch the pay digital television program by inserting the CAM card into a PCMCIA interface of the digital television and automatically configuring the digital television.
The digital television starting/card inserting has a fixed starting process to play the scrambling program, firstly PCMCIA interface initialization is completed, physical link is established with CICAM, and effective application data communication is carried out between the PCMCIA interface initialization and the CICAM through a transmission layer, a session layer and an application layer, and then the scrambling program is played. In the initialization process of the PCMCIA interface, a Card Information Structure (CIS) of the CICAM needs to be read, so as to configure a register. However, the efficiency of reading the CIS is low in the whole initialization process, and the information of 150Bytes needs to be read in more than 3 seconds, which directly causes the phenomenon of slow hardware initialization and does not meet the higher requirements of users on the starting speed and the response time.
Disclosure of Invention
The invention provides a digital television, an interface initialization method and device thereof and a readable storage medium, which are used for accelerating the initialization speed of a digital television interface.
In a first aspect, the present invention provides a method for initializing a digital television interface, where a conditional access module is inserted into the digital television interface, and the method includes:
the method comprises the following steps: when the terminal is started, acquiring a stored card information structure of the condition receiving module;
step two: configuring a register according to the card information structure;
step three: switching the digital television interface into an input/output mode, executing an initialization process of the digital television interface, and executing a fourth step when the initialization is successful; when the initialization is abnormal, executing a fifth step;
step four: finishing the initialization process;
step five: and reading the card information structure of the conditional access module inserted into the digital television interface at present, updating the currently stored card information structure by using the read card information structure, and turning to the step two.
In an implementable embodiment, in the above method provided by the present invention, in the first step, when the obtaining of the stored card information structure of the conditional access module fails, the card information structure of the conditional access module currently inserted by the digital television interface is read, the read card information structure is stored, or the currently stored card information structure is updated with the read card information structure.
In a second aspect, the present invention provides a method for initializing a digital television interface, where a conditional access module is inserted into the digital television interface, the method including:
the method comprises the following steps: when the terminal is started, acquiring a stored card information structure of the condition receiving module;
step two: configuring a register according to the card information structure;
step three: switching the digital television interface into an input/output mode, and reading a card information structure of a conditional access module inserted into the digital television interface;
step four: verifying whether the read card information structure is consistent with the currently stored card information structure, and executing a fifth step when the read card information structure is consistent with the currently stored card information structure; when the verification is inconsistent, executing a step six;
step five: executing an initialization process of the digital television interface;
step six: and updating the currently stored card information structure by using the read card information structure, and turning to the step two.
In an implementable embodiment, in the above method provided by the present invention, in the first step, when the obtaining of the stored card information structure of the conditional access module fails, the card information structure of the conditional access module currently inserted by the digital television interface is read, the read card information structure is stored, or the currently stored card information structure is updated with the read card information structure.
In an implementable implementation manner, in the foregoing method provided by the present invention, in the first step, when the obtaining of the stored card information structure of the conditional access module is successful, the storage flag bit is set to a valid value;
in step three, the reading of the card information structure of the conditional access module currently inserted by the digital television interface includes:
and reading the card information structure of the conditional access module inserted into the digital television interface when the storage flag bit is an effective value.
In a third aspect, the present invention provides an initialization apparatus for a digital television interface, including:
the first acquisition module is used for acquiring the stored card information structure of the conditional access module when the computer is started;
the first configuration module is used for configuring the register according to the card information structure;
the first initialization module is used for switching the digital television interface into an input/output mode, executing an initialization process of the digital television interface, and ending the initialization process when the initialization is successful; when the initialization is abnormal, the first obtaining module is further configured to read a card information structure of the conditional access module currently inserted by the digital television interface, and update the currently stored card information structure with the read card information structure.
In a fourth aspect, the present invention provides an initialization apparatus for a digital television interface, including:
the second acquisition module is used for acquiring the stored card information structure of the conditional access module when the computer is started;
the second configuration module is used for configuring the register according to the card information structure;
the second initialization module is used for switching the digital television interface into an input/output mode; the second obtaining module is further configured to read a card information structure of the conditional access module currently inserted by the digital television interface; the second initialization module is further used for verifying whether the read card information structure is consistent with the currently stored card information structure, and when the read card information structure is consistent with the currently stored card information structure, the second initialization module executes the initialization process of the digital television interface; and when the verification is inconsistent, the second obtaining module is further used for updating the currently stored card information structure by using the read card information structure.
In a fifth aspect, the present invention provides a digital television comprising:
a first memory for storing program instructions;
a first processor, configured to call the program instruction stored in the first memory, and execute, according to the obtained program: when the terminal is started, acquiring a stored card information structure of the condition receiving module; configuring a register according to the card information structure; switching the digital television interface into an input/output mode, executing an initialization process of the digital television interface, and ending the initialization process when the initialization is successful; and when the initialization is abnormal, reading the card information structure of the conditional access module inserted into the digital television interface, updating the currently stored card information structure by using the read card information structure, and configuring the register according to the card information structure again.
In a sixth aspect, the present invention provides a digital television comprising:
a second memory for storing program instructions;
a second processor, configured to call the program instruction stored in the second memory, and execute, according to the obtained program: when the computer is started, acquiring the card information structure of the stored conditional access module; configuring a register according to the card information structure; switching the digital television interface into an input/output mode, and reading a card information structure of a conditional access module inserted into the digital television interface; verifying whether the read card information structure is consistent with the currently stored card information structure, and executing an initialization process of the digital television interface when the card information structure is consistent with the currently stored card information structure; and when the inconsistency is verified, updating the currently stored card information structure by using the read card information structure, and configuring the register according to the card information structure again.
In a seventh aspect, the present invention provides a readable storage medium, where the readable storage medium stores digital television executable instructions, where the digital television executable instructions are configured to cause a digital television to perform any one of the methods described above.
In the digital television, the initialization method and device of the interface thereof and the readable storage medium provided by the invention, the stored card information structure of the conditional access module is obtained when the digital television is started; configuring a register according to a card information structure; switching the digital television interface into an input/output mode, executing an initialization process of the digital television interface, and ending the initialization process when the initialization is successful; and when the initialization is abnormal, reading the card information structure of the conditional access module inserted into the current digital television interface, updating the currently stored card information structure by using the read card information structure, and configuring the register according to the read card information structure again. In the initialization process of the digital television interface, the card information structure of the condition receiving module is not required to be read every time, but the stored card information structure is directly adopted for relevant configuration, so that the initialization speed of hardware is greatly improved, the time from starting to playing programs is shortened, and better watching experience is provided for users.
Or, the digital television, the initialization method and device of the interface thereof, and the readable storage medium provided by the invention can also obtain the card information structure of the stored conditional access module when the digital television is started; configuring a register according to a card information structure; switching the digital television interface into an input/output mode, and reading a card information structure of a conditional access module inserted into the current digital television interface; verifying whether the read card information structure is consistent with the currently stored card information structure, and executing an initialization process of the digital television interface when the read card information structure is consistent with the currently stored card information structure; and when the inconsistency is verified, updating the currently stored card information structure by using the read card information structure, and configuring the register according to the card information structure again. Because the speed of reading the card information structure of the condition receiving module in the input and output mode is much higher, compared with the prior art that the card information structure of the condition receiving module is read in the storage mode for relevant configuration, the method provided by the invention has higher initialization efficiency, accelerates the process from starting to playing programs and improves the user experience.
Drawings
Fig. 1 is a flowchart of an initialization method of a digital television interface according to an embodiment of the present invention;
fig. 2 is a second flowchart of an initialization method of a digital television interface according to an embodiment of the present invention;
fig. 3 is a third flowchart of an initialization method of a digital television interface according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an initialization apparatus of a digital television interface according to an embodiment of the present invention;
fig. 5 is a second schematic structural diagram of an initialization apparatus of a digital television interface according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a digital television according to an embodiment of the present invention;
fig. 7 is a second schematic structural diagram of a digital television according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The digital television provided by the embodiment of the invention is a digital television all-in-one machine, and comprises a PCMCIA interface, wherein a condition receiving module CICAM is inserted into the PCMCIA interface, and after the digital television is started, programs can be normally played after the initialization process of hardware and the communication of application data between software of a digital television system and the CICAM are carried out. In the prior art, the time for inserting the CICAM into the PCMCIA interface of the digital television to complete the initialization process of the interface is at least 6 seconds, and the time for completing the communication of the application data to play the scrambled program is 12 seconds, that is, 18 seconds are needed to play the program at the fastest after the start-up, and the user needs to wait for a long time to watch the television program after executing the start-up action, so that the watching experience needs to be improved.
In view of this, an embodiment of the present invention provides an initialization method for a digital television interface, where a conditional access module is inserted into the digital television interface; fig. 1 shows a schematic flowchart of an initialization method for a digital television interface according to an embodiment of the present invention, and as shown in fig. 1, the method specifically includes:
s101: when starting up, obtaining the card information structure of the stored condition receiving module;
s102: configuring a register according to a card information structure;
s103: switching the digital television interface into an input/output mode, executing an initialization process of the digital television interface, and executing S104 when the initialization is successful; when the initialization is abnormal, executing S105;
s104: finishing the initialization process;
s105: and reading the card information structure of the conditional access module inserted into the current digital television interface, updating the currently stored card information structure by using the read card information structure, and turning to S102.
The Card Information Structure (CIS) is configuration information for register configuration of the digital television universal interface, and is acquired when the PCMCIA is initialized, and the offset (COR offset) of the register and the configuration table index byte (TPCE _ INDX) are configured. In practical application, the configuration process of the register is performed in a storage Mode (memorylmode), and after the configuration of the register is completed, the register is switched to an input/output Mode (I/O Mode) to perform configuration of other parameters, thereby completing initialization of the digital television interface. However, the slow speed of reading the card information structure CIS of the conditional access module CICAM in the storage mode affects the fact that the whole boot process takes a long time to play the program. Therefore, in the embodiment of the present invention, the card information structure of the conditional access module is stored in advance, and the boot program is changed accordingly, so that the digital television directly acquires the stored card information structure after being turned on to configure the register, and even if the process is still performed under the memorylmode, the process can be completed only within several milliseconds. In practical application, after the user inserts the CICAM into the PCMCIA interface of the digital television, the CICAM is generally not changed, so that the starting speed is greatly increased under the condition except the condition of starting for the first time, and the configuration of the playing program can be finished within 12 seconds at the fastest speed.
In the specific implementation process, the action of storing the CIS of the CICAM can be manually stored in a flash memory (flash), and can also be read and stored in the flash memory and a system memory when the CICAM is started for the first time after the CICAM is inserted into the digital television. Then, in the case of the first startup after the CICAM is inserted into the digital television, it may fail to acquire the stored card information structure of the conditional access module, and therefore, in the above-mentioned embodiment of the present invention, in S101, when the acquisition of the stored card information structure of the conditional access module fails, the card information structure of the conditional access module inserted into the current digital television interface is read, and the read card information structure is stored.
For example, when a user inserts the CICAM into a PCMCIA interface of the digital television and starts the digital television for the first time, and the acquisition of the stored CIS information fails, that is, when the CIS is not stored in the flash memory, the CIS is directly read from the CICAM and stored in the flash memory and the memory, and the initialization is performed according to the read CIS. In the second and later starting process of each time, the system automatically acquires the stored CIS and performs initialization configuration according to the acquired CIS, so that the speed of initializing a subsequent interface is increased.
In another possible case, when the stored card information structure is obtained, and the obtaining operation fails due to a process error, the card information structure of the conditional access module inserted into the current digital television interface may be read, and the read card information structure may be used to update the currently stored card information structure.
In the case of replacing the CICAM halfway during the use of the user, the system acquires the stored CIS to perform initialization configuration, but the CIS does not match the currently inserted CIS of the CICAM, which may cause an initialization abnormality. Then the system will start the process at this moment, read the card information structure of the condition receiving module inserted in the current digital television interface again, and carry on the initialization configuration according to the card information structure, can still start the system normally finally. And when reading a new CIS, updating the currently stored CIS by using the newly read CIS, and when starting up next time, acquiring the updated CIS. The situation that the CICAM is replaced by the user in the midway does not occur frequently in practical application, so that the method provided by the embodiment of the invention can effectively improve the initialization speed of hardware, thereby improving the user experience.
In order to solve the same technical problem, an embodiment of the present invention further provides another method for initializing a digital television interface, where a conditional access module is inserted into the digital television interface, and as shown in fig. 2, the method specifically includes:
s201: when starting up, obtaining the card information structure of the stored condition receiving module;
s202: configuring a register according to a card information structure;
s203: switching the digital television interface into an input/output mode, and reading a card information structure of a conditional access module inserted into the current digital television interface;
s204: verifying whether the read card information structure is consistent with the currently stored card information structure, and executing S205 when the read card information structure is consistent with the currently stored card information structure; when the inconsistency is verified, S206 is executed;
s205: executing an initialization process of the digital television interface;
s206: the currently stored card information structure is updated with the read card information structure, and the process goes to S202.
In the embodiment of the invention, the card information structure of the conditional access module is pre-stored, and when the device is started, the stored card information structure is directly acquired to configure the register without reading the card information structure in the conditional access module, thereby accelerating the initialization speed of the PCMCIA interface. After the digital television interface is switched to the input/output Mode (I/O Mode), the card information structure of the conditional access module inserted into the current digital television interface is read, and the card information structure is used to verify whether the stored card information structure is correct, that is, whether the read card information structure is consistent with the currently stored card information structure. The speed of reading the card information structure at I/O Mode is much faster than that at Memory Mode. Therefore, the initialization process of the digital television interface can be completed quickly when the verification is successful, so that the time consumed in the whole process from starting to playing the program is shortened, and the watching experience of a user is improved.
If the user replaces the CICAM in the middle of the use process, the stored CIS is the CIS of the CICAM used before, so that the verification fails, and the read CIS can be directly used for reconfiguring the register and carrying out subsequent initialization processes. Meanwhile, the previously stored CIS needs to be updated by the read CIS, so that the updated CIS can be directly acquired for an initialization process when the computer is started next time, and the initialization speed is increased. Specifically, the CIS stored in the flash memory and the current system memory may be cleared, and the read CIS may be stored in the flash memory and the memory for use.
Similarly, the CIS of the CICAM may be manually stored in the flash memory, or may be read and stored in the flash memory and the system memory when the CICAM is first powered on after the digital television is inserted into the CICAM. Then, in the case of the first startup after the CICAM is inserted into the digital television, it may fail to acquire the stored card information structure of the conditional access module, and therefore, in the above-mentioned embodiment of the present invention, in S101, when the acquisition of the stored card information structure of the conditional access module fails, the card information structure of the conditional access module inserted into the current digital television interface is read, and the read card information structure is stored. In addition, if the process of acquiring the stored card information structure is wrong, so that the acquisition action is failed, the card information structure of the conditional access module inserted into the current digital television interface can be read, and the read card information structure is used for updating the currently stored card information structure.
In practical applications, a storage flag bit may be set, and whether the CIS is present in the flash memory may be identified by setting the storage flag bit value. Specifically, in the above step S201, when the card information structure of the stored conditional access module is successfully acquired, the storage flag bit may be set to a valid value; the process continues to step S202. Further, in step S203, when it is determined that the storage flag bit is an effective value, the card information structure of the conditional access module inserted into the current digital television interface is read; and if the storage flag bit is determined not to be the valid value, the obtained CIS is not the previously stored CIS, and the obtained CIS is the CIS read in the CICAM inserted into the current digital television interface.
For example, an embodiment of the present invention provides an initialization method for a digital television interface, where a storage flag bit value of 1 is a valid value. As shown in fig. 3, the method may specifically include:
s301: when starting up, obtaining the card information structure of the stored condition receiving module; when the acquisition is successful, executing S302; when the acquisition fails, S310 is executed;
s302: setting a storage flag bit value to 1;
s303: configuring a register according to a card information structure;
s304: switching the digital television interface into an input/output mode, and executing an initialization process of the digital television interface;
s305: determining whether a storage flag bit value is 1; when the storage flag value is 1, executing S306; when the storage flag value is 0, S308 is executed;
s306: reading a card information structure of a conditional access module inserted into a current digital television interface;
s307: verifying whether the read card information structure is consistent with the currently stored card information structure; when the consistency is verified, executing S308; when the inconsistency is verified, S309 is executed;
s308: finishing;
s309: updating the currently stored card information structure with the read card information structure, and executing S301;
s310: reading the card information structure of the conditional access module inserted by the current digital television interface, updating the currently stored card information structure with the read card information structure, and setting the storage flag value to 0, and executing S303.
Based on the same inventive concept, an embodiment of the present invention further provides an initialization apparatus for a digital television interface, as shown in fig. 4, the apparatus includes:
a first obtaining module 41, configured to obtain a card information structure of the stored conditional access module when the device is started;
a first configuration module 42, configured to configure the register according to the card information structure;
a first initialization module 43, configured to switch the digital television interface into an input/output mode, execute an initialization process on the digital television interface, and when the initialization is successful, end the initialization process; when the initialization is abnormal, the first obtaining module 41 is further configured to read the card information structure of the conditional access module inserted into the current digital television interface, and update the currently stored card information structure with the read card information structure.
In the initialization process of the digital television interface, the card information structure of the condition receiving module is not required to be read every time, but the stored card information structure is directly adopted for relevant configuration, so that the initialization speed of hardware is greatly improved, the time from starting to playing programs is shortened, and better watching experience is provided for users.
Optionally, the first obtaining module 41 is further configured to, when obtaining the stored card information structure of the conditional access module fails, read the card information structure of the conditional access module inserted by the current digital television interface, store the read card information structure, or update the currently stored card information structure with the read card information structure.
In addition, another initialization apparatus for a digital television interface is provided in an embodiment of the present invention, as shown in fig. 5, the apparatus includes:
a second obtaining module 51, configured to obtain a card information structure of the stored conditional access module when the device is started;
a second configuration module 52, configured to configure the register according to the card information structure;
a second initialization module 53, configured to switch the digital television interface to an input/output mode; the second obtaining module 51 is further configured to read a card information structure of the conditional access module inserted in the current digital television interface; the second initialization module 53 is further configured to verify whether the read card information structure is consistent with the currently stored card information structure, and when the read card information structure is consistent with the currently stored card information structure, execute an initialization process of the digital television interface; the second obtaining module 51 is further configured to update the currently stored card information structure with the read card information structure when the inconsistency is verified.
Because the speed of reading the card information structure of the condition receiving module in the input and output mode is much higher, compared with the prior art that the card information structure of the condition receiving module is read in the storage mode for relevant configuration, the method provided by the invention has higher initialization efficiency, accelerates the process from starting to playing programs and improves the user experience.
Optionally, the second obtaining module 51 is further configured to, when obtaining the card information structure of the stored conditional access module fails, read the card information structure of the conditional access module inserted by the current digital television interface, store the read card information structure, or update the currently stored card information structure with the read card information structure.
Optionally, the second obtaining module 51 is further configured to set the storage flag bit to a valid value when obtaining the card information structure of the stored conditional access module is successful;
after the configuration module 52 configures the register according to the card information structure and the initialization module 53 switches the digital television interface to the input/output module, the second obtaining module 51 is specifically configured to read the card information structure of the conditional access module into which the current digital television interface is inserted when the storage flag bit is an effective value; the second initialization module 53 is specifically configured to verify whether the read card information structure is consistent with the currently stored card information structure.
On the other hand, the present embodiment further provides a digital television, as shown in fig. 6, the digital television may include:
a first memory 61 for storing program instructions;
a first processor 62, configured to call the program instructions stored in the first memory 61, and execute, according to the obtained program: when starting up, obtaining the card information structure of the stored condition receiving module; configuring a register according to a card information structure; switching the digital television interface into an input/output mode, executing an initialization process of the digital television interface, and ending the initialization process when the initialization is successful; and when the initialization is abnormal, reading the card information structure of the conditional access module inserted into the current digital television interface, updating the currently stored card information structure by using the read card information structure, and configuring the register according to the card information structure again.
In addition, another digital television is provided in the embodiment of the present invention, as shown in fig. 7, the digital television may include:
a second memory 71 for storing program instructions;
a second processor 72, configured to call the program instructions stored in the second memory 71, and execute, according to the obtained program: when starting up, obtaining the card information structure of the stored condition receiving module; configuring a register according to a card information structure; switching the digital television interface into an input/output mode, and reading a card information structure of a conditional access module inserted into the current digital television interface; verifying whether the read card information structure is consistent with the currently stored card information structure, and executing an initialization process of the digital television interface when the read card information structure is consistent with the currently stored card information structure; and when the inconsistency is verified, updating the currently stored card information structure by using the read card information structure, and configuring the register according to the card information structure again.
In addition, an embodiment of the present invention further provides a readable storage medium, where the readable storage medium stores digital television executable instructions, and the digital television executable instructions are configured to enable a digital television to execute the method shown in fig. 1.
In addition, another readable storage medium is provided in an embodiment of the present invention, where the readable storage medium stores digital television executable instructions, and the digital television executable instructions are configured to enable a digital television to execute the method shown in fig. 2.
The digital television, the interface initialization method and device thereof and the readable storage medium provided by the embodiment of the invention can acquire the card information structure of the stored conditional access module when the digital television is started; configuring a register according to a card information structure; switching the digital television interface into an input/output mode, executing an initialization process of the digital television interface, and ending the initialization process when the initialization is successful; and when the initialization is abnormal, reading the card information structure of the conditional access module inserted into the current digital television interface, updating the currently stored card information structure by using the read card information structure, and configuring the register according to the read card information structure again. In the initialization process of the digital television interface, the card information structure of the condition receiving module is not required to be read every time, but the stored card information structure is directly adopted for relevant configuration, so that the initialization speed of hardware is greatly improved, the time from starting to playing programs is shortened, and better watching experience is provided for users.
Or, the digital television, the initialization method and device of the interface thereof, and the readable storage medium provided by the invention can also obtain the card information structure of the stored conditional access module when the digital television is started; configuring a register according to a card information structure; switching the digital television interface into an input/output mode, and reading a card information structure of a conditional access module inserted into the current digital television interface; verifying whether the read card information structure is consistent with the currently stored card information structure, and executing an initialization process of the digital television interface when the read card information structure is consistent with the currently stored card information structure; and when the inconsistency is verified, updating the currently stored card information structure by using the read card information structure, and configuring the register according to the card information structure again. Because the speed of reading the card information structure of the condition receiving module in the input and output mode is much higher, compared with the prior art that the card information structure of the condition receiving module is read in the storage mode for relevant configuration, the method provided by the invention has higher initialization efficiency, accelerates the process from starting to playing programs and improves the user experience.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, implement the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. A method for initializing a digital television interface, wherein a conditional access module is inserted into the digital television interface, the method comprising:
the method comprises the following steps: when the terminal is started, acquiring a stored card information structure of the condition receiving module; when the stored card information structure of the conditional access module fails to be acquired, reading the card information structure of the conditional access module inserted into the digital television interface at present, storing the read card information structure, or updating the currently stored card information structure by using the read card information structure;
step two: configuring a register according to the card information structure;
step three: switching the digital television interface into an input/output mode, executing an initialization process of the digital television interface, and executing a fourth step when the initialization is successful; when the initialization is abnormal, executing a fifth step;
step four: finishing the initialization process;
step five: and reading the card information structure of the conditional access module inserted into the digital television interface at present, updating the currently stored card information structure by using the read card information structure, and turning to the step two.
2. A method for initializing a digital television interface, wherein a conditional access module is inserted into the digital television interface, the method comprising:
the method comprises the following steps: when the terminal is started, acquiring a stored card information structure of the condition receiving module; when the stored card information structure of the conditional access module fails to be acquired, reading the card information structure of the conditional access module inserted into the digital television interface at present, storing the read card information structure, or updating the currently stored card information structure by using the read card information structure;
step two: configuring a register according to the card information structure;
step three: switching the digital television interface into an input/output mode, and reading a card information structure of a conditional access module inserted into the digital television interface;
step four: verifying whether the read card information structure is consistent with the currently stored card information structure, and executing a fifth step when the read card information structure is consistent with the currently stored card information structure; when the verification is inconsistent, executing a step six;
step five: executing an initialization process of the digital television interface;
step six: and updating the currently stored card information structure by using the read card information structure, and turning to the step two.
3. The method according to claim 2, wherein in the first step, when the acquisition of the stored card information structure of the conditional access module is successful, a storage flag bit is set to a valid value;
in the third step, the reading of the card information structure of the conditional access module currently inserted by the digital television interface includes:
and reading the card information structure of the conditional access module inserted into the digital television interface when the storage flag bit is an effective value.
4. An apparatus for initializing a digital television interface, comprising:
the first acquisition module is used for acquiring the card information structure of the stored conditional access module when the computer is started; when the stored card information structure of the conditional access module fails to be acquired, reading the card information structure of the conditional access module inserted into the digital television interface at present, storing the read card information structure, or updating the currently stored card information structure by using the read card information structure;
the first configuration module is used for configuring the register according to the card information structure;
the first initialization module is used for switching the digital television interface into an input/output mode, executing an initialization process of the digital television interface, and ending the initialization process when the initialization is successful; when the initialization is abnormal, the first obtaining module is further configured to read a card information structure of the conditional access module currently inserted by the digital television interface, and update the currently stored card information structure with the read card information structure.
5. An apparatus for initializing a digital television interface, comprising:
the second acquisition module is used for acquiring the card information structure of the stored conditional access module when the computer is started; when the stored card information structure of the conditional access module fails to be acquired, reading the card information structure of the conditional access module inserted into the digital television interface at present, storing the read card information structure, or updating the currently stored card information structure by using the read card information structure;
the second configuration module is used for configuring the register according to the card information structure;
the second initialization module is used for switching the digital television interface into an input/output mode; the second obtaining module is further configured to read a card information structure of the conditional access module currently inserted by the digital television interface; the second initialization module is further used for verifying whether the read card information structure is consistent with the currently stored card information structure, and when the read card information structure is consistent with the currently stored card information structure, the second initialization module executes the initialization process of the digital television interface; and when the verification is inconsistent, the second obtaining module is also used for updating the currently stored card information structure by using the read card information structure.
6. A digital television, comprising:
a first memory for storing program instructions;
a first processor, configured to call the program instruction stored in the first memory, and execute, according to the obtained program: when the digital television is started, acquiring a stored card information structure of a conditional access module, and when the acquisition of the stored card information structure of the conditional access module fails, reading the card information structure of the conditional access module inserted into the current digital television interface, storing the read card information structure, or updating the currently stored card information structure by using the read card information structure; configuring a register according to the card information structure; switching the digital television interface into an input/output mode, executing an initialization process of the digital television interface, and ending the initialization process when the initialization is successful; and when the initialization is abnormal, reading the card information structure of the conditional access module inserted into the digital television interface, updating the currently stored card information structure by using the read card information structure, and configuring the register according to the card information structure again.
7. A digital television, comprising:
a second memory for storing program instructions;
a second processor, configured to call the program instruction stored in the second memory, and execute, according to the obtained program: when the digital television is started, the card information structure of the stored conditional access module is obtained, and when the card information structure of the stored conditional access module fails to be obtained, the card information structure of the conditional access module inserted into the current digital television interface is read, the read card information structure is stored, or the read card information structure is used for updating the currently stored card information structure; configuring a register according to the card information structure; switching the digital television interface into an input/output mode, and reading a card information structure of a conditional access module inserted into the digital television interface; verifying whether the read card information structure is consistent with the currently stored card information structure, and executing the initialization process of the digital television interface when the read card information structure is consistent with the currently stored card information structure; and when the inconsistency is verified, updating the currently stored card information structure by using the read card information structure, and configuring the register according to the card information structure again.
8. A readable storage medium storing digital television-executable instructions for causing a digital television to perform the method of claim 1; alternatively, the first and second electrodes may be,
the digital television executable instructions are for causing a digital television to perform the method of any of claims 2-3.
CN201810390635.5A 2018-04-27 2018-04-27 Digital television, initialization method and device of interface of digital television and readable storage medium Active CN108683930B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810390635.5A CN108683930B (en) 2018-04-27 2018-04-27 Digital television, initialization method and device of interface of digital television and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810390635.5A CN108683930B (en) 2018-04-27 2018-04-27 Digital television, initialization method and device of interface of digital television and readable storage medium

Publications (2)

Publication Number Publication Date
CN108683930A CN108683930A (en) 2018-10-19
CN108683930B true CN108683930B (en) 2020-09-25

Family

ID=63801332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810390635.5A Active CN108683930B (en) 2018-04-27 2018-04-27 Digital television, initialization method and device of interface of digital television and readable storage medium

Country Status (1)

Country Link
CN (1) CN108683930B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631228A (en) * 2008-07-18 2010-01-20 中国科学院声学研究所 Method and system for implementing network time-shifted television supporting DVB CAS
CN101814037A (en) * 2010-03-12 2010-08-25 青岛海信宽带多媒体技术有限公司 Drive method compatible with various smart cards
CN102098575A (en) * 2010-12-31 2011-06-15 青岛海信宽带多媒体技术有限公司 Migration method compatible with multiple conditional access (CA) systems and CA method
CN102421022A (en) * 2011-09-29 2012-04-18 上海风格信息技术有限公司 Multipath digital television descrambling interface chip and digital television signal monitoring equipment
CN102724568A (en) * 2011-03-28 2012-10-10 索尼公司 Authentication certificates
CN202679541U (en) * 2011-09-29 2013-01-16 上海风格信息技术股份有限公司 Multipath digital television descrambling interface chip and digital television signal monitoring equipment
US8429461B2 (en) * 2004-08-10 2013-04-23 Samsung Electronics Co., Ltd. Apparatus and method for diagnosing cablecard-related status and performing proper processing according to diagnosis result in opencable system, opencable host, and opencable reception apparatus
CN104272751A (en) * 2012-05-04 2015-01-07 索尼公司 Receiving audio/video content
CN104581318A (en) * 2015-01-22 2015-04-29 青岛海信宽带多媒体技术有限公司 Method and terminal capable of achieving dynamic plug response of intelligent card
CN105376619A (en) * 2015-10-26 2016-03-02 青岛海信宽带多媒体技术有限公司 Communication method and device of set top box and intelligent card and set top box
CN106101838A (en) * 2016-07-18 2016-11-09 青岛海信电器股份有限公司 The processing method of CI module and digit receiving terminal in quick turn-on
CN107896341A (en) * 2017-11-30 2018-04-10 青岛海信电器股份有限公司 The player method and television equipment of a kind of scrambled program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7275079B2 (en) * 2000-08-08 2007-09-25 International Business Machines Corporation Common application metamodel including C/C++ metamodel
CN100440170C (en) * 2004-05-26 2008-12-03 英特尔公司 Automatic caching generation in network applications

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8429461B2 (en) * 2004-08-10 2013-04-23 Samsung Electronics Co., Ltd. Apparatus and method for diagnosing cablecard-related status and performing proper processing according to diagnosis result in opencable system, opencable host, and opencable reception apparatus
CN101631228A (en) * 2008-07-18 2010-01-20 中国科学院声学研究所 Method and system for implementing network time-shifted television supporting DVB CAS
CN101814037A (en) * 2010-03-12 2010-08-25 青岛海信宽带多媒体技术有限公司 Drive method compatible with various smart cards
CN102098575A (en) * 2010-12-31 2011-06-15 青岛海信宽带多媒体技术有限公司 Migration method compatible with multiple conditional access (CA) systems and CA method
CN102724568A (en) * 2011-03-28 2012-10-10 索尼公司 Authentication certificates
CN102421022A (en) * 2011-09-29 2012-04-18 上海风格信息技术有限公司 Multipath digital television descrambling interface chip and digital television signal monitoring equipment
CN202679541U (en) * 2011-09-29 2013-01-16 上海风格信息技术股份有限公司 Multipath digital television descrambling interface chip and digital television signal monitoring equipment
CN104272751A (en) * 2012-05-04 2015-01-07 索尼公司 Receiving audio/video content
CN104581318A (en) * 2015-01-22 2015-04-29 青岛海信宽带多媒体技术有限公司 Method and terminal capable of achieving dynamic plug response of intelligent card
CN105376619A (en) * 2015-10-26 2016-03-02 青岛海信宽带多媒体技术有限公司 Communication method and device of set top box and intelligent card and set top box
CN106101838A (en) * 2016-07-18 2016-11-09 青岛海信电器股份有限公司 The processing method of CI module and digit receiving terminal in quick turn-on
CN107896341A (en) * 2017-11-30 2018-04-10 青岛海信电器股份有限公司 The player method and television equipment of a kind of scrambled program

Also Published As

Publication number Publication date
CN108683930A (en) 2018-10-19

Similar Documents

Publication Publication Date Title
CN108259783B (en) Digital matrix synchronous output control method and device and electronic equipment
JP2009238238A (en) Data downloading
CN102004657B (en) A kind of electronic equipment and upgrade method thereof
US10237508B2 (en) Method and device for displaying boot screen
CN107071570A (en) A kind of set top box upgrading method and device
CN110780789A (en) Game application starting method and device, storage medium and electronic device
CN105721942A (en) Starting method for intelligent television and intelligent television
CN114816305A (en) Synchronous display method, device, display system and medium of multi-screen equipment
CN104135675A (en) Method and device of controlling live broadcast of program
CN108683930B (en) Digital television, initialization method and device of interface of digital television and readable storage medium
CN110069275A (en) Update the method and system for being installed on the software program of electronic device
CN108170211B (en) Camera power-on driving method and electronic terminal
KR20080078112A (en) Apparatus and method for updating boot logo in portable terminal
CN100353321C (en) System with primary application and spare program and starting method
CN105791514B (en) Application starting monitoring method and device
CN103297516A (en) Multi-type providing method, multi-type providing system and multi-type providing device of applications
CN111078255A (en) Software upgrading method and software upgrading system
CN115022718B (en) Data importing method and data transmitting method
CN111742297A (en) Firmware starting method, equipment and computer readable storage medium
KR101206639B1 (en) Server and Method for updating firmware in Mobile communication terminal
CN101351003B (en) Method for actuating mobile terminal and mobile phone television signal receiving chip
CN109254798A (en) Server starts method, apparatus, server and computer readable storage medium
CN114153484A (en) Operation method and device for updating program, electronic device and storage medium
CN108717363B (en) Method and device for starting engine, storage medium and electronic device
CN106873968A (en) A kind of terminal shows the method and system of time

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