Color image playing method and device
Technical field
The present invention relates to the polychrome play-back technology of user terminal, particularly relate to a kind of user directly arranges polychrome broadcast strategy color image playing method and device by user terminal.
Background technology
Prior art has been had to realize color image service: when making a phone call, can in called terminal, the media such as word, picture, audio frequency, video that display or broadcasting color image service user are arranged in advance represents.
The normally used method of current existing techniques in realizing color image service, basic flow process is: when caller initiates a session request, request message arrives color image service server from terminal through core net, and then arrive called user terminal through core net, be exactly that conversation message must via polychrome server.
Fig. 1 is the flow chart that in IMS system, polychrome is play, and specifically comprises the following steps:
Step 101: call subscriber terminal (UE1) sends conversation request message, this request message arrives core net (CN, CoreNetwork).
Described conversation request message is the INVITE of session initiation protocol (SIP, SessionInitializationProtocol) agreement; Described core net, refer to CSCF (CSCF, CallStateControlFunction), home subscriber server (HSS, IP Multimedia System (the IMS such as HomeSubscriberServer), IPMulti-mediaSubsystem) server apparatus, common way, in the user data on HSS, the parameter that polychrome is relevant is set, by serving CSCF (S-CSCF, Service-CSCF) judge route according to the user data in HSS, and INVITE is first sent to polychrome server (Server).
Step 102: core net Forward-reques message is to polychrome server, and polychrome server performs local service logic, afterwards conversation message is delivered to called user terminal (UE2) through core net.
In this step, polychrome server can pass to UE2 the media description data of polychrome resource.
When step 103:UE2 is idle, return called idle message to core net, this message arrives polychrome server.
Described called idle message, can be 180 of Session Initiation Protocol just at ALERTING message, also carry the media description data of UE2 in message.
Step 104: polychrome server and UE2 set up media data and transmit and be connected, and polychrome data are sent to UE2.
In this step, the equipment of transmission polychrome data can be the special media device in polychrome server, as special media server stores polychrome resource, under the instruction of polychrome control system, connects, transmits polychrome media data with UE2.
In this step, UE2 can show polychrome media.
Step 105: polychrome server sends called idle message through core net to UE1.As mentioned above, called idle message can be 180 message.
After step 106:UE2 button is answered, UE2 sends called party answer message.Described called party answer message, specifically the 200OK message of Session Initiation Protocol.
Step 107: after polychrome server receives the called party answer message of UE2, stops transmitting polychrome media data to UE2, sends called party answer message through core net to UE1.As mentioned above, called party answer message specifically 200OK message.
Step 108:UE1 receives called party answer message, sends session establishment acknowledge message, arrives polychrome server through core net.Described session establishment acknowledge message is the ACK message of Session Initiation Protocol.
Step 109: polychrome server receives the session establishment acknowledge message of UE1, is transmitted to UE2 via core net.As mentioned above, session establishment acknowledge message is ACK message.
Step 110: color image service terminates, UE1, UE2 converse.
As above, the broadcasting of polychrome is determined by polychrome server in step 104.
The feature of existing color image playing method is, during each session, call subscriber terminal does not also know in the polychrome server in core net to be provided with what kind of polychrome service option, and whether core net and polychrome server are also indifferent to user terminal has special requirement to polychrome service.During actual use color image service, there is such situation: although calling subscriber has applied for that color image service is experienced to supply called subscriber, but calling subscriber may intend by a new polychrome to a specific called subscriber temporarily, or does not intend calledly to provide color image service to all; By normally used method, caller can do relevant setting to meet this requirement at polychrome server, but, this common solution one is that requirement calling subscriber must be connected to the corresponding setting of execution on polychrome server, actual will unusual inconvenience when using, although two is that calling subscriber arranges when not providing polychrome to experience to called subscriber, conversation message still can through polychrome server, this adds the extra disposal ability of system undoubtedly, causes the waste of Internet resources.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of color image playing method and device, arranges polychrome broadcast strategy by call subscriber terminal, can save Internet resources and make the mode of display polychrome abundanter, flexible.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of color image playing method, comprising:
Network side obtains the polychrome broadcast strategy in the conversation request message of call subscriber terminal and performs.
Preferably, described polychrome broadcast strategy comprises:
For called user terminal play polychrome or be described called user terminal broadcasting polychrome.
Preferably, when described polychrome broadcast strategy is for playing polychrome for called user terminal, described polychrome broadcast strategy comprises polychrome and plays indication information, or the identification information of polychrome to be played, or polychrome plays the identification information of indication information and polychrome to be played.
Preferably, described network side performs polychrome broadcast strategy, comprising:
Described network side only obtains polychrome in polychrome broadcast strategy when playing indication information, is that described called user terminal plays polychrome by calling subscriber at the polychrome CAMEL-Subscription-Information of described network side; The described network side polychrome obtained in polychrome broadcast strategy plays the identification information of indication information and polychrome to be played, or when only obtaining the identification information of the polychrome to be played in polychrome broadcast strategy, for described called user terminal plays polychrome corresponding to the identification information of described polychrome to be played.
Preferably, when described polychrome broadcast strategy is that called user terminal plays polychrome, described polychrome broadcast strategy comprises does not play polychrome indication information, described network side obtain in polychrome broadcast strategy do not play polychrome indication information time, directly set up session for described call subscriber terminal and described called user terminal.
A kind of polychrome playing device, comprising:
Receiving element, for receiving the conversation request message of call subscriber terminal;
Acquiring unit, for obtaining the polychrome broadcast strategy in described conversation request message; And
Strategy execution unit, for performing described polychrome broadcast strategy.
Preferably, described polychrome broadcast strategy comprises:
For called user terminal play polychrome or be described called user terminal broadcasting polychrome.
Preferably, when described polychrome broadcast strategy is for playing polychrome for called user terminal, described polychrome broadcast strategy comprises polychrome and plays indication information, or the identification information of polychrome to be played, or polychrome plays the identification information of indication information and polychrome to be played.
Preferably, described strategy execution unit performs polychrome broadcast strategy, comprising:
When the described acquiring unit polychrome only obtained in polychrome broadcast strategy plays indication information, described strategy execution unit by calling subscriber the polychrome CAMEL-Subscription-Information of described network side be described called user terminal play polychrome, the described acquiring unit polychrome obtained in polychrome broadcast strategy plays the identification information of indication information and polychrome to be played, or when only obtaining the identification information of the polychrome to be played in polychrome broadcast strategy, described strategy execution unit is that described called user terminal plays polychrome corresponding to the identification information of described polychrome to be played.
Preferably, when described polychrome broadcast strategy is that called user terminal plays polychrome, described polychrome broadcast strategy comprises does not play polychrome indication information, described acquiring unit obtain in polychrome broadcast strategy do not play polychrome indication information time, described strategy execution unit directly sets up session for described call subscriber terminal and described called user terminal.
In the present invention, arrange polychrome broadcast strategy by calling subscriber in call subscriber terminal, the polychrome identification information namely arranged by user is shown to called subscriber, or, do not show polychrome to called subscriber.Because polychrome broadcast strategy is set by calling subscriber completely, therefore, the formulation of polychrome broadcast strategy is more flexible, further, when calling subscriber does not show polychrome to called subscriber, call flow need not through polychrome server, which save Internet resources, alleviate the data processing pressure of core net.
Accompanying drawing explanation
Fig. 1 is the flow chart that in IMS system, polychrome is play;
Fig. 2 is the flow chart of color image playing method of the present invention;
Fig. 3 is the flow chart of the concrete example of color image playing method of the present invention;
Fig. 4 is the composition structural representation of polychrome playing device of the present invention.
Embodiment
Basic thought of the present invention is: in call subscriber terminal, arrange polychrome broadcast strategy by calling subscriber, and the polychrome identification information namely arranged by user is shown to called subscriber, or, do not show polychrome to called subscriber.Because polychrome broadcast strategy is set by calling subscriber completely, therefore, the formulation of polychrome broadcast strategy is more flexible, further, when calling subscriber does not show polychrome to called subscriber, call flow need not through polychrome server, which save Internet resources, alleviate the data processing pressure of core net.
For making the object, technical solutions and advantages of the present invention clearly understand, by the following examples also with reference to accompanying drawing, the present invention is described in more detail.
Fig. 2 is the flow chart of color image playing method of the present invention, and as shown in Figure 3, color image playing method of the present invention comprises the following steps:
Step 201: network side obtains the polychrome broadcast strategy in the conversation request message of call subscriber terminal.
In the present invention, before calling subscriber utilizes call subscriber terminal to make a call to called user terminal, polychrome broadcast strategy can be set for called user terminal, namely determine whether be that called user terminal plays polychrome, if when playing, play which polychrome, when not playing, the indication information not playing polychrome is set, namely indicates and do not play polychrome to called user terminal.Play the indication information that only can comprise in polychrome strategy and play polychrome, after network side gets polychrome broadcast strategy, if comprising the indication information playing polychrome, but not for playing the identification information of polychrome, then in polychrome server by the CAMEL-Subscription-Information of calling subscriber be called user terminal play polychrome, or an optional polychrome is that called user terminal is play.The implication playing the indication information of polychrome is designated as called user terminal to play polychrome.Play in polychrome strategy the identification information that can only comprise for playing polychrome, after network side gets polychrome broadcast strategy, according to comprising the identification information for playing polychrome, for called user terminal plays polychrome corresponding to the identification information of polychrome.The identification information of polychrome comprises code information or URL(uniform resource locator) (URL, the UniformResourceLocator) information of polychrome.Certainly, play in polychrome strategy the identification information of identification information and the wish broadcasting polychrome that both can also comprise and play polychrome, after network side gets polychrome broadcast strategy, according to comprising for playing the identification information of polychrome, for called user terminal plays polychrome corresponding to the identification information of polychrome.
After network side gets polychrome broadcast strategy, if comprise the identification information not playing polychrome, then directly set up session for described call subscriber terminal and described called user terminal, call flow need not again through polychrome server.
In the present invention, polychrome broadcast strategy is carried by conversation request message.
Step 202: network side performs polychrome broadcast strategy.According to identification information concrete in polychrome broadcast strategy, play polychrome for called user terminal or directly set up session for described call subscriber terminal and described called user terminal.
Fig. 3 is the flow chart of the concrete example of color image playing method of the present invention, and as shown in Figure 3, this example color image playing method comprises the following steps:
Step 301: before session start is set up, calling subscriber fills in conversation request message in call subscriber terminal (UE1), is sent to core net.
In this step, UE1 uses REJECT-CONTACT heading field in INVITE, such as, fill in field value for " CRS-SERVER ", represents not use color image service (CRS) in this session.Certainly, calling subscriber also according to the situation of called subscriber, can arrange the concrete color image service being shown to called subscriber.
Concrete, by the set-up mode in following table for called user terminal (UE2) arranges concrete polychrome broadcast strategy, concrete polychrome broadcast strategy is as shown in table 1:
Called number |
Polychrome identifies |
555000 |
ct00011 |
666000 |
ct00012 |
666001 |
ct00012 |
777000 |
N/A |
Table 1
In table 1, call subscriber terminal is the polychrome that called number " 555000 " is provided with that polychrome is designated " ct00011 ", for called number " 666000 ", " 666001 " are all provided with the polychrome that polychrome is designated " ct00012 ", for called number " 777000 ", then do not use color image service.It should be noted that, polychrome mark and concrete polychrome one_to_one corresponding, polychrome server uniquely can determine polychrome according to concrete polychrome identification information, polychrome mark on polychrome server and the corresponding relation of polychrome in configured in advance to user terminal or can be given advance notice and be given user, and user should know this corresponding relation.Or, notify in user terminal with the corresponding relation of polychrome by this polychrome mark when user terminal access to mobile network.
Above-mentioned polychrome mark also can be URL(uniform resource locator) (URL, UniformResourceLocator) information, now, call subscriber terminal carries the URL information of polychrome in conversation request message, polychrome server sends called user terminal the link of polychrome resource (URL) in conversation request message, downloads polychrome resource and display the play by called user terminal.Or polychrome server obtains polychrome according to the URL information of polychrome, and sends to called user terminal.
Step 302: conversation request message arrives core net, core net forwards conversation request message to called user terminal (UE2).
In this step, when S-CSCF in core net is checked through in conversation request message the shielding color image service instruction having REJECT-CONTACT:CRS-SERVER such, ignore the polychrome parameter that in HSS, user data is relevant, not Message routing to polychrome server, but be directly sent to terminal called, as the not signing color image service of caller.Certainly, if comprise concrete polychrome identification information, then extract the polychrome identification information in conversation request message, and send to polychrome server, find out concrete color image service by polychrome server according to polychrome identification information, and send to UE2.Concrete, when UE1 initiates a session request message, the instruction using which polychrome resource is filled in conversation request message, SIP heading field ACCEPT-CONTACT can be used to realize the instruction of polychrome, such as fill in CRS server and polychrome mark: CRS-SERVER/ct00011 in field value part, the transmission of instruction polychrome server is designated the polychrome of ct00011 to called user terminal.When comprising ACCEPT-CONTACT field and concrete polychrome identification information in conversation request message, idiographic flow and the flow process shown in Fig. 1 of polychrome broadcasting are similar, difference is that the maker of polychrome broadcast strategy is different, determined according to CAMEL-Subscription-Information by polychrome server in Fig. 1, and the present invention is determined by calling subscriber, be sent to by after compared with the polychrome of user determining, the flow process being sent to called subscriber is identical with Fig. 1, here repeat no more, handling process when comprising REJECT-CONTACT field is below described.
When step 303:UE2 is idle, return called user terminal idle message to core net.
Step 304: core net sends called idle message to call subscriber terminal.
Step 305: after called subscriber's button is answered, called user terminal sends called party answer message.
Step 306: core net sends called party answer message to call subscriber terminal.
Step 307: call subscriber terminal receives called party answer message, sends session establishment acknowledge message, arrives called user terminal through core net.
Step 308: directly set up call between caller is called.
Above-mentioned example, achieve the shielding to the color image service in a session that call subscriber terminal controls, this shielding mode does not need service-user parameters on the server, and decreases taking and consumption to server-capabilities Internet resources.That is, polychrome server need not store in advance the polychrome CAMEL-Subscription-Information of each user terminal, and polychrome broadcast strategy in the conversation request message directly made a call according to user terminal and carry out the playback process of polychrome, polychrome broadcast strategy of the present invention is formulated more flexible, when polychrome need not be shown to called subscriber, call flow through polychrome server, thus need not save the process resource of network side.
Technical solution of the present invention is applicable to IMS domain, the 3GPP2IMS territory of third generation partner program (3GPP, 3rdGenerationPartnershipProject), is also applicable to other similar network, as used SIP as the communication network of signaling.
Fig. 4 is the composition structural representation of polychrome playing device of the present invention, as shown in Figure 4, polychrome playing device of the present invention comprises receiving element 40, acquiring unit 41 and strategy execution unit 42, and wherein, receiving element 40 is for receiving the conversation request message of call subscriber terminal; Acquiring unit 41 is for obtaining the polychrome broadcast strategy in described conversation request message; Strategy execution unit 42 is for performing described polychrome broadcast strategy.Wherein, described polychrome broadcast strategy comprises: for called user terminal broadcasting polychrome or for described called user terminal plays polychrome.When described polychrome broadcast strategy is for playing polychrome for called user terminal, described polychrome broadcast strategy comprises polychrome and plays indication information, or the identification information of polychrome to be played, or polychrome plays the identification information of indication information and polychrome to be played.When acquiring unit 41 polychrome only obtained in polychrome broadcast strategy plays indication information, strategy execution unit 42 by calling subscriber the polychrome CAMEL-Subscription-Information of described network side be described called user terminal play polychrome, or be that the optional polychrome of described called user terminal is play, acquiring unit 41 polychrome obtained in polychrome broadcast strategy plays the identification information of indication information and polychrome to be played, or when only obtaining the identification information of the polychrome to be played in polychrome broadcast strategy, strategy execution unit 42 is the polychrome that the identification information of the described polychrome to be played of described called user terminal broadcasting is corresponding.
When described polychrome broadcast strategy is that called user terminal plays polychrome, described polychrome broadcast strategy comprises does not play polychrome indication information, acquiring unit 41 obtain in polychrome broadcast strategy do not play polychrome indication information time, strategy execution unit 42 directly sets up session for described call subscriber terminal and described called user terminal.
It will be appreciated by those skilled in the art that the polychrome playing device shown in Fig. 4 is arranged for realizing aforesaid color image playing method, the practical function of each processing unit in figure can refer to the associated description in Fig. 1 to Fig. 3 and understands.In device shown in Fig. 4, the function of each processing unit realizes by the program run on processor, also realizes by concrete logical circuit.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.