Specific embodiment
Here will the description is performed on the exemplary embodiment in detail, the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended
The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Fig. 1 is a kind of block diagram of device 100 shown according to an exemplary embodiment.For example, device 100 is disclosure institute
The digit receiving terminal shown, for example, digital TV integrated machine, set-top box etc..
Referring to Fig.1, device 100 may include following one or more components: processing component 102, memory 104, power supply
Component 106, multimedia component 108, audio component 110, sensor module 114 and communication component 116.
The integrated operation of the usual control device 100 of processing component 102, such as with display, telephone call, data communication, phase
Machine operation and the associated operation of record operation etc..Processing component 102 may include one or more processors 118 to execute
Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 102 may include one or more modules,
Convenient for the interaction between processing component 102 and other assemblies.For example, processing component 102 may include multi-media module, with convenient
Interaction between multimedia component 108 and processing component 102.
Memory 104 is configured as storing various types of data to support the operation in device 100.These data are shown
Example includes the instruction of any application or method for operating on the device 100.Memory 104 can be by any kind of
Volatibility or non-volatile memory device or their combination realization, such as Static Random Access Memory (SRAM), electrically erasable
Except programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read only memory
(PROM), read only memory (ROM), magnetic memory, flash memory, disk or CD.One is also stored in memory 104
Or multiple modules, the one or more module are configured to be executed by the one or more processors 118, with complete above-mentioned Fig. 2,
All or part of step in method shown in 3 and Fig. 4 is any.
Power supply module 106 provides electric power for the various assemblies of device 100.Power supply module 106 may include power management system
System, one or more power supplys and other with for device 100 generate, manage, and distribute the associated component of electric power.
Multimedia component 108 includes the screen of one output interface of offer between described device 100 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.
Audio component 110 is configured as output and/or input audio signal.In some embodiments, audio component 110 wraps
A loudspeaker is included, output audio signal is used for.
Sensor module 114 includes one or more sensors, and the state for providing various aspects for device 100 is commented
Estimate.For example, sensor module 114 can detecte the state that opens/closes of device 100, the relative positioning of component, sensor group
Part 114 can be with the position change of 100 1 components of detection device 100 or device and the temperature change of device 100.Some
In embodiment, which can also include Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 116 is configured to facilitate the communication of wired or wireless way between device 100 and other equipment.Device
100 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation
In example, communication component 116 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 116 further includes Near Field Communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra wideband (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 100 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing equipment (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
Fig. 2 is the flow chart of the processing method of CI module in a kind of quick turn-on shown according to an exemplary embodiment.
The processing method of CI module is used for digit receiving terminal shown in FIG. 1 in the quick turn-on.As shown in Fig. 2, in the quick turn-on
The processing method of CI module can be executed by digit receiving terminal, be may comprise steps of.
In step 210, when the digit receiving terminal of standby mode is waken up, the message for blocking removal in CI module is generated.
Wherein it is possible to understand, quick turn-on function refers to the function for the digital terminal that wake-up is in standby, so that
The digit receiving terminal being in standby rapidly enters normal operating conditions.
That is, digit receiving terminal is during shutdown, standby mode, i.e. RAM(Random-Access will be entered
Memory, random access memory) not power down, continues the context environmental of in store all processes, the shape of each thread operation
State and the value of each variable all continue it is in store, be equivalent to all programs be in pause state.
On the one hand, when the digit receiving terminal of standby mode is waken up, required operation is various before system operation
Thus program can shorten the available machine time for example, loader, kernel and launcher etc. do not need to restart.
On the other hand, will also the message for blocking removal in CI module be generated, in order to trigger the initialization for carrying out CI module, into
And guarantee to can be realized effective control of CI module during the quick turn-on of digital reception device, and then guarantee with quickly opening
The completion of machine process.
Here, firstly the need of explanation, under the channel DTV, for example, CI module has very strong in DTV scene
Hardware-dependence, so when entering standby mode, the power-off of CI module;When being waken up, CI module is re-powered, at this point, by
The card joined together by discovery CI module is already inserted into, so CI module can't actively carry out initialization procedure.
And under normal circumstances, it for the normal work for realizing CI module, is then powered on after each power-off, all needs to execute it certainly
Otherwise the initialization procedure of body will be unable to work normally.
Here it is clearly visible that when applying quick turn-on function in digit receiving terminal, it will due to CI module
And it cannot achieve, and its key is that CI module can not be initialized actively.
It is needed based on this to realize that digit receiving terminal is waken up and executes the initialization of CI module during quick turn-on
Generate the message for blocking removal in CI module.The message for blocking removal in CI module is used into application layer notice bottom hardware block
It extracts.
In step 230, according to the information updating hardware initialization mark for blocking removal in CI module.
Wherein, hardware initialization mark is the static variable that digit receiving terminal is stored, which uses
The initialization of CI module whether has been carried out in record.
According to CI agreement, physical layer state that card is indicated be removal state, i.e. when disconnected, if
The insertion for detecting card will carry out initialization procedure, and it is card insert state that the state of physical layer, which is arranged, when initializing successfully,
That is connected.
That is, only just will do it the initialization of CI module under removal state, and under the insert state of card then
The initialization of CI module is not will do it.
Therefore, after blocking the message of removal in generating CI module, it is also necessary to carry out hardware initialization mark according to this message
The update of will, and then can know that the card in current physical layer in removal state, and does not also carry out convenient for application layer
The initialization of CI module.
In other words, by the setting and storage of this static variable of hardware initialization mark, digital received can be realized
In terminal CI module initialization control so that the quick turn-on that digit receiving terminal is carried out no longer exist CI module without
The defect that method works normally, really improves the performance of digit receiving terminal, and implements very simple.
In step 250, it is triggered in the quick turn-on of digit receiving terminal according to hardware initialization mark and carries out CI mould
The initialization of block.
Wherein, as previously described, it under the action of the message of removal is blocked in CI module, is had recorded in hardware initialization mark
CI module is not initialized yet, therefore, the initialization for carrying out CI module can be triggered in the quick turn-on of digit receiving terminal.
By process as described above, the initial of CI module has been carried out during the quick turn-on of digit receiving terminal
Change, so that no longer cannot achieve the quick turn-on function under the channel DTV due to the factor of CI module in digit receiving terminal
Can, thus will enable digit receiving terminal have real quick turn-on function.
Fig. 3 is the description carried out in an exemplary embodiment to the details of step 210.The step 210, may include with
Lower step.
In step 211, when the digit receiving terminal of standby mode is waken up, CI mould is generated by the driving of CI module
Block the message of removal in block.
Wherein, the driving of CI module is identification card as a hardware interface, for example, the instruction journey of this hardware of CAM card
Sequence.By the driving of CI module, being inserted or removed from for card will test, and root accordingly generates corresponding message, such as CI
Block the message of removal in module.
In the specific implementation, for CAM card, if detecting two pin feet (pin) all in high level (or low electricity
It is flat) when, it is assumed that thinking that card insertion enters when two pin feet are all in high level, other situations are then determined as that card removes, but no matter
How, digit receiving terminal of the driving of CI module all where itself generates the message for blocking removal in CI module when being waken up.
In step 213, the message for blocking removal in CI module is reported by the driving of CI module.
Wherein, the message that removal is blocked in the CI module of generation is reported in the thread of application layer by the driving of CI module, example
Such as, card Plug Action detects thread.
For the thread of application layer, e.g., card Plug Action detects thread, and the message of removal is blocked in receiving CI module
When, also by this state reporting, so that application shows this state, and then user is facilitated to go and find out what's going on.
The details of step 230 is described in one exemplary embodiment.The step 230 may comprise steps of.
The hardware initialization mark of storage is updated according to the message for blocking removal in CI module by poll thread,
CI module no initializtion is recorded in hardware initialization mark.
Wherein, poll thread is the thread for whether needing its service in digit receiving terminal for sequentially inquiry CI module.
Between the message for blocking removal in obtaining the CI module reported, poll thread will be updated to the hardware initialization mark of storage
False, to record CI module no initializtion.
The details of step 250 is described in one exemplary embodiment.The step 250 may comprise steps of.
When digit receiving terminal carries out quick turn-on according to the quick turn-on function open state itself being arranged, according to hard
Part initialization flag calls hardware initialization interface, which is used to carry out the initialization of hardware module.
Firstly the need of explanation, quick turn-on function whether unlatching, i.e. digit receiving terminal is in quick turn-on
Function open state or quick turn-on function closed state are determined according to the quick turn-on functional status of storage.
In other words, quick turn-on functional status is stored, that is, there is the storage chip in digit receiving terminal itself
In, such as eeprom, in order to update and read at any time.Quick turn-on functional status include quick turn-on function open state and
Quick turn-on function closed state, the customized setting that can be carried out in digit receiving terminal by user are realized and are stored.
Specifically, the switch of quick turn-on function in the menu interface of digit receiving terminal itself display, user can be passed through
Can be with self-setting, to obtain corresponding quick turn-on functional status, and the quick turn-on function shape can be stored in eeprom
State, and then conveniently read at any time, to obtain the setting of user.
The quick turn-on function open state being arranged according to itself is carried out quick turn-on by digit receiving terminal, in this process
In, also under the action of having recorded the hardware initialization mark of CI module no initializtion, call hardware initialization interface, trigger into
Row CI module initialization.
In this process, the initialization of CI module in digit receiving terminal is realized by two conditions, wherein a condition is
Digit receiving terminal is in quick turn-on function open state, and another condition is that hardware initialization mark has recorded CI module not just
Beginningization calls hardware initialization interface when meeting the two conditions, and then makes digital received by this easy mode
Terminal can really realize quick turn-on, i.e. the real quick turn-on under the channel DTV.
Fig. 4 be in an exemplary embodiment in digit receiving terminal according to the quick turn-on function opening state itself being arranged
When state carries out quick turn-on, the details of hardware initialization interface step is called to be described according to hardware initialization mark, the step
Suddenly it may comprise steps of.
In step 301, the quick turn-on function open state of storage is read.
Wherein, as previously described, quick turn-on can be read from storage chip, such as in the user setting that is stored of eeprom
Function open state.
In step 303, the quick turn-on function of digit receiving terminal itself is found according to quick turn-on function open state
Can, and hardware initialization mark records CI module no initializtion.
Wherein, the CI mould recorded by the discovery of digit receiving terminal itself quick turn-on function and hardware initialization mark
Block no initializtion currently meets the condition for carrying out CI module initialization to know, at this point, hardware initialization interface is called, with
Initiate the initialization procedure of CI module in digit receiving terminal.
In step 305, hardware initialization interface is called.
In one exemplary embodiment, after the initialization success of CI module, hardware initialization mark is revised as true,
Record CI module successful initialization.
Using the digit receiving terminal as digital TV integrated machine, for the card that is adapted in CI module is CAM card, in conjunction with specific
Application scenarios describe the processing method of CI module in the quick turn-on.
What it is firstly the need of elaboration is CI module normal workflow, i.e., as shown in figure 5, being switched in digital TV integrated machine
When, with the power-up of CAM card in CI module, the initialization of CI module will be carried out according to CI agreement.
Specifically, the reading of progress data will be attempted when the state of physical layer is Idle state, i.e. Phsy_state=idle
It writes, such as step 410, if being removal state in the state that physical layer indicates card, i.e. physical layer state that card is indicated
It when Phys_state=disconnected, calls hardware initialization interface to run initialization module, i.e. Iitmodule, such as walks
Rapid 420, and the state transformation that physical layer indicates card after running successfully is card insert state, i.e. Phys_state=
connected。
When in CI module without card, Phys_state=connected is modified to Phys_state=disconnected.
Based on the workflow of this CI module, the process that CI module is initialized is modified using the scheme of the disclosure,
As shown in fig. 6, on the basis of the workflow of CI module, the part elected by institute's frame, i.e. region 510, to realize number
The initialization of TV integrated machine CI module during quick turn-on.
Specifically, in quick turn-on function, such as the Str(Suspend to ram of abbreviation in Fig. 6) function open when, number
TV integrated machine is waken up, and blocks the message of removal in the driving upthrow CI module of CI module, and poll thread is by hardware initialization mark
Will is set to false, such as step 511 and step 512.
It was found that having Str function, and hardware initialization mark is false, then initmodule is called, to carry out CI module
Initialization, such as step 513.
After initializing successfully, the state transformation that physical layer indicates card is card insert state, i.e. Phys_state=
connected。
At this point, on the one hand digital TV integrated machine completes quick turn-on, on the other hand, it is initial also to complete CI module
Change, and then realizes the quick turn-on under the channel DTV.
It should be noted that resulting in CAM card since CI module initializes not successfully and reading corrupt data, in turn
So that the state transformation that physical layer indicates card is card removal state, i.e. disconnected, at this point, being just able to detect that
CAM card insertion enters, and then realizes CI hardware initialization.
From the point of view of this process, physical layer state can be set to card removal shape by reading and writing the generation of data failure really
State realizes initialization to go to detect that CAM card insertion enters again.
But this process is there is drawback, one side, and being not present for CAM card is found by read-write error, is one in itself
Abnormal process, this has a kind of remedial measure when damage commonly used in CAM card.
It is interrelated between each layer and since CI agreement is divided into multilayer, be easy to cause due to sequence problem cause it is each
Kind mistake, therefore, and can not realize the initialization of CI module in quick turn-on in this way.Another aspect, this is long-range
And it can not really reflect the physical layer state of CAM card.
Following is embodiment of the present disclosure, can be used for executing quickly opening for the above-mentioned digit receiving terminal execution of the disclosure
The processing method of CI module in machine.For those undisclosed details in the apparatus embodiments, disclosure quick turn-on is please referred to
The processing method of middle CI module realizes example.
Fig. 7 is a kind of block diagram of digit receiving terminal shown according to an exemplary embodiment, which holds
The Overall Steps of the processing method of CI module in row quick turn-on shown in Fig. 2.As shown in fig. 7, the digit receiving terminal includes
But be not limited to: message obtains module 710, mark update module 730 and initialization trigger module 750.
Message obtains module 710, when the digit receiving terminal for standby mode is waken up, generates and blocks removal in CI module
Message.
Indicate update module 730, for according to the information updating hardware initialization mark for blocking removal in CI module.
Initialize trigger module 750, for according to hardware initialization mark in the quick turn-on of digit receiving terminal into
The initialization of row CI module.
The function of modules and the realization process of effect are specifically detailed in CI module in above-mentioned quick turn-on in above-mentioned apparatus
Processing method in correspond to the realization process of step, details are not described herein.
Optionally, as shown in figure 8, message acquisition module 710 includes but is not limited to: in message generation unit 711 and message
Declaration form member 713.
Message generation unit 711, for passing through the driving of CI module when the digit receiving terminal of standby mode is waken up
Generate the message for blocking removal in CI module.
Information reporting unit 713 is for reporting the message for blocking removal in CI module from the driving of CI module.
Optionally, mark update module 730 be further used for by poll thread to the hardware initialization mark of storage into
Row updates, and CI module no initializtion is recorded in hardware initialization mark.
Optionally, initialization trigger module 750 is further used for quickly opening what digit receiving terminal was arranged according to itself
When machine function open state carries out quick turn-on, hardware initialization interface, hardware initialization are called according to hardware initialization mark
Interface is used to carry out the initialization of CI module.
Optionally, the disclosure also provides a kind of digit receiving terminal, which executes Fig. 2, Fig. 3 and Fig. 4 and appoint
The all or part of step of the processing method of CI module in quick turn-on shown in one.Described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing:
When the digit receiving terminal of standby mode initially wakes up, the message for blocking removal in CI module is generated;
According to the information updating hardware initialization mark for blocking removal in CI module;
The initialization for carrying out CI module is triggered in the quick turn-on of digit receiving terminal according to hardware initialization mark.
The processor of device in the embodiment executes the concrete mode operated the CI mould in the related quick turn-on
Detailed description is performed in the embodiment of the processing method of block, no detailed explanation will be given here.
In the exemplary embodiment, a kind of storage medium is additionally provided, which is computer readable storage medium,
It such as can be the provisional and non-transitorycomputer readable storage medium for including instruction.Storage Jie refers to for example including instruction
Memory 204, above-metioned instruction can by the processor 218 of device 200 execute to complete CI module in above-mentioned quick turn-on
Reason method.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and change can executed without departing from the scope.The scope of the present invention is limited only by the attached claims.