CN107835325B - Method and server for real-time control of call - Google Patents

Method and server for real-time control of call Download PDF

Info

Publication number
CN107835325B
CN107835325B CN201710898593.1A CN201710898593A CN107835325B CN 107835325 B CN107835325 B CN 107835325B CN 201710898593 A CN201710898593 A CN 201710898593A CN 107835325 B CN107835325 B CN 107835325B
Authority
CN
China
Prior art keywords
called
calling
call
identity type
user information
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
CN201710898593.1A
Other languages
Chinese (zh)
Other versions
CN107835325A (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.)
Shanghai liankun Technology Co., Ltd
Original Assignee
Seashell Housing Beijing Technology 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 Seashell Housing Beijing Technology Co Ltd filed Critical Seashell Housing Beijing Technology Co Ltd
Priority to CN201710898593.1A priority Critical patent/CN107835325B/en
Publication of CN107835325A publication Critical patent/CN107835325A/en
Application granted granted Critical
Publication of CN107835325B publication Critical patent/CN107835325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42008Systems for anonymous communication between parties, e.g. by use of disposal contact identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42136Administration or customisation of services
    • H04M3/42144Administration or customisation of services by service provider

Landscapes

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

Abstract

The embodiment of the invention provides a method and a server for controlling a call in real time, wherein the method comprises the following steps: receiving a call query request forwarded by an operator platform, wherein the call query request carries a calling number and a called virtual number; acquiring a called number corresponding to the called virtual number according to a preset mapping relation; respectively analyzing the calling number and the called number to respectively acquire calling user information and called user information; generating a control strategy for the call according to the calling user information, the called user information and a preset rule; and sending a feedback message aiming at the call query request, wherein the feedback message carries the control strategy, so that the operator platform controls the call according to the control strategy. The server executes the method. The method and the server provided by the embodiment of the invention can control the call reasonably in real time by generating the control strategy corresponding to the user information in real time at the time of the user call.

Description

Method and server for real-time control of call
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method and a server for controlling a call in real time.
Background
With the development of communication technology, more and more enterprises manage clients by establishing enterprise servers, and are dedicated to establishing long-term business relationships with users.
In the prior art, a control strategy corresponding to user information in an enterprise server is established in advance, so that a call request initiated by a user is controlled to be combined with own business of an enterprise. And regularly or irregularly updating the prestored control strategy to improve the rationality of the control strategy formulation, but because the call initiated by the user occurs in real time, the rationality of the control strategy formulation is influenced due to the poor instantaneity of the updating method.
Therefore, how to control a call in real time by using a reasonable control strategy is a problem that needs to be solved urgently.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a method and a server for controlling a call in real time.
In a first aspect, an embodiment of the present invention provides a method for controlling a call in real time, where the method includes:
receiving a call query request forwarded by an operator platform, wherein the call query request carries a calling number and a called virtual number;
acquiring a called number corresponding to the called virtual number according to a preset mapping relation, wherein the preset mapping relation is the corresponding relation among a pre-stored calling number, a pre-stored called virtual number and a pre-stored called number;
respectively analyzing the calling number and the called number to respectively acquire calling user information and called user information;
generating a control strategy for the call according to the calling user information, the called user information and a preset rule;
and sending a feedback message aiming at the call query request, wherein the feedback message carries the control strategy, so that the operator platform controls the call according to the control strategy.
In a second aspect, an embodiment of the present invention provides a server for controlling a call in real time, where the server includes:
the system comprises a receiving module, a calling module and a calling module, wherein the receiving module is used for receiving a calling inquiry request forwarded by an operator platform, and the calling inquiry request carries a calling number and a called virtual number;
the acquiring module is used for acquiring the called number corresponding to the called virtual number according to a preset mapping relation, wherein the preset mapping relation is the corresponding relation among a pre-stored calling number, a pre-stored called virtual number and a pre-stored called number;
the analysis module is used for respectively analyzing the calling number and the called number so as to respectively acquire calling user information and called user information;
the generating module is used for generating a control strategy for the call according to the calling user information, the called user information and a preset rule;
a sending module, configured to send a feedback message for the call query request, where the feedback message carries the control policy, so that the operator platform controls the call according to the control policy.
In a third aspect, an embodiment of the present invention provides another server for performing real-time control on a call, where the server includes: a processor, a memory, and a bus, wherein,
the processor and the memory are communicated with each other through the bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform a method comprising:
receiving a call query request forwarded by an operator platform, wherein the call query request carries a calling number and a called virtual number;
acquiring a called number corresponding to the called virtual number according to a preset mapping relation, wherein the preset mapping relation is the corresponding relation among a pre-stored calling number, a pre-stored called virtual number and a pre-stored called number;
respectively analyzing the calling number and the called number to respectively acquire calling user information and called user information;
generating a control strategy for the call according to the calling user information, the called user information and a preset rule;
and sending a feedback message aiming at the call query request, wherein the feedback message carries the control strategy, so that the operator platform controls the call according to the control strategy.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, including:
the non-transitory computer readable storage medium stores computer instructions that cause the computer to perform a method comprising:
receiving a call query request forwarded by an operator platform, wherein the call query request carries a calling number and a called virtual number;
acquiring a called number corresponding to the called virtual number according to a preset mapping relation, wherein the preset mapping relation is the corresponding relation among a pre-stored calling number, a pre-stored called virtual number and a pre-stored called number;
respectively analyzing the calling number and the called number to respectively acquire calling user information and called user information;
generating a control strategy for the call according to the calling user information, the called user information and a preset rule;
and sending a feedback message aiming at the call query request, wherein the feedback message carries the control strategy, so that the operator platform controls the call according to the control strategy.
The method and the server for controlling the call in real time provided by the embodiment of the invention can reasonably control the call in real time by generating the control strategy corresponding to the user information in real time at the time of the user call.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flow chart illustrating a method for controlling a call in real time according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for a real-time control of a call by a property broker as a caller according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for a property owner to control a call in real time as a caller according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a server structure for controlling a call in real time according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a server entity according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flowchart of a method for controlling a call in real time according to an embodiment of the present invention, and as shown in fig. 1, the method for controlling a call in real time according to the embodiment of the present invention includes the following steps:
s1: receiving a call query request forwarded by an operator platform, wherein the call query request carries a calling number and a called virtual number.
Specifically, the server receives a call query request forwarded by the operator platform, where the call query request carries a calling number and a called virtual number. The server may be a traffic platform deployed by an enterprise and used for managing call records of users and the like, the operator platform may be a call management server of a communication operator, the call query request may be a query request that the operator platform forwards to the server and that the calling number queries a called number (real called number) corresponding to the called virtual number, and what needs to be described is that: the query of the called number corresponding to the called virtual number by the calling number may include the following cases:
(1) the calling number is a called number corresponding to a called virtual number of a first user type (which can comprise a house broker and the like) and inquires a called virtual number of a second user type (which can comprise a house owner and the like).
(2) The calling number is a called number corresponding to a called virtual number of a second user type (which can comprise a house property owner and the like) for inquiring a called virtual number of a first user type (which can comprise a house property broker and the like).
It should be noted that: the called virtual number is not a real called number, but a called number which is virtualized for the purpose of protecting the personal privacy of the called user and the like.
S2: and acquiring the called number corresponding to the called virtual number according to a preset mapping relation, wherein the preset mapping relation is the corresponding relation among a pre-stored calling number, a pre-stored called virtual number and a pre-stored called number.
Specifically, the server obtains the called number corresponding to the called virtual number according to a preset mapping relationship, wherein the preset mapping relationship is a corresponding relationship among a pre-stored calling number, a pre-stored called virtual number and a pre-stored called number. It should be noted that: the preset mapping relation is pre-established and stored in the server, and reflects the one-to-one correspondence relation among pre-stored calling numbers, pre-stored called virtual numbers and pre-stored called numbers.
S3: and respectively analyzing the calling number and the called number to respectively acquire the information of the calling user and the information of the called user.
Specifically, the server analyzes the calling number and the called number respectively to obtain the information of the calling party and the information of the called party respectively. It should be noted that: the caller information may include the caller identity type (which may be a property broker, a property owner, etc.); the called user information includes the called user identity type (which may be a property broker, a property owner, etc.).
S4: and generating a control strategy for the call according to the calling user information, the called user information and a preset rule.
Specifically, the server generates a control strategy for the call according to the calling user information, the called user information and a preset rule. Specifically, the following cases may be included:
(1) if the identity type of the calling user is a first identity type (can be a house broker), analyzing a pre-stored called number corresponding to the called number to acquire the user identity type corresponding to the pre-stored called number;
if the user identity type corresponding to the pre-stored called number is the second identity type (which may be a home owner) and is consistent with the called identity type (i.e., the called user information analyzed in step S3), a first control policy for calling the called number is generated, and the called virtual number may be displayed on a display screen of the called user terminal (which may be a mobile phone). The application scene is as follows: the real called number of the house property owner can not be seen by the house property broker on one hand, and personal privacy information of the house property owner is protected; on the other hand, the real number of the property broker is not visible to the property owner, but can be reached by calling back the virtual number later.
(2) If the identity type of the calling user is a first identity type (can be a house broker), analyzing a pre-stored called number corresponding to the called number to acquire the user identity type corresponding to the pre-stored called number;
if the user identity type corresponding to the pre-stored called number is the second identity type (which may be a house owner) and is not consistent with the called identity type (i.e., the called user information analyzed in step S3), a second control policy for prompting the calling user is generated, and the specific prompt may be: and sending a prompt voice of ' the user dialed by you is not the owner ' to the calling user ' and the like. The application scene is as follows: the method comprises the steps that a real estate agent calls a virtual number of a real estate owner, a telephone traffic platform compares the identity type of a current called user with a pre-stored user identity type, if the identity type of the current called user is inconsistent with the identity type of the pre-stored user, the real called number of the real estate owner cannot be called by the real estate agent, prompt voice of 'the user who calls the real estate agent is not an owner user' and the like is received, on one hand, the pre-stored information of the real estate owner is not real (possibly false information), and a person impersonates the real estate agent, so that business information is prevented from being obtained from the real estate agent; on the other hand, the working efficiency of the house broker is also improved.
(3) And if the identity type of the calling user is the second identity type (which can be a house property owner), identifying the validity of the information of the called user. Identifying the validity of the called user information may include the called user information being valid if the real estate agent is still working at the company; if the house broker is not working at the company, the called user information is invalid.
And generating a control strategy for the call according to the identification result of the validity. Here, the following cases can also be classified:
(3-1): if the identification result of the validity is valid, a first control strategy for calling the called number is generated, and the called virtual number can be displayed on a display screen of the called user terminal (which can be a mobile phone). The application scene is as follows: and if the house property owner dials the called virtual number of the house property broker, the telephone traffic platform identifies that the house property broker is still at work, so that the house property owner calls the real called number of the house property broker and displays the called virtual number on a mobile phone of the house property broker. On one hand, the real called number of the house broker cannot be seen by the house owner, so that the personal privacy information of the house broker is protected; alternatively, the property broker may contact the property owner by calling back the called virtual number at a later time.
(3-2): if the identification result of the validity is invalid, another called number is allocated, a third control strategy for calling another called number is generated, and a called virtual number can be displayed on a display screen of the called user terminal (which can be a mobile phone). The application scene is as follows: and if the traffic platform identifies that the real estate agent is not at work, another real estate agent at work is allocated, so that the real estate owner can communicate with the other real estate agent at work, and the called virtual number is displayed on a mobile phone of the real estate agent. On one hand, the company can not lose business opportunity due to the departure of the original real estate agent; on the other hand, another real estate agent on the job can contact the real estate owner by calling back the called virtual number later.
S5: and sending a feedback message aiming at the call query request, wherein the feedback message carries the control strategy, so that the operator platform controls the call according to the control strategy.
Specifically, the server sends a feedback message for the call query request, where the feedback message carries the control policy, so that the operator platform controls the call according to the control policy. The call control according to the control policy may refer to the above embodiments, and will not be described again.
It should be noted that: a property broker may check a called virtual number of a property owner through a business platform, and contact the property owner by dialing the called virtual number, fig. 2 is a flowchart of a method for controlling a call in real time by using the property broker as a caller according to an embodiment of the present invention, as shown in fig. 2: if the service platform can not find the called virtual number of the house property owner, a called virtual number inquiry request initiated by the service platform can be sent to the traffic platform, the called virtual number inquiry request carries the number A of the house property broker and the real number B of the house property owner of the service platform, and the traffic platform returns the called virtual number x so that the house property broker A can contact the house property owner by dialing the called virtual number.
It should be noted that the method is not limited to calling, and may also include short messages and the like.
The method for controlling the call in real time provided by the embodiment of the invention can reasonably control the call in real time by generating the control strategy corresponding to the user information in real time at the time of the user call.
The following will briefly describe the method for real-time controlling a call according to the embodiment of the present invention:
with continued reference to FIG. 2: the property broker A calls a called virtual number x of a property owner B, and sends a query to an operator platform to inquire the property owner (property owner in FIG. 3) B (property owner B corresponds to the called number) corresponding to the property broker (i.e. broker in FIG. 2) A (property broker A corresponds to the calling number) and the called virtual number x; the operator platform transmits a query request (carrying the calling number of the house broker A and the virtual called number x of the house owner B) to the traffic platform; the telephone traffic platform analyzes the house property owner information in real time, if the house property owner information is the same as the pre-stored house property owner information, the calling number of the house property broker A, the virtual called number x of the house property owner B and the real called number of the house property owner B are returned to the operator platform, so that the operator platform enables the house property broker A to call the real called number of the house property owner B through an operator network, and the called virtual number x is displayed on a mobile phone of the house property owner B. If the method flow is different from the pre-stored house owner information, the method flow is the same as the above, and the description is omitted.
Fig. 3 is a flowchart of a method for real-time controlling a call by a property owner as a caller according to an embodiment of the present invention, as shown in fig. 3: the property owner B calls a called virtual number x of the property broker A, and sends a query to the operator platform to inquire the property broker A (the property broker A corresponds to the called number) corresponding to the property owner B (the property owner B corresponds to the calling number) and the called virtual number x; the operator platform transmits a query request (a calling number of a house property owner B and a virtual called number x of a house property broker A) to the telephone traffic platform; the traffic platform analyzes the information of the house property broker A in real time, if the information is effective, the calling number of the house property owner B, the virtual called number x of the house property broker A and the real called number of the house property broker A are returned to the operator platform, so that the operator platform enables the house property owner B to call the real called number of the house property broker A through an operator network, and the called virtual number x is displayed on a mobile phone of the house property broker A. The telephone traffic platform analyzes the house broker A information in real time, and if the house broker A information is invalid, the method flow is the same as the above, and the description is omitted.
On the basis of the above embodiment, the calling subscriber information includes a calling subscriber identity type, and the called subscriber information includes a called subscriber identity type, correspondingly; the generating a control strategy for the call according to the calling user information, the called user information and a preset rule comprises:
if the calling user identity type is the first identity type, analyzing the pre-stored called number corresponding to the called number to acquire the user identity type of the corresponding pre-stored called number.
Specifically, if the server judges that the identity type of the calling user is the first identity type, the server analyzes the pre-stored called number corresponding to the called number to acquire the user identity type corresponding to the pre-stored called number. Reference may be made to the above embodiments, which are not described in detail.
And if the user identity type of the corresponding pre-stored called number is the second identity type and is consistent with the called identity type, generating a first control strategy for calling the called number.
Specifically, if the server judges that the user identity type corresponding to the pre-stored called number is the second identity type and is consistent with the called identity type, a first control strategy for calling the called number is generated. Reference may be made to the above embodiments, which are not described in detail.
The method for controlling the call in real time provided by the embodiment of the invention can further control the call reasonably in real time by generating the first control strategy corresponding to the identity type of the user in real time at the time of calling the user.
On the basis of the above embodiment, the method further includes:
and if the user identity type corresponding to the pre-stored called number is a second identity type and is inconsistent with the called identity type, generating a second control strategy for prompting the calling user.
Specifically, if the server judges that the user identity type corresponding to the pre-stored called number is the second identity type and is inconsistent with the called identity type, a second control strategy for prompting the calling user is generated. Reference may be made to the above embodiments, which are not described in detail.
The method for controlling the call in real time provided by the embodiment of the invention can further control the call reasonably in real time by generating the second control strategy corresponding to the identity type of the user in real time at the time of the call of the user.
On the basis of the above embodiment, the calling subscriber information includes the identity type of the calling subscriber, correspondingly; the generating a control strategy for the call according to the calling user information, the called user information and a preset rule comprises:
and if the identity type of the calling user is a second identity type, identifying the validity of the called user information.
Specifically, if the server judges that the identity type of the calling user is the second identity type, the validity of the called user information is identified. Reference may be made to the above embodiments, which are not described in detail.
And generating a control strategy for the call according to the identification result of the validity.
Specifically, the server generates a control strategy for the call if judging and acquiring the identification result according to the validity. Reference may be made to the above embodiments, which are not described in detail.
The method for controlling the call in real time provided by the embodiment of the invention can further control the call reasonably in real time by identifying the validity of the information of the called user at the time of calling the user and further generating a corresponding control strategy.
On the basis of the above embodiment, the generating a control policy for the call according to the identification result of the validity includes:
and if the identification result of the validity is valid, generating a first control strategy for calling the called number.
Specifically, if the server judges that the identification result of the validity is valid, a first control strategy for calling the called number is generated. Reference may be made to the above embodiments, which are not described in detail.
Or the like, or, alternatively,
and if the identification result of the validity is invalid, allocating another called number and generating a third control strategy for calling the other called number.
Specifically, if the server judges that the identification result of the validity is invalid, another called number is allocated, and a third control strategy for calling the another called number is generated. Reference may be made to the above embodiments, which are not described in detail.
The method for controlling the call in real time provided by the embodiment of the invention can further control the call reasonably in real time by generating different control strategies according to the validity of the information of the called user at the time of calling the user.
On the basis of the above embodiment, the method further includes:
and replacing the pre-stored called number corresponding to the called number with the other called number so as to update the preset mapping relation.
Specifically, the server replaces the pre-stored called number corresponding to the called number with the other called number to update the preset mapping relationship. The called number of the user who has left the job can be replaced with the called number of the user who is on the job in real time.
The method for controlling the call in real time provided by the embodiment of the invention further optimizes the process of controlling the call by updating the preset mapping relation in real time.
On the basis of the above embodiment, the method further includes:
and displaying the called virtual number at the called user terminal.
Specifically, the server displays the called virtual number at the called user terminal. The called virtual number may be displayed on a display screen of the called user terminal (which may be a cell phone).
The method for controlling the call in real time provided by the embodiment of the invention displays the called virtual number at the called user terminal, thereby effectively ensuring the safety of the privacy information of the user and facilitating the subsequent contact between the calling user and the called user.
Fig. 4 is a schematic structural diagram of a server for controlling a call in real time according to an embodiment of the present invention, and as shown in fig. 4, an embodiment of the present invention provides a server for controlling a call in real time, which includes a receiving module 1, an obtaining module 2, an analyzing module 3, a generating module 4, and a sending module 5, where:
the receiving module 1 is used for receiving a call query request forwarded by an operator platform, wherein the call query request carries a calling number and a called virtual number; the obtaining module 2 is configured to obtain a called number corresponding to the called virtual number according to a preset mapping relationship, where the preset mapping relationship is a correspondence relationship between a pre-stored calling number, a pre-stored called virtual number, and a pre-stored called number; the analysis module 3 is used for respectively analyzing the calling number and the called number so as to respectively acquire calling user information and called user information; the generating module 4 is configured to generate a control policy for the call according to the calling user information, the called user information, and a preset rule; the sending module 5 is configured to send a feedback message for the call query request, where the feedback message carries the control policy, so that the operator platform controls the call according to the control policy.
Specifically, the receiving module 1 is configured to receive a call query request forwarded by an operator platform, where the call query request carries a calling number and a called virtual number; the obtaining module 2 is configured to obtain a called number corresponding to the called virtual number according to a preset mapping relationship, where the preset mapping relationship is a correspondence relationship between a pre-stored calling number, a pre-stored called virtual number, and a pre-stored called number; the analysis module 3 is used for respectively analyzing the calling number and the called number so as to respectively acquire calling user information and called user information; the generating module 4 is configured to generate a control policy for the call according to the calling user information, the called user information, and a preset rule; the sending module 5 is configured to send a feedback message for the call query request, where the feedback message carries the control policy, so that the operator platform controls the call according to the control policy.
The server for controlling the call in real time provided by the embodiment of the invention can reasonably control the call in real time by generating the control strategy corresponding to the user information in real time at the time of the user call.
The server for controlling a call in real time provided in the embodiment of the present invention may be specifically configured to execute the processing flows of the above method embodiments, and the functions of the server are not described herein again, and refer to the detailed description of the above method embodiments.
Fig. 5 is a schematic structural diagram of a server entity provided in an embodiment of the present invention, and as shown in fig. 5, the server includes: a processor (processor)501, a memory (memory)502, and a bus 503;
the processor 501 and the memory 502 complete communication with each other through a bus 503;
the processor 501 is configured to call program instructions in the memory 502 to perform the methods provided by the above-mentioned method embodiments, for example, including: receiving a call query request forwarded by an operator platform, wherein the call query request carries a calling number and a called virtual number; acquiring a called number corresponding to the called virtual number according to a preset mapping relation, wherein the preset mapping relation is the corresponding relation among a pre-stored calling number, a pre-stored called virtual number and a pre-stored called number; respectively analyzing the calling number and the called number to respectively acquire calling user information and called user information; generating a control strategy for the call according to the calling user information, the called user information and a preset rule; and sending a feedback message aiming at the call query request, wherein the feedback message carries the control strategy, so that the operator platform controls the call according to the control strategy.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: receiving a call query request forwarded by an operator platform, wherein the call query request carries a calling number and a called virtual number; acquiring a called number corresponding to the called virtual number according to a preset mapping relation, wherein the preset mapping relation is the corresponding relation among a pre-stored calling number, a pre-stored called virtual number and a pre-stored called number; respectively analyzing the calling number and the called number to respectively acquire calling user information and called user information; generating a control strategy for the call according to the calling user information, the called user information and a preset rule; and sending a feedback message aiming at the call query request, wherein the feedback message carries the control strategy, so that the operator platform controls the call according to the control strategy.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: receiving a call query request forwarded by an operator platform, wherein the call query request carries a calling number and a called virtual number; acquiring a called number corresponding to the called virtual number according to a preset mapping relation, wherein the preset mapping relation is the corresponding relation among a pre-stored calling number, a pre-stored called virtual number and a pre-stored called number; respectively analyzing the calling number and the called number to respectively acquire calling user information and called user information; generating a control strategy for the call according to the calling user information, the called user information and a preset rule; and sending a feedback message aiming at the call query request, wherein the feedback message carries the control strategy, so that the operator platform controls the call according to the control strategy.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the server and the like are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the embodiments of the present invention, and are not limited thereto; although embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for real-time control of a call, comprising:
receiving a call query request forwarded by an operator platform, wherein the call query request carries a calling number and a called virtual number;
acquiring a called number corresponding to the called virtual number according to a preset mapping relation, wherein the preset mapping relation is the corresponding relation among a pre-stored calling number, a pre-stored called virtual number and a pre-stored called number; the calling number is used as a calling party and the called number is used as a calling party and corresponds to the same called virtual number;
respectively analyzing the calling number and the called number to respectively acquire calling user information and called user information; the calling user information comprises a calling user identity type, and the called user information comprises a called user identity type; the identity type of the called user corresponding to the called virtual number changes in real time according to the identity type of the calling user;
generating a control strategy for the call according to the calling user information, the called user information and a preset rule;
and sending a feedback message aiming at the call query request, wherein the feedback message carries the control strategy, so that the operator platform controls the call according to the control strategy.
2. The method of claim 1, wherein the generating a control policy for the call according to the calling subscriber information, the called subscriber information and a preset rule comprises:
if the identity type of the calling user is the first identity type, analyzing a pre-stored called number corresponding to the called number to obtain the identity type of a called user corresponding to the pre-stored called number;
and if the corresponding user identity type of the pre-stored called number is the second identity type and is consistent with the identity type of the called user, generating a first control strategy for calling the called number.
3. The method of claim 2, further comprising:
and if the corresponding user identity type of the pre-stored called number is a second identity type and is inconsistent with the identity type of the called user, generating a second control strategy for prompting the calling user.
4. The method of claim 1, wherein the caller information comprises a caller identity type, and accordingly; the generating a control strategy for the call according to the calling user information, the called user information and a preset rule comprises:
if the identity type of the calling user is a second identity type, identifying the validity of the called user information;
and generating a control strategy for the call according to the identification result of the validity.
5. The method of claim 4, wherein generating a control policy for the call based on the validity identification comprises:
if the identification result of the validity is valid, generating a first control strategy for calling the called number;
or the like, or, alternatively,
and if the identification result of the validity is invalid, allocating another called number and generating a third control strategy for calling the other called number.
6. The method of claim 5, further comprising:
and replacing the pre-stored called number corresponding to the called number with the other called number so as to update the preset mapping relation.
7. The method of any of claims 1 to 6, further comprising:
and displaying the called virtual number at the called user terminal.
8. A server for real-time control of calls, comprising:
the system comprises a receiving module, a calling module and a calling module, wherein the receiving module is used for receiving a calling inquiry request forwarded by an operator platform, and the calling inquiry request carries a calling number and a called virtual number;
the acquiring module is used for acquiring the called number corresponding to the called virtual number according to a preset mapping relation, wherein the preset mapping relation is the corresponding relation among a pre-stored calling number, a pre-stored called virtual number and a pre-stored called number; the calling number is used as a calling party and the called number is used as a calling party and corresponds to the same called virtual number;
the analysis module is used for respectively analyzing the calling number and the called number so as to respectively acquire calling user information and called user information; the calling user information comprises a calling user identity type, and the called user information comprises a called user identity type; the identity type of the called user corresponding to the called virtual number changes in real time according to the identity type of the calling user;
the generating module is used for generating a control strategy for the call according to the calling user information, the called user information and a preset rule;
a sending module, configured to send a feedback message for the call query request, where the feedback message carries the control policy, so that the operator platform controls the call according to the control policy.
9. A server for real-time control of calls, comprising: a processor, a memory, and a bus, wherein,
the processor and the memory are communicated with each other through the bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1 to 7.
CN201710898593.1A 2017-09-28 2017-09-28 Method and server for real-time control of call Active CN107835325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710898593.1A CN107835325B (en) 2017-09-28 2017-09-28 Method and server for real-time control of call

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710898593.1A CN107835325B (en) 2017-09-28 2017-09-28 Method and server for real-time control of call

Publications (2)

Publication Number Publication Date
CN107835325A CN107835325A (en) 2018-03-23
CN107835325B true CN107835325B (en) 2020-04-03

Family

ID=61644039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710898593.1A Active CN107835325B (en) 2017-09-28 2017-09-28 Method and server for real-time control of call

Country Status (1)

Country Link
CN (1) CN107835325B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587356B (en) * 2019-02-20 2020-12-29 携程旅游信息技术(上海)有限公司 Virtual number calling method, device, system, electronic equipment and storage medium
CN115277943B (en) * 2022-07-11 2024-03-08 瑞庭网络技术(上海)有限公司 Number acquisition method, device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092839A (en) * 2014-07-21 2014-10-08 中国电信股份有限公司 Communication method, system, IM server and operator service platform and terminal
CN106453900A (en) * 2016-10-14 2017-02-22 深圳天珑无线科技有限公司 Calling processing method and apparatus, called processing method and apparatus, and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100894435B1 (en) * 2005-07-08 2009-04-22 삼성전자주식회사 Apparatus and method for providing user information on standby-time in mobile communication system
CN1859589B (en) * 2005-12-15 2010-05-05 华为技术有限公司 Call processing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092839A (en) * 2014-07-21 2014-10-08 中国电信股份有限公司 Communication method, system, IM server and operator service platform and terminal
CN106453900A (en) * 2016-10-14 2017-02-22 深圳天珑无线科技有限公司 Calling processing method and apparatus, called processing method and apparatus, and terminal

Also Published As

Publication number Publication date
CN107835325A (en) 2018-03-23

Similar Documents

Publication Publication Date Title
CN107749930B (en) Call processing method, server and storage medium for binding virtual numbers for calling and called parties respectively
US8499246B2 (en) System and method for providing single click enterprise communication
US9026084B2 (en) Enhanced privacy protection in a telecommunication network
CN111182159B (en) Communication method, device and storage medium based on team instant messaging application
WO2017036216A1 (en) Virtual number processing method and device
CN110944088A (en) Method, device, storage medium and server for calling based on virtual telephone number
CN111010527B (en) Method and related device for establishing video call through short message link
CN107819669B (en) Method, device and equipment for feeding back missed call of landline phone and readable storage medium
CN104822139A (en) Method of realizing communication number isolation and privacy protection based on middle number
CN107835325B (en) Method and server for real-time control of call
US9736090B2 (en) Method and apparatus for processing message
CN110611908A (en) Method for protecting user number privacy by using intermediate number
KR20140051596A (en) A method and apparatus for providing caller information in a communication system supporting enterprise mobility communication
CN103024687A (en) Method and equipment for establishing instant messaging
KR101896573B1 (en) Push server and mobile unit
US10547572B2 (en) Messaging service
CN103795875A (en) Method and system for call center to process Internet information
CN108924368B (en) Call control method, device and server
CN108259433B (en) Call queuing distribution method, system and server
US8229404B2 (en) Method and system for call gating
CA2773837C (en) Facilitating interoperability among communication systems via inter- and intra-agency communications using a shared network
CN107864262B (en) Incoming call shielding method and device
CN102340604A (en) Method and system for communication forwarding
CN110475031B (en) Call system, call processing method, server, and readable storage medium
KR101755021B1 (en) SYSTEM AND METHOD FOR LEAKAGE PREVENTING IDENTIFICATION INFORMATION of mobile USING THE TEMPORARY IDENTIFICATION INFORMATION

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Applicant after: Seashell Housing (Beijing) Technology Co., Ltd.

Address before: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Applicant before: Chain home network (Beijing) Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200903

Address after: No.3 building, No.101 Beicun Road, Fengxian District, Shanghai

Patentee after: Shanghai liankun Technology Co., Ltd

Address before: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Patentee before: Seashell Housing (Beijing) Technology Co.,Ltd.