CN105916031B - Method and device for processing authorization management information - Google Patents
Method and device for processing authorization management information Download PDFInfo
- Publication number
- CN105916031B CN105916031B CN201610305533.XA CN201610305533A CN105916031B CN 105916031 B CN105916031 B CN 105916031B CN 201610305533 A CN201610305533 A CN 201610305533A CN 105916031 B CN105916031 B CN 105916031B
- Authority
- CN
- China
- Prior art keywords
- management information
- authorization management
- information
- content
- authorization
- 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
- 238000013475 authorization Methods 0.000 title claims abstract description 328
- 238000012545 processing Methods 0.000 title claims abstract description 58
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000004806 packaging method and process Methods 0.000 claims description 16
- 238000003672 processing method Methods 0.000 claims description 13
- 238000001914 filtration Methods 0.000 claims description 4
- 230000000903 blocking effect Effects 0.000 abstract description 3
- 230000008569 process Effects 0.000 description 9
- 230000010365 information processing Effects 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 239000000872 buffer Substances 0.000 description 1
- 239000012464 large buffer Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
- H04N21/4623—Processing of entitlement messages, e.g. ECM [Entitlement Control Message] or EMM [Entitlement Management Message]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/254—Management at additional data server, e.g. shopping server, rights management server
- H04N21/2541—Rights Management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
- H04N21/26606—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel for generating or managing entitlement messages, e.g. Entitlement Control Message [ECM] or Entitlement Management Message [EMM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/418—External card to be used in combination with the client device, e.g. for conditional access
- H04N21/4181—External card to be used in combination with the client device, e.g. for conditional access for conditional access
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Storage Device Security (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention discloses a method and a device for processing authorization management information, relates to the technical field of digital televisions, and aims to solve the problems that in the prior art, a large number of frequent emm data occupy large storage resources, and the emm data are not processed timely, so that blocking and data loss are easily caused. The method comprises the following steps: receiving authorization management information sent by the front end of the conditional access system; determining an information attribute of the authorization management information, wherein the information attribute comprises shared information or personal information; determining whether the authorization management information is valid or not according to the information attribute of the authorization management information; and if the authorization management information is invalid, discarding the authorization management information.
Description
Technical Field
The invention relates to the technical field of digital televisions, in particular to a method and a device for processing authorization management information.
Background
The basic purpose of the digital television Conditional Access System (BS Conditional Access System, B-CAS) is to implement paid services of a digital broadcast System by authorized control and management of users, and to provide more and higher quality service contents to users while providing economic returns to operators.
The B-CAS front-end may continuously send authorization management message (emm) to the set-top box, where the information content may be mail (mail) and notification (message). The set-top box can directly push all the received emms to a user, because the emm data sent by the front end is large and frequent, a large buffer queue needs to be established in the set-top box to buffer the data, if the data is not processed timely, the data is blocked, if the data is blocked, the data is transmitted, the data cannot be received, the problem of data loss is possibly caused, and the success rate of data reception is low. Meanwhile, relatively speaking, in the same time, data is received less, so that the reception rate becomes slow.
Disclosure of Invention
The embodiment of the invention provides a method and a device for processing authorization management information, which are used for solving the problems that in the prior art, a large amount of frequent emm data occupy large storage resources, and the emm data are not processed timely, so that the jam and the data loss are easily caused.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a method for processing authorization management information, where the method includes:
receiving authorization management information sent by the front end of the conditional access system;
determining an information attribute of the authorization management information, wherein the information attribute comprises shared information or personal information;
determining whether the authorization management information is valid or not according to the information attribute of the authorization management information;
and if the authorization management information is invalid, discarding the authorization management information.
In a second aspect, an embodiment of the present invention provides an apparatus for processing authorization management information, where the apparatus includes:
the receiving unit is used for receiving the authorization management information sent by the front end of the conditional access system;
an attribute determining unit configured to determine an information attribute of the authorization management information, where the information attribute includes shared information or personal information;
the validity determining unit is used for determining whether the authorization management information is valid according to the information attribute of the authorization management information;
and the processing unit is used for discarding the authorization management information if the authorization management information is invalid.
The embodiment of the invention provides a method and a device for processing authorization management information. And the authorization management information processing device receives the authorization management information sent by the front end of the conditional access system, classifies and filters the authorization management information according to the information attribute of the authorization management information, and discards invalid data. In the embodiment, invalid data is discarded, and a subsequent processing flow of the invalid information in all the received authorization management information is not required, so that compared with the prior art, the amount of information required for the subsequent processing flow is reduced, and therefore, storage resources (such as cache) can be saved. Meanwhile, relatively speaking, in the same time, the processing device for authorizing the management information receives more emm data, and the data receiving rate is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a system architecture framework diagram based on which a processing method of authorization management information provided by an embodiment of the present invention is based;
fig. 2 is a flowchart of a method for processing authorization management information according to an embodiment of the present invention;
fig. 3 is a flowchart of another authorization management information processing method according to an embodiment of the present invention;
fig. 4 is a flowchart of another authorization management information processing method according to an embodiment of the present invention;
fig. 5 is a flowchart of a processing method of authorization management information according to another embodiment of the present invention;
fig. 6 is a block diagram of an apparatus for processing authorization management information according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and 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 term "and/or" in the embodiment of the present invention is only one kind of association relationship describing an associated object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in the embodiment of the present invention generally indicates that the preceding and following related objects are in an "or" relationship.
For the convenience of clearly describing the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", and the like are used to distinguish the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the words "first", "second", and the like do not limit the quantity and execution order.
Referring to the block diagram of fig. 1, the operation principle of the embodiment of the present invention is that a processing device of authorization management information (a set-top box or a combination of the set-top box and a display) receives authorization management information sent by a front end of a conditional access system, classifies and filters the authorization management information, discards invalid data, and pushes valid authorization management information (hereinafter, referred to as valid information) to a user, so that the user can view the valid information through a digital television. Specifically, the front end of the receiving condition receiving system may send the authorization management information to the set-top box, and the set-top box sends the authorization management information to the display after processing, so that the user can view the authorization management information through the display. The set-top box and the display can form an integrated machine or can be independently arranged.
In addition, if the size of the storage resource of the embodiment is consistent with that of the storage resource in the prior art, the embodiment of the invention does not cause data blocking due to untimely data processing, and on the contrary, the embodiment of the invention can store more effective information, thereby reducing the loss of the effective information caused by data blocking. Meanwhile, relatively speaking, in the same time, the processing device for authorizing the management information receives more emm data, and the data receiving rate is improved.
For example, the data structures of the authorization management information may include the following two types, as shown in table 1 and table 2, but other data structures may also be available, which are not listed here. It should be noted that the fields in the two tables are only partial fields of the real authorization management information.
Table 1: structure 1 of authorization management information
Table 2: structure 2 of authorization management information
In the following, a method for processing authorization management information provided by an embodiment of the present invention will be described in detail in conjunction with the above two types of authorization management information.
Example one
The embodiment of the invention provides a processing method of authorization management information, wherein an execution subject of the method is a processing device of the authorization management information, and the device can be a set top box shown in figure 1, also can be an all-in-one machine of the set top box and a display, and also can be some hardware and/or software modules in the set top box. As shown in fig. 2, the method comprises the steps of:
s101, receiving authorization management information sent by the front end of the conditional access system.
The conditional Access system may be a CAS (conditional Access system), and in the embodiment of the present invention, the conditional Access system is preferably a B-CAS.
For convenience of subsequent description, the authorization management information received in this step is recorded as: emm _ T.
S102, determining the information attribute of the authorization management information (emm _ T).
The step may specifically include: and determining the information attribute of the emm _ T according to the field in the emm _ T, wherein the information attribute comprises shared (common) information or personal (individual) information. Those skilled in the art will appreciate that this field is a field that determines whether emm _ T is shared information or personal information.
The following are exemplified: according to two fields of table _ id and table _ id _ extension in the authorization management information, classifying the authorization management information, namely determining the type of each authorization management information. Specifically, if emm _ T has the data structure shown in table 1, and at this time, table _ id in emm _ T is 0x85 and table _ id _ extension is one of 0x0001 to 0xFFFF (that is, table _ id _ extension is not 0x0000), emm _ T is shared information. If emm _ T has the data structure of table 2, and at this time, table _ id of emm _ T is 0x85 and table _ id _ extension is 0x0000, emm _ T is personal information.
S103, determining whether the emm _ T is valid according to the information attribute of the authorization management information (emm _ T).
The authorization management information can be set as valid information and the authorization management information can be set as invalid information according to actual requirements, so long as the authorization management information required by the user can be pushed to the user, and redundancy in the process can be avoided.
Wherein, if emm _ T is shared information, the step specifically includes: it is determined whether the emm _ T is duplicated with the historical entitlement management information. The historical authorization management information is authorization management information received in a time period before emm _ T is received, and one of the historical authorization management information may be the same as emm _ T, for example, the historical authorization management information which is the same as emm _ T may be marked as emm _0, and at this time, it is considered that repeated historical authorization management information exists.
For example: the authorization management information processing device may be provided with a database for storing the historical authorization management information or a field used for determining whether to repeat the historical authorization management information. Exemplary fields for determining whether to repeat include: table _ ID _ extension, version _ number, group _ ID.
At this time, the step may be comparing a field used for determining whether to repeat in the received emm _ T with a field used for determining whether to repeat in the historical authorization management information in the database, and if table _ ID _ extension, version _ number, and group _ ID of the emm _ T and one piece of historical authorization management information (e.g., emm _0) in the database are the same, determining that the emm _ T and the historical authorization management information are repeated, and at this time, the emm _ T is invalid; otherwise, there is no repetition, and the emm _ T is valid.
In addition, if emm _ T is personal information, this step may include: it is determined whether the emm _ T contains a local card number. The local card number refers to a card number of a smart card inserted into the authorization management information processing apparatus in this embodiment.
For example, if emm _ T is personal information, a local card _ ID (smart card number) is acquired, and the local card _ ID is compared with a card _ ID in emm _ T, if the card _ ID in emm _ T is consistent with the card _ ID of the emm _ T, the emm _ T is valid, otherwise, the emm _ T is invalid.
And S104, if the emm _ T is invalid, discarding the emm _ T.
The implication of discarding invalid entitlement management information is: the invalid entitlement management messages are not subsequently processed. Further, the invalid authorization management information is not saved, and at this time, the invalid authorization management information is not used as the historical authorization management information in the process of subsequently receiving other authorization management information again.
It should be noted that, the above steps S101 to S104 may be performed by some hardware and/or software modules in the set-top box, for example, may be performed by the data obtaining module.
And S105, if the emm _ T is effective, performing subsequent processing.
This step may be a processing method in the prior art, or may be a processing method in the second embodiment later in this application, so as to push the emm _ T to the user.
The embodiment of the invention provides a processing method of authorization management information, wherein a processing device of the authorization management information receives the authorization management information sent by a front end of a conditional access system, classifies and filters the authorization management information according to the information attribute of the authorization management information, and discards invalid data. Compared with the prior art, the embodiment of the invention solves the problems that a large amount of frequent emm data occupies large storage resources, and the emm data is not processed timely, so that the jam and the data loss are easily caused, thereby saving the storage resources (such as cache) and improving the data processing rate and the data receiving rate.
Example two
The method for performing subsequent processing on the effective emm _ T obtained in step S105 of the above embodiment includes the following steps, as shown in fig. 3:
s201, if the emm _ T is valid information, determining the type of the information content in the emm _ T.
The step may specifically include: the type of the information content in the emm _ T is determined according to the field in the emm _ T, wherein the type of the information content comprises mail (mail) or notification (message). For example, if the valid emm _ T is personal information, whether the information content in the emm _ T is a mail or a notification is distinguished according to the Message control in the emm _ T. If the valid emm _ T is the shared information, first, it is required to compare a format _ version field in the shared information with an extra _ message _ format _ version field in an information list (when the emm _ T is the personal information, the information list collects the extra _ message _ format _ version field therein, which is used to indicate whether the subsequently received emm _ T shared information is the local information) field, so as to distinguish whether the received valid authorization management information is the data that the local computer needs to receive currently. If the data is the data which needs to be received by the current local machine, distinguishing whether the data is the mail or the notification according to the Message control, and otherwise, discarding the data. It should be noted that, when the valid authorization management information is shared information, this step performs filtering of the emm information once again, discards redundant emm information, further saves cache resources, and improves the data processing rate of the authorization management information processing apparatus.
It should be noted that, the above step S201 may be performed by some hardware and/or software module in the set-top box, for example, may be performed by a data classification module in the set-top box.
S202, analyzing and storing the information content in the emm _ T from the emm _ T according to the information attribute of the emm _ T and the type of the information content in the emm _ T.
In the first case: referring to fig. 4, the information content in emm _ T is a mail, and the specific process is as follows.
(1) If the emm _ T is personal information and the information content is a mail (denoted as emm _ T _ email), the method specifically comprises the following steps: and detecting whether the emm _ T _ incoming is encrypted, if so, analyzing the decrypted emm _ T _ incoming and storing the information content of the emm _ T _ incoming, otherwise, directly analyzing the emm _ T _ incoming and storing the information content of the emm _ T _ incoming. Further, in this process, the processing device of the authorization management information may collect the information of the extra _ message _ format _ version field in the emm _ T _ email and store the information in the information list, which may be stored in a form without the information list as long as there is a predetermined storage space.
For example, for the emm _ T _ incoming, whether the emm _ T _ incoming is encrypted information may be detected according to a Protocol number in the emm _ T _ incoming. If the emm _ T _ email is encrypted, the emm _ T _ email is sent to the smart card for decryption, and the decrypted emm _ T _ email returned by the smart card is received and stored; if emm _ T _ email is not encrypted, directly storing. And collecting the information of the extra _ message _ format _ version field in the emm _ T _ email and storing the information into the information list.
Wherein, if the Protocol number in the emm _ T _ incoming is 0xff, it indicates that the emm _ T _ incoming is not encrypted, otherwise, the emm _ T _ incoming is encrypted.
(2) If the emm _ T is shared information and the information content is mail (denoted as emm _ T _ mail), the method specifically comprises the following steps: and detecting whether the emm _ T _ mail is authorization management information for the machine, if so, analyzing the emm _ T _ mail and storing the information content of the emm _ T _ mail, and otherwise, discarding.
For example, for the emm _ T _ mail, first, the format _ version in the emm _ T _ mail is acquired, and whether the same information as the format _ version exists is searched from the information list for storing the extra _ message _ format _ version information. If yes, the mail is mail data corresponding to the local machine and is stored; otherwise, the mail is discarded. In the step, the emm information is filtered again, redundant emm information is discarded, storage resources can be further saved, and the data processing rate of the processing device for the authorization management information is improved.
Further, no matter emm _ T is the above-mentioned emm _ T _ email or emm _ T _ email, parsing and storing the information content of emm _ T may include: storing the emm _ T into a first storage module, when the number of the authorization management information in the first storage module reaches a preset number, packaging the authorization management information with the preset number, storing the authorization management information content obtained after packaging into a second storage module, and deleting the authorization management information with the preset number in the first storage module from the first storage module.
It should be noted that, in this embodiment, the first storage module is a storage space in the memory, and may be a data block, and the emm _ T may be stored in the storage space in an information list manner. The second storage module is a storage chip, so that a display can read the information content (e-mail) of the emm _ T from the storage chip so as to display the emm _ T on the display; examples may be e2prom, flash, ram, etc.
The process of packaging the preset number of authorization management information may include: and extracting respective information content from the preset number of pieces of authorization management information so as to store the extracted information content into the second storage module.
Further, the process of performing the packaging processing on the preset number of authorization management information may further include: redundant authorization management information with the same message _ ID and group _ ID is filtered from the preset number of authorization management information, the receiving time of the authorization management information is compared with the effective time period limit _ date of the mail, and if the receiving time is not in the effective time period, the authorization management information does not need to be sent to a second storage module; that is, if the message _ ID and the group _ ID of the plurality of pieces of entitlement management information are the same and the reception times thereof are within the valid period, only one of the pieces of entitlement management information may be retained. And then, extracting the information content and the like on the authorization management information retained after filtering so as to store the extracted information content into the second storage module. The filtering of the emm information is carried out again in the step, redundant emm information is discarded, storage resources can be further saved, and the data processing rate of the processing device for the authorization management information is improved.
Furthermore, after the information content of the authorization management information is stored in the second storage module, the processing device of the authorization management information can also notify the display device of the arrival of a new mail in an event mode, that is, the display device displays the identification of the received new mail to prompt the user to receive the new mail. The display device can read and display the mail corresponding to the new mail identification from the second storage module according to the reading instruction of the user, so that the user can read the mail. The mail information may be stored in the second storage module until the display device notifies the processing device of the authorization management information after receiving a deletion instruction of the user, so that the processing device of the authorization management information deletes the mail from the second storage module. Of course, the processing device for authorization management information may also automatically delete the mail according to a preset deletion policy.
Need to explain: the second storage module is used for storing the information content of the authorization management information (the information content is the emm of the mail), and can support the read-write operation of the mail. Specifically, the operations of reading, writing, querying, deleting, and the like may be performed on the second storage module. The storage format of each mail in the second storage module comprises: read/write status, message _ ID, group _ ID, mail data size, mail data (information content), and the like. In addition, the storage format of each mail in the second storage module may further include: a time field for indicating a time when the processing device of the entitlement management information receives the emm. Furthermore, the mails in the second storage module can be sorted according to the sequence indicated by the time field, so that the corresponding mails can be conveniently searched according to the time field. Further, the maximum value of the mails which can be stored in the second storage module can be preset, and when the number of the mails reaches the maximum value, the mail which is received at the earliest time is deleted.
In the second case: referring to fig. 5, the information content in emm _ T is a notification, and the specific process is as follows.
(1) If emm _ T is personal information and the content of the personal information is a notification (denoted as emm _ T _ image), the method specifically comprises the following steps: decrypting the emm _ T _ image, analyzing the decrypted emm _ T _ image and storing the information content of the emm _ T _ image. Further, in this process, the processing device that authorizes management information may collect the information of the extra _ message _ format _ version field in the emm _ T _ image and store the information in the information list, or certainly, the information may not be stored in the form of the information list, as long as the information exists in a preset storage space.
For example, as to emm _ T _ image, since emm _ T _ image is encrypted, emm _ T _ image is sent to the smart card for decryption, and decrypted emm _ T _ image returned by the smart card is received and stored. And collecting the information of the extra _ message _ format _ version field in the emm _ T _ image and storing the information into the information list.
(2) If emm _ T is shared information and the content of the information is notification (denoted as emm _ T _ message), the method specifically includes: and detecting whether the emm _ T _ message is authorization management information for the machine, if so, analyzing the emm _ T _ message and storing the information content of the emm _ T _ message, and otherwise, discarding the emm _ T _ message.
For example, for em _ T _ message, first, format _ version in em _ T _ message is acquired, and whether the same information as the format _ version exists is searched from the information list for storing the extra _ message _ format _ version information. If yes, the notification is the notification data corresponding to the local computer and is stored; otherwise, the notification is discarded. In the step, the emm information is filtered again, redundant emm information is discarded, cache resources are further saved, and the data processing rate of the processing device for the authorization management information is improved.
Whether the emm _ T is the above-mentioned emm _ T _ image or emm _ T _ message, analyzing and storing the information content of the emm _ T may include: storing the emm _ T in a third storage module, when the number of the authorization management information in the third storage module reaches a preset number, packaging the authorization management information with the preset number, storing the authorization management information content obtained after packaging in a fourth storage module, and deleting the authorization management information with the preset number in the third storage module from the third storage module.
Need to explain: in this embodiment, the third storage module is a storage space in the memory, and may be a data block, and the example may store emm _ T in the storage space in the form of an information list. The fourth storage module is a storage space in the memory, and is deleted if the user views the notification.
Furthermore, the process of packaging the preset number of pieces of authorization management information may further include operations such as extracting information content from the authorization management information, so as to store the extracted information content in the fourth storage module.
Furthermore, after the information content of the authorization management information is stored in the fourth storage module, the application can be notified to display in an event mode. Specifically, if a notification meeting the conditions is received, the notification is sent to the display device in an event mode for display, if the user confirms to watch the notification, the notification is deleted in the storage module, and if the user does not watch the notification, the notification is stored in the memory.
EXAMPLE III
The embodiment of the present invention provides a device for processing authorization management information, where the device may be software or hardware, and the implementation of each functional module may refer to the above embodiments, which are not described herein again. As shown in fig. 6, the apparatus includes:
a receiving unit 61, configured to receive authorization management information sent by a front end of the conditional access system;
an attribute determining unit 62 configured to determine an information attribute of the authorization management information, where the information attribute includes shared information or personal information;
a validity determining unit 63, configured to determine whether the authorization management information is valid according to an information attribute of the authorization management information;
and the processing unit 64 is configured to discard the authorization management information if the authorization management information is invalid.
The processing device for the authorization management information provided by the third embodiment of the invention receives the authorization management information sent by the front end of the conditional access system, classifies and filters the authorization management information according to the information attribute of the authorization management information, and discards invalid data. Compared with the prior art, the embodiment of the invention solves the problems that a large amount of frequent emm data occupies large storage resources, and the emm data is not processed timely, so that the jam and the data loss are easily caused, thereby saving the storage resources (such as cache) and improving the data processing rate and the data receiving rate.
Optionally, the validity determining unit 62 is specifically configured to determine whether the authorization management information is duplicated with historical authorization management information if the authorization management information is shared information, and if there is historical authorization management information duplicated with the authorization management information, the authorization management information is invalid, otherwise, the authorization management information is valid, where the historical authorization management information is authorization management information received in a time period before the authorization management information is received.
And/or the validity determining unit 62 is specifically configured to determine whether the authorization management information includes a local card number if the authorization management information is personal information, where the authorization management information is valid if the authorization management information includes the local card number, and the authorization management information is invalid if the authorization management information does not include the local card number.
Optionally, the apparatus may further include: a type determining unit 65, configured to determine a type of information content in the authorization management information if the authorization management information is valid information, where the type of information content includes a mail or a notification; and a content analysis unit 66 for analyzing and storing the information content in the authorization management information from the authorization management information according to the information attribute of the authorization management information and the type of the information content in the authorization management information.
Optionally, the content analyzing unit 66 is specifically configured to, when the authorization management information is personal information and information content in the authorization management information is a mail, detect whether the authorization management information is encrypted information, if the authorization management information is encrypted information, analyze and store information content of the authorization management information for the decrypted authorization management information, and otherwise, analyze and store information content of the authorization management information for the authorization management information; and under the condition that the authorization management information is shared information and the information content in the authorization management information is a mail, detecting whether the authorization management information is the authorization management information aiming at the local machine, and if so, analyzing and storing the information content of the authorization management information aiming at the authorization management information.
Or, the optional content parsing unit 66 is specifically configured to, when the authorization management information is personal information and information content in the authorization management information is a notification, decrypt the authorization management information, parse the decrypted authorization management information, and store information content of the authorization management information; and under the condition that the authorization management information is shared information and the information content in the authorization management information is a notice, detecting whether the authorization management information is the authorization management information aiming at the local computer, and if so, analyzing and storing the information content of the authorization management information aiming at the authorization management information.
Optionally, in a case that the information content in the authorization management information is a mail, the content analysis unit 66 is further specifically configured to store the authorization management information in a first storage module; when the number of the authorization management information in the first storage module reaches a preset number, packaging the authorization management information with the preset number in the first storage module, storing the authorization management information content obtained after packaging in a second storage module, and deleting the authorization management information with the preset number in the first storage module from the first storage module.
Or, optionally, in a case that the information content in the authorization management information is a notification, the content analyzing unit 66 is further specifically configured to store the authorization management information in a third storage module; when the number of the authorization management information in the third storage module reaches a preset number, packaging the authorization management information with the preset number in the third storage module, storing the authorization management information content obtained after packaging in a fourth storage module, and deleting the authorization management information with the preset number in the third storage module from the third storage module.
Optionally, in a case that the authorization management information is personal information and information content in the authorization management information is an email, the content parsing unit 66 may be further configured to filter, from a preset number of authorization management information in the first storage module, authorization management information with an information identifier identical to a broadcaster identifier.
The type determining unit 65 and the content analyzing unit 66 filter the emm information for many times, discard redundant emm information, further save cache resources, and improve the data processing rate of the processing device for authorization management information.
It should be noted that the receiving unit 61 in this embodiment may be an interface circuit, such as a receiver or an information receiving interface, which has a receiving function on the processing device of the authorization management information. The other units may be processors separately installed, or may be integrated into one of the processors of the processing apparatus for authorization management information, or may be stored in the memory of the processing apparatus for authorization management information in the form of program codes, and the functions of the above units may be called and executed by one of the processors of the processing apparatus for authorization management information. The processor may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (8)
1. A processing method of authorization management information is characterized by comprising the following steps:
receiving authorization management information sent by the front end of the conditional access system;
determining the information attribute of the authorization management information according to the field in the authorization management information, wherein the information attribute comprises shared information or personal information;
if the authorization management information is shared information, determining whether the authorization management information is repeated with historical authorization management information, if the historical authorization management information which is repeated with the authorization management information exists, the authorization management information is invalid, otherwise, the authorization management information is valid, and the historical authorization management information is the authorization management information received in a time period before the authorization management information is received; when the authorization management information is valid, determining whether the authorization management information is data which needs to be received by the current local computer, and if not, discarding the authorization management information;
if the authorization management information is personal information, determining whether the authorization management information contains a local card number, if so, determining that the authorization management information is valid, otherwise, determining that the authorization management information is invalid;
and if the authorization management information is invalid, discarding the authorization management information, wherein the discarding is not to perform subsequent processing on the invalid authorization management information and not to store the invalid authorization management information.
2. The processing method according to claim 1, wherein after said determining whether the entitlement management information is valid information, the method further comprises:
if the authorization management information is valid information, determining the type of information content in the authorization management information, wherein the type of the information content comprises a mail or a notice;
and analyzing and storing the information content in the authorization management information from the authorization management information according to the information attribute of the authorization management information and the type of the information content in the authorization management information.
3. The processing method according to claim 2, wherein the parsing out and storing the information content in the entitlement management information from the entitlement management information according to the information attribute of the entitlement management information and the type of the information content in the entitlement management information comprises:
under the condition that the authorization management information is personal information and the information content in the authorization management information is a mail, detecting whether the authorization management information is encrypted information, if the authorization management information is encrypted information, analyzing and storing the information content of the authorization management information aiming at the decrypted authorization management information, and if not, analyzing and storing the information content of the authorization management information aiming at the authorization management information; under the condition that the authorization management information is shared information and the information content in the authorization management information is a mail, detecting whether the authorization management information is authorization management information for a local machine, and if so, analyzing and storing the information content of the authorization management information for the authorization management information;
or, when the authorization management information is personal information and the information content in the authorization management information is a notification, decrypting the authorization management information, and analyzing and storing the information content of the authorization management information aiming at the decrypted authorization management information; and under the condition that the authorization management information is shared information and the information content in the authorization management information is a notice, detecting whether the authorization management information is the authorization management information aiming at the local computer, and if so, analyzing and storing the information content of the authorization management information aiming at the authorization management information.
4. The processing method according to claim 3,
when the information content in the authorization management information is a mail, the analyzing and storing the information content of the authorization management information includes: storing the authorization management information in a first storage module; when the number of the authorization management information in the first storage module reaches a preset number, packaging the authorization management information with the preset number in the first storage module, storing the authorization management information content obtained after packaging in a second storage module, and deleting the authorization management information with the preset number in the first storage module from the first storage module;
or,
when the information content in the authorization management information is a notification, the analyzing and storing the information content of the authorization management information includes: storing the authorization management information in a third storage module; when the number of the authorization management information in the third storage module reaches a preset number, packaging the authorization management information with the preset number in the third storage module, storing the authorization management information content obtained after packaging in a fourth storage module, and deleting the authorization management information with the preset number in the third storage module from the third storage module.
5. The processing method according to claim 4, wherein, when the authorization management information is personal information and the information content in the authorization management information is a mail, the packaging processing of the authorization management information of the preset number in the first storage module comprises:
and filtering the authorization management information with the same information identification and broadcast label identification from the preset number of authorization management information in the first storage module.
6. An apparatus for processing authorization management information, comprising:
the receiving unit is used for receiving the authorization management information sent by the front end of the conditional access system;
the attribute determining unit is used for determining the information attribute of the authorization management information according to the field in the authorization management information, wherein the information attribute comprises shared information or personal information;
a validity determining unit, configured to determine whether the authorization management information is duplicated with historical authorization management information if the authorization management information is shared information, and if there is historical authorization management information duplicated with the authorization management information, the authorization management information is invalid, otherwise, the authorization management information is valid, and the historical authorization management information is authorization management information received in a time period before receiving the authorization management information; when the authorization management information is valid, determining whether the authorization management information is data which needs to be received by the current local computer, and if not, discarding the authorization management information; if the authorization management information is personal information, determining whether the authorization management information contains a local card number, if so, determining that the authorization management information is valid, otherwise, determining that the authorization management information is invalid;
and the processing unit is used for discarding the authorization management information if the authorization management information is invalid, wherein the discarding is not to perform subsequent processing on the invalid authorization management information, and the invalid authorization management information is not stored.
7. The processing apparatus as in claim 6, further comprising:
the type determining unit is used for determining the type of information content in the authorization management information if the authorization management information is valid information, wherein the type of the information content comprises a mail or a notice;
and the content analyzing unit is used for analyzing and storing the information content in the authorization management information from the authorization management information according to the information attribute of the authorization management information and the type of the information content in the authorization management information.
8. The processing apparatus according to claim 7, wherein the content parsing unit is configured to,
under the condition that the authorization management information is personal information and the information content in the authorization management information is a mail, detecting whether the authorization management information is encrypted information, if the authorization management information is encrypted information, analyzing and storing the information content of the authorization management information aiming at the decrypted authorization management information, and if not, analyzing and storing the information content of the authorization management information aiming at the authorization management information; under the condition that the authorization management information is shared information and the information content in the authorization management information is a mail, detecting whether the authorization management information is authorization management information for a local machine, and if so, analyzing and storing the information content of the authorization management information for the authorization management information;
or, when the authorization management information is personal information and the information content in the authorization management information is a notification, decrypting the authorization management information, and analyzing and storing the information content of the authorization management information aiming at the decrypted authorization management information; and under the condition that the authorization management information is shared information and the information content in the authorization management information is a notice, detecting whether the authorization management information is the authorization management information aiming at the local computer, and if so, analyzing and storing the information content of the authorization management information aiming at the authorization management information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610305533.XA CN105916031B (en) | 2016-05-09 | 2016-05-09 | Method and device for processing authorization management information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610305533.XA CN105916031B (en) | 2016-05-09 | 2016-05-09 | Method and device for processing authorization management information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105916031A CN105916031A (en) | 2016-08-31 |
CN105916031B true CN105916031B (en) | 2020-03-10 |
Family
ID=56748557
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610305533.XA Active CN105916031B (en) | 2016-05-09 | 2016-05-09 | Method and device for processing authorization management information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105916031B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1372742A (en) * | 1999-07-05 | 2002-10-02 | 卡纳尔股份有限公司 | Method and apapratus for use with E-mail |
CN1372731A (en) * | 1999-07-05 | 2002-10-02 | 卡纳尔股份有限公司 | Broadcasting and receiving messages |
CN101198013A (en) * | 2006-12-07 | 2008-06-11 | 中兴通讯股份有限公司 | Method for binding machine and card in mobile multimedia broadcasting system |
CN101594294A (en) * | 2008-05-29 | 2009-12-02 | 北京视博数字电视科技有限公司 | Method for sending authorization information and its conditional access system front end |
CN101646059A (en) * | 2008-08-07 | 2010-02-10 | 北京视博数字电视科技有限公司 | Method for sending authorization management information, and conditional access system front-end thereof |
CN101924907A (en) * | 2009-06-12 | 2010-12-22 | 北京视博数字电视科技有限公司 | Method for realizing condition receiving, terminal equipment and front end thereof |
JP5113954B1 (en) * | 2012-06-11 | 2013-01-09 | 財団法人エヌエイチケイエンジニアリングサービス | Digital broadcast receiving apparatus and program thereof |
-
2016
- 2016-05-09 CN CN201610305533.XA patent/CN105916031B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1372742A (en) * | 1999-07-05 | 2002-10-02 | 卡纳尔股份有限公司 | Method and apapratus for use with E-mail |
CN1372731A (en) * | 1999-07-05 | 2002-10-02 | 卡纳尔股份有限公司 | Broadcasting and receiving messages |
CN101198013A (en) * | 2006-12-07 | 2008-06-11 | 中兴通讯股份有限公司 | Method for binding machine and card in mobile multimedia broadcasting system |
CN101594294A (en) * | 2008-05-29 | 2009-12-02 | 北京视博数字电视科技有限公司 | Method for sending authorization information and its conditional access system front end |
CN101646059A (en) * | 2008-08-07 | 2010-02-10 | 北京视博数字电视科技有限公司 | Method for sending authorization management information, and conditional access system front-end thereof |
CN101924907A (en) * | 2009-06-12 | 2010-12-22 | 北京视博数字电视科技有限公司 | Method for realizing condition receiving, terminal equipment and front end thereof |
JP5113954B1 (en) * | 2012-06-11 | 2013-01-09 | 財団法人エヌエイチケイエンジニアリングサービス | Digital broadcast receiving apparatus and program thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105916031A (en) | 2016-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107992398B (en) | Monitoring method and monitoring system of service system | |
US10324770B2 (en) | Efficient application feedback collection | |
CN109376645B (en) | Face image data optimization method and device and terminal equipment | |
US20140325391A1 (en) | System and method for updating information in an instant messaging application | |
CN102710991A (en) | Information processing apparatus, information processing method, and program | |
CN111026749A (en) | Service alarm method and device | |
US12267338B2 (en) | Event evaluation pipeline for alert engine | |
US20180239839A1 (en) | Method and Apparatus for Identifying To-Be-Cleaned Data, and Electronic Device | |
WO2017152765A1 (en) | Automatic fusing-based message sending method, device and system | |
US20090182798A1 (en) | Method and apparatus to improve the effectiveness of system logging | |
EP2891318B1 (en) | Content carried ratings based control | |
WO2014176896A1 (en) | System and method for updating information in an instant messaging application | |
CN112764992A (en) | Thread pool monitoring method, device and equipment | |
CN110417892B (en) | Message analysis-based data replication link optimization method and device | |
CN105916031B (en) | Method and device for processing authorization management information | |
CN112911390A (en) | Video data playing method and terminal equipment | |
CN111078738A (en) | Data processing method and device, electronic equipment and storage medium | |
CN116910079A (en) | Method, system, device and storage medium for realizing delay association of Flink with respect to CDC data dimension table | |
CN116881277A (en) | Data aggregation method, apparatus and computer readable medium | |
US11653039B2 (en) | Video stream batching | |
US20140050459A1 (en) | Program identifier based recording | |
US10305754B2 (en) | Apparatus and method to collect packets related to abnormal connection | |
CN101594294B (en) | Method for transmitting authorization information and conditional access system front-end thereof | |
US20180249201A1 (en) | Program recording method and terminal | |
CN114969201B (en) | Data synchronization method, device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |