A kind of STB piracy prevention apparatus and method based on GPRS
Technical field
The invention belongs to the DTV STB application, relate in particular to a kind of GPRS of utilization navigation system and prevent that the lawless person from utilizing STB to carry out pirate apparatus and method.
Background technology
Along with popularizing fast of satellite digital TV, cable digital TV, satellite digital TV and terrestrial DTV become topmost digital television transfer technology.Satellite digital TV with its broad covered area, build maintenance cost low, receive characteristic such as convenient and be widely used.People are enjoying clear with simultaneously easily that satellite digital TV brings; Because the easy modulating performance of digital signal; Thereby satellite digital TV is compared traditional tv and is stolen generation piracy by the undesirable more easily, so the safe transmission of satellite digital program also more and more comes into one's own.
Though satellite broadcaster has been taked various tacticses, produces little effect.Existing Virtual network operator often through CA (Conditional Access, condition inserts) system, promptly allows the client to accept the digital signal of specific TV network operator through specific CA card, controls programme content, prevents piracy.The pirate method that prevents that other are common adopts BGA encapsulation, STB master chip to adopt advanced security technology, the encryption of CWE control word, the upgrading of software cryptography algorithm or the like method to hardware flash chip in addition.These methods have been contained pirate phenomenon to a certain extent, but still can not stop legal possessory secret copy right piracy.Often occurring legal satellite television network operator now buys after the STB; STB is transferred to other local secrets carry out copy right piracy; Come to light at last after this STB has pirate content to flow out, the stolen already and situation about succeeding in evading responsibility of this STB is pretended to claim by this operator; If copy right piracy has taken place simultaneously, existing method also can do nothing to help the approximate location that obligee or the police trace this STB.
Summary of the invention
To the problems referred to above, first purpose of the present invention is to provide a kind of STB piracy prevention apparatus based on GPRS, when can prevent effectively that copy right piracy from taking place, certain information can also be provided so that the party investigates lawless person's responsibility.
Second purpose of the present invention is to provide a kind of anti-piracy method of utilizing gprs system to carry out STB.
First purpose of the present invention is accomplished through following technical scheme: a kind of STB piracy prevention apparatus based on GPRS; Comprise CA module and MCU; Also comprise the GPRS module; This GPRS module is used for self IMEI number and the positional information that comes from current base station are sent to MCU, carries out verification by MCU and judges.
Further, said GPRS module also is used for if the MCU verification is failed then the GPRS module and alarms to operator through wireless network.Come operator is alarmed through the GPRS module, help the right of operator, reduce the pirate extent of damage in very first time maintenance oneself.
Further, also comprise the GPS module, the GPS module sends to the GPRS module as positional information with terrestrial coordinates information.The global location of GPS is more accurate, more helps finding concrete copy right piracy spot.
Second purpose of the present invention accomplished through following scheme: a kind of STB method for preventing piracy based on GPRS, it is characterized in that, and comprise step:
S1: preset signature and positional information, when STB is installed first, the IMEI number of GPRS module and the positional information that comes from current base station are saved among the MCU; MCU signs to IMEI number and obtains signing messages, and MCU sends to the GPRS module with this signing messages and preserves;
The S2:MCU verification, when STB was started shooting at every turn after installing first, MCU sent check request to the GPRS module; The GPRS module receives after the request that current position information and existing signing messages are sent to MCU as check information carries out verification; If MCU does not receive check information, or the signing messages in the check information is wrong, or the positional information in the check information is wrong; Then MCU verification failure, MCU controller top box quits work.
Further, also comprise step S3: if MCU verification failure, then MCU sends warning information to the GPRS module, and to alarm of operator administrative center and uploading position information, operator stops the CA of this STB is authorized the GPRS module through wireless network.Come operator is alarmed through the GPRS module, help the right of operator, reduce the pirate extent of damage in very first time maintenance oneself.
Further, also comprise among the said step S1: MCU also number sends to the GPRS module with the chip of MCU self and preserves; Also comprise among the said step S3: the GPRS module is also uploaded chip number in the time of operator administrative center uploading position information.In the content of alarm, increase MCU chip number, help confirming fast the former buyer of STB, be convenient to operator and safeguard self right.
Further, among the said step S2, MCU sends to the GPRS module with random number D as check request, after the GPRS module is signed through the signature algorithm identical with signing messages, the random number D behind the signature is also sent it back MCU as the part of check information.In verification, increase signature process, through guaranteeing that to the verification of signature algorithm the GPRS module is not replaced to random number D.
Further, provide terrestrial coordinates information as positional information, replace the positional information of the current base station among the said step S1 by the GPS module, and in said step S2 by current terrestrial coordinates information as current position information.The global location of GPS is more accurate, more helps finding concrete copy right piracy spot.
Beneficial effect of the present invention is: the present invention has increased the GPRS module in conventional set-top box; And utilize this GPRS module to preset steps such as signature and positional information, MCU verification; Can prevent legal buyer's secret copy right piracy in the very first time; And can improve the positional information of copy right piracy spot to operator through the GPRS module, help operator's protection self right, the more effective copy right piracy that prevents.
Description of drawings
Fig. 1 is the circuit module sketch map of the piracy prevention apparatus of the specific embodiment of the invention;
Fig. 2 be the specific embodiment of the invention increase the circuit module sketch map of piracy prevention apparatus after the GPS module;
Fig. 3 is the step sketch map of the method for preventing piracy of the specific embodiment of the invention;
Fig. 4 is that schematic flow sheet is judged in the verification of the method for preventing piracy of the specific embodiment of the invention.
Embodiment
Disclosed all characteristics in this specification, or the step in disclosed all methods or the process except mutually exclusive characteristic and/or the step, all can make up by any way.
Disclosed arbitrary characteristic in this specification is only if special narration all can be replaced by other equivalences or the alternative features with similar purpose.That is, only if special narration, each characteristic is an example in a series of equivalences or the similar characteristics.The description to alternative features is to being equal to the description of technical characterictic, must not being regarded as the donation to the public in this specification simultaneously.
Term in this specification like no specified otherwise, all is defined as the peculiar implication in this area if having the peculiar implication of general sense and this area simultaneously.
As shown in Figure 1, be the circuit module sketch map of the piracy prevention apparatus of the specific embodiment of the invention.This piracy prevention apparatus is made up of CA module, MCU and GPRS module; The CA module receives the digital TV contents that operator provides according to the mandate of operator; MCU converts this digital TV contents into can play-over audio/video flow and simultaneously each device of STB inside is managed; The GPRS module sends to MCU with the positional information of self IMEI number and current base station and carries out anti-piracy verification; MCU controller top box quits work if verification is failed, and the GPRS module sends a warning message to operator simultaneously, and the CA that operator stops this STB authorizes.Also have the communication serial port that the parallel port is converted into the serial ports of RS-232 in MCU and the GPRS module, be used to coordinate the communication between MCU and the GPRS module.
According to another embodiment of the invention, as shown in Figure 2, on the basis of above-mentioned module, also increased the GPS module, this GPS module sends to the GPRS module with current terrestrial coordinates information, is used for substituting relatively not the positional information of base station so accurately.
As shown in Figure 3, be the step sketch map of the STB method for preventing piracy based on GPRS of the present invention, form by following steps:
S1: preset signature and positional information, when STB is installed first, the IMEI number of GPRS module and the positional information that comes from current base station are saved among the MCU; MCU signs to IMEI number and obtains signing messages, and MCU number sends to the GPRS module with this signing messages and the chip of self and preserves;
The S2:MCU verification, when STB was started shooting at every turn after installing first, MCU sent to the GPRS module with random number D as check request; After the GPRS module is received request, random number D is signed, then random number D and existing signing messages behind current position information and the signature are sent to MCU as check information and carry out verification through the signature algorithm identical with signing messages; If MCU does not receive check information, or the signing messages in the check information is wrong, or the positional information in the check information is wrong, then MCU verification failure, and MCU controller top box quits work.
S3: if MCU verification failure, then MCU sends warning information to the GPRS module, and to the alarm of operator administrative center and uploading position information and chip number, operator stops the CA mandate to this STB to the GPRS module through wireless network.
According to another embodiment, provide terrestrial coordinates information as positional information by the GPS module, replace the positional information of the current base station among the said step S1, and in said step S2, S3 by current terrestrial coordinates information as current position information.
As shown in Figure 4, the verification decision flow chart during for the MCU verification.MCU sees at first whether receive check information overtime after sending check request, if overtime then might the GPRS module be removed or have replaced, then MCU judges that directly verification fails; If normally received check information then judged whether signing messages changes; The variation here is meant two; One is whether IMEI number behind the signature that exists in the GPRS module changes, and this is the check to historical content, and another is to see whether the signature algorithm of current random number D is identical; If do not use current algorithm because the lawless person has just preserved the IMEI number behind the signature in the past; The random number D that then decrypts also can be different, if signing messages changes, and then verification failure; If signing messages does not change yet, then whether checksum location information is identical at last, the positional information here; Be meant the basic station number and the cell id of current base station under the default situations; Then be terrestrial coordinates information if installed the GPS module additional, the then verification failure if positional information changes is not if positional information changes yet; Think that then the STB state is normal, let the STB operate as normal.In the said process, in case the verification failure, MCU stops the work of STB, utilizes the GPRS module to alarm to operator administrative center through wireless network simultaneously, and operator then stops the CA of this STB is authorized after receiving alarm.