CN112600749B - Expired call identification method, device, terminal and storage medium - Google Patents

Expired call identification method, device, terminal and storage medium Download PDF

Info

Publication number
CN112600749B
CN112600749B CN202011164010.0A CN202011164010A CN112600749B CN 112600749 B CN112600749 B CN 112600749B CN 202011164010 A CN202011164010 A CN 202011164010A CN 112600749 B CN112600749 B CN 112600749B
Authority
CN
China
Prior art keywords
call
timestamp
called party
current
time
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
CN202011164010.0A
Other languages
Chinese (zh)
Other versions
CN112600749A (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.)
Bigo Technology Pte Ltd
Original Assignee
Bigo Technology Pte 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 Bigo Technology Pte Ltd filed Critical Bigo Technology Pte Ltd
Priority to CN202011164010.0A priority Critical patent/CN112600749B/en
Publication of CN112600749A publication Critical patent/CN112600749A/en
Application granted granted Critical
Publication of CN112600749B publication Critical patent/CN112600749B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses an expired call identification method, an expired call identification device, a terminal and a storage medium. Wherein, the method comprises the following steps: determining a creation timestamp and an incoming call timestamp of the current call under a preset time reference based on a call initiating message of the current call and a reference time difference of a called party of the call; and judging whether the current call is an overdue call or not according to the time difference between the incoming call timestamp and the creation timestamp and the call hang-up message of the current call. According to the technical scheme provided by the embodiment of the invention, the overdue call can be accurately identified locally at the called party of the call, the query interaction of the current call state with the call server is not needed, the identification delay of the overdue call is avoided, and the timeliness of overdue call identification is improved; meanwhile, whether each call received by the called party of the call is an overdue call can be judged by adopting the operation, so that the comprehensiveness of overdue call identification is ensured.

Description

Expired call identification method, device, terminal and storage medium
Technical Field
The embodiment of the invention relates to the technical field of network communication, in particular to an expired call identification method, an expired call identification device, a terminal and a storage medium.
Background
With the popularization of mobile internet, various communication applications developed by adopting Instant Messaging (IM) technology have been widely applied to daily life of people, so as to facilitate the establishment of Instant calls among different users.
Generally, when a calling party initiates a call to a called party, the called party may not receive the call due to reasons such as no network connection or no login of the communication application, and the like, and then the calling party hangs up the call due to reasons such as call timeout or call non-connection, so that the call becomes an overdue call; then, when the called party reconnects the network and logs in the communication application, the server or the communication application manufacturer system sends the initiating message and the hang-up message of the call to the called party in sequence, so that the called party can still receive the incoming call prompt of the overdue call; at the moment, the called party can immediately pop up the corresponding call interface when receiving the call initiating message, but the called party can receive the corresponding call hang-up message and close the call interface after not waiting for the processing of the called party, so that certain interference is caused to the called party.
At present, in order to avoid interface pop-up interference of overdue call, a called party in communication application inquires the state of the call to a server every time the called party receives a call initiating message so as to judge whether the call is overdue call, thereby preventing the call interface of the overdue call from being popped up and avoiding the interference of the overdue call on the called party; however, each time the called party receives the call initiation message, the called party triggers a call state query operation to the server, and certain fault tolerance and delay exist, so that the call interface of the normal call cannot be popped up by quickly responding to the call, and the delay of the normal call is caused.
Disclosure of Invention
The embodiment of the invention provides an overdue call identification method, an overdue call identification device, a terminal and a storage medium, and improves timeliness and comprehensiveness of overdue call identification.
In a first aspect, an embodiment of the present invention provides a method for identifying an expired call, where the method includes:
determining a creation timestamp and an incoming call timestamp of the current call under a preset time reference based on a call initiating message of the current call and a reference time difference of a called party of the call;
and judging whether the current call is an overdue call or not according to the time difference between the incoming call timestamp and the creation timestamp and the call hangup message of the current call.
In a second aspect, an embodiment of the present invention provides an apparatus for identifying an expired call, where the apparatus includes:
the system comprises a timestamp determination module, a call processing module and a call processing module, wherein the timestamp determination module is used for determining a creation timestamp and a call timestamp of a current call under a preset time reference based on a call initiating message of the current call and a reference time difference of a called party of the call;
and the overdue call identification module is used for judging whether the current call is an overdue call or not according to the time difference between the incoming call timestamp and the creation timestamp and the call hang-up message of the current call.
In a third aspect, an embodiment of the present invention provides a terminal, where the terminal includes:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, the one or more programs cause the one or more processors to implement the method for identifying an expired call according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for identifying an expired call according to any embodiment of the present invention.
The embodiment of the invention provides an identification method, a device, a terminal and a storage medium of overdue calls, aiming at the whole call process from the initiation of a current call by a call calling party to the receipt of a call of the current call by a call called party, firstly, a uniform preset time reference is set, and a corresponding reference time difference is set on the call called party aiming at the preset time reference; meanwhile, whether each call received by the called party of the call is an overdue call can be judged by adopting the operation, so that the comprehensiveness of overdue call identification is ensured.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a scene architecture diagram of an application scenario to which an identification method for an expired call provided in an embodiment of the present invention is applied;
fig. 2A is a flowchart of an expired call identification method according to an embodiment of the present invention;
fig. 2B is a schematic diagram illustrating an identification process of an expired call according to an embodiment of the present invention;
fig. 3A is a flowchart of an expired call identification method according to a second embodiment of the present invention;
fig. 3B is a schematic diagram illustrating an identification process of an expired call according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an expired call identification apparatus according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings, not all of them. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
The embodiment of the invention mainly aims at the problem that the call interface of the normal call is delayed due to the fact that the call interface of the normal call cannot be popped up because the call cannot be quickly responded when the called party of the call receives the current call, and a unified preset time reference and the reference time difference of the called party of the call under the preset time reference are set, so that a novel overdue call identification mechanism is provided, when the called party of the call receives the current call, the creation timestamp and the incoming call timestamp of the current call under the preset time reference are determined directly through the call initiating message of the current call and the reference time difference of the called party of the call, and whether the current call is an overdue call is judged according to the time difference between the incoming call timestamp and the creation timestamp and the call hang-up message of the current call, so that the accurate identification of each overdue call can be realized locally at the called party of the call, the identification delay of the overdue call is avoided, and the timeliness and the comprehensiveness of the overdue call identification are improved.
Fig. 1 is a scene architecture diagram of an application scenario to which the method for identifying an expired call according to the embodiment of the present invention is applied. Specifically, referring to fig. 1, the application scenario may include a calling terminal 10, a called terminal 20, and a call server 30.
The calling terminal 10 is a terminal where a calling party is located, the called terminal 20 is a terminal where a called party is located, communication applications for realizing communication between different users are configured on the calling terminal 10 and the called terminal 20, the calling party initiates a communication to the called party through corresponding communication initiation operations executed on the calling terminal 10, at this time, the communication server 30 receives a communication request initiated by the calling party to the called party, however, the called party may not receive the communication due to the fact that the network is not connected or the communication application is not logged in, and the calling party hangs up the communication due to reasons such as call timeout or call non-connection, so that an overdue communication is generated; at this time, the call server 30 forwards the call initiation message of the overdue call to the called party after the network connection of the called party is normal and the communication application is logged on the called terminal 20 for each overdue call initiated to the called party, and forwards the call initiation message of the normal call to the called party for each normal call initiated to the called party; therefore, when receiving the call initiation message of each call, the called terminal 20 first needs to determine whether the current call is an overdue call, and since the overdue call belongs to an invalid call for the called party of the call, the call page display of the overdue call needs to be prohibited on the called terminal 20.
Specifically, the calling terminal 10 generates a corresponding call request according to the call initiation operation of the call calling party, where the call request carries information of the called party of the call, and reports the call request to the call server 30; in order to enable the called terminal 20 to accurately determine whether the received call is an expired call, the call server 30 first creates an attached timestamp attribute for indicating the initiation time of the current call for the call event indicated by the call request, and then adds the timestamp attribute as the call attribute of the current call to the call initiation message of the current call, so as to forward the call initiation message to the called terminal 20; when the called terminal 20 receives a call initiating message of a call each time, analyzing the initiating time of the current call and the local time of the received current call carried in the call initiating message, then respectively calculating the creating timestamp and the incoming call timestamp of the current call under the preset time reference based on the reference time difference recorded in advance on the called terminal 20, and further judging whether the current call is an overdue call or not according to the time difference between the incoming call timestamp and the creating timestamp and the call hang-up message of the current call, so that the accurate identification of the overdue call can be realized locally on the called terminal 20 without inquiring and interacting with the call service terminal 30 in the current call state, the identification delay of the overdue call is avoided, and the timeliness of the overdue call identification is improved; meanwhile, whether each call received by the called terminal 20 is an overdue call can be judged by adopting the above operation, so that the comprehensiveness of overdue call identification is ensured.
The specific operation of the called terminal 20 to determine whether the current call is an expired call in the present embodiment is explained in detail in the following method for identifying an expired call, and is not specifically described herein.
Example one
Fig. 2A is a flowchart of an expired call identification method according to an embodiment of the present invention, where the embodiment is applicable to a situation where different users use any communication application to perform a call. The method for identifying an expired call provided by this embodiment of the present invention may be implemented by an apparatus for identifying an expired call provided by the embodiment of the present invention, where the apparatus may be implemented in a software and/or hardware manner, and is integrated into a terminal for implementing the method, where the terminal is a terminal where a called party of a call between two parties of the call is located, and a corresponding communication application is configured on the terminal.
Specifically, referring to fig. 2A, the method may include the steps of:
and S110, determining a creation timestamp and an incoming call timestamp of the current call under a preset time reference based on the reference time difference between the call initiating message of the current call and the called party of the call.
In this embodiment, for any call initiated to a called party of the call, the call server creates a corresponding attached timestamp attribute for the call to indicate the initiation time of the call, adds the timestamp attribute as a corresponding call attribute to a call initiation message of the call, and forwards the call initiation message to a called terminal where the called party of the call is located; therefore, when receiving a call initiation message of a call forwarded by the call server, the called terminal determines the initiation time of the current call from the call initiation message, and because the initiation time of the current call carried in the call initiation message is created by the call server through the timestamp attribute, the initiation time of the current call carried in the call initiation message belongs to the server time, and when receiving the call initiation message of the current call forwarded by the call server, the called terminal can indicate that the called terminal receives the incoming call of the current call at the current time, so that the corresponding incoming call time can be recorded by referring to the local running time of the called terminal, and at the moment, the incoming call time belongs to the called terminal time; however, since the originating time and the incoming time of the current call do not belong to the same time reference, if the comparison is directly performed, the identification accuracy of the current call cannot be guaranteed, so that the called party of the call can previously determine the time difference between the time points recorded by the call server and the called terminal at the same time, and the time difference is used as the reference time difference in the embodiment, so as to convert the originating time and the incoming time of the current call to the same time reference for comparison.
It should be noted that, because the reference time difference indicates a time difference between the time of the server and the time of the called party at the same time, and the reference time difference is used to perform time reference conversion on the originating time or the incoming call time of the current call, the preset time reference in this embodiment may be any one of the time of the server and the time of the called party.
Specifically, after the called terminal determines the preset time reference which is uniformly set, it may respectively determine whether the originating time and the incoming time of the current call belong to the preset time reference, as shown in fig. 2B, and then adjust the originating time or the incoming time when the current call does not belong to the preset time reference by using the reference time difference which is pre-recorded by the called party of the call, so as to calculate the originating time and the incoming time of the current call under the preset time reference, thereby obtaining the creating timestamp and the incoming timestamp of the current call under the preset time reference, so that the time comparison method under the same time reference is subsequently adopted to determine whether the current call is an expired call, and the accuracy of the expired call identification is ensured.
In addition, in order to achieve the accuracy of the reference time difference of the calling party, in this embodiment, before the called terminal receives the call initiation message of the current call forwarded by the call server, the called terminal calculates the reference time difference of the called party of the call based on the local time points displayed by the call server and the called party of the call at the same time.
Illustratively, when a called terminal needs to calculate a reference time difference of a called party, the called terminal may first send a timestamp application to a call server to indicate a time point that the called terminal needs to obtain a current record of the call server, so that the call server issues the current local time point to the called terminal, and meanwhile, the called terminal may correspondingly record sending time of the timestamp application facing the call server with reference to local running time, where the sending time may represent the local time point of sending the timestamp application to the call server, so as to obtain two local time points displayed by the call server and the called party at the same time, and then calculate a time difference between the two local time points, that is, the reference time difference of the called party.
For example, when the called terminal is connected to a network and logs in a communication application, a corresponding login instruction may be reported to the call server, and at this time, in order to ensure timeliness and convenience of calculation of the reference time difference of the called party in the call, in this embodiment, the login instruction may be directly applied as a corresponding timestamp at the same time, so as to obtain the server time point of the call server for the current login instruction, and record the called party running time point of the called terminal at the current login, so that the time difference between the server time point and the called party running time point at the same login time is used as the reference time difference of the called party in the call.
And S120, judging whether the current call is an overdue call or not according to the time difference between the incoming call timestamp and the creation timestamp and the call hang-up message of the current call.
Optionally, because the called party of the call cannot receive the current call only when the called party of the call is not connected to the network or does not log in the communication application, and the like, the calling party of the call can generate an overdue call when the calling party of the call hangs up the current call due to reasons such as calling overtime or not connection, and the overdue call can be forwarded to the called party of the call by the communication service terminal after the called party of the call is reconnected to the network and logs in the communication application, so that a certain time interval exists between the initiating time of the calling party of the call and the receiving time of the called party of the call for the overdue call; however, for a normal call (i.e. a call initiated by a call calling party when a call called party is in a state of normally connecting to a network and logging in to a communication application), since a call called party is in a state of normally connecting to a network and logging in to a communication application, when receiving a call request initiated by a call calling party, a call service end directly forwards a call initiation message of a current call to the call called party, that is, the time of initiating a normal call by the call calling party and the time of receiving the normal call by the call called party are very close.
At this time, in consideration of the difference between the overdue call and the normal call described above, in this embodiment, after determining the creation timestamp and the incoming call timestamp of the current call under the preset time reference, the creation timestamp can represent the time that the current call is initiated by the calling party of the call, and the incoming call timestamp can represent the time that the current call is received by the called party of the call, so by calculating the time difference between the incoming call timestamp and the creation timestamp, the time interval between the time that the current call is initiated by the calling party of the call and the time that the called party of the call receives can be obtained, and thus the possibility that the current call is the real overdue call can be preliminarily analyzed according to the time difference between the incoming call timestamp and the creation timestamp; further, after receiving the call initiating message of each call, the called party of the call correspondingly receives the call hangup message of the call after a period of time, no matter the call is a normal call or an overdue call, but the call hangup message of the overdue call is received in a time interval extremely short from the call initiating message, while the call hangup message of the normal call is received in a time interval extremely long from the call initiating message, so as to ensure the identification accuracy of the overdue call, in the embodiment, after the possibility that the current call is a real overdue call can be preliminarily analyzed according to the time difference between the incoming call timestamp and the creation timestamp, whether the call hangup message of the current call is received in a short time interval can be judged, and further, according to the receiving time of the call hangup message, whether the current call possibly being the overdue call is a real overdue call can be continuously judged, so that the accurate identification of the overdue call can be realized locally at the called party of the call, the inquiry interaction of the current call state with the call server is not needed, the identification delay of the overdue call is avoided, and the timeliness identification is improved.
Further, in order to avoid the interference of the overdue call to the called party of the call, in this embodiment, after the current call is determined to be the overdue call, the call page of the current call is prohibited to be popped locally at the called party of the call, and only the called party of the call needs to be prompted with the corresponding call message, so that the called party of the call can know the overdue call, and the call experience of the called party of the call is ensured.
According to the technical scheme provided by the embodiment, aiming at the whole call process from the initiation of the current call by a call calling party to the reception of the call of the current call by a call called party, a uniform preset time reference is firstly set, a corresponding reference time difference is set on the call called party aiming at the preset time reference, at the moment, based on the call initiation message of the current call and the reference time difference of the call called party, a creation timestamp and an incoming call timestamp of the current call under the preset time reference can be determined, the reference consistency of the creation timestamp and the incoming call timestamp is ensured, the time difference between the incoming call timestamp and the creation timestamp and the call hang-up message of the current call are subsequently passed, whether the current call is an overdue call is judged, so that the accurate identification of the overdue call can be realized locally at the call called party, the query interaction of the current call state with a call service end is not needed, the identification delay of the overdue call is avoided, and the timeliness of the overdue call identification is improved; meanwhile, whether each call received by the called party of the call is an overdue call can be judged by adopting the operation, so that the comprehensiveness of overdue call identification is ensured.
Example two
Fig. 3A is a flowchart of an expired call identification method according to a second embodiment of the present invention, and fig. 3B is a schematic diagram of a principle of an expired call identification process according to the second embodiment of the present invention. The embodiment is optimized on the basis of the embodiment. Specifically, as shown in fig. 3A, the present embodiment mainly explains in detail a specific calculation process of a creation timestamp and an incoming call timestamp of a current call under a preset time reference, and a specific determination process of an expired call.
Optionally, as shown in fig. 3A, the present embodiment may include the following steps:
s210, receiving and analyzing the call initiating message of the current call, obtaining the server time stamp when the current call is created by the call server, and determining the called party running time point when the current call is received by the call called party.
Optionally, the call server forwards a call initiation message of each call to the called party when the called party is in a state of normally connecting to the network and logging in to the communication application, and creates a corresponding attached timestamp attribute for each call to indicate the initiation time of the call, and adds the timestamp attribute as a corresponding call attribute to the call initiation message of the call and forwards the timestamp attribute to the called party. Therefore, in order to accurately identify the overdue call, after receiving the call initiation message of each call, the called terminal where the called party of the call is located first analyzes the timestamp attribute of the call server created for the current call carried in the call initiation message to analyze the initiation time of the current call, and since the initiation time recorded in the timestamp attribute of the current call is recorded by the call server according to the local time of the call server, the initiation time of the current call is the server timestamp of the current call created by the call server, that is, the server timestamp of the current call created by the call server can be obtained by analyzing the timestamp attribute carried in the call initiation message of the current call.
Meanwhile, in order to determine the incoming call time of the called party for the current call, the receiving time of the call initiating message is synchronously recorded when the call initiating message of the current call is received in the embodiment, at this time, the called party running time point of the called terminal when the current call is received can be inquired, the called party running time point is taken as the incoming call time of the current call, at this time, the initiating time of the current call and the incoming call time do not belong to the same time reference, the initiating time is the service terminal timestamp, and the incoming call time is the called party running time point, so that the initiating time and the incoming call time need to be adjusted to the same time reference in the follow-up process, and the time reference consistency of the creating timestamp and the incoming call timestamp is ensured.
And S220, calculating a creation timestamp and an incoming call timestamp of the current call under a preset time reference according to the server timestamp, the running time point of the called party and the reference time difference of the called party of the call.
Optionally, the preset time reference in this embodiment may be any one of a server time and a called time, after obtaining a server time stamp when the current call is created by the call server and a called running time point when the current call is received by the called party, in order to ensure comparison consistency between the creation time stamp and the incoming call time stamp, it is first required to determine which one of the selected preset time references is specifically the selected preset time reference, as shown in fig. 3B, and then adjust the server time stamp or the called running time point which does not belong to the preset time reference by using a reference time difference between the server time and the called time recorded on the called party at the same time, so as to obtain the creation time stamp and the incoming call time stamp of the current call under the preset time reference, and ensure comparison consistency between the creation time stamp and the incoming call time stamp.
For example, if the preset time reference is the service-side time, the called party running time point of the current call needs to be adjusted, at this time, the service-side time stamp can be directly used as the creation time stamp of the current call under the preset time reference, and the called party running time point of the current call when the current call is received by the called party of the call is adjusted by using the reference time difference between the service-side time and the called party time recorded on the called party of the call, so as to obtain the incoming call time stamp of the current call under the preset time reference.
However, if the preset time reference is the called party time, the server timestamp of the current call needs to be adjusted, at this time, the called party running time point can be directly used as the incoming call timestamp of the current call under the preset time reference, and the server timestamp of the current call when being created by the call server is adjusted by using the reference time difference between the server time and the called party time recorded on the called party of the call, so as to obtain the creation timestamp of the current call under the preset time reference.
Taking the example of calculating the reference time difference of the called party according to the server time stamp and the called party running time point recorded when the called terminal where the called party is in the call establishes the login connection with the call server, if the server time stamp when the called terminal where the called party is in the call sends the corresponding login instruction to the call server is initServers, and the called party running time when the called terminal logs in is initElapsedTs, then the reference time difference of the called party in the call is initServers-initElapsedTs, and the server time stamp when the current call is created by the call server is CreateServer Ts, and the called party running time when the current call is received by the called party in the call is nowElapsedTs; at this time, if the preset time reference is the time stamp of the server, the creation time stamp of the current call under the preset time reference is callCreateTs = createservers ts, and the incoming call time stamp of the current call under the preset time reference is nowcallServerTs = nowElapsedTs + (initServerTs-initElapsedTs); however, if the preset time reference is the called party time, the creation timestamp of the current call under the preset time reference is callCreateTs = createservers ts- (initServerTs-initElapsedTs), and the incoming timestamp of the current call under the preset time reference is nowcallservets = nowElapsedTs.
It should be noted that, because the running time of the called terminal where the called party is located may be adjusted due to different time zones or manual settings, so that the called party time does not depend on the spectrum when being used as the preset time reference, the embodiment usually selects the server time that is uniformly set and does not support random change as the preset time reference, so as to ensure the reliability of the preset time reference.
S230, judging whether the time difference between the incoming call timestamp and the creation timestamp exceeds a preset incoming call duration, if so, executing S240; if not, go to S260.
Optionally, after determining the creation timestamp and the incoming call timestamp of the current call under the preset time reference, first, a time difference between the incoming call timestamp and the creation timestamp needs to be calculated, so as to determine an interval duration from the initiation of the current call to the receipt of the called party to be called, and meanwhile, the preset incoming call duration is adopted to represent an interval duration from the initiation of the calling party to the receipt of the called party to be called to most of normal calls. However, if the time difference between the incoming call timestamp and the creation timestamp does not exceed the preset incoming call duration, which indicates that the current call meets the requirement of a normal call, it may be determined that the current call is a normal call.
S240, judging whether a call hangup message of the current call is received within a preset response time length, if so, executing S250; if not, go to S260.
Optionally, after the time difference between the incoming call timestamp and the creation timestamp of the current call exceeds the preset incoming call duration, it is necessary to continuously determine whether the current call is an expired call, since after receiving the call initiation message of each call, the called party of the call will correspondingly receive the call hang-up message of the call after a period of time, only the call hang-up message of the expired call will be received within a very short time period from the call initiation message, and the call hang-up message of the normal call will be received within a very long time period from the call initiation message, therefore, in order to ensure the identification accuracy of the expired call, a delay determination may be further set for the current call duration determined as possibly expired, that is, by determining whether the call hang-up message of the current call is received within the preset response duration, to further analyze whether the current call is a real expired call, the preset response duration is a majority of the interval time between the expired call initiation message and the call hang-up message, and if the current call hang-up message of the current call is received within the preset response duration, the preset response duration is a majority of the current hang-up message, and if the current call is a current hang-up message is not received within the preset response.
And S250, determining that the current call is an overdue call, and prohibiting a call page of the current call from popping up.
Optionally, when the current call is determined to be the overdue call, in order to avoid interference of the overdue call to a called party of the call, the call page of the current call is directly prohibited from being popped up.
And S260, determining that the current call is a normal call, and popping up a call page of the current call.
Optionally, when the current call is determined to be a normal call, the call page of the current call is controlled to pop up normally, so that the called party of the call can respond to the call in time.
According to the technical scheme provided by the embodiment, a preset time reference is set as any one of service segment time and called party time, then a service end timestamp when the current call is established by a call service end, a called party running time point when the current call is received by a called party and a reference time difference of the called party are utilized to calculate an establishment timestamp and an incoming call timestamp of the current call under the preset time reference, so that the reference consistency of the establishment timestamp and the incoming call timestamp is ensured, and whether the current call is an overdue call is judged subsequently through the time difference between the incoming call timestamp and the establishment timestamp and a call hang-up message of the current call, so that the accurate identification of the overdue call can be realized locally at the called party of the call, the query interaction of the current call state with the call service end is not needed, the identification delay of the overdue call is avoided, and the timeliness of the overdue call identification is improved; meanwhile, by adopting the operation, whether each call received by the called party of the call is an overdue call can be judged, so that the comprehensiveness of overdue call identification is ensured.
EXAMPLE III
Fig. 4 is a schematic structural diagram of an expired call identification apparatus according to a third embodiment of the present invention, specifically, as shown in fig. 4, the apparatus may include:
a timestamp determining module 310, configured to determine, based on a difference between a call initiating message of a current call and a reference time of a called party of the call, a creation timestamp and an incoming timestamp of the current call under a preset time reference;
the expired call identifying module 320 is configured to determine whether the current call is an expired call according to a time difference between the incoming call timestamp and the creation timestamp and a call hangup message of the current call.
According to the technical scheme provided by the embodiment, aiming at the whole call process from the initiation of the current call by a call calling party to the reception of the call of the current call by a call called party, a uniform preset time reference is firstly set, a corresponding reference time difference is set on the call called party aiming at the preset time reference, at the moment, based on the call initiation message of the current call and the reference time difference of the call called party, a creation timestamp and an incoming call timestamp of the current call under the preset time reference can be determined, the reference consistency of the creation timestamp and the incoming call timestamp is ensured, the time difference between the incoming call timestamp and the creation timestamp and the call hang-up message of the current call are subsequently passed, whether the current call is an overdue call is judged, so that the accurate identification of the overdue call can be realized locally at the call called party, the query interaction of the current call state with a call service end is not needed, the identification delay of the overdue call is avoided, and the timeliness of the overdue call identification is improved; meanwhile, whether each call received by the called party of the call is an overdue call can be judged by adopting the operation, so that the comprehensiveness of overdue call identification is ensured.
The device for identifying the overdue call provided by the embodiment can be applied to the method for identifying the overdue call provided by any embodiment, and has corresponding functions and beneficial effects.
Example four
Fig. 5 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention, as shown in fig. 5, the terminal includes a processor 40, a storage device 41, and a communication device 42; the number of the processors 40 in the terminal may be one or more, and one processor 40 is taken as an example in fig. 5; the processor 40, the storage means 41 and the communication means 42 in the terminal may be connected by a bus or other means, which is exemplified in fig. 5.
The terminal provided by the embodiment can be used for executing the overdue call identification method provided by any embodiment, and has corresponding functions and beneficial effects.
EXAMPLE five
Fifth, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, can implement the method for identifying an expired call in any of the above embodiments. The method specifically comprises the following steps:
determining a creation timestamp and an incoming call timestamp of the current call under a preset time reference based on a call initiating message of the current call and a reference time difference of a called party of the call;
and judging whether the current call is an overdue call or not according to the time difference between the incoming call timestamp and the creation timestamp and the call hang-up message of the current call.
Of course, the storage medium provided by the embodiment of the present invention includes computer-executable instructions, where the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the method for identifying an expired call provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the device for identifying an expired call, the units and modules included in the device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A method for identifying expired calls, comprising:
determining a creation timestamp and an incoming call timestamp of the current call under a preset time reference based on a call initiating message of the current call and a reference time difference of a called party of the call;
judging whether the current call is an overdue call or not according to the time difference between the incoming call timestamp and the creation timestamp and the call hangup message of the current call;
the overdue call is generated when the current call is hung up due to calling overtime or non-connection of a calling party because the called party of the call cannot receive the current call because the called party of the call is not connected with a network or does not log in a communication application;
the determining of the creation timestamp and the incoming call timestamp of the current call under the preset time reference based on the call initiating message of the current call and the reference time difference of the called party of the call comprises the following steps:
receiving and analyzing a call initiating message of a current call, obtaining a server time stamp when the current call is created by a call server, and determining a called party running time point when the current call is received by a called party of the call;
and calculating a creation timestamp and an incoming call timestamp of the current call under a preset time reference according to the server-side timestamp, the called party running time point and the reference time difference of the called party of the call.
2. The method of claim 1, wherein the determining whether the current call is an expired call according to the time difference between the incoming call timestamp and the creation timestamp and the call hangup message of the current call comprises:
and if the time difference between the incoming call timestamp and the creation timestamp exceeds the preset incoming call duration and the call hang-up message of the current call is received in the preset response duration, determining that the current call is an overdue call.
3. The method according to claim 1, wherein if the preset time reference is a server time, said calculating a creation timestamp and an incoming timestamp of the current call under the preset time reference according to a difference between the server timestamp, a running time point of the called party and a reference time of the called party of the call comprises:
taking the server-side timestamp as a creation timestamp of the current call under a preset time reference;
and calculating the incoming call timestamp of the current call under a preset time reference based on the reference time difference between the called party running time point and the called party of the call.
4. The method according to claim 1, wherein if the preset time reference is called party time, the calculating a creation timestamp and an incoming call timestamp of the current call on the preset time reference according to the server timestamp, the called party running time point and the reference time difference of the called party of the call comprises:
calculating a creation timestamp of the current call under a preset time reference based on the server-side timestamp and the reference time difference of the called party of the call;
and taking the running time point of the called party as an incoming call timestamp of the current call under a preset time reference.
5. The method according to any one of claims 1-4, before determining a creation timestamp and an incoming timestamp of a current call at a preset time reference based on a difference between a call initiation message of the current call and a reference time of a called party of the call, further comprising:
and calculating the reference time difference of the called party of the call based on the local time points displayed by the call server and the called party of the call at the same moment.
6. The method according to any one of claims 1 to 4, wherein after determining whether the current call is an expired call according to the time difference between the incoming call timestamp and the creation timestamp and the call drop message of the current call, the method further comprises:
and if the current call is the overdue call, prohibiting a call page of the current call from popping up.
7. An apparatus for identifying expired calls, comprising:
the time stamp determining module is used for determining a creation time stamp and an incoming call time stamp of the current call under a preset time reference based on the reference time difference between the call initiating message of the current call and the called party of the call;
the overdue call identification module is used for judging whether the current call is an overdue call or not according to the time difference between the incoming call timestamp and the creation timestamp and the call hang-up message of the current call;
the overdue call is generated when the current call is hung up due to calling overtime or non-connection of a calling party because the called party of the call cannot receive the current call because the called party of the call is not connected with a network or does not log in a communication application;
the determining the creation timestamp and the incoming call timestamp of the current call under the preset time reference based on the reference time difference between the call initiating message of the current call and the call called party comprises the following steps:
receiving and analyzing a call initiating message of a current call, obtaining a server time stamp when the current call is created by a call server, and determining a called party running time point when the current call is received by a called party of the call;
and calculating a creation timestamp and an incoming call timestamp of the current call under a preset time reference according to the server-side timestamp, the called party running time point and the reference time difference of the called party of the call.
8. A terminal, characterized in that the terminal comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for identifying stale calls of any of claims 1-6.
9. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out a method for identifying an expired call as claimed in any one of claims 1 to 6.
CN202011164010.0A 2020-10-27 2020-10-27 Expired call identification method, device, terminal and storage medium Active CN112600749B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011164010.0A CN112600749B (en) 2020-10-27 2020-10-27 Expired call identification method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011164010.0A CN112600749B (en) 2020-10-27 2020-10-27 Expired call identification method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112600749A CN112600749A (en) 2021-04-02
CN112600749B true CN112600749B (en) 2023-02-17

Family

ID=75180388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011164010.0A Active CN112600749B (en) 2020-10-27 2020-10-27 Expired call identification method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112600749B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959154A (en) * 2010-06-09 2011-01-26 宇龙计算机通信科技(深圳)有限公司 Method and system for calibrating time of mobile terminal, and mobile terminal
CN102970449A (en) * 2012-11-05 2013-03-13 深圳市共进电子股份有限公司 Method and device for issuing caller information
CN105430161A (en) * 2015-10-29 2016-03-23 小米科技有限责任公司 Message processing method and device
CN106506859A (en) * 2016-12-01 2017-03-15 深圳市万普拉斯科技有限公司 Incoming call time delay based reminding method and device
CN107135298A (en) * 2017-04-14 2017-09-05 努比亚技术有限公司 Call blocking method and apparatus
CN107231499A (en) * 2017-06-30 2017-10-03 珠海市魅族科技有限公司 Call processing method, device, terminal and medium
CN108881774A (en) * 2018-05-08 2018-11-23 北京奇艺世纪科技有限公司 The calling system and method for multi-media network call

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6442265B1 (en) * 1999-05-06 2002-08-27 At&T Corp Method for detecting and reducing fraudulent telephone calls
US9106746B2 (en) * 2013-08-27 2015-08-11 James Siminoff System and method for controlling calls for contact centers
US10666798B2 (en) * 2017-12-06 2020-05-26 Ribbon Communications Operating Company, Inc. Methods and apparatus for detection and mitigation of robocalls
CN109327625B (en) * 2018-11-29 2021-05-28 上海芯爱智能科技有限公司 Call callback method, device, storage medium and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959154A (en) * 2010-06-09 2011-01-26 宇龙计算机通信科技(深圳)有限公司 Method and system for calibrating time of mobile terminal, and mobile terminal
CN102970449A (en) * 2012-11-05 2013-03-13 深圳市共进电子股份有限公司 Method and device for issuing caller information
CN105430161A (en) * 2015-10-29 2016-03-23 小米科技有限责任公司 Message processing method and device
CN106506859A (en) * 2016-12-01 2017-03-15 深圳市万普拉斯科技有限公司 Incoming call time delay based reminding method and device
CN107135298A (en) * 2017-04-14 2017-09-05 努比亚技术有限公司 Call blocking method and apparatus
CN107231499A (en) * 2017-06-30 2017-10-03 珠海市魅族科技有限公司 Call processing method, device, terminal and medium
CN108881774A (en) * 2018-05-08 2018-11-23 北京奇艺世纪科技有限公司 The calling system and method for multi-media network call

Also Published As

Publication number Publication date
CN112600749A (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN108881779B (en) Method, system and server for answering and transferring video calls between intelligent devices
US9258172B2 (en) Calling an unready terminal
US8358765B1 (en) System for simultaneous delivery of communication session invitation messages to communication devices
US9565635B2 (en) Activating a mobile terminal from mobile network side
US20070124393A1 (en) Presence based notifications
CN110633442A (en) Pushing method and device and electronic equipment
US9686506B2 (en) Method, apparatus, system, and storage medium for video call and video call control
CN106878527B (en) Call control method and device
CN112689202A (en) Live broadcast room message processing method and device, server and storage medium
CN111092934B (en) Method for updating client routing and storage medium
US10594859B2 (en) Communication method, apparatus, and system
CN109120804B (en) Outbound system based on response information identification
US10412778B2 (en) Data transmission method and apparatus for data service
CN112600749B (en) Expired call identification method, device, terminal and storage medium
CN108259433B (en) Call queuing distribution method, system and server
TWI513236B (en) Method, device and system for conversational notifications in instant messaging application
US10938865B2 (en) Management of subscriber identity in service provision
US8964955B2 (en) Presence-based message waiting indicator and missed calls
CN112291501A (en) Video conference control method and device
CN112291371B (en) Conference message real-time synchronization method, system, device and storage medium
KR101790896B1 (en) Apparatus for message processing and control method thereof
RU2596588C2 (en) System and method for activation of mobile device for communication initiating
CN114553944A (en) Early warning message pushing method and system
US20100124324A1 (en) Communication control system, communication control method, and recording medium including communication control program
CN105959497B (en) communication method and device

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