Multimedia service processing system, data transmission and reception method and terminal
Technical field
The present invention relates to field of Internet communication more particularly to a kind of multimedia service processing system, data to send and connect
Receiving method and terminal.
Background technique
IP multimedia subsystem (IP Multimedia Subsystem, IMS) is by 3GPP normal structure in R5 version base
It is proposed on plinth, is that the universal network framework of multimedia service is provided on IP-based network.IMS due to support it is a variety of access and
Relatively rich media business becomes the core net standard architecture in full IP epoch.With the maturation of technology, IMS has become fixed words
The mainstream in sound field selects, and is determined as the standard architecture of mobile voice by 3GPP, GSMA.
In the prior art, the networking telephone (Voice over Internet Protocol, VoIP) is by simulated sound message
Number (Voice) digitlization, is done on IP data network (IP Network) in real time with the pattern of data packet (Data Packet)
Transmitting.The maximum advantage of VoIP is the environment that can be widely interconnected using Internet and global ip, is provided than traditional business more
It is more, preferably service.WiFi network voice and video telephone (Voice&Video over WiFi, VoWiFi) and LTE network audio-video
Call (Voice&Video over LTE, VoLTE) is all based on the voice service of IMS agreement.Whole service bearers of VoLTE
In voice, video, short, it can be achieved that the unification of data and voice service under consolidated network, is completed on 4G network on an LTE network
Message, supplementary service etc.;VoWiFi is made a phone call by WiFi network, can be well solved and be compared in operator's signal
In the case where weak or blind spot, helps user to complete a series of telecommunication services such as normal calling, short message, be effectively reduced use
Dependence of the family to operator's access Internet resources, solves the problems, such as access network resource bottleneck.Rich communication suite (Rich
Communcation Suite, RCS) it is that one kind can provide a whole set of presentation, instant messaging, group based on address list for user
The service of the online communications such as chat, file transmission.RCS further includes other than it can call directly the base power of VoLTE business
The business functions such as other such as social presentation information sharing, IP multimedia (IP Multimedia, IM) chat, file transmission.Institute
To need the IMS mobile terminal that can be supported very well VoWiFi, VoLTE and RCS business, for simultaneously support VoWiFi,
The mobile terminal of VoLTE, VoLTE and VoWiFi share a set of IMS stack in actual deployment.
But the shortcomings that unilateral IMS mode stack of the prior art is that IMS stack load can be relatively high, the efficiency drop of IMS system
It is low;Single mode stack generallys use coprocessor (Coprocessor, CP), after other service switchings to VoWiFi, data and
The routing of signaling can be more frequent, and certain load is caused to system, reduces the flexibility of system.
Summary of the invention
Present invention solves the technical problem that being how to improve the flexibility of IMS system.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of multimedia service processing system, multimedia service
Processing system includes application processor end and coprocessor end, wherein the application processor end includes:
First multi-medium data engine, the coding and decoding for the first multi-medium data;
First IMS stack;
First bridge;
First modem, for carrying out the modulation /demodulation of data under WiFi connection status;
The first router, for the first IMS stack, first bridge, first modem, described the
Data and signalling between one multi-medium data engine are routed;
The coprocessor end includes:
Second multi-medium data engine, the coding and decoding for the second multi-medium data;
2nd IMS stack;
Second bridge;
Second modem, for carrying out the modulation /demodulation of data under LTE connection status;
The second router, for the 2nd IMS stack, second bridge, the second modem, described the
Data and signalling between one multi-medium data engine are routed;
Wherein, the application processor end and the coprocessor end by first bridge and second bridge into
The forwarding of row data, and connection status when according to session establishment determine the application processor end or the coprocessor end its
One of for registration end, another be non-registered end, it is described registration end use comprising the first IMS stack or described second
IMS stack completes registration, and the data and signaling at the non-registered end are turned by the first router and the second router routing
It is sent to the registration end.
Optionally, the first multi-medium data engine includes one or more of: being drawn based on WIFI multi-medium data
Hold up and be based on LTE video data engine;The second multi-medium data engine includes being based on LTE audio data engine.
Optionally, first multi-medium data is one or more of: the video/audio based on WiFi network call
Data, the video data based on LTE network call and Futong believe external member data;Second multi-medium data includes being based on LTE
The audio data of Internet phone-calling.
In order to solve the above technical problems, the embodiment of the invention also discloses a kind of data of multimedia service processing system hairs
The data transmission method for uplink of delivery method, multimedia service processing system includes:
The router that the data transmission is included by the registration end to registration end, the data are from the registration end
The first multi-medium data engine or the second multi-medium data engine, the first IMS stack or the 2nd IMS
Stack;
First modem or the second modem are selected according to current connection state;
The data are routed into the modem chosen and are modulated transmission.
Optionally, when the current connection state is WiFi, the first IMS stack and the first multi-medium data engine
By first multimedia data transmission to the first router;First multi-medium data is routed to first modulation
Demodulator is modulated transmission.
Optionally, when the current connection state is LTE, the 2nd IMS stack and the second multi-medium data engine
By second multimedia data transmission to the second router;Second multi-medium data is routed to second modulation
Demodulator is modulated transmission.
Optionally, the data transmission method for uplink of the multimedia service processing system further include:
When the connection status switches, the data are forwarded to by the registration end bridge that includes described
The bridge that non-registered end includes;
The modem for including that the data route to the non-registered end is subjected to demodulation transmission.
Optionally, after the connection status switches to LTE from WiFi, first multi-medium data is routed to described
First bridge, and it is forwarded to second bridge;Second bridge is by first multimedia data transmission to described second
Router, and route to the second modem and be modulated transmission.
Optionally, after the connection status switches to WiFi from LTE, second multi-medium data is routed to described
Second bridge, and it is forwarded to first bridge;First bridge is by second multimedia data transmission to described first
Router, and route to first modem and be modulated transmission.
In order to solve the above technical problems, the embodiment of the invention also discloses a kind of data of multimedia service processing system to connect
The data receiver method of receiving method, multimedia service processing system includes:
First modem or the second modem is selected to carry out data according to current connection state
It receives and demodulates, the data include signaling and multi-medium data;
The data are routed into the registration end according to the mark of the data is described.
Optionally, when the current connection state is consistent with the registration end, by the router registered end and include
The data are routed into the IMS stack or multi-medium data engine that the registration end includes.
Optionally, it switches in the connection status, when the current connection state and the inconsistent registration end, by
The data are routed to the bridge that the non-registered end includes by the router that the non-registered end includes;The non-registered end packet
The bridge contained forwards the data to the bridge that the registration end includes;The router that the data include by the registration end
By the IMS stack or multi-medium data engine for including to the registration end.
Optionally, when the data are setup requests, the choosing at processor end is carried out according to the current connection state
It selects.
Optionally, the routing priority of the signaling is higher than the multi-medium data.
In order to solve the above technical problems, described includes the multimedia industry the embodiment of the invention also discloses a kind of terminal
Business processing system.
Compared with prior art, the technical solution of the embodiment of the present invention has the advantages that
The embodiment of the present invention is by configuring application processor end, coprocessor end and corresponding first IMS stack and second
IMS stack, the application processor end and the coprocessor end carry out data by first bridge and second bridge
Forwarding, and connection status when according to session establishment determines one of the application processor end or the coprocessor end
For register end, another be non-registered end, it is described registration end use comprising the first IMS stack or the 2nd IMS stack it is complete
At registration, the data and signaling at the non-registered end are by the first router and the second router routing forwarding to the registration
End.Connection status by the way that double IMS stacks are arranged, and when according to session establishment determines processor end, reduces the load of system, mentions
The high flexibility of system;Double IMS stacks and corresponding bridge realize the continuity transmission in connection status switching evidence, mention
The high quality and user experience of session.
Further, the routing priority of the signaling is higher than the multi-medium data, the signaling and the multimedia number
According to the signaling and the multi-medium data distinguished using identical reception pattern, and by setting priority, it is real
Show the priority processing for signaling data, simplified the structure of system, while ensure that the efficiency of system data processing.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of multimedia service processing system of the embodiment of the present invention;
Fig. 2 is the structural schematic diagram of another kind multimedia service processing system of the embodiment of the present invention;
Fig. 3 is a kind of data transmission method for uplink flow chart of multimedia service processing system of the embodiment of the present invention;
Fig. 4 is the data transmission method for uplink flow chart of another kind multimedia service processing system of the embodiment of the present invention;
Fig. 5 is a kind of data receiver method flow chart of multimedia service processing system of the embodiment of the present invention;
Fig. 6 is the data receiver method flow chart of another kind multimedia service processing system of the embodiment of the present invention.
Specific embodiment
As described in the background art, the shortcomings that unilateral IMS mode stack of the prior art is that IMS stack load can be relatively high, IMS
The efficiency of system reduces;Single mode stack generallys use coprocessor, after other service switchings to VoWiFi, data and signaling
Routing can it is more frequent, certain load is caused to system, reduces the flexibility of system.
The present invention uses the design scheme of the bis- stacks of IMS, using application processor (Application Processor, AP)
With the implementation of coprocessor (Coprocessor, CP) double stacks combined, i.e. AP and CP according to reapective features and function respectively
Realize an IMS protocol stack.Technical solution of the present invention can support VoWiFi, VoLTE business and VoWiFi, VoLTE, RCS
Seamless switching of the equal different business under each scene, efficiently completes IMS business processing between the end AP and the end CP.Meanwhile it using
Double mode stacks determine the routing policy of data packet according to the mark of each session, and the number each come in is routed in session level
According to packet.It can more flexible control switching and routing.It, can be in addition, in the access of intermodule no longer distinguishing signaling and data
It gives signaling the priority different with data, can not only guarantee system flexibility, but also system effectiveness can be taken into account.
To make the above purposes, features and advantages of the invention more obvious and understandable, with reference to the accompanying drawing to the present invention
Specific embodiment be described in detail.
Fig. 1 is a kind of structural schematic diagram of multimedia service processing system of the embodiment of the present invention.
Fig. 1 is please referred to, multimedia service processing system includes: application processor end 101 and coprocessor end 102, wherein
The application processor end 101 includes: the first IMS stack 103, the first multi-medium data engine 104, the first router 105, first
Bridge 106 and the first modem 107.
Wherein, the first multi-medium data engine (Media Engine) 104 is conciliate for the coding of the first multi-medium data
Code, the audio/video encoding/decoding for the end AP provide service.First modem 107 under WiFi connection status for carrying out data
Modulation /demodulation.The first router (Data Router) 105 pairs of the first IMS stacks 103, first bridges (Bridge)
106, the data between first modem 107, the first multi-medium data engine 104 and signalling carry out road
By.
The coprocessor end 102 includes: the second bridge 108, second modem 109, the second router 110,
Two multi-medium data engines 111 and the 2nd IMS stack 112.
Wherein, the second multi-medium data engine 111 is used for the coding and decoding of the second multi-medium data, is that the sound at the end CP regards
Frequency encoding and decoding provide service.Second modem 109 under LTE connection status for carrying out the modulation /demodulation of data.Second
Router 110, to the 2nd IMS stack 112, second bridge 108, the second modem 109, described more than first
Data and signalling between media data engine 111 are routed.
In the present embodiment, the first bridge 106 and the second bridge 108 provide the ability of data transmission between the end AP and the end CP,
Such as it can be transmission session initiation protocol (Session Initiation Protocol, SIP), real-time transport protocol
(Real-time Transport Protocol, RTP) data, data transmission when for connection status switching.First modulation
Demodulator (Modulator-Demodulator, Modem) 107 and second modem 109 are used to carry out the data of transmission
Modulation, demodulates received data.
In the present embodiment, the first IMS stack 103 and the 2nd IMS stack 112 can be the IMS protocol stack (IMS of standard
Stack), protocol stack transmittability, the mode of definition and other system communications are provided for business framework.Describe signal timing and
The structure of communication data.It may include session initiation protocol (Session Initiation Protocol, SIP), conversation description
Agreement (Session Description Protocol, SDP), application layer protocol XCAP, hypertext transfer protocol (Hyper
Text Transfer Protocol, HTTP), domain name system (Domain Name System, DNS) etc..Business framework includes:
Audio video call, is logged in, is automatically configured, network and short message (Short Message Service over IP, SMS over
IP), the business such as calling supplementary service configuration.
In the present embodiment, IMS stack needs to complete registration and the business based on IMS is handled.IMS stack passes through note
Volume obtains corresponding call session control function (Call Session Control Function, S-CSCF), and registration has been used for
The certification and authorization of paired systems save user data, so as to subsequent offer network service.According to the connection status of network, really
Surely end is registered.Current network connection status be WiFi when, determine the first IMS stack 103 initiate registration, registration request by the first via by
Device 105 routes to the first modem 107, and after the completion of registration, corresponding application processor end 101 is registration end.Current net
When network connection status is LTE, determine that the 2nd IMS stack 112 initiates registration, registration request routes to second by the second router 110
Modem 109, after the completion of registration, corresponding coprocessor end 102 is registration end.Corresponding registration request routes to accordingly
Modem, the case where avoiding the occurrence of double registration end.Non-registered end then passes through bridge and data is forwarded to registration end
It is sent or received.
In the present embodiment, the application processor end 101 and the coprocessor end 102 pass through first bridge 106
The forwarding of data is carried out with second bridge 108, and connection status when according to session establishment determines the application processor
End 101 or described coprocessor end 102 one of them for registration end, another be non-registered end, the registration end using comprising
The first IMS stack 103 or the 2nd IMS stack 112 complete registration, the data and signaling at the non-registered end are by described the
One router 105 and 110 routing forwarding of the second router are to the registration end.And after current conversation end, in new meeting
When words are established, connection status when meeting is again according to new session establishment determines registration end.In other words, in same session persistence mistake
Cheng Zhong, registration end does not change, even if the switching of connection status occurs and data is caused to be received by non-registered termination
, it is also desirable to the IMS stack for forwarding the data to registration end is handled or is stored, until can after this conversation end next time
When words are established, new registration end is just determined according to the connection status after switching.
In the present embodiment, the first IMS stack 103 and the first multi-medium data engine 104 can pass through adapter (Adapter)
The application programming interface (Application Programming Interface, API) of terminal system is adapted to,
Wherein, IMS service agreement is deferred in the definition of api interface, so that terminal is integrated VoWiFi business more convenient.
In specific implementation, Fig. 2 can refer to, Fig. 2 is the structure of another kind multimedia service processing system of the embodiment of the present invention
Schematic diagram, the first multi-medium data engine 104 include one or more of: being based on WIFI multi-medium data engine 201
Be based on LTE video data engine 202.
Wherein, it is used to handle the video/audio data based on WiFi network call based on WIFI multi-medium data engine 201
Coding and decoding.Based on LTE video data engine 202 be used for handle based on LTE network call video data coding with
Decoding.The second multi-medium data engine 111 includes being based on LTE audio data engine 203.Based on LTE audio data engine
203 for handling the coding and decoding of the audio data based on LTE network call.
In the present embodiment, first multi-medium data is one or more of: the video based on WiFi network call
Audio data, the video data based on LTE network call and rich communication suite (Rich Communcation Suite, RCS) number
According to;Second multi-medium data includes the audio data based on LTE network call.
Fig. 3 is a kind of data transmission method for uplink flow chart of multimedia service processing system of the embodiment of the present invention.
Referring to figure 3., together referring to Figures 1 and 2, the data transmission method for uplink of multimedia service processing system includes: step
S301, the router that the data transmission is included by registration end to registration end.
In the present embodiment, the first multi-medium data engine 104 or described of the data from the registration end
Second multi-medium data engine 111, the first IMS stack 103 or the 2nd IMS stack 112.
Step S302 selects first modem or the second modem according to current connection state.
In the present embodiment, according to the connection status of current network, the first modem 107 or the second modulation can be determined
The working condition of demodulator 109.
The data are routed to the modem chosen and are modulated transmission by step S303.
In specific implementation, in new session establishment, if the current connection state is WiFi, end is registered as AP
End, the first IMS stack 103 are registration stack, handle current business, the first modem 107 is in running order.First IMS stack
103 and first multi-medium data engine 111 by first multimedia data transmission to the first router 105, route institute
It states the first multi-medium data to first modem 107 and is modulated transmission.
In specific implementation, in new session establishment, if the current connection state is LTE, end is registered as CP
End, the 2nd IMS stack 112 are registration stack, handle current business, second modem 109 is in running order.Described second
IMS stack 112 and the second multi-medium data engine 111 are by second multimedia data transmission to the second router
110, it routes second multi-medium data to the second modem 109 and is modulated transmission.
Fig. 4 is the data transmission method for uplink flow chart of another kind multimedia service processing system of the embodiment of the present invention.
Referring to figure 4., together referring to Figures 1 and 2, the data transmission method for uplink of multimedia service processing system includes: step
S401, the router that the data transmission is included by registration end to registration end.
In the present embodiment, the IMS stack at end is registered as business service center, and media engine is in running order, generates more
Media data, the router for including to registration end by multimedia data transmission.
Step S402, when the connection status switches, by the data by the bridge registered end and include
It is forwarded to the bridge that the non-registered end includes.
In the present embodiment, when connection status switches, that is, network connection switches to non-registered end from registration end, due to
Register end data still during processing, therefore the IMS stack at non-registered end is temporarily operated without registration, then passes through the net at both ends
Data are forwarded to non-registered end from registration end by bridge.
The modem for including that the data route to the non-registered end is carried out demodulation transmission by step S403.
In specific implementation, in same conversation procedure, after the connection status switches to LTE from WiFi, the first via by
First multi-medium data is routed to first bridge 106 by device 105, and is forwarded to second bridge 108, and described
First multimedia data transmission to the second router 110 is routed to second modulation /demodulation by two bridges 108
Device 109 is modulated transmission.
In specific implementation, in same conversation procedure, after the connection status switches to WiFi from LTE, by described
Two multi-medium datas route to second bridge 108, and are forwarded to first bridge 106;First bridge 106 is by institute
The second multimedia data transmission is stated to the first router 105, and routes to first modem 107 and is modulated
It sends.
The specific embodiment of the embodiment of the present invention can refer to aforementioned corresponding embodiment, and details are not described herein again.
Fig. 5 is a kind of data receiver method flow chart of multimedia service processing system of the embodiment of the present invention.
Referring to figure 5., together referring to Figures 1 and 2, the data receiver method of multimedia service processing system includes: step
S501 selects first modem or the second modem to carry out the reception of data according to current connection state
And demodulation.
In the present embodiment, the data include signaling and multi-medium data, and the routing priority of the signaling is higher than institute
State multi-medium data.When receiving signaling and multi-medium data at the same time, such as can be excellent by way of queue (queue)
First routing signaling guarantees the available timely processing of signaling data to IMS stack.It can be determined according to current network connection state
In running order modem, and select the reception and demodulation of in running order modem progress data.
Such as can be, in WiFi connection, the work of the first modem 107;In LTE connection, 109 work of second modem
Make.
The data are routed to the registration end according to the mark of the data is described by step S502.
In the present embodiment, when received data are signaling, according to the call identification (call ID) or session identification of signaling
(session ID) routes signaling to the IMS stack at registration end.When received data are multi-medium data packet, according to multimedia
The local and remote port numbers of data packet, such as can be Internet protocol (Internet Protocol, IP) port numbers,
Data packet is routed to the IMS stack or media engine at registration end.
In specific implementation, when the current connection state is consistent with the registration end, by the road registered end and include
The data are routed into the IMS stack or multi-medium data engine that the registration end includes by device.The current connection state is
When WiFi and the first IMS stack 103 are registration stack, the first modem 107 is sent to after being demodulated the data received
The first router 105, and route to the first IMS stack 103 or the first multi-medium data engine 104.The current connection state is
When LTE and the 2nd IMS stack 112 are registration stack, second modem 109 is sent to the after being demodulated the data received
Two routers 110, and route to the 2nd IMS stack 112 or the second multi-medium data engine 112.
It in specific implementation, switches in the connection status, the current connection state and the registration end are inconsistent
When, the data are routed to the bridge that the non-registered end includes by the router for including by the non-registered end;The non-note
The bridge that volume end includes forwards the data to the bridge that the registration end includes;The road that the data include by the registration end
The IMS stack or multi-medium data engine that the registration end includes are routed to by device.
In specific implementation, after the connection status switches to LTE from WiFi, current connection state LTE, register end as
The end AP, second modem 109 are sent to the second router 110 after being demodulated the data received, by the second net
Bridge 108 is forwarded to the first bridge 106, and the first bridge 106 transfers data to the first router 105, and routes to first
IMS stack 103 or the first multi-medium data engine 104;After the connection status switches to WiFi from LTE, current connection state
For WiFi, end is registered as the end CP, the first modem 107 is sent to the first router after being demodulated the data received
105, it is forwarded to the second bridge 108 by the first bridge 106, the second bridge 108 transfers data to the second router 110, and
Route the 2nd IMS stack 112 or the second multi-medium data engine 112.
Fig. 6 is the data receiver method flow chart of another kind multimedia service processing system of the embodiment of the present invention.
Please refer to Fig. 6, together referring to Fig.1, Fig. 2 and Fig. 5, the data receiver method of multimedia service processing system include:
Step S601 selects first modem or the second modem to carry out data according to current connection state
It receives and demodulates.
Step S602 when the data are setup requests, carries out processor end according to the current connection state
Selection.
The data are routed to the processor end by step S602.
In the present embodiment, when the data received are new call or session set-up request, connected according to current network
Selection processor end is connect, i.e. registration end, and the modem by choosing routes requests to the IMS stack for registering end or more matchmakers
Volume data engine.
The specific embodiment of the embodiment of the present invention can refer to preceding aspect embodiments, and details are not described herein again.
It is understood that for the business for not needing session, such as can be network and short message, connection status can be passed through
It is that WiFi or LTE selection registration end carries out transmission and processing after data send or receive.
The embodiment of the invention also discloses a kind of terminal, the terminal includes multimedia service processing system, can be supported
Seamless switching of the different business such as VoWiFi, VoLTE business and VoWiFi, VoLTE, RCS under each scene.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can store in computer readable storage medium, storage
Medium may include: ROM, RAM, disk or CD etc..
Although present disclosure is as above, present invention is not limited to this.Anyone skilled in the art are not departing from this
It in the spirit and scope of invention, can make various changes or modifications, therefore protection scope of the present invention should be with claim institute
Subject to the range of restriction.