CN100389606C - Method and device for realizing controll caption display mode - Google Patents

Method and device for realizing controll caption display mode Download PDF

Info

Publication number
CN100389606C
CN100389606C CNB2006100073987A CN200610007398A CN100389606C CN 100389606 C CN100389606 C CN 100389606C CN B2006100073987 A CNB2006100073987 A CN B2006100073987A CN 200610007398 A CN200610007398 A CN 200610007398A CN 100389606 C CN100389606 C CN 100389606C
Authority
CN
China
Prior art keywords
captions
incident
display mode
module
priority
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.)
Expired - Fee Related
Application number
CNB2006100073987A
Other languages
Chinese (zh)
Other versions
CN1859547A (en
Inventor
姚立哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006100073987A priority Critical patent/CN100389606C/en
Publication of CN1859547A publication Critical patent/CN1859547A/en
Application granted granted Critical
Publication of CN100389606C publication Critical patent/CN100389606C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses a method and a device for realizing the control of caption display modes. Priority parameters need installing for a caption installing triggering entity of an installing process which can trigger caption display modes; the caption installing triggering entity is used for transmitting a caption installing event which at least comprises the priority parameters and an event type towards a caption installing module; the caption installing module is used for receiving the caption installing event which comes from the caption installing triggering entity, reading the priority parameters in the caption installing event, and determining a priority parameter with the highest priority; the caption installing module is used for installing the caption display modes according to the event type which is contained in the caption installing event of the priority parameter with the highest priority. The method and the device of the present invention have obvious flexibility and can effectively avoid the problem of excessive and senseless repeated operation.

Description

A kind of implementation method and device of controlling the captions display mode
Technical field
The present invention relates to field of multimedia communication, be specifically related to a kind of implementation method and device of controlling the captions display mode.
Background technology
Along with the development of multimedia communication technology, the user can use the communication information of set-top box or computer subscriber equipmenies (UE) such as (PC) reception from multimedia communications system, with the realization multimedia service, as: digital television business etc.
From including caption stream in the communication information of multimedia communications system usually; After UE receives caption stream, need the display mode of caption stream be provided with, can control the captions that are about to show, make that the captions that finally demonstrate are the desired demonstrations of UE to guarantee UE.As: send to and include Chinese subtitle stream in the caption stream of UE and English subtitles flow; UE receives that the display mode to caption stream is provided with after this caption stream, makes that what finally demonstrate is Chinese subtitle stream.
With the set-top box is example, the flow process that set-top box is controlled the display mode of captions as shown in Figure 1, this flow process may further comprise the steps:
Step 110: the receiver module in the set-top box receives the caption stream from multimedia communications system constantly, and the captions linearity that the caption stream of receiving is sent in the set-top box is provided with module.
Step 120: the captions linearity is provided with module and receives caption stream from receiver module, and according to default subtitle rule is set the captions display mode of caption stream is provided with.Described captions display mode is provided with the captions idsplay order that module will send to decoder by the captions linearity usually and is determined.
The concrete method to set up of described captions display mode is: the captions linearity is provided with module and reads the default subtitle of self preserving rule is set, and is provided with in the captions idsplay order with the default subtitle that reads regular corresponding captions display mode sign is set.As: captions linearity the default subtitle of preserving in the module being set, rule is set is the Chinese display captions, and it is A that this default subtitle of Chinese display captions is provided with regular pairing captions display mode sign, and the captions linearity is provided with module captions display mode sign A then is set in the captions idsplay order so; Perhaps, the captions linearity is provided with the default subtitle of preserving in the module, and rule is set is not show captions, and do not show that or not is X that this default subtitle of captions is provided with regular pairing captions display mode sign, the captions linearity is provided with module captions display mode sign X then is set in the captions idsplay order so.
Step 130: the captions linearity is provided with module and according to the user instruction is set the captions display mode of caption stream is provided with.Particularly: be arranged at user in the set-top box and the user that module receives from user side control appliances such as remote controller, game paddles be set instruction is set, and the user who receives is provided with instruction sends to the captions linearity module is set; The captions linearity is provided with module and reads the user who receives the captions display mode parameter that comprises in the instruction is set, and with sending to the captions display mode sign that is comprised in the captions idsplay order of decoder in the pairing captions display mode of the captions display mode parameter identification renewal step 120 that reads.
Step 140: the captions linearity is provided with module and according to the upper layer application captions instruction is set the captions display mode of caption stream is provided with.Particularly: be provided with in the upper layer application of set-top box to use module is set, and use and module is set to the captions linearity module is set and sends the upper layer application captions instruction is set; The captions linearity is provided with module and reads the upper layer application captions of receiving the captions display mode parameter that comprises in the instruction is set, and with sending to the captions display mode sign that is comprised in the captions idsplay order of decoder in the pairing captions display mode of the captions display mode parameter identification renewal step 130 that reads.
Certainly, if in a period of time behind the completing steps 120, the captions linearity is provided with module and does not receive that as yet the user who module is set from the user is provided with instruction, execution in step 130 not then, and directly enter step 140.
So far, the captions display mode control flow of most critical just is through with.Certainly, can also carry out subsequent step:
Step 150: the captions linearity is provided with module the captions idsplay order that shows the captions display mode set in the step 140 is sent to decoder.
Step 160: to the caption stream of receiving data processing such as decode, and the caption stream that will finish data processing sends to display unit to decoder according to the captions idsplay order that module is set from the captions linearity.
Step 170: display unit reception and demonstration are from the caption stream of decoder.
By the above as can be known, the flow process of at present the captions display mode being controlled obviously is a kind of linear flow process, and a back step captions display mode wherein is provided with the result and replaces back captions display mode the result is set.No matter this make the captions linearity that module is set and according to default subtitle rule be set which kind of setting is the captions display mode of caption stream carried out, also no matter the captions linearity is provided with module and according to the user instruction is set and which kind of the captions display mode of caption stream carried out is provided with, and the captions display mode when finally showing caption stream all is by the captions linearity module set captions display mode decision in step 140 to be set.As seen, the captions linearity is provided with module and according to default subtitle setting that rule carries out the captions display mode and captions linearity is set and module is set according to the user setting that instruction is carried out the captions display mode is set, and has in fact all become nonsensical repetitive operation.This too much, nonsensical repetitive operation obviously causes resource waste and has improved the logical complexity that the captions linearity is provided with module, to such an extent as to the cost of UE such as set-top box is by meaningless raising.
Have, the too immobilization of captions display mode control flow, medelling so that linear flow process mode is carried out lack flexibility, are unfavorable for very much the development of captions display mode control method again.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of implementation method of controlling the captions display mode, avoids taking place meaningless captions display mode and repeats setting up procedure.
Another object of the present invention is to provide a kind of device of controlling the captions display mode, avoid taking place meaningless captions display mode and repeat setting up procedure.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention discloses a kind of implementation method of controlling the captions display mode, priority parameters is set for the captions that can trigger captions display mode setting up procedure are provided with triggering entity; When captions are provided with triggering entity and send the captions be used to be provided with the captions display mode incident is set, be provided with at the captions that send that to carry in the incident be the priority parameters that self is provided with and the event type of expression captions display mode, this method may further comprise the steps:
A. captions are provided with the module reception and from the captions that captions are provided with triggering entity incident are set, read captions priority parameters in the incident is set, the module that is provided with captions reads and causes the former captions of current captions display mode that the priority parameters that comprises in the incident is set, and judges whether to read former captions the priority parameters that incident comprises is set;
B. when reading former captions when the priority parameters that incident comprises is set, captions are provided with module and at the captions that receive incident and former captions are set and are provided with in the priority parameters that incident comprises and determine the highest priority parameters of priority, when the highest priority parameters of priority belonged to the captions that receive incident is set, captions were provided with module and according to the captions under the highest priority parameters of priority the event type that comprises in the incident are set the captions display mode is set.
Among the step b, this method further comprises:
At captions the described captions that module receives being set is provided with in the incident, the captions that are provided with beyond the incident at the captions under the highest priority parameters of priority are provided with incident, and captions are provided with module and triggering entity is set returns failure response to sending captions that these captions are provided with incident.
Among the step b, the method that the priority parameters that definite priority is the highest in the incident is set at the captions that receive is:
If receive more than captions at synchronization incident is set, then is provided with in the priority parameters that incident comprises at the captions that receive, the priority of priority parameters of determining to have the limit priority order is the highest;
If receive only captions incident is set, determines that then these captions are provided with the priority parameters that incident comprises and have limit priority at synchronization.
Among the step b, when judging the highest priority parameters of priority and only belong to former captions incident is set, captions are provided with module and further to the described captions that receive the pairing captions of incident are set and triggering entity is set sends failure response.
Among the step b, the method for the priority parameters that described definite priority is the highest is: the priority of priority parameters of determining to have the limit priority order is the highest.
Described captions are provided with module and according to captions the method that the event type that comprises in the incident is provided with the captions display mode are set and comprise:
The module that is provided with captions reads captions the event type that comprises in the incident is set, and according to the corresponding relation between event type that sets in advance and the captions display mode sign, determines the pairing captions display mode sign of the event type that reads; This captions display mode sign shows the captions display mode that hope is arranged to.
Described captions are provided with triggering entity and comprise that at least application is provided with module and the user is provided with module;
Wherein, application is provided with module transmission captions and is provided with before the incident, further reads the upper layer application captions that will send the captions display mode parameter that comprises in the instruction is set; And according to the corresponding relation between captions display mode parameter that sets in advance and the event type, determine the pairing event type of captions display mode parameter that reads, again that self is set priority parameters and definite event type are carried on the captions that will send and are provided with in the incident;
The user is provided with module transmission captions and is provided with before the incident, further reads the user who receives the captions display mode parameter that comprises in the instruction is set; And according to the corresponding relation between captions display mode parameter that sets in advance and the event type, determine the pairing event type of captions display mode parameter that reads, again that self is set priority parameters and definite event type are carried on the captions that will send and are provided with in the incident.
Finish before the setting of described captions display mode, captions are provided with module and further according to default subtitle rule are set the captions display mode is set.
Finish after the setting of described captions display mode, this method further comprises:
Captions are provided with module the captions display mode that is provided with are sent to decoder, decoder comprises the data processing of decoding according to the captions display mode that module is set from captions to the caption stream of receiving, and the caption stream that will finish data processing sends to display unit and shows.
The invention also discloses a kind of device of controlling the captions display mode, this device comprises that captions are provided with module, comprises also that respectively with captions at least two captions that can trigger captions display mode setting up procedure that module links to each other being set is provided with triggering entity; Each captions is provided with and is respectively arranged with priority parameters in the triggering entity;
Wherein, described captions are provided with triggering entity, be used for to captions module transmission captions being set incident is set; Captions are provided with in the incident and comprise at least: captions are provided with the event type of priority parameters set in the triggering entity and expression captions display mode;
Captions are provided with module, be used to receive the captions that triggering entity are set from described captions incident is set, read captions priority parameters in the incident is set, read and cause the former captions of current captions display mode that the priority parameters that comprises in the incident is set, and judge whether to read former captions the priority parameters that incident comprises is set; When reading former captions when the priority parameters that incident comprises is set, at the captions that receive incident and former captions being set is provided with in the priority parameters that incident comprises and determines the highest priority parameters of priority, when the highest priority parameters of priority belongs to the captions that receive incident is set, according to the captions under the highest priority parameters of priority the event type that comprises in the incident is set the captions display mode is set.
Described captions are provided with module and are further used for according to default subtitle rule being set the captions display mode is set.
This device further comprises: decoder and display unit; Decoder is provided with module with captions respectively and links to each other with display unit;
Captions are provided with the captions display mode that module is further used for finishing setting and send to decoder;
Decoder is used for according to the captions display mode that module is set from captions the caption stream of receiving being comprised the data processing of decoding, and the caption stream that will finish data processing sends to display unit;
Display unit is used to show the caption stream from decoder.
Described captions are provided with triggering entity and comprise that at least application is provided with module and the user is provided with module.
Described application is provided with module, is further used for reading the upper layer application captions that will send the captions display mode parameter that comprises in the instruction being set before the transmission captions are provided with incident; And according to the corresponding relation between captions display mode parameter that sets in advance and the event type, determine the pairing event type of captions display mode parameter that reads, again that self is set priority parameters and definite event type are carried on the captions that will send and are provided with in the incident;
Described user is provided with module, is further used for reading the user who receives the captions display mode parameter that comprises in the instruction being set before the transmission captions are provided with incident; And according to the corresponding relation between captions display mode parameter that sets in advance and the event type, determine the pairing event type of captions display mode parameter that reads, again that self is set priority parameters and definite event type are carried on the captions that will send and are provided with in the incident.
Compared with prior art, the implementation method and the device of control captions display mode provided by the present invention, all can the module reception be set and incident be set from the captions that captions are provided with triggering entity by captions, read captions and the priority parameters in the incident is set and determines the highest priority parameters of priority, according to the captions under the highest priority parameters of priority the event type that comprises in the incident is set again the captions display mode is set.
As seen, the inventive method and device have conspicuous flexibility, obviously help the development of captions display mode control method; And can effectively avoid too much, the meaningless repetitive operation problem that occurs in the prior art, thereby can obviously reduce resource waste and can reduce the logical complexity that captions are provided with module, and then reduce cost.
Description of drawings
Fig. 1 is the captions display mode control flow chart of prior art;
Fig. 2 is the captions display mode control principle figure of a preferred embodiment of the present invention;
Fig. 3 is the captions display mode control flow chart of a preferred embodiment of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments to the detailed description of the invention.
The implementation method and the device of control captions display mode provided by the invention all need for the captions that can trigger captions display mode setting up procedure are provided with triggering entity priority parameters to be set; When captions are provided with triggering entity and send the captions be used to be provided with the captions display mode incident is set, be provided with at the captions that send that to carry in the incident be the priority parameters that self is provided with and the event type of expression captions display mode; And, by captions the module reception is set and incident is set from the captions that captions are provided with triggering entity, read captions and the priority parameters in the incident is set and determines the highest priority parameters of priority, according to the captions under the highest priority parameters of priority the event type that comprises in the incident is set again the captions display mode is set.
Referring to Fig. 2, Fig. 2 is the captions display mode control principle figure of a preferred embodiment of the present invention.Among Fig. 2, use and to be provided with in the upper layer application that module 210 is arranged at UE; The user is provided with module 220 and captions and is provided with in the operating system that module 230 is arranged at UE, or is arranged in the middleware of present widespread usage; Upper layer application be provided with the user and be provided with to exist between middleware/operating system that module 220, captions be provided with module 230 and be connected; Captions are provided with module 230 and with application module 210, user are set respectively and module 220, receiver module 200, decoder 240 are set link to each other, and decoder 240 also links to each other with display unit 250.
Be provided with in the operating system that module 230 is arranged at UE if the user is provided with module 220 and captions, be arranged at application in the upper layer application so and module 210 is set just need be complementary with operating system; If module 230 be set be arranged in the middleware and the user is provided with module 220 and captions, therefore middleware just can effectively shield the system's difference between the different operating system so, does not need to consider to use module 210 and operating system this problem that is complementary that is provided with.
Before specifically using, needing in advance in application module 210 and user to be set is provided with mutually different priority parameters is set respectively in the module 220, and module 210 and user are set the priority parameters that module 220 is provided with is set has priority height order for using, module 230 is follow-up just to be compared according to the priority of this priority height order to priority parameters so that captions are provided with, the highest with the priority of the priority parameters of determining to have the limit priority order; When application was provided with module 210 and user the module 220 follow-up transmissions communication information relevant with the captions display mode is set, the priority parameters that self is set was carried in the communication information.Have again, also need to be provided with at captions in advance the priority parameters comparison rule is set in the module 230, make captions that the height that module 230 can compare the different priorities parameter according to the priority parameters comparison rule that is provided with is set.
During concrete the application, if the user is provided with the user that module 220 receives from the user side control appliance instruction is set, the user is provided with module 220 and just reads this user the captions display mode parameter that comprises in the instruction is set; And according to the corresponding relation between captions display mode parameter that sets in advance and the event type, determine that the pairing event type of captions display mode parameter that reads, again that self is set priority parameters and definite event type are carried on the user side captions and are provided with and send to captions in the incident module 230 is set.
Certainly, use and module 210 to be set also to have and to captions the upper layer application captions that module 230 sends to be set instruction is set.In this case, use and module 210 to be set just to read these upper layer application captions the captions display mode parameter that comprises in the instruction is set; And according to the corresponding relation between captions display mode parameter that sets in advance and the event type, determine that the pairing event type of captions display mode parameter that reads, again that self is set priority parameters and definite event type are carried on the application side captions and are provided with and send to captions in the incident module 230 is set.
Described corresponding relation between captions display mode parameter and the event type can set in advance respectively in application and module 210 is set and the user is provided with in the module 220, also can be arranged in other the communication entity, as long as need the communication entity of this corresponding relation to obtain smoothly.Described event type is divided into two kinds usually: do not show captions, show captions+captions languages, be used to describe the captions display mode that hope is arranged to.Described user side captions are provided with incident and application side captions and are provided with and can also further comprise incident in the incident and initiate contents such as time, incident promoter, and incident is initiated contents such as time, incident promoter and all can module 210, user be set by application and incident promoter such as module 220 is set uses prior art and obtain.
In the practical application, the incident time of initiating is represented with the date, can be local system time or other fiducial time of UE; Incident promoter is with expressions such as the character string of the communication entity of representing initiated event or numerals, as: user name that is provided with for UE or digital identity sign etc.; Priority parameters is with expressions such as letter or numbers; Event type does not show captions with representative or shows the character string of captions+captions languages or expression such as numeral.Described captions languages are with expressions such as character string or numerals, as: the language codes of definition or other language description mode among the ISO 639.
By the above as seen, captions are provided with module 230 may receive that the user side captions are provided with incident and the application side captions are provided with incident at synchronization, also may only receive that user side captions are provided with incident or application side captions are provided with incident at synchronization; The user side captions can be provided with incident and application side captions is provided with incident and is referred to as captions incident is set.No matter receive that at synchronization one or several captions are provided with incident, the module 230 that is provided with captions all can read the captions of receiving the priority parameters that comprises in the incident is set, and also reads the former captions of self preserving that cause current captions display mode the priority parameters that comprises in the incident is set; And captions are provided with module 230 and judge whether to read former captions the priority parameters that comprises in the incident is set.
If captions are provided with module 230 and read former captions the priority parameters that comprises in the incident is set, show that then captions are provided with module 230 and once according to former captions the setting that incident is carried out the captions display mode were set, so captions are provided with the module 230 current captions display mode setting up procedure that carry out and need incident be set to former captions and take into account.In this case, captions are provided with module 230 according to the first priority parameters comparison rule that is provided with definite the highest priority parameters of priority in all priority parameters that read.Described all priority parameters that read comprise that captions are provided with the described captions that module 230 receives the priority parameters that comprises in the incident is set, and comprise that also described former captions are provided with the priority parameters that comprises in the incident.
The first priority parameters comparison rule is set to usually: no matter at the captions of receiving incident is set and still at former captions incident is set, the application side captions are provided with priority parameters in the incident is provided with the priority parameters in the incident than user side captions priority height (it is lower than the priority that user side captions are provided with the priority parameters in the incident to be set to the priority parameters that the application side captions are provided with in the incident); And when the captions that receive were provided with incident and former captions and incident is set all has the equal priority parameter, the captions that receive were provided with incident and former captions and the priority parameters that incident comprised separately is set all has limit priority.
As seen, captions are provided with module 230 according to the highest priority parameters of the determined priority of the first priority parameters comparison rule that is provided with, and might only belong to captions and certain captions that module 230 receives are set incident is set; Also might only belong to former captions incident is set; Also might not only belong to former captions is provided with incident but also belongs to captions and certain captions that module 230 receives are set incident is set.Such as: received the application side captions incident has been set if captions are provided with module 230, and former captions are provided with incident is that the user is provided with the user side captions that module 220 once sent incident is set, so no matter the application side captions are provided with the priority height that incident and user side captions are provided with the priority parameters which comprised in the incident, and the priority parameters that the final priority of determining is the highest all only may belong to the application side captions and incident or former captions is set some in the incident is set; If captions are provided with module 230 and have received at synchronization that the application side captions are provided with incident and the user side captions are provided with incident, so no matter former captions be provided with incident is that the application side captions are provided with incident or the user side captions are provided with incident, and the priority parameters that the final priority of determining is the highest is inevitable not only to have been belonged to former captions and incident is set but also belongs to captions and certain captions that module 230 receives are set incident is set.
After having determined the highest priority parameters of priority, captions are provided with module 230 to be needed to judge whether the highest priority parameters of priority only belongs to former captions incident is set, if, show that the described captions that receive are provided with incident and have no right to be provided with the captions display mode, so captions are provided with module 230 and no longer carry out subsequent operation; Otherwise, show that captions are provided with certain captions that module 230 receives and are provided with and comprise the highest priority parameters of priority in the incident, thereby these captions are provided with incident and have the right to be provided with the captions display mode, according to these captions incident is set the captions display mode is provided with so captions are provided with module 230.
Captions are provided with module 230 and according to captions incident are set and to the concrete grammar that the captions display mode is provided with are: captions are provided with module 230 and read captions the event type that comprises in the incident is set, and, determine the pairing captions display mode sign of the event type that reads according to the corresponding relation between event type that sets in advance and the captions display mode sign; Again the captions display mode sign of determining is carried in the captions idsplay order that will send to decoder.Described corresponding relation between event type and the captions display mode sign can set in advance at captions and be provided with in the module 230, also can be arranged in other the communication entity, as long as need the communication entity of this corresponding relation to obtain smoothly.
Under the rare occasion in actual applications, when captions are provided with that module 230 judges that the highest priority parameters of priority does not belong to only that former captions are provided with incident but also when belonging to certain captions that receives incident being set, incident is set these captions that might occur receiving and former captions are provided with the situation that incident comprises the similar events as type.In this case, the described captions that receive are provided with incident and former captions and incident are set obviously all at identical captions display mode, so captions are provided with module 230 and do not need to carry out follow-up captions display mode setting operation again.As seen, captions are provided with module 230 can judge that the highest priority parameters of priority does not belong to only that former captions are provided with incident but also when belonging to certain captions that receives incident being set, read further that these captions that receive are provided with incident and former captions are provided with the event type that incident comprises, and judge whether the event type that reads is identical, if identical, captions are provided with module 230 and no longer carry out subsequent operation; Otherwise captions are provided with module 230 and carry out aforesaid corresponding subtitle display mode setting operation.
So far, at captions module 230 is set and reads the situation that former captions are provided with the priority parameters that comprises in the incident, the captions display mode control flow of most critical just is through with.
If captions are provided with module 230 and do not read former captions the priority parameters that comprises in the incident is set, show that then captions are provided with module 230 and never according to former captions the setting that incident is carried out the captions display mode are set, so captions are provided with the module 230 current captions display mode setting up procedure that carry out and only need consider that the captions of receiving are provided with incident and get final product.In this case, captions are provided with module 230 and are provided with in all priority parameters that incident comprises at all captions that receive according to the second priority parameters comparison rule that is provided with and determine the highest priority parameters of priority.
The second priority parameters comparison rule is set to usually: the application side captions are provided with priority parameters in the incident is provided with the priority parameters in the incident than user side captions priority height (it is lower than the priority that user side captions are provided with the priority parameters in the incident to be set to the priority parameters that the application side captions are provided with in the incident); And, when being provided with module 230, captions receive only captions when incident is set at synchronization, and the priority that these captions are provided with the priority parameters that comprises in the incident is the highest.
As seen, captions are provided with module 230 according to the highest priority parameters of the determined priority of the second priority parameters comparison rule that is provided with, and only may belong to captions and the captions that captions that module 230 receives are provided with in the incident are set incident is set.
After having determined the highest priority parameters of priority, captions are provided with module 230 and according to these captions incident are set the captions display mode is provided with.Described method to set up is identical with aforesaid relative set method.
So far, at captions module 230 is set and does not read the situation that former captions are provided with the priority parameters that comprises in the incident, the captions display mode control flow of most critical just is through with.
No matter whether read former captions the priority parameters that comprises in the incident is set, when the captions display mode control flow of above-mentioned most critical finished, captions are provided with module 230 can further send to decoder 240 with the described captions idsplay order that carries captions display mode sign; As seen, this captions idsplay order can show the captions display mode equally.Decoder 240 according to the captions idsplay order that module 230 is set from captions to the caption stream of receiving data processing such as decode, concrete operations are: when decoder 240 is received and from captions the captions idsplay order of module 230 is set, read the captions display mode sign that comprises in this captions idsplay order, the captions display mode of using and reading identifies corresponding data processing method to the caption stream of receiving data processing such as decode.The described caption stream that decoder 240 is received can be provided with module 230 by captions indirectly and receive from receiver module 200; Also can directly receive, need to exist directly between receiver module 200 and the decoder 240 in this case to be connected from receiver module 200.
Decoder 240 can also further send to display unit 250 with the caption stream of finishing data processing, is received and is shown caption stream from decoder 240 by display unit 250.
In actual applications, captions are provided with module 230 and can also according to default subtitle the rule application prior art be set in advance the captions display mode is provided with, and will finish captions idsplay order setting, that show the captions display mode and send to decoder 240; So that decoder 240 carries out data processing according to the captions idsplay order of receiving to the caption stream of receiving, and the caption stream that will finish data processing sends to display unit 250 and shows.
By the above as seen, on the basis of the contents such as corresponding relation between the corresponding relation, event type and the captions display mode sign that have set in advance between the described priority parameters of Fig. 2, priority parameters comparison rule, captions display mode parameter and the event type, the form that captions display mode control principle shown in Figure 2 can be converted to Fig. 3 is briefly described, Fig. 3 is the captions display mode control flow chart of a preferred embodiment of the present invention, and this flow process may further comprise the steps:
Captions among the step 301:UE are provided with module and receive captions and incident is set and reads wherein priority parameters, also read to cause the former captions of current captions display mode that the priority parameters that incident comprises is set.Described captions are provided with that incident may application among the UE be provided with module and/or the user is provided with module from being arranged at.
Step 302:UE judges whether to read former captions the priority parameters that incident comprises is set, if read, enters step 303; Otherwise, enter step 306.
Step 303 is to step 304: captions are provided with module and determine the highest priority parameters of priority in all priority parameters that step 301 read, and judge whether the highest priority parameters of priority only belongs to former captions incident is set, if, process ends; Otherwise, enter step 305.
Certainly, when judging the highest priority parameters of priority and only belong to former captions incident is set, captions are provided with module and can be further return failure response to sending the communication entity that captions are provided with incident.
Step 305: be provided with in the incident at the described captions that receive, captions are provided with module and according to the captions under the highest priority parameters of priority incident are set the captions display mode is provided with, and directly enter step 307 afterwards.
Step 306: captions are provided with all captions that module receives and are provided with in all priority parameters that incident comprises and determine the highest priority parameters of priority in step 301, and according to the captions under the priority parameters of determining incident are set the captions display mode is provided with.
Certainly, at captions all captions that module receives being set is provided with in the incident, the captions that are provided with beyond the incident at the captions under the highest priority parameters of priority are provided with incident, and captions are provided with module can return failure response to sending the communication entity that these captions are provided with incident.
Step 307: captions are provided with the captions idsplay order that shows the captions display mode that module will finally be provided with and send to decoder.
Step 308: to caption stream data processing such as decode, and the caption stream that will finish data processing sends to display unit to decoder according to the captions idsplay order that shows the captions display mode received.
Step 309: display unit shows the caption stream from decoder.
In actual applications, captions are provided with default subtitle that module can also preserve according to self and the rule application prior art is set in advance the captions display mode is provided with, and will finish captions idsplay order setting, that show the captions display mode and send to decoder; So that decoder carries out data processing according to the captions idsplay order received to the caption stream of receiving, and the caption stream that will finish data processing sends to display unit and shows.
Obviously, in description, use and module and user to be set module is set is and triggers the communication entity that the captions display mode is provided with flow process at Fig. 2, Fig. 3; In like manner, in actual applications, what other can also further be set can trigger the communication entity that the captions display mode is provided with flow process, and, make these communication entities module, user to be set module is set triggers the captions display mode flow process is set as using for these communication entities are provided with different, as to have priority orders priority parameters.Usually above-mentioned this communication entity can be called captions triggering entity is set.
Have, no matter in Fig. 2 still is Fig. 3, captions are provided with module and can further preserve the captions that captions display mode institute foundation is set incident is set when finish being provided with of captions display mode again.Obviously, the described captions of preservation are provided with incident when carrying out being provided with of captions display mode next time, will be regarded as former captions incident is set.
By Fig. 2 and Fig. 3 as seen, no matter be the device of the implementation method or the control captions display mode of control captions display mode provided by the invention, all no longer use the linear flow process of the applied immobilization of prior art, medelling, therefore have conspicuous flexibility, obviously help the development of captions display mode control method.
Have again, how the captions display mode is provided with according to priority parameters determines, this can effectively be avoided too much, the meaningless repetitive operation problem that occurs in the prior art, thereby can obviously reduce resource waste and can reduce the logical complexity that captions are provided with module, make that the cost of UE is obviously reduced.

Claims (14)

1. an implementation method of controlling the captions display mode is characterized in that, for the captions that can trigger captions display mode setting up procedure are provided with triggering entity priority parameters is set; When captions are provided with triggering entity and send the captions be used to be provided with the captions display mode incident is set, be provided with at the captions that send that to carry in the incident be the priority parameters that self is provided with and the event type of expression captions display mode, this method may further comprise the steps:
A. captions are provided with the module reception and from the captions that captions are provided with triggering entity incident are set, read captions priority parameters in the incident is set, read and cause the former captions of current captions display mode that the priority parameters that comprises in the incident is set, and judge whether to read former captions the priority parameters that incident comprises is set;
B. when reading former captions when the priority parameters that incident comprises is set, captions are provided with module and at the captions that receive incident and former captions are set and are provided with in the priority parameters that incident comprises and determine the highest priority parameters of priority, when the highest priority parameters of priority belonged to the captions that receive incident is set, captions were provided with module and according to the captions under the highest priority parameters of priority the event type that comprises in the incident are set the captions display mode is set.
2. the method for claim 1 is characterized in that, among the step b, this method further comprises:
At captions the described captions that module receives being set is provided with in the incident, the captions that are provided with beyond the incident at the captions under the highest priority parameters of priority are provided with incident, and captions are provided with module and triggering entity is set returns failure response to sending captions that these captions are provided with incident.
3. the method for claim 1 is characterized in that, among the step b, the method that the priority parameters that definite priority is the highest in the incident is set at the captions that receive is:
If receive more than captions at synchronization incident is set, then is provided with in the priority parameters that incident comprises at the captions that receive, the priority of priority parameters of determining to have the limit priority order is the highest;
If receive only captions incident is set, determines that then these captions are provided with the priority parameters that incident comprises and have limit priority at synchronization.
4. the method for claim 1, it is characterized in that, among the step b, when judging the highest priority parameters of priority and only belong to former captions incident is set, captions are provided with module and further to the described captions that receive the pairing captions of incident are set and triggering entity is set sends failure response.
5. the method for claim 1 is characterized in that, among the step b, the method for the priority parameters that described definite priority is the highest is: the priority of priority parameters of determining to have the limit priority order is the highest.
6. as each described method of claim 1 to 5, it is characterized in that described captions are provided with module and according to captions the method that the event type that comprises in the incident is provided with the captions display mode are set and comprise:
The module that is provided with captions reads captions the event type that comprises in the incident is set, and according to the corresponding relation between event type that sets in advance and the captions display mode sign, determines the pairing captions display mode sign of the event type that reads; This captions display mode sign shows the captions display mode that hope is arranged to.
7. as each described method of claim 1 to 5, it is characterized in that described captions are provided with triggering entity and comprise that at least application is provided with module and the user is provided with module;
Wherein, application is provided with module transmission captions and is provided with before the incident, further reads the upper layer application captions that will send the captions display mode parameter that comprises in the instruction is set; And according to the corresponding relation between captions display mode parameter that sets in advance and the event type, determine the pairing event type of captions display mode parameter that reads, again that self is set priority parameters and definite event type are carried on the captions that will send and are provided with in the incident;
The user is provided with module transmission captions and is provided with before the incident, further reads the user who receives the captions display mode parameter that comprises in the instruction is set; And according to the corresponding relation between captions display mode parameter that sets in advance and the event type, determine the pairing event type of captions display mode parameter that reads, again that self is set priority parameters and definite event type are carried on the captions that will send and are provided with in the incident.
8. as each described method of claim 1 to 5, it is characterized in that, finish before the setting of described captions display mode that captions are provided with module and further according to default subtitle rule are set the captions display mode is set.
9. as each described method of claim 1 to 5, it is characterized in that finish after the setting of described captions display mode, this method further comprises:
Captions are provided with module the captions display mode that is provided with are sent to decoder, decoder comprises the data processing of decoding according to the captions display mode that module is set from captions to the caption stream of receiving, and the caption stream that will finish data processing sends to display unit and shows.
10. a device of controlling the captions display mode is characterized in that, this device comprises that captions are provided with module, comprises also that respectively with captions at least two captions that can trigger captions display mode setting up procedure that module links to each other being set is provided with triggering entity; Each captions is provided with and is respectively arranged with priority parameters in the triggering entity;
Wherein, described captions are provided with triggering entity, be used for to captions module transmission captions being set incident is set; Captions are provided with in the incident and comprise at least: captions are provided with the event type of priority parameters set in the triggering entity and expression captions display mode;
Captions are provided with module, be used to receive the captions that triggering entity are set from described captions incident is set, read captions priority parameters in the incident is set, read and cause the former captions of current captions display mode that the priority parameters that comprises in the incident is set, and judge whether to read former captions the priority parameters that incident comprises is set; When reading former captions when the priority parameters that incident comprises is set, at the captions that receive incident and former captions being set is provided with in the priority parameters that incident comprises and determines the highest priority parameters of priority, when the highest priority parameters of priority belongs to the captions that receive incident is set, according to the captions under the highest priority parameters of priority the event type that comprises in the incident is set the captions display mode is set.
11. device as claimed in claim 10 is characterized in that, described captions are provided with module and are further used for according to default subtitle rule being set the captions display mode is set.
12., it is characterized in that this device further comprises: decoder and display unit as claim 10 or 11 described devices; Decoder is provided with module with captions respectively and links to each other with display unit;
Captions are provided with the captions display mode that module is further used for finishing setting and send to decoder;
Decoder is used for according to the captions display mode that module is set from captions the caption stream of receiving being comprised the data processing of decoding, and the caption stream that will finish data processing sends to display unit;
Display unit is used to show the caption stream from decoder.
13., it is characterized in that described captions are provided with triggering entity and comprise that at least application is provided with module and the user is provided with module as claim 10 or 11 described devices.
14. device as claimed in claim 13 is characterized in that:
Described application is provided with module, is further used for reading the upper layer application captions that will send the captions display mode parameter that comprises in the instruction being set before the transmission captions are provided with incident; And according to the corresponding relation between captions display mode parameter that sets in advance and the event type, determine the pairing event type of captions display mode parameter that reads, again that self is set priority parameters and definite event type are carried on the captions that will send and are provided with in the incident;
Described user is provided with module, is further used for reading the user who receives the captions display mode parameter that comprises in the instruction being set before the transmission captions are provided with incident; And according to the corresponding relation between captions display mode parameter that sets in advance and the event type, determine the pairing event type of captions display mode parameter that reads, again that self is set priority parameters and definite event type are carried on the captions that will send and are provided with in the incident.
CNB2006100073987A 2006-02-13 2006-02-13 Method and device for realizing controll caption display mode Expired - Fee Related CN100389606C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100073987A CN100389606C (en) 2006-02-13 2006-02-13 Method and device for realizing controll caption display mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100073987A CN100389606C (en) 2006-02-13 2006-02-13 Method and device for realizing controll caption display mode

Publications (2)

Publication Number Publication Date
CN1859547A CN1859547A (en) 2006-11-08
CN100389606C true CN100389606C (en) 2008-05-21

Family

ID=37298407

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100073987A Expired - Fee Related CN100389606C (en) 2006-02-13 2006-02-13 Method and device for realizing controll caption display mode

Country Status (1)

Country Link
CN (1) CN100389606C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616270A (en) * 2008-06-27 2009-12-30 新奥特(北京)视频技术有限公司 A kind of method for generating captions that uses filter
CN103067678A (en) * 2011-10-20 2013-04-24 四川长虹电器股份有限公司 Television subtitle display method and device
US10225600B2 (en) * 2015-04-13 2019-03-05 Sony Corporation Transmission device, transmission method, reproduction device and reproduction method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1158800A1 (en) * 2000-05-18 2001-11-28 Deutsche Thomson-Brandt Gmbh Method and receiver for providing audio translation data on demand
JP2002342311A (en) * 2001-05-17 2002-11-29 Telecommunication Advancement Organization Of Japan Method for automatically generating display unit caption sentence for caption program production
WO2004098180A1 (en) * 2003-04-30 2004-11-11 Koninklijke Philips Electronics N.V. Video language filtering based on user profile

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1158800A1 (en) * 2000-05-18 2001-11-28 Deutsche Thomson-Brandt Gmbh Method and receiver for providing audio translation data on demand
JP2002342311A (en) * 2001-05-17 2002-11-29 Telecommunication Advancement Organization Of Japan Method for automatically generating display unit caption sentence for caption program production
WO2004098180A1 (en) * 2003-04-30 2004-11-11 Koninklijke Philips Electronics N.V. Video language filtering based on user profile

Also Published As

Publication number Publication date
CN1859547A (en) 2006-11-08

Similar Documents

Publication Publication Date Title
US6983305B2 (en) Systems and methods for interfacing with a user in instant messaging
CN101510965B (en) Classified access system and method for multiple mobile terminals of digital television set-top box
Filho et al. Ginga-J: the procedural middleware for the Brazilian digital TV system
CN1136727C (en) Method and device for loading a user interface
EP2479982A1 (en) Closed captioning language translation
US20060174315A1 (en) System and method for providing sign language video data in a broadcasting-communication convergence system
CN102308551A (en) Virtual customer premises equipment
CN1791070B (en) Method for transmitting document on network
US20010026630A1 (en) Moving image reception quality evaluation apparatus
CN100389606C (en) Method and device for realizing controll caption display mode
JPS60219883A (en) Cable television circuit network
US20080051065A1 (en) Apparatus and method for displaying instant message in mobile terminal
CN109996116B (en) Method for improving video resolution, terminal and readable storage medium
CN103686404A (en) Method and system for playing pictures of set top box for mobile terminal
EP1694045A2 (en) Device and method for processing data resource changing events in a mobile terminal
CN108132767B (en) Application window preview method and system
CN106792206A (en) A kind of TV menu adaptive updates method and system
KR100599120B1 (en) The method of making the cable card and channel list in the initial state using reset menu on the OSD picture and device thereof
US20140115104A1 (en) Method and Apparatuses for Interchanging Data
WO1999008452A3 (en) Method for setting up or processing a service in an intelligent network
KR20010075754A (en) method for capture data in television and composition method of the same
CN105472467A (en) Interface display method and system
CN100481901C (en) System and method for avoiding on-screen fluctuations due to input signal changes
CN111866491B (en) Master-slave interactive 3D video display method and system under multi-person scene
CN109831692B (en) Set top box data directional pushing method and system based on Wifi technology

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080521

CF01 Termination of patent right due to non-payment of annual fee