CN102739840A - User terminal incoming call processing method and device - Google Patents
User terminal incoming call processing method and device Download PDFInfo
- Publication number
- CN102739840A CN102739840A CN2011100863356A CN201110086335A CN102739840A CN 102739840 A CN102739840 A CN 102739840A CN 2011100863356 A CN2011100863356 A CN 2011100863356A CN 201110086335 A CN201110086335 A CN 201110086335A CN 102739840 A CN102739840 A CN 102739840A
- Authority
- CN
- China
- Prior art keywords
- thread
- tinkle
- bells
- incoming call
- play
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M19/00—Current supply arrangements for telephone systems
- H04M19/02—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
- H04M19/04—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5018—Thread allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/57—Arrangements for indicating or recording the number of the calling subscriber at the called subscriber's set
- H04M1/575—Means for retrieving and displaying personal data about calling party
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
The invention relates to a user terminal incoming call processing method. The method comprises the following steps: after an application management thread receives an incoming call message, the application management thread starts a call application and draws an incoming call window; at the initial phase of incoming call window drawing, the application management thread sends a playing request to a ring tone playing preparing thread; after the ring tone playing preparing thread receives the playing request, the ring tone playing preparing thread prepares resources needed by ring tone playing; and after the ring tone playing preparing thread is ready, the ring tone playing preparing thread notifies a ring tone playing thread to call multimedia software and to play a ring tone. The invention further relates to a user terminal incoming call processing device. According to the application of the technical scheme provided by the invention, the method of starting an idle thread is employed to play the ring tone of the incoming call, the phenomenon that ring tone playing and incoming call interface drawing are not synchronous is avoided, wherein the phenomenon is brought by that ring tone playing and incoming call interface drawing are performed in the same thread, and the experience of a user is improved.
Description
Technical field
The present invention relates to the communications field, particularly a kind of user terminal call processing method and a kind of user terminal.
Background technology
As everyone knows; Present user terminal industry development is swift and violent; Technology is unprecedented with the fierceness of the competition of cost, and therefore, any technological innovation cheaply of Any user terminal provisioning merchant can both make its terminal can in market competition, occupy more remarkable advantages.
For user terminal, on the one hand, most user terminal basic service, for example voice call, video call, music etc., its technology say that with respect to some new should being used for very ripe and stable, the space that can optimize and promote is smaller; On the other hand; The processing speed of the dominant frequency of the central processing unit (CPU) at fast-selling most medium and low-end users terminal is lower in the market; Such dominant frequency processing speed has seriously influenced user experience in problem such as use embodied when concurrent slow such as the interface switch speed, key response is untimely more.
In addition, under the low prerequisite of central processing unit dominant frequency, through adopting under the situation that multimedia audio, video software coding and decoding reduce cost, to use when concurrent the inferior position of user experience just more obvious more.
Summary of the invention
The technical problem that the present invention solves is to provide a kind of user terminal call processing method, to solve the slow-paced problem of user terminal incoming call handling; In addition, the present invention also provides a kind of user terminal.
For addressing the above problem, the invention provides a kind of user terminal call processing method, said method comprises,
The application management thread starts talk application after receiving incoming call message, and the window of sending a telegram here is drawn; And, play the preparation thread to the tinkle of bells and send playing request at incoming call window drafting initial phase;
After the tinkle of bells broadcast preparation thread is received said playing request, prepare the tinkle of bells and play required resource; After the tinkle of bells broadcast preparation thread was ready, the notice the tinkle of bells was play the thread dispatching multimedia software and is carried out the broadcast of the tinkle of bells.
In the above-mentioned method, wherein,, the application management thread also comprises before receiving incoming call message,
After the user terminal protocol stack is received the incoming call message of network side transmission, send incoming call message to the application management thread through adaptation layer.
Above-mentioned method, wherein, said method also comprises,
The application management thread detects network state, when network allows the CS business with the PS service concurrence, suspends the user terminal current application, starts talk application.
Above-mentioned method, wherein, the said application management thread window of sending a telegram here is drawn and to be specially,
The application management thread carries out the loading of window picture and window activates.
Above-mentioned method, wherein, the tinkle of bells is play the required resource of preparation thread preparation the tinkle of bells broadcast and is comprised,
The judgement of incoming ring tone file, mutual exclusion protection, equipment handle are judged, the application of play space.
The present invention also provides a kind of user terminal incoming call handling device, and this device comprises,
The application management thread units, be used to receive incoming call message after, start talk application, the window of sending a telegram here is drawn; And, play the preparation thread to the tinkle of bells and send playing request at incoming call window drafting initial phase;
The tinkle of bells play to be prepared thread units, be used to receive said playing request after, prepare the tinkle of bells and play required resource; After the tinkle of bells broadcast preparation thread is ready, plays the broadcast of thread units transmission the tinkle of bells to the tinkle of bells and notify;
The tinkle of bells is play thread units, is used for after receiving that said the tinkle of bells is play notice, calling the broadcast that multimedia software carries out the tinkle of bells.
Further, said device also comprises,
The protocol stack unit after being used to receive the incoming call message of network side transmission, sends incoming call message through adaptation layer to the application management thread.
Further, said application management thread units also is used to detect network state, when network allows the CS business with the PS service concurrence, suspends the user terminal current application, starts talk application.
Further, the said application management thread units window of sending a telegram here is drawn and to be specially,
The application management thread units carries out the loading of window picture and window activates.
Further, the tinkle of bells broadcast preparation thread unit quasi is equipped with the required resource of the tinkle of bells broadcast and comprises,
The judgement of incoming ring tone file, mutual exclusion protection, equipment handle are judged, the application of play space.
Use technical scheme provided by the invention, adopted the method for launching idle thread to realize the broadcast of incoming ring tone, avoided in same thread the two nonsynchronous phenomenon of not only playing the tinkle of bells but also draw electric interface to bring, promoted user experience.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes a part of the present invention, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, does not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the embodiment of the invention one flow chart;
Fig. 2 is the embodiment of the invention two structure charts.
Embodiment
In order to make technical problem to be solved by this invention, technical scheme and beneficial effect clearer, clear,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
As shown in Figure 1, be the embodiment of the invention one flow chart, this user terminal call processing method specifically comprises,
After step S101, user terminal protocol stack receive the incoming call message of network side transmission, send incoming call message to the application management thread through adaptation layer;
Step S102, application management thread start talk application after receiving incoming call message, and the window of sending a telegram here is drawn; And, play the preparation thread to the tinkle of bells and send playing request at incoming call window drafting initial phase;
Particularly, after the application management thread is received said incoming call message, detect network state and (allow CS (Circuit Switching down like 3G network; Circuit domain) professional and PS (Packet Switching; Packet domain) service concurrence does not allow under the 2G network that the two is concurrent), allow under the concurrent situation at network; The application management thread suspends current application, starts conversation (voice or video telephone) and uses; If conversation (voice or video telephone) is used can't normally start, then the application management thread is launched its exception management mechanism and is handled; If talk application (voice or video telephone) can normally start, then to call the corresponding window treatments function of talk application the incoming call window is drawn;
In the window treatments function of incoming call, the initial phase of drawing at the incoming call window with some information of incoming call,, calls relevant interface and plays the message queue of preparing thread to the tinkle of bells and send the tinkle of bells playing request as parameter such as number etc.;
The application management thread is proceeded incoming call windows such as the loading of window picture, window activation and is drawn processing; In this process, it is exactly that the application management thread is play the time period that the request results of preparing thread transmission the tinkle of bells playing request turns back to the application management thread to the tinkle of bells that time delay is drawn at the interface.For simple function call with for returning,, can not occur the interface yet and draw by the phenomenon of obviously incuring loss through delay even under the very low situation of user terminal CPU frequency;
Step S103 after the tinkle of bells broadcast preparation thread is received said playing request, prepares the tinkle of bells and plays required resource; After the tinkle of bells broadcast preparation thread was ready, the notice the tinkle of bells was play the thread dispatching multimedia software and is carried out the broadcast of the tinkle of bells;
Particularly; After the tinkle of bells broadcast preparation thread is received said the tinkle of bells playing request; The tinkle of bells is play resource needed prepare, the resource that the tinkle of bells broadcast needs comprises the judgement of incoming ring tone file (different contacts is provided with different ring tones), mutual exclusion protection, the judgement of equipment handle, the application of play space etc.; Carry out as if these preparations are placed in the application management thread, can cause the tinkle of bells to begin to play and interface not switching as yet; After the tinkle of bells broadcast preparation thread was ready to, the notice the tinkle of bells was play the broadcast of thread dispatching multimedia soft decoding thread realization the tinkle of bells.
In above-mentioned steps, it can be to carry out synchronously that drafting processing of application management thread incoming call window and the tinkle of bells are play the processing of preparing thread preparation the tinkle of bells broadcast resource requirement, and sequence of steps is the logical order of representative of consumer terminal inner processing only.
To sum up; This processing method realizes that principle is; The incoming ring tone playing process of user terminal peeled off from the existing application management thread come; Launch idle thread and carry out the broadcast of incoming ring tone, thereby avoid in same thread the tinkle of bells play and the nonsynchronous phenomenon of the tinkle of bells and interface that causes, obviously improve the user experience effect.
As shown in Figure 2, be the embodiment of the invention two structure charts, this a kind of user terminal incoming call handling device comprises,
The protocol stack unit after being used to receive the incoming call message of network side transmission, sends incoming call message through adaptation layer to the application management thread units.
The application management thread units, be used to receive incoming call message after, start talk application, the window of sending a telegram here is drawn; And, play the preparation thread units to the tinkle of bells and send playing request at incoming call window drafting initial phase;
Said application management thread units also is used to detect network state, when network allows the CS business with the PS service concurrence, suspends the user terminal current application, starts talk application.If conversation (voice or video telephone) is used can't normally start, then the application management thread units is launched its exception management mechanism and is handled; If talk application (voice or video telephone) can normally start, then to call the corresponding window treatments function of talk application the incoming call window is drawn;
The said application management thread units window of sending a telegram here is drawn and to be specially,
The application management thread units carries out the loading of window picture and window activates.
The tinkle of bells play to be prepared thread units, be used to receive said playing request after, prepare the tinkle of bells and play required resource; The tinkle of bells play to prepare the thread unit quasi be equipped with ready after, play thread units to the tinkle of bells and send the tinkle of bells and play notice;
The tinkle of bells is play thread units, is used for after receiving that said the tinkle of bells is play notice, calling the broadcast that multimedia software carries out the tinkle of bells.
Above-mentioned explanation illustrates and has described the preferred embodiments of the present invention; But as previously mentioned; Be to be understood that the present invention is not limited to the form that this paper discloses, should do not regard eliminating as, and can be used for various other combinations, modification and environment other embodiment; And can in invention contemplated scope described herein, change through the technology or the knowledge of above-mentioned instruction or association area.And change that those skilled in the art carried out and variation do not break away from the spirit and scope of the present invention, then all should be in the protection range of accompanying claims of the present invention.
Claims (10)
1. a user terminal call processing method is characterized in that, said method comprises,
The application management thread starts talk application after receiving incoming call message, and the window of sending a telegram here is drawn; And, play the preparation thread to the tinkle of bells and send playing request at incoming call window drafting initial phase;
After the tinkle of bells broadcast preparation thread is received said playing request, prepare the tinkle of bells and play required resource; After the tinkle of bells broadcast preparation thread was ready to, the notice the tinkle of bells was play the thread dispatching multimedia software and is carried out the broadcast of the tinkle of bells.
2. method according to claim 1 is characterized in that,, the application management thread also comprises before receiving incoming call message,
After the user terminal protocol stack is received the incoming call message of network side transmission, send incoming call message to the application management thread through adaptation layer.
3. method according to claim 1 is characterized in that, when said application management thread started talk application, said method also comprised,
The application management thread detects network state, when network allows circuit domain business and packet switch domain service concurrent, suspends the user terminal current application, the startup talk application.
4. method according to claim 1 is characterized in that, the said application management thread window of sending a telegram here is drawn and to be specially,
The application management thread carries out the loading of window picture and window activates.
5. method according to claim 1 is characterized in that, the tinkle of bells is play the required resource of preparation thread preparation the tinkle of bells broadcast and comprised,
The judgement of incoming ring tone file, mutual exclusion protection, equipment handle are judged and the application of play space.
6. a user terminal incoming call handling device is characterized in that, said device comprises,
The application management thread units, be used to receive incoming call message after, start talk application, the window of sending a telegram here is drawn; And, play the preparation thread units to the tinkle of bells and send playing request at incoming call window drafting initial phase;
The tinkle of bells play to be prepared thread units, be used to receive said playing request after, prepare the tinkle of bells and play required resource; The tinkle of bells play to prepare the thread unit quasi be equipped with ready after, play thread units to the tinkle of bells and send the tinkle of bells and play notice;
The tinkle of bells is play thread units, is used for after receiving that said the tinkle of bells is play notice, calling the broadcast that multimedia software carries out the tinkle of bells.
7. device according to claim 6 is characterized in that, said device also comprises,
The protocol stack unit after being used to receive the incoming call message of network side transmission, sends incoming call message through adaptation layer to the application management thread.
8. device according to claim 6 is characterized in that,
Said application management thread units also is used to detect network state, when network allows circuit domain business and packet switch domain service concurrent, suspends the user terminal current application, the startup talk application.
9. device according to claim 6 is characterized in that, the said application management thread units window of sending a telegram here is drawn and to be specially,
The application management thread units carries out the loading of window picture and window activates.
10. device according to claim 6 is characterized in that, the tinkle of bells broadcast preparation thread unit quasi is equipped with the required resource of the tinkle of bells broadcast and comprises,
The judgement of incoming ring tone file, mutual exclusion protection, equipment handle are judged and the application of play space.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100863356A CN102739840A (en) | 2011-04-07 | 2011-04-07 | User terminal incoming call processing method and device |
PCT/CN2011/075711 WO2012136017A1 (en) | 2011-04-07 | 2011-06-14 | Method and device for user terminal to process incoming call |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100863356A CN102739840A (en) | 2011-04-07 | 2011-04-07 | User terminal incoming call processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102739840A true CN102739840A (en) | 2012-10-17 |
Family
ID=46968540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100863356A Pending CN102739840A (en) | 2011-04-07 | 2011-04-07 | User terminal incoming call processing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102739840A (en) |
WO (1) | WO2012136017A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105791504A (en) * | 2016-01-26 | 2016-07-20 | 青岛海信移动通信技术股份有限公司 | Incoming call processing method and terminal |
CN107257418A (en) * | 2017-07-25 | 2017-10-17 | 上海传英信息技术有限公司 | The incoming call notifying method and call-in reporting system of a kind of intelligent terminal |
CN110944090A (en) * | 2019-11-15 | 2020-03-31 | 成都旺小宝科技有限公司 | Method and device for solving delay of telephone number during ringing of telephone set |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100592025B1 (en) * | 2004-04-01 | 2006-06-20 | 서울통신기술 주식회사 | Apparatus and method for processing outbound call in call center |
CN101355766A (en) * | 2008-09-11 | 2009-01-28 | 青岛海信移动通信技术股份有限公司 | Mobile terminal and control method for playing multimedia thereof |
CN101364188A (en) * | 2008-09-12 | 2009-02-11 | 青岛海信移动通信技术股份有限公司 | Mobile terminal and multimedia playing control method thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1225105C (en) * | 2002-12-26 | 2005-10-26 | 北京邮电大学 | Call processing system adapted for application server and its realizing method |
CN101272571A (en) * | 2008-05-07 | 2008-09-24 | 北京邮电大学 | Mobile service terminal system |
-
2011
- 2011-04-07 CN CN2011100863356A patent/CN102739840A/en active Pending
- 2011-06-14 WO PCT/CN2011/075711 patent/WO2012136017A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100592025B1 (en) * | 2004-04-01 | 2006-06-20 | 서울통신기술 주식회사 | Apparatus and method for processing outbound call in call center |
CN101355766A (en) * | 2008-09-11 | 2009-01-28 | 青岛海信移动通信技术股份有限公司 | Mobile terminal and control method for playing multimedia thereof |
CN101364188A (en) * | 2008-09-12 | 2009-02-11 | 青岛海信移动通信技术股份有限公司 | Mobile terminal and multimedia playing control method thereof |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105791504A (en) * | 2016-01-26 | 2016-07-20 | 青岛海信移动通信技术股份有限公司 | Incoming call processing method and terminal |
CN105791504B (en) * | 2016-01-26 | 2019-02-15 | 青岛海信移动通信技术股份有限公司 | Processing incoming call and terminal |
CN107257418A (en) * | 2017-07-25 | 2017-10-17 | 上海传英信息技术有限公司 | The incoming call notifying method and call-in reporting system of a kind of intelligent terminal |
CN107257418B (en) * | 2017-07-25 | 2021-02-02 | 上海传英信息技术有限公司 | Incoming call notification method and incoming call notification system of intelligent terminal |
CN110944090A (en) * | 2019-11-15 | 2020-03-31 | 成都旺小宝科技有限公司 | Method and device for solving delay of telephone number during ringing of telephone set |
Also Published As
Publication number | Publication date |
---|---|
WO2012136017A1 (en) | 2012-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2611147B1 (en) | Video communication method, video communication system and integrated media resource server | |
US9894112B2 (en) | Video media playing methods, apparatuses and systems, and computer storage medium | |
CN101626436B (en) | Interactive video sound responding system and realizing method | |
EP1872575B1 (en) | Pausing and resuming content streaming on wireless devices | |
CN102131305B (en) | Method and system for realizing voice service | |
WO2013167001A2 (en) | Session mode switching control method, device and terminal | |
CN103152316A (en) | Achieving method, device and system for interactive voice response (IVR) | |
CN107508995A (en) | One kind incoming call audio frequency playing method and device, computer-readable recording medium | |
CN102739840A (en) | User terminal incoming call processing method and device | |
US9143597B2 (en) | Method for telephony client synchronization in telephone virtualization | |
CN101834940A (en) | Control method of voice service and voice service system | |
CN109391666A (en) | A kind of video call method, apparatus and computer-readable medium | |
CN101909125B (en) | Method and system for transmitting multi-media information during call connection | |
CN110324913A (en) | 5G network communication method, terminal, device, the network equipment and functional entity | |
CN108353145A (en) | Video answers record communication means and terminal | |
CN107241516A (en) | A kind of network transmission video bell based on VoLTE transfers method | |
US8780892B2 (en) | Method and device for processing multimedia messaging service notification message and multimedia messaging service receiving system | |
WO2014032531A1 (en) | Method, device and system for terminal handover | |
CN110650254A (en) | Information transmission method, information reception method, terminal, and storage medium | |
CN110602430B (en) | Video synchronization method, terminal, color ring platform, system and readable storage medium | |
CN104683602A (en) | Music and image color ring back tone processing method and music and image color ring back tone processing device | |
CN109413357B (en) | Audio and video call method and device, equipment and storage medium thereof | |
WO2012130002A1 (en) | Multimedia message sending and receiving methods and devices | |
CN1972343A (en) | A method and device for reminding calling time of subscriber | |
CN103152478A (en) | Phone call display method and mobile phone |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20121017 |