CN106657682B - A kind of method and device detecting User Status event - Google Patents

A kind of method and device detecting User Status event Download PDF

Info

Publication number
CN106657682B
CN106657682B CN201510733837.1A CN201510733837A CN106657682B CN 106657682 B CN106657682 B CN 106657682B CN 201510733837 A CN201510733837 A CN 201510733837A CN 106657682 B CN106657682 B CN 106657682B
Authority
CN
China
Prior art keywords
user status
status event
event
reason code
called terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510733837.1A
Other languages
Chinese (zh)
Other versions
CN106657682A (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 CN201510733837.1A priority Critical patent/CN106657682B/en
Publication of CN106657682A publication Critical patent/CN106657682A/en
Application granted granted Critical
Publication of CN106657682B publication Critical patent/CN106657682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a kind of method and devices for detecting User Status event, lack accurate and the lesser determining User Status event of expense method in the prior art for solving the problems, such as.The described method includes: when carrying out outgoing call detection, starting signaling detection User Status event and speech detection User Status event;Receive the signaling of the first reason code comprising called terminal state;It obtains first reason code from the signaling, and judges whether the corresponding User Status event of first reason code is unique according to reason code and the mapping table of User Status event;If the corresponding User Status event of first reason code is unique, stop speech detection User Status event, release is used for the resource of speech detection User Status event;The corresponding User Status event of first reason code is sent to originating devices.

Description

A kind of method and device detecting User Status event
Technical field
The present invention relates to field of communication technology, in particular to a kind of method and device for detecting User Status event.
Background technique
Active outgoing call refers to that outer paging system first dials customer phone, after connection corresponding phone transfer to seat represent into Row interaction.
When carrying out outgoing call, it is often necessary to know the User Status event of called terminal, such as refuse calling, ring unanswered, The line is busy, mistake number, shutdown, shutdown, etc., and then according to User Status event reasonable distribution outgoing call resource, or combines user State event provides value-added service for user.
In the prior art, the mode for determining the User Status event of called terminal includes:
First, signaling channel.Specifically, detection device obtains reason code from the signaling that called terminal side returns, the original Because code is generated by called terminal side according to agreement, the state of called terminal itself can show that.Detection device can according to agreement Determine the corresponding User Status event of reason code.But in reason code agreement, a reason code may correspond to multiple user's shapes Therefore state event is difficult to accurately determine true User Status event according to signaling channel.
Second, voice channel.Specifically, detection device receives the prompt tone that terminal side returns, based on the received prompt tone Determine the User Status event of called terminal.But when determining User Status event by voice channel, need for each User Status event pre-stored voice template, and sound template is loaded into memory, committed memory is larger, and voice match is opened It sells also larger.
Therefore, lack accurate and the lesser determining User Status event of expense method in the prior art.
Summary of the invention
The embodiment of the present invention provides a kind of method and device for detecting User Status event, lacks in the prior art for solving The problem of weary accurate and method of the lesser determining User Status event of expense.
In a first aspect, the embodiment of the present invention provides a kind of method for detecting User Status event, comprising: carrying out outgoing call inspection When survey, detection device starts signaling detection User Status event and speech detection User Status event;Detection device receives packet The signaling of first reason code of the state containing called terminal, obtains the first reason code, and according to reason code and user's shape from signaling The mapping table of state event judges whether the corresponding User Status event of first reason code is unique;If first reason code Corresponding User Status event is unique, then detection device stops speech detection User Status event, and release is used for speech detection The resource of family state event, and the corresponding User Status event of first reason code is sent to originating devices.
Wherein, the detection device can put down for the general access being made of Media Gateway and Media Gateway Controller Platform, or the single equipment for integrating the function of Media Gateway and Media Gateway Controller.Above-mentioned caller dress It is set to the equipment for initiating outgoing call, such as computer telephone integration.The called terminal is communication terminal device, and such as mobile terminal moves Dynamic platform etc..Reason code is the mark for characterizing the User Status event of called terminal.
In above-mentioned implementation, detection device stops after determining that User Status event can be uniquely determined by passing through signaling Speech detection User Status event discharges the occupied resource of speech detection, obtains the true of user guaranteeing originating devices In the case where real state, system resource is saved, overhead is reduced.
With reference to first aspect, in the first possible implementation of the first aspect, if detection device judges The corresponding User Status event of one reason code is not unique, then is determined according to the first prompt tone that called terminal side returns described called The User Status event of terminal;The User Status event determined is sent to originating devices.
In above-mentioned possible implementation, when the corresponding User Status event of the first reason code is not unique, by called The prompt tone that terminal side returns determines the User Status event of called terminal, so that originating devices will receive unique, determination User Status event.It avoids because originating devices receive the inconsistent detection knot that signaling channel and voice channel return Fruit causes originating devices to be difficult to accurately determine the User Status event of called terminal.
The possible implementation of with reference to first aspect the first, in second of possible implementation of first aspect In, the User Status thing of the called terminal is determined described in detection device according to the first prompt tone that the called terminal side returns Part, comprising: receive first prompt tone that the called terminal side returns;By received first prompt tone and storage At least two prompt tone templates are matched, and determine the first prompt tone template corresponding with first prompt tone;According to prompt The mapping table of sound template and User Status event determines User Status event corresponding with the first prompt tone template, determines User Status event be the called terminal User Status event.
The possible implementation of first or second kind with reference to first aspect, in the third possible realization of first aspect In mode, if detection device judges first reason code, corresponding User Status event is not unique, and fails in time-out The prompt tone of called terminal side return is received in time, it is determined that corresponding at least two User Status of first reason code Event;The strategy that outgoing call is carried out to the called terminal is determined according at least two User Status event;By the strategy It is sent to the originating devices.
In above-mentioned possible implementation, User Status event can not be being determined according to signaling channel and voice channel When, the strategy that outgoing call is carried out to called terminal is estimated by acquired not exclusive User Status event, so that originating devices The outgoing call to the called terminal is executed according to the strategy, improves outgoing call efficiency.
The third possible implementation with reference to first aspect, in the 4th kind of possible implementation of first aspect In, detection device estimates the strategy that outgoing call is carried out to the called terminal according to not exclusive User Status event, comprising: according to institute At least two User Status events are stated to determine the need for carrying out outgoing call again to the called terminal;Or according to it is described at least Two User Status events determine the time that outgoing call again is carried out to the called terminal.
Second aspect, the embodiment of the present invention provide a kind of device for detecting User Status event, comprising:
Starting module, for when carrying out outgoing call detection, starting signaling detection User Status event and speech detection to be used Family state event;
Signaling receiving module, for receiving the signaling of the first reason code comprising called terminal state;
Judgment module, obtains first reason code from the received signaling of first receiving unit, and according to Reason code and the mapping table of User Status event judge whether the corresponding User Status event of first reason code is unique;
Resource release module, for when the corresponding User Status event of first reason code is unique, stopping voice inspection User Status event is surveyed, release is used for the resource of speech detection User Status event;
Sending module, for the corresponding User Status event of first reason code to be sent to originating devices.
In conjunction with second aspect, in the first possible implementation of the second aspect, the dress of User Status event is detected It sets further include:
Voice determining module is used for when the corresponding User Status event of first reason code is not unique, according to described The first prompt tone that called terminal side returns determines the User Status event of the called terminal;
The sending module is also used to: the User Status event that the voice determining module is determined is sent to caller dress It sets.
In conjunction with the first possible implementation of second aspect, in second of possible implementation of second aspect In, the voice determining module is specifically used for:
Receive first prompt tone that the called terminal side returns;
Received first prompt tone is matched at least two prompt tone templates of storage, it is determining with described the The corresponding first prompt tone template of one prompt tone;
Use corresponding with the first prompt tone template is determined according to the mapping table of prompt tone template and User Status event Family state event, the User Status event determined are the User Status event of the called terminal.
In conjunction with the possible implementation of first or second kind of second aspect, in the third possible realization of second aspect In mode, the device of User Status event is detected further include:
Estimation block for not unique in the corresponding User Status event of first reason code, and fails in time-out In when receiving first prompt tone, determine the corresponding at least two User Status event of first reason code;According to At least two User Status event determines the strategy that outgoing call is carried out to the called terminal;
The sending module is also used to: the strategy that second determining module determines being sent to the caller and is filled It sets.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect In, the estimation block is specifically used for: being determined the need for according at least two User Status event to the called end End carries out outgoing call again;The called terminal is carried out outside again alternatively, being determined according at least two User Status event The time exhaled.
The third aspect, the embodiment of the present invention provide a kind of device for detecting User Status event, comprising: processor, storage Device;Wherein, there is computer-readable program in the memory;The processor passes through the program run in the memory, For completing method described in first aspect.
Compared to the prior art, scheme provided by the invention can determine that User Status event and saving system are opened accurate It realizes and is better balanced between pin.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is the schematic diagram that signaling channel detects and voice channel detects;
Fig. 2 is the flow diagram that the method for User Status event is detected in the embodiment of the present invention;
Fig. 3 is the refinement flow diagram that User Status event methods are detected in the embodiment of the present invention;
Fig. 4 is another refinement flow diagram that User Status event methods are detected in the embodiment of the present invention;
Fig. 5 is the schematic diagram that User Status event process is detected in the embodiment of the present invention;
Fig. 6 is another schematic diagram that User Status event process is detected in the embodiment of the present invention;
Fig. 7 is the another schematic diagram that User Status event process is detected in the embodiment of the present invention;
Fig. 8 is the structural schematic block diagram that the device of User Status event is detected in the embodiment of the present invention;
Fig. 9 is the structural schematic block diagram of the device of another detection User Status event in the embodiment of the present invention.
Specific embodiment
Fig. 1 is to determine that the User Status event of called terminal is shown by signaling channel and voice channel in the prior art It is intended to.Wherein, the network element or system or network being related to include: voice mail system (Voice Message System;Referred to as: VMS), base station sub-system (Base Station Subsystem;Referred to as: BSS), Universal Telecommunication Radio Access Network (Universal Telecommunication Radio Access Network;Referred to as: UTRAN), home location register (Home Location Register;Referred to as: HLP), service control point (Service Control Point;Referred to as: SCP), mobile to hand over Switching center9 (Mobile Switching Center;Referred to as: MSC), Media Gateway (Media Gateway;Referred to as: MGW), matchmaker Body gateway controller (Media Gateway Controller;Referred to as: MGC), Universal Access Platform (Universal Access Platform;Referred to as: UAP), computer telephone integration (Computer Telephony Integration;Referred to as: CTI).Its In, above-mentioned UAP is made of above-mentioned MGC and above-mentioned MGW.Said network element or system or the embodiment of network please refer to existing skill Art is not described in detail herein.
In addition, the solid arrow in Fig. 1 corresponds to signaling channel detection approach, dotted arrow corresponds to voice channel detection way Diameter.It is interacted it should be noted that the line of the MGW and MSC of called terminal side show that the two exists, control of the usual MGW by MSC System.Furthermore what is transmitted between the network element or system in voice channel detection approach might not all be voice, for example, call center Signalling can be carried out between the MGW and MGC of side.
In order to solve the problems, such as to lack in the prior art accurate and the lesser determining User Status event of expense method, this Inventive embodiments are improved for UAP in the prior art, provide a kind of method and device for detecting User Status event, under Face is described in detail technical solution of the present invention by attached drawing and specific embodiment.
Fig. 2 is a kind of flow diagram of method for detecting User Status event provided in an embodiment of the present invention, this method Include the following steps:
Step 101: when carrying out outgoing call detection, starting signaling detection User Status event and speech detection User Status Event;
Step 102: receiving the signaling of the first reason code comprising called terminal state;
Step 103: obtaining the first reason code from signaling, and judged according to reason code and the mapping table of User Status event Whether the corresponding User Status event of the first reason code is unique;If the corresponding User Status event of the first reason code is unique, Turn to step 104;
Step 104: stopping speech detection User Status event, release is used for the resource of speech detection User Status event;
Step 105: the corresponding User Status event of the first reason code is sent to originating devices.
Specifically, above-mentioned steps 101 to step 105 can be executed by the UAP in Fig. 1, it can also be by the MGC in UAP It is integrated on a detection device with MGW, above-mentioned steps 101 to step 105 are executed by the integrated detection device.It is using When different from call center's framework shown in FIG. 1, above-mentioned steps 101 to step 105 can also be using the identical or phase with UAP function As other network elements execute.
In a step 101, when carrying out outgoing call detection, the detection device for executing above-mentioned steps 101 to step 105 first can The resource for the detection of signaling channel is obtained, starting signaling detects User Status event;And it obtains and is detected for voice channel Resource, start speech detection User Status event.
Wherein, obtain signaling detection resource or speech detection resource mode include: first, from system be detection It is allocated in the resource of equipment distribution for signaling detection or for the resource of speech detection;Second, detection device is actively to being The network element for being responsible for resource allocation in system issues resource request, and network element is requested to detect or be used for speech detection for signaling for its distribution Resource;Third, the network element of the outgoing call triggering distribution resource of originating devices is actively detection device distribution resource, detection device is connect The resource received as its distribution is detected.
In step 102, since signaling is smaller compared to the data volume of voice, transmission time is shorter, and detection device will first Receive the signaling of called terminal side return.
In step 103, detection device obtains the first reason code for showing called terminal state from received signaling. Then, judge that the corresponding User Status event of the first reason code is with the mapping table of User Status event according to code the reason of storage It is no unique.
Wherein, above-mentioned mapping table can store in detection device local, also can store other network elements in communication system Among, detection device can obtain mapping table from the network element, or the first reason code is sent to the network element, be sentenced by the network element Whether the disconnected corresponding User Status event of first reason code is unique, and judging result is returned to detection device.
If executing the judging result after step 103 shows that the corresponding User Status event of the first reason code is unique, can It is unique, accurate by signaling detection to determine User Status event, it turns to and executes step 104, stop speech detection User Status thing Part, release are used for the resource of speech detection User Status event.
Wherein, the resource for speech detection User Status event includes: to be used for transmission the prompt of called terminal side return The transfer resource of sound, the storage resource for caching return prompt tone, for identification resources such as calculation resources of the first prompt tone At least one of in.
In step 105, detection device will be sent to calling terminal according to the determining User Status event of signaling detection, so that Originating devices know the time of day of called terminal, and distribute outgoing call resource accordingly for the called terminal, or combine User Status Event provides value-added service for user.
It should be noted that above-mentioned steps 104 can carry out simultaneously with step 105, that is, judge first in step 103 After the corresponding User Status event of reason code is unique, while triggering the execution of step 104 and step 105.Step 105 can also be with It is executed after step 104 executes, alternatively, step 104 executes after step 105 executes.
In addition, called terminal side can return to signaling by the MSC in Fig. 1, the network architecture different from Fig. 1 is being used When, called terminal side can also return to signaling by playing other network elements of similar action with MSC.
Furthermore above-mentioned originating devices can be the CTI in Fig. 1, when using the call center of other frameworks, originating devices Or the other equipment of similar action are played with the CTI in Fig. 1.
In the method for above-mentioned detection User Status event provided in an embodiment of the present invention, detection device passes through signaling in determination After User Status event can be uniquely determined, stop speech detection User Status event, discharge the occupied resource of speech detection, In the case where guaranteeing the time of day of originating devices acquisition user, system resource is saved, overhead is reduced.
Optionally, in the embodiment of the present invention, judging result in step 103 shows the corresponding user's shape of the first reason code After state event is not unique, turns to and execute step 106.
Step 106: the User Status event of called terminal is determined according to the first prompt tone that called terminal side returns;
Step 107: the User Status event determined is sent to originating devices.
Specifically, showing to be difficult to by signaling channel if the corresponding User Status event of the first reason code is not unique Determine that the time of day of called terminal, detection device receive the first prompt tone that called terminal side returns, according to the first prompt Sound determines User Status event, and User Status event is sent to originating devices.
For example, being determined when the first reason code for including in the signaling that called terminal side returns is " user is absent " reason code Two User Status events out, respectively " subscriber absent event " and " user's shutdown event ", then, by called whole The prompt tone " user that you are called has shut down " that end side returns, and determine therefrom that the time of day of called terminal is that " user is closed Machine event ".
It should be noted that called terminal side can return to the first prompt tone by the MGW in Fig. 1, using with Fig. 1 not With the network architecture when, called terminal side can also by with MGW rise similar action other network elements return the first prompt tone.
In above-mentioned technical proposal, called terminal is determined by the first reason code that the signaling that called terminal side reports includes User Status event, and when the corresponding User Status event of the first reason code is not unique, it is mentioned by what called terminal side returned Show that sound determines the User Status event of called terminal, originating devices will receive User Status event that is unique, determining.It avoids Because originating devices receive the inconsistent testing result that signaling channel and voice channel return, originating devices is caused to be difficult to The accurate User Status event for determining called terminal.
Optionally, in the embodiment of the present invention, step 106: being determined according to the first prompt tone that called terminal side returns called The User Status event of terminal, when it is implemented, including the following steps: referring to Fig. 3
Step 1061: receiving the first prompt tone that called terminal side returns;
Step 1062: by received first prompt tone with storage at least two prompt tone templates match, determine with The corresponding first prompt tone template of first prompt tone;
Step 1063: corresponding with the first prompt tone template according to prompt tone template and the determination of the mapping table of User Status event User Status event, the User Status event determined be called terminal User Status event.
Specifically, detection device receives the first of called terminal side return using the transfer resource of distribution in step 1061 Prompt tone.
Step 1062 is continued to execute, the first prompt tone is stored in local storage (e.g., memory), and first is prompted Sound is matched with the prompt tone template prestored, determines the first matched prompt tone template of prompt tone template institute, and further hold Row step 1063 determines that the corresponding User Status event of the first prompt tone template is the User Status event of called terminal.
Wherein, detection device locally prestores multiple prompt tone templates, and each prompt tone template can correspond to a user The corresponding relationship of state event, prompt tone template and User Status event can store in a mapping table, can also be every The information of its corresponding User Status event is stored in the attribute information of a prompt tone template.
For example, prompt tone template may include the voice of " user that you are called has shut down ", corresponding to the sound template User Status event be " shutdown event ".Detection device matches the first prompt tone with multiple prompt tone templates of storage Afterwards, if it is determined that the first prompt tone and the sound template of " user that you are called has shut down " match, then can determine the voice Template corresponding " shutdown event " is the User Status event of called terminal.It is prompted about by the first prompt tone and at least two Template carries out matched implementation and please refers to the prior art, is not described in detail herein.
It should be noted that in addition to the mode above by template matching determines User Status corresponding to the first prompt tone Event can also determine the content of the first prompt tone using voice initiative recognition technology, and then according in the first prompt tone Hold the User Status event for determining called terminal.
In addition, detection device can also judge user corresponding to the first reason code in step 103 in actual conditions Resource needed for the detection of distribution voice channel, executes step 106 after state event is not unique, and the embodiment of the present invention is intended to protection This deformation scheme.
Optionally, in the embodiment of the present invention, the collection of the corresponding not unique reason code of User Status event is combined into the first original Because the collection of the corresponding User Status event of the reason of code collection is closed, and the first reason code set includes code is combined into the first User Status event Set, above-mentioned at least two prompt tones template, which includes that each User Status event is corresponding in the first User Status event sets, to be mentioned Show sound template.
Specifically, User Status event includes two classes, first kind User Status event can be uniquely determined by reason code, I.e. reason code corresponding to first kind User Status event is only corresponding with a User Status event;Second class User Status event It cannot be uniquely determined by reason code, i.e. reason code corresponding to the second class User Status event is corresponding at least two user's shapes State event, the set of the second class User Status event are the first User Status event sets.
Since first kind User Status event can uniquely determine out by signaling channel, so, in actual conditions It does not need to determine first kind User Status event by voice channel, therefore, detection device can not store first kind user The corresponding sound template of state event, but the first User Status event sets packet that storage cannot be determined by signaling channel The corresponding prompt tone template of the second class User Status event contained, the first User Status event sets are determined by voice channel In User Status event.
In above-mentioned technical proposal, by storing the corresponding prompt tone of User Status event that cannot be determined by signaling channel Template can reduce voice without storing the corresponding prompt tone template of User Status event that can be determined by signaling channel Channel determines the storage resource occupied needed for User Status event.
Optionally, in the embodiment of the present invention, in step 103: being judged according to reason code and the mapping table of User Status event Further include following steps referring to Fig. 4 after whether the corresponding User Status event of the first reason code is unique:
Step 108: if the corresponding User Status event of the first reason code is not unique, and failing to receive in time-out time The first prompt tone returned to called terminal side, it is determined that the corresponding at least two User Status event of the first reason code;
Step 109: the strategy that outgoing call is carried out to called terminal is determined according at least two User Status events;
Step 110: the strategy determined is sent to originating devices.
Specifically, in actual conditions, in fact it could happen that following situation: since voice transfer takes long time or voice transfer Link obstructions, failure or called terminal failure can not return to prompt tone.
In the above case said, detection device may fail the prompt that called terminal side return is received in overtime duration Sound can not obtain User Status event according to speech detection channel, and not due to the corresponding User Status event of the first reason code Uniquely, therefore, the unique subscriber state event of called terminal can not be also obtained by signaling channel.
In this case, detection device can pass through the current existing information about called terminal, i.e. the first reason The corresponding not exclusive User Status event of code, to estimate the time of day of called terminal, and then according to the called terminal of estimation State generate to the next outbound call policy of called terminal.
In actual conditions, after determining that the corresponding User Status event of the first reason code is not exclusive, detection device can be with The corresponding not exclusive User Status event of first reason code is stored for use, if it is possible to be determined according to speech detection channel Unique subscriber state event then gives up the not exclusive User Status event of storage.If by voice channel can not determine it is non-only One User Status event, the then not exclusive User Status event stored before detection device is read are connect down by step 109 determination The outbound call policy come.Wherein, not exclusive User Status event can store in memory or in special register, Huo Zhecun On Chu Cong hard disk.
In above-mentioned technical proposal, when that can not determine User Status event according to signaling channel and voice channel, pass through Acquired information (that is, the corresponding at least two User Status event of the first reason code) carries out outgoing call to called terminal to determine Strategy improve outgoing call efficiency so that originating devices execute the outgoing call to the called terminal according to the strategy.
Optionally, in the embodiment of the present invention, step 109: being determined according at least two User Status events to called terminal The strategy for carrying out outgoing call, when it is implemented, including:
It is determined the need for carrying out outgoing call again to called terminal according at least two User Status events;Or
The time that outgoing call again is carried out to called terminal is determined according at least two User Status events.
Specifically, at least two User Status events determined according to the first reason code, although cannot uniquely determine The state of called terminal, but can also reflect the state of called terminal, or can be used for estimating the state of called terminal, according to At least two User Status events that first reason code is determined can determine whether to carry out outgoing call again to called terminal; Or when to carry out outgoing call again to called terminal, the time of outgoing call again is determined according at least two User Status events.
For example, determining two User Status events, respectively when the first reason code is " user is absent " reason code " subscriber absent event " and " user's shutdown event ", can estimate that called terminal is only temporarily absent, finger can be generated Show that originating devices carry out the strategy of outgoing call again to called terminal.In addition, the situation of user's absence will not change in a short time, So can further indicate that originating devices postpone outgoing call to called terminal in strategy, to avoid the waste of outgoing call resource, Improve the utilization rate of resource.
In actual conditions, when executing step 109, the other information of called subscriber can be combined with to generate outgoing call plan Slightly.For example, being " subscriber absent thing in the possibility User Status event for determining called terminal according to the first reason code , can be in conjunction with the history ticket of called terminal when part " and " user's shutdown event ", it, can if the user does not shut down before To estimate user's only temporary no longer server, a short period can be waited to carry out outgoing call again.If history ticket shows It is often shut down before the user, then can estimate that shutdown event occurs in the user, a long period can be waited to carry out again outer It exhales.
In above-mentioned technical proposal, when that can not determine User Status event according to signaling channel and voice channel, pass through The corresponding at least two User Status event of first reason code determines whether to carry out outgoing call again to called terminal, and specific Outgoing call next time is carried out at what time, avoids the outgoing call wasting of resources, improves outgoing call efficiency.
The technical solution that embodiment provides in order to better understand the present invention is made of with utilization MGC and MGW below UAP is illustrated come the method for executing detection User Status event provided in an embodiment of the present invention.
Wherein, MGC includes: detection control module, event memory module, unique cases filtering module, signaling detection module, Above-mentioned module can be the hardware module realized by chip, be also possible to execute the functional module that program is realized by processor.
Fig. 5 is the flow diagram for detecting User Status event, is included the following steps:
Step 201: when carrying out outgoing call detection, the starting signaling channel detection of detection control module and the inspection of voice channel It surveys;
Step 202: the reason of signaling detection module includes according to the signaling detected code determines User Status event, and will User Status event reports unique cases filtering module;
Step 203: whether the User Status event that unique cases filtering module judges that signaling detection module reports is unique;
Step 204: when the User Status event that signaling detection module reports is unique, unique cases filtering module will be unique User Status event reports detection control module;
Step 205: detection control module sends the instruction for stopping speech detection User Status event to MGW;And execute step Rapid 207;
Step 206:MGW response instruction, release are used for the resource of speech detection User Status event.
Step 207: unique subscriber state event is sent to originating devices by detection control module.
By above-mentioned process, in the case where unique subscriber state event can be obtained by signaling channel, voice is discharged Occupied resource is detected, system resource is saved, reduces overhead.
Fig. 6 is another flow diagram for detecting User Status event, is included the following steps:
Step 301: when carrying out outgoing call detection, the starting signaling channel detection of detection control module and the inspection of voice channel It surveys;
Step 302: the reason of signaling detection module includes according to the signaling detected code determines User Status event, and will User Status event reports unique cases filtering module;
Step 303: whether the User Status event that unique cases filtering module judges that signaling detection module reports is unique;
Step 304: when the User Status event that signaling detection module reports is not unique, by not exclusive User Status event It is stored in event memory module;
Step 305:MGW determines User Status event according to the prompt tone of detection, and User Status event is sent to Unique cases filtering module;
Step 306: the User Status event that unique cases filtering module determines that MGW is reported is unique, by unique subscriber state Event is sent to detection control module;
Step 307: unique subscriber state event is sent to originating devices by detection control module.
By above-mentioned process, when the User Status event that signaling detection channel determines is not unique, by with U because detecting canal Road determines the unique subscriber state event of called terminal, so that originating devices will receive User Status thing that is unique, determining Part.It avoids because originating devices receive the inconsistent testing result that signaling channel and voice channel return, leads to caller Device is difficult to accurately determine the User Status event of called terminal.
Fig. 7 is the another flow diagram for detecting User Status event, is included the following steps:
Step 401: when carrying out outgoing call detection, the starting signaling channel detection of detection control module and the inspection of voice channel It surveys;
Step 402: the reason of signaling detection module includes according to the signaling detected code determines User Status event, and will User Status event reports unique cases filtering module;
Step 403: whether the User Status event that unique cases filtering module judges that signaling detection module reports is unique;
Step 404: when the User Status event that signaling detection module reports is not unique, by not exclusive User Status event It is stored in event memory module;
Step 405: detection control module, which determines, waits unique subscriber state event time-out;
Step 406: detection control module reads not exclusive User Status event from event memory module;
Step 407: detection control module estimates outbound call policy according to the not exclusive User Status event of reading, and will estimate Outbound call policy be sent to originating devices.
By above-mentioned process, when that can not determine User Status event according to signaling channel and voice channel, by The not exclusive User Status event obtained carries out the strategy of outgoing call to estimate to called terminal, so that originating devices are according to the strategy To execute the outgoing call to the called terminal, raising outgoing call efficiency.
It should be noted that above-mentioned technical proposal is only the side of detection User Status event provided in an embodiment of the present invention A kind of possible implementation of method, cannot limit the protection scope of the embodiment of the present invention with this.
Based on the same technical idea, the embodiment of the invention also provides it is a kind of detect User Status event device 500, Fig. 8 is the structural schematic block diagram of device 500, comprising:
Starting module 501, for when carrying out outgoing call detection, starting signaling to detect User Status event and speech detection User Status event;
Signaling receiving module 502, for receiving the signaling of the first reason code comprising called terminal state;
Judgment module 503 obtains the first reason code from the received signaling of the first receiving unit, and according to reason code and uses The mapping table of family state event judges whether the corresponding User Status event of the first reason code is unique;
Resource release module 504, for stopping speech detection when the corresponding User Status event of the first reason code is unique User Status event, release are used for the resource of speech detection User Status event;
Sending module 505, for the corresponding User Status event of the first reason code to be sent to originating devices.
Optionally, in the embodiment of the present invention, device 500 further include:
Voice determining module 506 was used for when the corresponding User Status event of the first reason code is not unique, according to called end The first prompt tone that end side returns determines the User Status event of called terminal;
Sending module 505 is also used to: the User Status event that voice determining module is determined is sent to originating devices.
Optionally, in the embodiment of the present invention, voice determining module 506 is specifically used for:
Receive the first prompt tone that called terminal side returns;
Received first prompt tone is matched at least two prompt tone templates of storage, determining and the first prompt tone Corresponding first prompt tone template;
User's shape corresponding with the first prompt tone template is determined according to the mapping table of prompt tone template and User Status event State event, the User Status event determined are the User Status event of called terminal.
Optionally, in the embodiment of the present invention, with continued reference to Fig. 6, device 500 further include:
Estimation block 507 for not unique in the corresponding User Status event of the first reason code, and fails in time-out time When inside receiving the first prompt tone, the corresponding at least two User Status event of the first reason code is determined;It is used according at least two Family state event determines the strategy that outgoing call is carried out to called terminal;
Sending module 505 is also used to: the strategy that estimation block 507 determines is sent to originating devices.
Optionally, in the embodiment of the present invention, estimation block 507 is specifically used for: true according at least two User Status events It is fixed whether to need to carry out outgoing call again to called terminal;Alternatively, being determined according at least two User Status events to called terminal Carry out the time of outgoing call again.
It, can also be with it should be noted that judgment module 503 in apparatus above 500 can be the processor individually set up It is integrated in some processor of UAP equipment and realizes, depositing for UAP equipment furthermore can also be stored in the form of program code In reservoir, is called by some processor of UAP equipment and execute the function of judgment module 503, processor here can be One central processing unit (Central Processing Unit;Referred to as: CPU) either specific integrated circuit (Application Specific Intergrated Circuit;Referred to as: ASIC) or it is arranged to implement the present invention One or more integrated circuits of embodiment.Resource release module 504, the realization of voice determining module 506 and judgment module 503 It is similar, and can be integrated with judgment module 503, it can also be implemented separately.Signaling receiving module 502 can set for UAP Standby receiver, sending module 505 can be the transmitter of UAP equipment, for realizing the communication between called terminal side.
The method of the device 500 of detection User Status event in the present embodiment and aforementioned detection User Status event is base Two aspects under same inventive concept, are in front described in detail the implementation process of method, so ability The structure and implementation process of the device 500 in the present embodiment can be well understood in field technique personnel according to foregoing description, in order to say Bright book it is succinct, details are not described herein again.
Based on identical inventive concept, the embodiment of the present invention also provides a kind of device 600 for detecting User Status event, ginseng According to Fig. 9, device 600 includes: processor 601, memory 602;Wherein, there is computer-readable program in memory 602;Processing Device 601 is by the program in run memory, in the method for completing aforementioned detection User Status event.
Optionally, in the embodiment of the present invention, detection User Status event device 600 further include transceiver 603, for Other network elements in network transmit information.
Optionally, in the embodiment of the present invention, when program of the processor 601 in run memory 602, following step is executed It is rapid:
When carrying out outgoing call detection, starting signaling detection User Status event and speech detection User Status event;
The signaling of the first reason code comprising called terminal state is received by transceiver 603;
The first reason code is obtained from signaling, and the first reason is judged according to the mapping table of reason code and User Status event Whether the corresponding User Status event of code is unique;
If the corresponding User Status event of the first reason code is unique, stop speech detection User Status event, discharges Resource for speech detection User Status event;
The corresponding User Status event of first reason code is sent to originating devices by transceiver 603.
Optionally, in the embodiment of the present invention, processor 601 is being used for: according to the mapping of reason code and User Status event After table judges whether the corresponding User Status event of the first reason code is unique, it is also used to:
When the corresponding User Status event of the first reason code is not unique, according to the first prompt tone of called terminal side return Determine the User Status event of called terminal;
The User Status event determined is sent to originating devices by transceiver 603.
Optionally, in the embodiment of the present invention, processor 601 is being used for: the first prompt tone returned according to called terminal side Determine the User Status event of called terminal, comprising:
The first prompt tone that called terminal side returns is received by transceiver 603;
Received first prompt tone is matched at least two prompt tone templates of storage, determining and the first prompt tone Corresponding first prompt tone template;
User's shape corresponding with the first prompt tone template is determined according to the mapping table of prompt tone template and User Status event State event, the User Status event determined are the User Status event of called terminal.
Optionally, in the embodiment of the present invention, processor 601 is being used for: according to the mapping of reason code and User Status event After table judges whether the corresponding User Status event of the first reason code is unique, it is also used to:
If the corresponding User Status event of the first reason code is not unique, and fails to receive first in time-out time and mention Show sound, it is determined that the corresponding at least two User Status event of the first reason code;
The strategy that outgoing call is carried out to called terminal is determined according at least two User Status events;
Strategy is sent to originating devices by transceiver 603.
Optionally, in the embodiment of the present invention, processor 601 is used for: being determined according at least two User Status events to quilt The strategy for making terminal carry out outgoing call, comprising:
It is determined the need for carrying out outgoing call again to called terminal according at least two User Status events;Or
The time that outgoing call again is carried out to called terminal is determined according at least two User Status events.
Above-mentioned processor 601 can be the processing unit individually set up, and be also possible to the general designation of multiple processing elements.Example Such as, processor 601 can be central processing unit (Central Processing Unit;Referred to as: CPU), it is also possible to specific collection At circuit (Application Specific Intergrated Circuit;Referred to as: ASIC), it or is arranged to implement One or more integrated circuits of the embodiment of the present invention, such as: one or more microprocessors (digital singnal processor;Referred to as: DSP), or, one or more field programmable gate array (Field Programmable Gate Array;Referred to as: FPGA).
The method of the device 600 of detection User Status event in the present embodiment and aforementioned detection User Status event is base Two aspects under same inventive concept, are in front described in detail the implementation process of method, so ability The structure and implementation process of the device 600 in the present embodiment can be well understood in field technique personnel according to foregoing description, in order to say Bright book it is succinct, details are not described herein again.
The one or more technical solutions provided in the embodiment of the present invention, have at least the following technical effects or advantages:
The embodiment of the present invention, determines the User Status event of called terminal by the first reason code that signaling includes, and When the corresponding User Status event of first reason code is not unique, the User Status event of called terminal is determined by prompt tone, it is main It makes device that will receive User Status event that is unique, determining, solves the User Status event determined by signaling channel The User Status event that voice channel determines is inconsistent with passing through, and influences originating devices and accurately determines called terminal time of day Problem.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (9)

1. a kind of method for detecting User Status event characterized by comprising
When carrying out outgoing call detection, starting signaling detection User Status event and speech detection User Status event;
Receive the signaling of the first reason code comprising called terminal state;
First reason code is obtained from the signaling, and according to reason code and the judgement of the mapping table of User Status event Whether the corresponding User Status event of the first reason code is unique;
If the corresponding User Status event of first reason code is unique, stop speech detection User Status event, discharges Resource for speech detection User Status event;
The corresponding User Status event of first reason code is sent to originating devices;
If the corresponding User Status event of first reason code is not unique, first returned according to the called terminal side Prompt tone determines the User Status event of the called terminal;
The User Status event determined is sent to originating devices.
2. the method as described in claim 1, which is characterized in that first prompt tone returned according to the called terminal side Determine the User Status event of the called terminal, comprising:
Receive first prompt tone that the called terminal side returns;
Received first prompt tone is matched at least two prompt tone templates of storage, determination is mentioned with described first Show the corresponding first prompt tone template of sound;
User's shape corresponding with the first prompt tone template is determined according to the mapping table of prompt tone template and User Status event State event, the User Status event determined are the User Status event of the called terminal.
3. method according to claim 2, which is characterized in that in the mapping table according to reason code and User Status event After judging whether the corresponding User Status event of first reason code is unique, further includes:
If the corresponding User Status event of first reason code is not unique, and fails to receive described in time-out time One prompt tone, it is determined that the corresponding at least two User Status event of first reason code;
The strategy that outgoing call is carried out to the called terminal is determined according at least two User Status event;
The strategy is sent to the originating devices.
4. method as claimed in claim 3, which is characterized in that described according to determining pair of at least two User Status event The called terminal carries out the strategy of outgoing call, comprising:
It is determined the need for carrying out outgoing call again to the called terminal according at least two User Status event;Or
The time that outgoing call again is carried out to the called terminal is determined according at least two User Status event.
5. a kind of device for detecting User Status event characterized by comprising
Starting module, for when carrying out outgoing call detection, starting signaling to detect User Status event and speech detection user's shape State event;
Signaling receiving module, for receiving the signaling of the first reason code comprising called terminal state;
Judgment module obtains first reason code from the received signaling of the signaling receiving module, and according to reason Code judges whether the corresponding User Status event of first reason code is unique with the mapping table of User Status event;
Resource release module is used for when the corresponding User Status event of first reason code is unique, stopping speech detection Family state event, release are used for the resource of speech detection User Status event;
Sending module, for the corresponding User Status event of first reason code to be sent to originating devices;
Voice determining module, for being called according to described when the corresponding User Status event of first reason code is not unique The first prompt tone that terminal side returns determines the User Status event of the called terminal;
The sending module is also used to: the User Status event that the voice determining module is determined is sent to originating devices.
6. device as claimed in claim 5, which is characterized in that the voice determining module is specifically used for:
Receive first prompt tone that the called terminal side returns;
Received first prompt tone is matched at least two prompt tone templates of storage, determination is mentioned with described first Show the corresponding first prompt tone template of sound;
User's shape corresponding with the first prompt tone template is determined according to the mapping table of prompt tone template and User Status event State event, the User Status event determined are the User Status event of the called terminal.
7. device as claimed in claim 6, which is characterized in that further include:
Estimation block for not unique in the corresponding User Status event of first reason code, and fails in time-out time When receiving first prompt tone, the corresponding at least two User Status event of first reason code is determined;According to described At least two User Status events determine the strategy that outgoing call is carried out to the called terminal;
The sending module is also used to: the strategy that the estimation block determines is sent to the originating devices.
8. device as claimed in claim 7, which is characterized in that the estimation block is specifically used for: according to described at least two User Status event determines the need for carrying out outgoing call again to the called terminal;Alternatively, according at least two user State event determines the time that outgoing call again is carried out to the called terminal.
9. a kind of device for detecting User Status event characterized by comprising processor, memory;Wherein, the storage There is computer-readable program in device;The processor is by running the program in the memory, for completing above-mentioned power Benefit requires the described in any item methods of 1-4.
CN201510733837.1A 2015-10-31 2015-10-31 A kind of method and device detecting User Status event Active CN106657682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510733837.1A CN106657682B (en) 2015-10-31 2015-10-31 A kind of method and device detecting User Status event

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510733837.1A CN106657682B (en) 2015-10-31 2015-10-31 A kind of method and device detecting User Status event

Publications (2)

Publication Number Publication Date
CN106657682A CN106657682A (en) 2017-05-10
CN106657682B true CN106657682B (en) 2019-07-12

Family

ID=58809922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510733837.1A Active CN106657682B (en) 2015-10-31 2015-10-31 A kind of method and device detecting User Status event

Country Status (1)

Country Link
CN (1) CN106657682B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI127739B (en) 2017-05-24 2019-01-15 Telia Co Ab Generation of information based on event data of a call
CN109151220A (en) * 2018-09-11 2019-01-04 中国—东盟信息港股份有限公司 A kind of communication session call failure scene analysis system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6522880B1 (en) * 2000-02-28 2003-02-18 3Com Corporation Method and apparatus for handoff of a connection between network devices
CN1859478A (en) * 2005-12-17 2006-11-08 华为技术有限公司 Method and system for providing real time audible ringing tone
KR20070040946A (en) * 2005-10-13 2007-04-18 주식회사 팬택 Mobile terminal for adaptively notifying a cause of a call disconnected and notifying method of the terminal
CN101340645A (en) * 2007-07-06 2009-01-07 华为技术有限公司 Call processing method, system and apparatus
CN101600180A (en) * 2009-06-09 2009-12-09 杭州诚智天扬科技有限公司 The method of a kind of judgement and distinguishing busy state of mobile user
US8000464B1 (en) * 2010-03-23 2011-08-16 IntelePeer Inc. Method of managing a peering database in a telecommunications network
CN104427479A (en) * 2013-09-10 2015-03-18 中兴通讯股份有限公司 Method and mobile terminal for prompting call state

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6522880B1 (en) * 2000-02-28 2003-02-18 3Com Corporation Method and apparatus for handoff of a connection between network devices
KR20070040946A (en) * 2005-10-13 2007-04-18 주식회사 팬택 Mobile terminal for adaptively notifying a cause of a call disconnected and notifying method of the terminal
CN1859478A (en) * 2005-12-17 2006-11-08 华为技术有限公司 Method and system for providing real time audible ringing tone
CN101340645A (en) * 2007-07-06 2009-01-07 华为技术有限公司 Call processing method, system and apparatus
CN101600180A (en) * 2009-06-09 2009-12-09 杭州诚智天扬科技有限公司 The method of a kind of judgement and distinguishing busy state of mobile user
US8000464B1 (en) * 2010-03-23 2011-08-16 IntelePeer Inc. Method of managing a peering database in a telecommunications network
CN104427479A (en) * 2013-09-10 2015-03-18 中兴通讯股份有限公司 Method and mobile terminal for prompting call state

Also Published As

Publication number Publication date
CN106657682A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN105682077B (en) A kind of virtual SIM card switching method and device
CN110730472B (en) Communication certificate state detection method and server
CN103024772B (en) A kind of voice special line auto-dial testing system and method
CN103596246B (en) Recover the method and terminal of data service
CN109495875B (en) SIM card selection method and device, electronic equipment and storage medium
CN106454968B (en) A kind of caller method and device based on CSFB
CN108243404A (en) Ratification method, device and the equipment of phone number binding state
CN110519824A (en) A kind of method and apparatus that terminal routing strategy updates
CN110312259A (en) Pseudo-base station recognition methods, device, terminal and storage medium
CN107819950A (en) Anti-theft method for mobile terminal, device, equipment and computer-readable recording medium
CN106657682B (en) A kind of method and device detecting User Status event
CN110457078A (en) Intelligent Service method, device and equipment
CN106375102A (en) Service registration method, application method and correlation apparatus
CN104184871B (en) A kind of method and apparatus prompting harassing call number
CN105188041B (en) Call transferring method and home gateway based on fixed-line telephone
CN104618593B (en) A kind of operating method when mobile terminal and its third party's incoming call
KR101007966B1 (en) Integration centaral studio recording system and method of mobile station
CN105848254B (en) The control method and system of roaming data
CN105120525B (en) It is a kind of to establish the method communicated to connect and electronic equipment
CN106358221A (en) Method and device for recovering main card data
CN105872990A (en) Method and terminal for setting up call
US20070206582A1 (en) Voip modem and method for detecting voip service
US10609220B2 (en) Method and system for accessing an IPA agent from a phone
CN108696832A (en) Call handling method, device and equipment, computer readable storage medium
CN104735696B (en) Method and system are surveyed in a kind of mobile terminal call switching field based on AT instructions

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant