CN101945247B - Message sending method and device thereof - Google Patents
Message sending method and device thereof Download PDFInfo
- Publication number
- CN101945247B CN101945247B CN200910089212.0A CN200910089212A CN101945247B CN 101945247 B CN101945247 B CN 101945247B CN 200910089212 A CN200910089212 A CN 200910089212A CN 101945247 B CN101945247 B CN 101945247B
- Authority
- CN
- China
- Prior art keywords
- product
- management message
- entitlement management
- unit
- time
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000013475 authorization Methods 0.000 claims description 51
- 230000005540 biological transmission Effects 0.000 claims description 14
- 238000012217 deletion Methods 0.000 claims description 7
- 230000037430 deletion Effects 0.000 claims description 7
- 238000012856 packing Methods 0.000 claims description 5
- 238000012545 processing Methods 0.000 abstract description 11
- 238000010586 diagram Methods 0.000 description 5
- 238000012423 maintenance Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Storage Device Security (AREA)
Abstract
The invention provides a message sending method and terminal equipment thereof. The method comprises the following steps: reading an entitlement management message (EMM) to be sent in a sending queue, wherein the EMM is generated according to an entitlement or anti-entitlement instruction of a user and comprises safety device identification, product identification and safety time of the EMM; if the determined safety time of the EMM to be sent is greater than the current time, sending the EMM to the terminal equipment; and if the determined safety time of the EMM to be sent is not greater than the current time, deleting the read EMM. By the embodiment of the invention, when the front end sends EMM data packets, the overdue EMM can be automatically deleted, and the redundant data can be reduced; and under the condition of ensuring that the terminal equipment can receive the EMM data packets, the overdue EMM data packets are not sent, thereby relieving the processing load of the front end, saving the network resources and improving the sending speed of data packets.
Description
Technical field
The present invention relates to digital television conditional access system, particularly a kind of method for sending information and device thereof.
Background technology
Condition receiving system CAS refers to system broadcast service being received for controlling user, conventionally by empowerment management, realizes the paid service of broadcast system.
At conditional access system front-end, Entitlement Control Message Generator (ECMG:EntitlementControl Message Generator) utilizes product key to encrypt control word (CW), generates ECM packet and the ECM packet of generation is sent to terminal equipment.Front end EMM Generator (EMMG:Entitlement Management Message Generator) utilizes user key to be encrypted this product key, generates EMM packet, and by the EMM Packet Generation generating to user terminal.At terminal equipment, under terminal equipment can filter out according to the sign of EMM packet, the EMM packet of this terminal equipment, utilizes user key to be decrypted the product key of encrypting, to obtain product key; When terminal equipment filters out ECM packet corresponding to current channel according to the sign of ECM packet, utilize the product key obtaining to be decrypted the control word of encrypting, to obtain this control word, thereby can utilize this control word to carry out descrambling to program, make user watch program.
In the prior art, EMMG produces EMM packet, while sending this EMM packet, first this EMM packet is loaded in the buffer memory of memory cell, then according to vertical order, sends successively EMM packet in buffer memory to terminal equipment.
In realizing process of the present invention, inventor finds that the defect of prior art is: owing to sending EMM packet, be unilateral network transmission, the situation front end of the reception packet of terminal equipment is not also known, in order to guarantee all terminal equipments, can receive EMM packet, CAS front end need to circulate and send all EMM packets, therefore, need to take a large amount of Internet resources, cause individual data bag long cycle time of giving out a contract for a project, affect the normal reception of terminal equipment to packet.
Summary of the invention
The invention provides a kind of method for sending information and device thereof; front end Delete Expired authorization message automatically when sending EMM packet; reduce redundant data; and in the situation that guaranteeing that terminal equipment all can receive EMM packet; stop sending expired EMM packet; therefore, alleviate the processing load of front end, the speed of saving Internet resources, raising transmission packet, effectively protected terminal use and service provider's interests.
The embodiment of the present invention provides a kind of method for sending information, and the method comprises:
Read transmit queue Entitlement Management Message to be sent, described Entitlement Management Message is according to the Entitlement Management Message of user's mandate or the generation of anti-authorized order, comprises the safety time of safety device sign, Product Identifying and Entitlement Management Message;
If determine, the safety time of Entitlement Management Message to be sent is greater than current time, sends described Entitlement Management Message to terminal equipment;
If determine, the safety time of Entitlement Management Message to be sent is not more than current time, deletes the described Entitlement Management Message reading.
The embodiment of the present invention provides a kind of information transmitting apparatus, and this device comprises:
Information reading unit, for reading transmit queue Entitlement Management Message to be sent, described Entitlement Management Message is according to the Entitlement Management Message of user's mandate or the generation of anti-authorized order, comprises the safety time of safety device sign, Product Identifying and Entitlement Management Message;
Time determining unit, is connected with described information reading unit, for determining whether the safety time of the Entitlement Management Message that transmit queue is to be sent is greater than current time;
Information transmitting unit, is connected with described time determining unit, for when described time determining unit determines that the safety time of Entitlement Management Message to be sent is greater than current time, to terminal equipment, sends described Entitlement Management Message;
Information deletion unit, is connected with described time determining unit, for when described time determining unit determines that the safety time of Entitlement Management Message to be sent is not more than current time, deletes the described Entitlement Management Message reading.
The beneficial effect of embodiment of the present invention is; front end Delete Expired authorization message automatically when sending EMM packet; reduce redundant data; and in the situation that guaranteeing that terminal equipment all can receive EMM packet; stop sending expired EMM packet; therefore, alleviate the processing load of front end, the speed of saving Internet resources, raising transmission packet, effectively protected terminal use and service provider's interests.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, does not form limitation of the invention.In the accompanying drawings:
Fig. 1 is the method for sending information flow chart of the embodiment of the present invention 1;
Fig. 2 is the method for sending information flow chart of the embodiment of the present invention 2;
Fig. 3 is that in the embodiment of the present invention 2, step 201 generates the flow chart of Entitlement Management Message according to user's authorized order;
Fig. 4 is that the safety time of the product that obtains by the relevant information of product corresponding to the Product Identifying in authorized order with according to this end time (ET) of the step 302 of Fig. 3 is recorded to the flow chart in subscriber authorisation table;
Fig. 5 is that embodiment of the present invention cas system front end is safeguarded the flow chart of the data in front end data storehouse by maintenance customer's authorization list;
Fig. 6 is loaded into the flow chart in transmit queue by the Entitlement Management Message of generation in step 202 in the embodiment of the present invention 2;
Fig. 7 in embodiment 2 is greater than safety time in transmit queue the EMM packet of current time to the flow chart of terminal equipment transmission;
Fig. 8 is that the information transmitting apparatus of the embodiment of the present invention 3 forms schematic diagram;
Fig. 9 is that the information transmitting apparatus of the embodiment of the present invention 4 forms schematic diagram;
Figure 10 is that in embodiment 4, this information loading unit forms schematic diagram;
Figure 11 is that in embodiment 4, Entitlement Management Message generation unit forms schematic diagram;
Figure 12 is that in embodiment 4, information recording unit forms schematic diagram.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with execution mode and accompanying drawing, the present invention is described in further details.At this, exemplary embodiment of the present invention and explanation thereof are used for explaining the present invention, but not as a limitation of the invention.
Embodiment 1
The embodiment of the present invention provides a kind of method for sending information, and as shown in Figure 1, the method comprises:
In the present embodiment, if determine, the safety time of Entitlement Management Message to be sent is not more than current time, deletes this Entitlement Management Message reading.
In the present embodiment, this Entitlement Management Message is EMM packet.
From above-described embodiment; cas system front end can be safeguarded automatically to expired authorization message; reduce redundant data; and no longer send expired EMM packet; therefore; alleviate the processing load of front end, the speed of saving Internet resources, raising transmission packet, effectively protected terminal use and service provider's interests.
Embodiment 2
The embodiment of the present invention provides a kind of method for sending information, below take and sends authorized order and the method is elaborated as example, the same with the processing mode of authorized order for the processing mode of anti-authorized order.As shown in Figure 2, the method comprises:
In the present embodiment, this authorized order can comprise the mandate of a plurality of products.This safety device sign can be the card number (CardID) of smart card.
This Entitlement Management Message is EMM packet, except comprising above-mentioned information, also can comprise the information such as bag data of time started (ST:StartTime), end time (ET:EndTime) and packet.Wherein, can safeguard the EMM packet that CAS front end generates according to this safety time (Safetime).
In the present embodiment, cas system front end can periodically be loaded into the EMM packet of generation in transmit queue.
In the present embodiment, the EMM packet that safety time can be not more than to current time in the process loading is deleted, and does not load, and like this, has both saved memory space, saves again the bandwidth of transmission data.
Fig. 3 is that in the embodiment of the present invention 2, step 201 generates the flow chart of Entitlement Management Message according to user's authorized order.As shown in Figure 3, according to user's authorized order, generate Entitlement Management Message, can be in the following way:
In the present embodiment, if this instruction is authorized order, instruction type sign can be 1, if this instruction is anti-authorized order, instruction type sign can be 0.
Table 1
Field | Annotation |
CardID | Customs Assigned Number |
ProductID | Product IDs |
Type | 1 authorizes, and 0 instead authorizes |
StartTime | Initial time |
EndTime | End time |
SafeTime | The safety time of product |
…… | …… |
In the present embodiment, while comprising an authorizing product in this EMM packet, the safety time that the safety time of this EMM packet is this product; When this EMM packet comprises more than one product, the safety time of this EMM packet is the safety time corresponding to product of safety time maximum in this above product.
For example, have four product mandates in an EMM packet, the safetime of four authorizing products is respectively TA, TB, TC, TD, the safetime={TA of this EMM packet, TB, TC, TD}max.
Table 2
Field | Annotation |
RecordID | EMM wraps unique identification |
CardID | Card number |
Data | Bag data |
SafeTime | The safety time of packet |
…… | …… |
Fig. 4 is that the safety time of the product that obtains by the relevant information of product corresponding to the Product Identifying in authorized order with according to this end time (ET) of the step 302 of Fig. 3 is recorded to the flow chart in subscriber authorisation table.As shown in Figure 4, can be in the following way:
Step 401, reads the relevant information of the product in authorized order, and this relevant information comprises safety device numbering CardID, instruction type (Type) sign, Product Identifying, time started ST and end time ET.
Step 402, Already in whether the relevant information that judges the product that Product Identifying in this authorized order is corresponding in subscriber authorisation table.
Step 403, judges that in step 402 this relevant information is not present in subscriber authorisation table, the relevant information of this product is deposited in this subscriber authorisation table; And the safety time of product is recorded in this subscriber authorisation table, the safety time of this product is this end time.
Step 404, the relevant information that judges this product in step 402 is Already in subscriber authorisation table, and whether the safety time that further judges this product in this subscriber authorisation table is greater than the end time in the relevant information of the product that Product Identifying in this authorized order is corresponding.
Step 405, in step 404, if the determination result is YES, replaces by the relevant information of product corresponding to the Product Identifying in this authorized order the relevant information having existed, and safety time is constant.
Step 406, in step 404, if the determination result is NO, replaces by the relevant information of product corresponding to the Product Identifying in this authorized order the relevant information having existed; Replaced to the safety time of the product having existed the end time in the relevant information of authorizing product corresponding to the Product Identifying in this authorized order, to obtain the safety time of the renewal of product.
In the present embodiment, the safety time of product can obtain in the following way:
As authorizing product a (T0, T1) for the first time, T0 is the time started, and T1 is the end time, the starttime=T0 of subscriber authorisation table storage products a, endtime=T1, its safety time safetime=T1;
As authorizing product a (T0, T2) for the second time, T0 is the time started, and T2 is the end time, during T2 > T1, and the starttime=T0 of subscriber authorisation table storage products a, endtime=T2, safetime=T2;
As authorizing product a (T0, T3) for the third time, T0 is the time started, and T3 is the end time, T3 < T2, the starttime=T0 of subscriber authorisation table storage products a, endtime=T3, safetime=T2.
In the present embodiment, cas system front end also can be safeguarded the data in front end data storehouse by maintenance customer's authorization list, and Delete Expired data, retain not out of date data in time.As shown in Figure 5, can be in the following way:
In step 504, if determine the relevant information that also has untreated product, continue the relevant information that step 501 reads untreated product, until handle the relevant information of whole products.
In step 502, if determine, the safety time of this product is greater than current time, performs step 504.
In addition, in the present embodiment, front end can be deleted safety device in EMM packet table and number corresponding bag data, like this, can save memory space.
Fig. 6 is loaded into the flow chart in transmit queue by the Entitlement Management Message of generation in step 202 in the embodiment of the present invention 2, in the present embodiment, in the process loading, only load the EMM packet that safety time is greater than current time, delete the EMM packet that safety time is not more than current time.As shown in Figure 6, the Entitlement Management Message of generation is loaded in transmit queue, can be in the following way:
Step 601 reads the EMM packet of generation from EMM packet table.
In step 604, if judgment result is that in this EMM packet, also there is the EMM packet not reading, get back to step 601, until handle all EMM packets.
Step 605 in step 602, if the safety time of this EMM packet is not more than current time, is deleted the EMM packet reading from this EMM packet table, then continues execution step 604.Like this, can save memory space, and not need expired packet to send, save transmission bandwidth.
Fig. 7 in embodiment 2 is greater than safety time in transmit queue the EMM packet of current time to the flow chart of terminal equipment transmission.As shown in Figure 7, can be in the following way:
In step 704, if judgment result is that in this transmit queue, also there is the EMM packet not reading, get back to step 701, until handle all EMM packets.
Step 705 in step 702, if the safety time of this EMM packet is not more than current time, is deleted the EMM packet reading from transmit queue, then continues execution step 704.Like this, can save memory space, and not need expired packet to send, save transmission bandwidth.
More than that to send authorized order be that example is elaborated to the method, the same with the processing mode of authorized order for the processing mode of anti-authorized order, and also can adopt same subscriber authorisation table and EMM packet table, repeat no more herein.From above-described embodiment; cas system front end can be safeguarded automatically to expired authorization message; i.e. Delete Expired data when loading, sending; like this; can reduce redundant data, and no longer send expired EMM packet, therefore; alleviate the processing load of front end, the speed of saving Internet resources, raising transmission packet, effectively protected terminal use and service provider's interests.In addition, this cas system front end is data in maintenance customer's authorization list and EMM packet table automatically also, can further reduce redundant data, save memory space.
Embodiment 3
The embodiment of the present invention provides a kind of information transmitting apparatus, and as shown in Figure 8, this device comprises information reading unit 801, time determining unit 802, information transmitting unit 803 and information deletion unit 804; Wherein,
This information reading unit 801, for reading transmit queue Entitlement Management Message to be sent, this Entitlement Management Message is according to the Entitlement Management Message of user's mandate or the generation of anti-authorized order, comprises the safety time of safety device sign, Product Identifying and Entitlement Management Message;
This time determining unit 802, is connected with this information reading unit 801, for determining whether the safety time of the Entitlement Management Message that transmit queue is to be sent is greater than current time;
This information transmitting unit 803, is connected with this time determining unit 802, for when this time determining unit 802 determines that the safety time of Entitlement Management Message to be sent is greater than current time, to terminal equipment, sends this Entitlement Management Message;
This information deletion unit 804, is connected with this time determining unit 802, for when this time determining unit determines that the safety time of Entitlement Management Message to be sent is not more than current time, deletes this Entitlement Management Message reading.
In the present embodiment, this Entitlement Management Message is EMM packet.
In the present embodiment, this terminal equipment can be receiving terminal for digital television, and its work is similar to Example 1, repeats no more herein.
From above-described embodiment; cas system front end can be safeguarded automatically to expired authorization message; reduce redundant data; and no longer send expired EMM packet; therefore; alleviate the processing load of front end, the speed of saving Internet resources, raising transmission packet, effectively protected terminal use and service provider's interests.
Embodiment 9
The embodiment of the present invention provides a kind of information transmitting apparatus, and as shown in Figure 9, this device comprises information reading unit 801, time determining unit 802, information transmitting unit 803 and information deletion unit 804, and its effect is similar to Example 8, repeats no more herein.
As shown in Figure 9, this device also comprises: information determining unit 901, be connected with time determining unit 802 with this information transmitting unit 803, for when time determining unit 802 determines that the safety time of Entitlement Management Message to be sent is not more than current time or after information transmitting unit 803 sends this Entitlement Management Message to terminal equipment, determine whether also to exist the Entitlement Management Message not sending.Like this, information reading unit 801 also, for when information determining unit 901 is determined the Entitlement Management Message that also has not transmission, continues to read the Entitlement Management Message not sending, until handle all Entitlement Management Messages.
As shown in Figure 9, this device also comprises: Entitlement Management Message generation unit 902 and information loading unit 903; Wherein, this Entitlement Management Message generation unit 902, for generating Entitlement Management Message according to user's mandate or anti-authorized order; Information loading unit 903, is connected with this Entitlement Management Message generation unit 902, for the Entitlement Management Message of generation is loaded into transmit queue.
In the present embodiment, the mode of EMM generation unit 902 generation EMM packets is similar to Example 2, repeats no more herein.The mode that information loading unit 903 is loaded into transmit queue by EMM packet is similar to Example 2, repeats no more herein.
As shown in Figure 9, this device also can comprise memory cell 904, for storing the EMM packet of generation.
As shown in figure 10, information loading unit 903 comprises:
The first reading unit 1001, for reading the Entitlement Management Message of generation.In the present embodiment, can from memory cell 904, read the Entitlement Management Message of generation.
The first judging unit 1002, is connected with this first reading unit 1001, for judging whether the safety time of the Entitlement Management Message reading is greater than current time;
As shown in figure 10, this information loading unit 903 also comprises:
First information determining unit 1004, be connected with loading unit 1003 with this first judging unit 1002, for when the first judging unit 1002 judges that the safety time of the Entitlement Management Message reading is not more than current time or after loading unit 1003 loads the Entitlement Management Message reading, determine whether also to exist the Entitlement Management Message not loading.Like this, first information reading unit 1001 also, for when first information determining unit 1004 is determined the Entitlement Management Message that also has not loading, continues to read the Entitlement Management Message not loading, until handle all Entitlement Management Messages.
In the present embodiment, loading procedure as described in Example 2, repeats no more herein.
As shown in figure 11, Entitlement Management Message generation unit 902 can comprise:
Command reception unit 1101, authorizes or anti-authorized order for receiving, and this mandate or anti-authorized order comprise relevant information, and this relevant information comprises safety device numbering, instruction type sign, Product Identifying, time started and end time;
Product safety time calculating unit 1102, the safety time according to the end time counting yield in this relevant information as described in Example 2, repeats no more herein.
Information recording unit 1103, be connected with product safety time calculating unit 1102 with this command reception unit 1101, for authorizing or the safety time of the relevant information of the product that the Product Identifying of anti-authorized order is corresponding and the product that obtains according to this end time is recorded to the subscriber authorisation table of memory cell 904;
Information generating unit 1104, be connected with memory cell 904 with this information recording unit 1103, for this this safety device of subscriber authorisation table being numbered to the relevant information of corresponding product and generating Entitlement Management Message and be recorded to Entitlement Management Message table according to the safety time packing of this Entitlement Management Message of the safety time acquisition of this product; Wherein,
When this Entitlement Management Message comprises an authorizing product, the safety time that the safety time of this Entitlement Management Message is this product; When this Entitlement Management Message comprises more than one product, the safety time of this Entitlement Management Message is the safety time corresponding to product of safety time maximum in this above product.
In the present embodiment, memory cell is also for stored user authorization list and Entitlement Management Message table.Generate the process of EMM packet as described in Example 2, repeat no more herein.
As shown in figure 12, this information recording unit comprises:
The second reading unit 1201, for reading the relevant information of this product;
Already in whether the second information determining unit 1202, is connected with this second reading unit 1201, for the relevant information of determining the product that the Product Identifying of this mandate or anti-authorized order is corresponding in subscriber authorisation table;
In the present embodiment, this device also comprises:
The second judging unit, for determining that in this second information determining unit 1202 this relevant information Already in during subscriber authorisation table, judges whether the safety time of this product is greater than the end time;
First information updating block, be connected with this second judging unit, for judgment result is that while being at the second judging unit, the relevant information of product corresponding to the Product Identifying in this mandate or anti-authorized order is replaced to the relevant information having existed, safety time is constant;
The second information updating unit, is connected with this second judging unit, when the determination result is NO at the second judging unit, the relevant information of product corresponding to the Product Identifying in this mandate or anti-authorized order is replaced to the relevant information having existed; And replaced to the safety time of the product having existed the end time in the relevant information of authorizing product corresponding to the Product Identifying in this mandate or anti-authorized order, to obtain the safety time of the product of renewal.
In the present embodiment, this device also comprises:
Information retrieval unit, numbers the relevant information of corresponding product for retrieving this safety device;
Third reading is got unit, is connected with this information retrieval unit, reads the relevant information of this product;
The 3rd judging unit, gets unit with this third reading and is connected, for judging whether the safety time of product is not more than current time;
The first delete cells, is connected with the 3rd judging unit, while being not more than current time for the safety time at the 3rd judging unit judgement product, and the relevant information of deleting this product;
The 3rd information determining unit, be connected with this first delete cells with the 3rd judging unit, while not being not more than current time for the safety time at the 3rd judging unit judgement product, after the relevant information of the first delete cells deletion product, determine whether also to exist the relevant information of untreated product;
This third reading is got unit also for determining and also exist after the relevant information of untreated product in the 3rd information determining unit, continues to read the relevant information of untreated product, until handle the relevant information of whole products.
In addition, this device also comprises the second delete cells (not shown), be connected with information generating unit 1104 with information recording unit 1103, before generating Entitlement Management Message in information generating unit 1104, delete the data that this this safety device of Entitlement Management Message table is numbered corresponding Entitlement Management Message.
From above-described embodiment; cas system front end can be safeguarded automatically to expired authorization message; both Delete Expired data when loading, sending; like this; can reduce redundant data, and no longer send expired EMM packet, therefore; alleviate the processing load of front end, the speed of saving Internet resources, raising transmission packet, effectively protected terminal use and service provider's interests.In addition, this cas system front end is data in maintenance customer's authorization list and EMM packet table automatically also, can further reduce redundant data, save memory space.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only the specific embodiment of the present invention; the protection range being not intended to limit the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (16)
1. a method for sending information, is characterized in that, described method comprises:
Receive and authorize or anti-authorized order, described mandate or anti-authorized order comprise relevant information, and described relevant information comprises safety device numbering, instruction type sign, Product Identifying, time started and end time;
By authorize or anti-authorized order in the relevant information of product corresponding to Product Identifying and the safety time of the product that obtains according to the described end time be recorded in subscriber authorisation table;
The safety time packing of the Entitlement Management Message of safety device described in described subscriber authorisation table being numbered to the relevant information of corresponding product and obtaining according to the safety time of described product generates Entitlement Management Message and is recorded in Entitlement Management Message table; Wherein,
When described Entitlement Management Message comprises an authorizing product, the safety time that the safety time of described Entitlement Management Message is described product; When described Entitlement Management Message comprises more than one product, the safety time of described Entitlement Management Message is the safety time corresponding to product of safety time maximum in a described above product;
The Entitlement Management Message of generation is loaded in transmit queue;
Read transmit queue Entitlement Management Message to be sent, described Entitlement Management Message is according to the Entitlement Management Message of user's mandate or the generation of anti-authorized order, comprises the safety time of safety device sign, Product Identifying and Entitlement Management Message;
If determine, the safety time of Entitlement Management Message to be sent is greater than current time, sends described Entitlement Management Message to terminal equipment;
If determine, the safety time of Entitlement Management Message to be sent is not more than current time, deletes the described Entitlement Management Message reading.
2. method according to claim 1, is characterized in that, described method also comprises:
If determine and also have the Entitlement Management Message not sending, continue to read the Entitlement Management Message not sending, until handle all Entitlement Management Messages.
3. method according to claim 1, is characterized in that, the described Entitlement Management Message by generation is loaded in transmit queue, comprising:
Read the Entitlement Management Message of generation;
If determine, the safety time of the Entitlement Management Message reading is greater than current time, is loaded into the Entitlement Management Message reading in transmit queue.
4. method according to claim 3, is characterized in that, in the Entitlement Management Message reading is loaded into transmit queue after, described method also comprises:
If determine and also have the Entitlement Management Message not reading, continue to read Entitlement Management Message, until handle all Entitlement Management Messages.
5. method according to claim 1, is characterized in that, described by authorize or anti-authorized order in the relevant information of product corresponding to Product Identifying and the safety time of the product that obtains according to the described end time be recorded in subscriber authorisation table, comprising:
Read the relevant information of described product;
Already in whether the relevant information of determining the product that Product Identifying in described mandate or anti-authorized order is corresponding in subscriber authorisation table;
If described relevant information is not present in subscriber authorisation table, the relevant information of described product is deposited in described subscriber authorisation table; And the safety time of product is recorded in described subscriber authorisation table, the safety time of described product is the described end time.
6. method according to claim 5, is characterized in that, described method also comprises:
If described relevant information Already in subscriber authorisation table, judges the safety time of product described in described subscriber authorisation table and whether is greater than the end time in the relevant information of the product that Product Identifying in described mandate or anti-authorized order is corresponding;
If the determination result is YES, the relevant information of product corresponding to the Product Identifying in described mandate or anti-authorized order is replaced to the relevant information having existed, safety time is constant;
If the determination result is NO, the relevant information of product corresponding to the Product Identifying in described mandate or anti-authorized order is replaced to the relevant information having existed; Replaced to the safety time of the product having existed the end time in the relevant information of authorizing product corresponding to the Product Identifying in described mandate or anti-authorized order, the safety time upgrading to obtain product.
7. method according to claim 1, is characterized in that, described method also comprises:
Retrieve safety device described in described subscriber authorisation table and number the relevant information of corresponding product;
Read the relevant information of described product;
If the safety time of described product is not more than current time, delete the relevant information of described product;
If determine the relevant information that also has untreated product, continue to read the relevant information of untreated product, until handle the relevant information of whole products.
8. method according to claim 1, it is characterized in that, before the safety time packing of the described Entitlement Management Message of safety device described in described subscriber authorisation table being numbered to the relevant information of corresponding product and obtaining according to the safety time of described product generates Entitlement Management Message, described method also comprises: delete the data that safety device described in described Entitlement Management Message table is numbered corresponding Entitlement Management Message.
9. an information transmitting apparatus, is characterized in that, described device comprises:
Entitlement Management Message generation unit, for generating Entitlement Management Message according to user's mandate or anti-authorized order; Described Entitlement Management Message generation unit also comprises: command reception unit, product safety time calculating unit, information recording unit, information generating unit;
Command reception unit, authorizes or anti-authorized order for receiving, and described mandate or anti-authorized order comprise relevant information, and described relevant information comprises safety device numbering, instruction type sign, Product Identifying, time started and end time;
Product safety time calculating unit, and instruction receiving element connects, in order to according to the safety time of the end time counting yield in described relevant information;
Information recording unit, and instruction receiving element is connected with product safety time calculating unit, for authorizing or the safety time of the relevant information of the product that the Product Identifying of anti-authorized order is corresponding and the product that obtains according to the described end time is recorded to subscriber authorisation table;
Information generating unit, be connected with memory cell with described information recording unit, for safety device described in described subscriber authorisation table being numbered to the relevant information of corresponding product and generating Entitlement Management Message and be recorded to Entitlement Management Message table according to the safety time packing of the Entitlement Management Message of the safety time acquisition of described product; Wherein, when described Entitlement Management Message comprises an authorizing product, the safety time that the safety time of described Entitlement Management Message is described product; When described Entitlement Management Message comprises more than one product, the safety time of described Entitlement Management Message is the safety time corresponding to product of safety time maximum in a described above product;
Information loading unit, is connected with described Entitlement Management Message generation unit, for the Entitlement Management Message of generation is loaded into transmit queue;
Memory cell, is connected with described Entitlement Management Message generation unit, for storing Entitlement Management Message and the transmit queue of generation; Memory cell is also for stored user authorization list;
Information reading unit, for reading transmit queue Entitlement Management Message to be sent, described Entitlement Management Message is according to the Entitlement Management Message of user's mandate or the generation of anti-authorized order, comprises the safety time of safety device sign, Product Identifying and Entitlement Management Message;
Time determining unit, is connected with information reading unit, for determining whether the safety time of the Entitlement Management Message that transmit queue is to be sent is greater than current time;
Information transmitting unit, is connected with time determining unit, for when described time determining unit determines that the safety time of Entitlement Management Message to be sent is greater than current time, to terminal equipment, sends described Entitlement Management Message;
Information deletion unit, is connected with described time determining unit, for when described time determining unit determines that the safety time of Entitlement Management Message to be sent is not more than current time, deletes the described Entitlement Management Message reading.
10. device according to claim 9, is characterized in that, described device also comprises:
Information determining unit, be connected with time determining unit with described information transmitting unit, for when time determining unit determines that the safety time of Entitlement Management Message to be sent is not more than current time or after information transmitting unit sends described Entitlement Management Message to terminal equipment, determine whether also to exist the Entitlement Management Message not sending;
Described information reading unit also, for when information determining unit is determined the Entitlement Management Message that also has not transmission, continues to read the Entitlement Management Message not sending, until handle all Entitlement Management Messages.
11. devices according to claim 9, is characterized in that, described information loading unit comprises:
The first reading unit, for reading the Entitlement Management Message of generation;
The first judging unit, is connected with described the first reading unit, for judging whether the safety time of the Entitlement Management Message reading is greater than current time;
Loading unit, is connected with described the first judging unit, for when described the first judging unit determines that the safety time of the Entitlement Management Message reading is greater than current time, the Entitlement Management Message reading is loaded in transmit queue.
12. devices according to claim 11, is characterized in that, described information loading unit also comprises:
First information determining unit, be connected with loading unit with described the first reading unit, the first judging unit, for when the first judging unit judges that the safety time of the Entitlement Management Message reading is not more than current time or after loading unit loads the Entitlement Management Message reading, determine whether also to exist the Entitlement Management Message not loading;
Described the first reading unit also, for when first information determining unit is determined the Entitlement Management Message that also has not loading, continues to read the Entitlement Management Message not loading, until handle all Entitlement Management Messages.
13. devices according to claim 9, is characterized in that, described information recording unit comprises:
The second reading unit, for reading the relevant information of described product;
Already in whether the second information determining unit, is connected with described the second reading unit, for the relevant information of determining the product that the Product Identifying of described mandate or anti-authorized order is corresponding in subscriber authorisation table;
Record cell, for when described the second information determining unit determines that described relevant information is not present in subscriber authorisation table, the safety time of the relevant information of described product and product is deposited in the described subscriber authorisation table of memory cell, the safety time of described product is the described end time.
14. devices according to claim 13, is characterized in that, described device also comprises:
The second judging unit, for determining that at described the second information unit described relevant information Already in during subscriber authorisation table, judges whether the safety time of described product is greater than the end time;
First information updating block, be connected with described the second judging unit, for judgment result is that while being at the second judging unit, the relevant information of product corresponding to the Product Identifying in described mandate or anti-authorized order is replaced to the relevant information having existed, safety time is constant;
The second information updating unit, is connected with described the second judging unit, when the determination result is NO at the second judging unit, the relevant information of product corresponding to the Product Identifying in described mandate or anti-authorized order is replaced to the relevant information having existed; And replaced to the safety time of the product having existed the end time in the relevant information of authorizing product corresponding to the Product Identifying in described mandate or anti-authorized order, to obtain the safety time of the product of renewal.
15. devices according to claim 9, is characterized in that, described device also comprises:
Information retrieval unit, numbers the relevant information of corresponding product for retrieving described safety device;
Third reading is got unit, is connected with described information retrieval unit, reads the relevant information of described product;
The 3rd judging unit, gets unit with described third reading and is connected, for judging whether the safety time of product is not more than current time;
The first delete cells, is connected with described the 3rd judging unit, while being not more than current time for the safety time at described the 3rd judging unit judgement product, and the relevant information of deleting described product;
The 3rd information determining unit, be connected with described the first delete cells with described the 3rd judging unit, while not being not more than current time for the safety time at the 3rd judging unit judgement product, after the relevant information of the first delete cells deletion product, determine whether also to exist the relevant information of untreated product;
Described third reading is got unit also for determining and also exist after the relevant information of untreated product in described the 3rd information determining unit, continues to read the relevant information of untreated product, until handle the relevant information of whole products.
16. devices according to claim 9, it is characterized in that, described device also comprises the second delete cells, be connected with information generating unit with described information recording unit, for before described information generating unit generates described Entitlement Management Message, delete the data that safety device described in described Entitlement Management Message table is numbered corresponding Entitlement Management Message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910089212.0A CN101945247B (en) | 2009-07-09 | 2009-07-09 | Message sending method and device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910089212.0A CN101945247B (en) | 2009-07-09 | 2009-07-09 | Message sending method and device thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101945247A CN101945247A (en) | 2011-01-12 |
CN101945247B true CN101945247B (en) | 2014-04-02 |
Family
ID=43436983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910089212.0A Active CN101945247B (en) | 2009-07-09 | 2009-07-09 | Message sending method and device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101945247B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103036648B (en) * | 2012-12-13 | 2016-01-27 | 福建星网锐捷网络有限公司 | A kind of CAPWAP message processing method and device |
CN105681840B (en) * | 2016-01-07 | 2019-10-29 | 深圳Tcl数字技术有限公司 | Method and system, the television terminal, CA server of TV programme permission control |
CN109033830A (en) * | 2018-08-10 | 2018-12-18 | 上海联寓智能科技有限公司 | Data safety processing method, device, equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1816137A (en) * | 2006-03-03 | 2006-08-09 | 北京广博数字电视科技有限公司 | Method for realizing master-slave intelligent card for one-user multiple-terminal management |
CN101179345A (en) * | 2006-11-10 | 2008-05-14 | 北京视博数字电视科技有限公司 | Method of encrypting and decrypting condition receiving system |
CN101370116A (en) * | 2007-08-17 | 2009-02-18 | 北京视博数字电视科技有限公司 | Digital television condition receiving system and its scrambling and descrambling method |
-
2009
- 2009-07-09 CN CN200910089212.0A patent/CN101945247B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1816137A (en) * | 2006-03-03 | 2006-08-09 | 北京广博数字电视科技有限公司 | Method for realizing master-slave intelligent card for one-user multiple-terminal management |
CN101179345A (en) * | 2006-11-10 | 2008-05-14 | 北京视博数字电视科技有限公司 | Method of encrypting and decrypting condition receiving system |
CN101370116A (en) * | 2007-08-17 | 2009-02-18 | 北京视博数字电视科技有限公司 | Digital television condition receiving system and its scrambling and descrambling method |
Also Published As
Publication number | Publication date |
---|---|
CN101945247A (en) | 2011-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1655133B (en) | Method and system of external data storage | |
US7043020B2 (en) | Smartcard for use with a receiver of encrypted broadcast signals, and receiver | |
US20040022271A1 (en) | Signal generation and broadcasting | |
CN101945248A (en) | But handle the recorded content in the stream | |
CN1238885A (en) | Decoding apparatus/method and data format for processing and storing encrypted video data | |
JP5710160B2 (en) | Process recordable content in the stream | |
US20090151000A1 (en) | License management device and method | |
CN104618799B (en) | Video broadcasting method and device | |
CN101924907B (en) | Method for realizing condition receiving, terminal equipment and front end thereof | |
CN1220381C (en) | Record regeneration device, control method and guard against illegal system | |
CA2724795C (en) | Method for the allocation and management of subscriptions for the reception of broadcast products | |
CN101945247B (en) | Message sending method and device thereof | |
CN102111651A (en) | Method for recording program, method for broadcasting program, front end and terminal equipment | |
JP2006508593A (en) | Message distribution method in communication on mobile phone network for digital multimedia network and receiver / decoder used therefor | |
CN108293143B (en) | Method for identifying a secure processor | |
CN102215433B (en) | User authorization method and safety device | |
CN111417122A (en) | Attack prevention method and device | |
CN201467344U (en) | Programme recording device and audience rating control device | |
CN201430640Y (en) | Terminal device | |
CN101583012B (en) | Method for realizing two-stage condition receiving system and front end and final end of two-stage condition receiving system | |
CN101563920B (en) | Method for managing the number of visualisations, security processor and terminal for said method | |
CN103026723B (en) | The method of protected content | |
CN107396141A (en) | A kind of program playing management method, player method, device and playback terminal | |
CN201639710U (en) | Whole network maintenance device, digital television front-end system and terminal equipment | |
US8910306B2 (en) | Content record terminal, content record/reproduction system, and content recording method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |