CN107426194A - Call connection method, device, server, electronic equipment and storage medium - Google Patents

Call connection method, device, server, electronic equipment and storage medium Download PDF

Info

Publication number
CN107426194A
CN107426194A CN201710526345.4A CN201710526345A CN107426194A CN 107426194 A CN107426194 A CN 107426194A CN 201710526345 A CN201710526345 A CN 201710526345A CN 107426194 A CN107426194 A CN 107426194A
Authority
CN
China
Prior art keywords
electronic equipment
call
server
virtual
phone number
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.)
Granted
Application number
CN201710526345.4A
Other languages
Chinese (zh)
Other versions
CN107426194B (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201710526345.4A priority Critical patent/CN107426194B/en
Publication of CN107426194A publication Critical patent/CN107426194A/en
Application granted granted Critical
Publication of CN107426194B publication Critical patent/CN107426194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention provides a call connection method, a call connection device, a server, electronic equipment and a storage medium, which are used for solving the problem that a large amount of performance is consumed because the electronic equipment is always connected with a virtual operator after program initialization and SIP service registration are successful. Wherein, the method comprises the following steps: the method comprises the steps that a server receives a call request aiming at a virtual telephone number sent by a virtual operator; the server sends an incoming call notification to the electronic equipment when the call request is allowed; the server receives a registration success notification sent by the electronic device; and the server calls a call interface of the virtual operator to send a call invitation instruction to the electronic equipment. By implementing the embodiment of the invention, the performance consumption of the electronic equipment can be reduced.

Description

Call connection method, device, server, electronic equipment and storage medium
Technical field
The present invention relates to communication technical field, and in particular to a kind of call connection method, device, server, electronic equipment And storage medium.
Background technology
Electronic equipment passes through virtual operator's (English on network:Virtual Network Operator, VNO) application Virtual phone number, and pass through session initiation protocol (English:Session Initiation Protocol, SIP) use the void Intend telephone number and establish communication connection with VNO.
In the prior art, electronic equipment carries out SIP registration, registration when initializing VNO talk application program to VNO The connection with VNO is maintained after success always;When there is the virtual phone number that third party dials the electronic equipment, VNO will converse The notice of request is sent to the server of electronic equipment;After server receives the notice of call request, judge whether to authorize this logical Words request, if it is, the telephony interface of readjustment virtual operator;Last VNO starts electron equipment and initiates call invitation life Order, electronic equipment displaying call interface.Because electronic equipment is after program initialization and registration SIP service success, maintain always With the connection of virtual operator, cause to consume a large amount of performances.
The content of the invention
The embodiment of the present invention provides a kind of call connection method, device, server, electronic equipment and storage medium, is used for Electronic equipment is solved after program initialization and registration SIP service success, the connection with virtual operator is maintained always, causes to disappear The problem of consuming a large amount of performances.
First aspect of the embodiment of the present invention provides a kind of call connection method, including:
Server receives the call request for virtual phone number that virtual operator sends, the virtual phone number For the telephone number that the virtual operator is electronic equipment distribution;
The server sends call-in reporting, the incoming call when the call request is allowed to, to the electronic equipment Notify to be used to notify the electronic equipment to receive the call request;
The server receives the notice that succeeds in registration sent by the electronic equipment, and the notice that succeeds in registration is used to lead to Know electronic equipment described in the server for the virtual phone number to the SIP registration that the virtual operator is carried out into Work(;
The telephony interface of virtual operator described in the server calls sends call to the electronic equipment and invites instruction, The call invites instruction to be used for the calling for indicating the caller ID that the electronic equipment receives the call request.
With reference to the embodiment of the present invention in a first aspect, first aspect of the embodiment of the present invention the first possible implementation In, methods described also includes:
Caller ID described in the server authentication;
When the caller ID is verified, the server allows the call request.
With reference to the first possible implementation of first aspect of the embodiment of the present invention, in first aspect of the embodiment of the present invention Second of possible implementation in, caller ID described in the server authentication, including:
When the server is searched less than the telephone number matched with the caller ID in default harassing and wrecking number storehouse, Confirm that the number verification of the call request passes through.
Second aspect of the embodiment of the present invention provides another call connection method, including:
The call-in reporting that electronic equipment the reception server is sent, the call-in reporting are used to notify the electronic equipment to receive For the call request of virtual phone number, the virtual phone number is electricity of the virtual operator to electronic equipment distribution Talk about number;
The electronic equipment carries out SIP registration for the virtual phone number to the virtual operator;
When SIP registration success, the electronic equipment sends the notice that succeeds in registration, the registration to the server Success notification is used to notify SIP registration success described in the server;
The call that the telephony interface that the electronic equipment receives virtual operator described in the server calls is sent is invited Instruction, the call invite instruction to be used for the calling for indicating the caller ID that the electronic equipment receives the call request.
With reference to second aspect of the embodiment of the present invention, in the first possible implementation of second aspect of the embodiment of the present invention In, before the electronic equipment carries out SIP registration for the virtual phone number to the virtual operator, methods described is also Including:
The electronic equipment obtains the gateway identification of the virtual operator;
When the gateway identification matches with default gateway identification, the electronic equipment performs described for the virtual electricity Talk about the step of number is to virtual operator progress SIP registration.
With reference to the possible implementation of the first of second aspect of the embodiment of the present invention or second aspect, implement in the present invention In second of possible implementation of example second aspect, receive in the electronic equipment and virtually transported described in the server calls Seek after the call invitation instruction of the telephony interface transmission of business, methods described also includes:
The electronic equipment searches number information corresponding to the caller ID, and in the display interface of the electronic equipment The caller ID and the number information are shown, the number information includes associated person information, number classification, ownership place and fortune Seek at least one of business;
When the electronic equipment detects the end of conversation of the caller ID and the virtual phone number, institute is nullified State SIP registration.
The third aspect of the embodiment of the present invention provides a kind of call attachment means, including:
First receiving unit, it is described for receiving the call request for virtual phone number of virtual operator's transmission Virtual phone number is the telephone number that the virtual operator is electronic equipment distribution;
Transmitting element, it is described next for when the call request is allowed to, call-in reporting to be sent to the electronic equipment Electricity notifies to be used to notify the electronic equipment to receive the call request;
Second receiving unit, for receiving the notice that succeeds in registration that is sent by the electronic equipment, it is described succeed in registration it is logical Know electronic equipment described in the server for the virtual phone number to the SIP registration that the virtual operator is carried out into Work(;
Calling unit, the telephony interface for calling the virtual operator send call invitation to the electronic equipment and referred to Order, the call invite instruction to be used for the calling for indicating the caller ID that the electronic equipment receives the call request.
Fourth aspect of the embodiment of the present invention provides another call attachment means, including:
First receiving unit, the call-in reporting sent for the reception server, the call-in reporting are used to notify electronics to set The standby call request received for virtual phone number, the virtual phone number are virtual operator to the electronic equipment point The telephone number matched somebody with somebody;
Registering unit, for carrying out SIP registration to the virtual operator for the virtual phone number;
Transmitting element, for when SIP registration success, the notice that succeeds in registration, the note to be sent to the server Volume success notification is used to notify SIP registration success described in the server;
Calling unit, the call that the telephony interface for receiving virtual operator described in the server calls is sent are invited Instruction, the call invite instruction to be used for the calling for indicating the caller ID that the electronic equipment receives the call request.
The aspect of the embodiment of the present invention the 5th provides a kind of server, including:Housing, processor, memory, circuit board and Power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, and processor and memory are set on circuit boards;Electricity Source circuit, for each circuit or the device power supply for server;Memory is used to store executable program code;Processor leads to Cross and read in memory the executable program code that stores to run program corresponding with executable program code, for performing A kind of call connection method that first aspect of the embodiment of the present invention provides.
The aspect of the embodiment of the present invention the 6th provides a kind of non-transitorycomputer readable storage medium, is stored thereon with meter Calculation machine program, wherein, the computer program realizes that one kind that first aspect of the embodiment of the present invention provides is led to when being executed by processor Talk about connection method.
The aspect of the embodiment of the present invention the 7th provides a kind of application program, wherein, the application program is used to operationally hold A kind of call connection method that row embodiment of the present invention first aspect provides.
Eighth aspect of the embodiment of the present invention provides a kind of electronic equipment, including:Housing, processor, memory, circuit board And power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, and processor and memory are set on circuit boards; Power circuit, for each circuit or the device power supply for electronic equipment;Memory is used to store executable program code;Processing The executable program code that device is stored by reading in memory runs program corresponding with executable program code, for Perform a kind of call connection method that second aspect of the embodiment of the present invention provides.
The aspect of the embodiment of the present invention the 9th provides a kind of storage medium, wherein, the storage medium, which is used to store, applies journey Sequence, the application program are used to operationally perform a kind of call connection method that second aspect of the embodiment of the present invention provides.
The aspect of the embodiment of the present invention the tenth provides a kind of application program, wherein, the application program is used to operationally hold A kind of call connection method that row embodiment of the present invention second aspect provides.
In the embodiment of the present invention, the call request for virtual phone number that virtual operator sends is received, is being conversed When request is allowed to, call-in reporting is sent to electronic equipment, receives the notice that succeeds in registration sent by electronic equipment, called virtual The telephony interface of operator is called electronic equipment.Because the notice that succeeds in registration is used to represent that electronic equipment is logical for incoming call Know and carry out SIP registration and succeed in registration, then it represents that virtual operator establishes with electronic equipment and connected, and virtual phone number is void Intend the telephone number that operator is electronic equipment distribution, that is to say, that when the call of the virtual phone number for electronic equipment Request, and when server allows the call request, electronic equipment can just carry out SIP registration, rather than enable the virtual telephony With regard to carrying out SIP registration after number, and the connection with virtual operator is kept, so as to save the performance consumption of electronic equipment.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of call connection method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another call connection method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of attachment means of conversing provided in an embodiment of the present invention;
Fig. 4 is the structural representation of another call attachment means provided in an embodiment of the present invention;
Fig. 5 is a kind of time diagram of connection system of conversing provided in an embodiment of the present invention;
Fig. 6 is a kind of structure chart of server provided in an embodiment of the present invention;
Fig. 7 is the structure chart of a kind of electronic equipment provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Term " first ", " second " and " the 3rd " in description and claims of this specification and accompanying drawing etc. is to be used for Different objects are distinguished, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, It is intended to cover non-exclusive include.Such as contain the process of series of steps or unit, method, system, product or set Standby the step of being not limited to list or unit, but alternatively also including the step of not listing or unit, or alternatively Also include for the intrinsic other steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments In at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Electronic equipment described by the embodiment of the present invention can include smart mobile phone (such as Android phone), tablet personal computer, Palm PC, notebook computer, mobile internet device (MID, Mobile Internet Devices) or Wearable Only it is citing Deng, electronic equipment, and it is non exhaustive, including but not limited to electronic equipment.
The embodiment of the present invention provides a kind of call connection method, device, server and electronic equipment, is set for solving electronics For after program initialization and registration SIP service success, the connection with virtual operator is maintained always, causes to consume a large amount of performances The problem of.It is described in detail individually below.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of call connection method provided in an embodiment of the present invention.As shown in figure 1, This method may comprise steps of.
Step S101, server receives the call request for virtual phone number that virtual operator sends.
Virtual operator refers to possess certain or certain several ability (such as technical capability, equipment deliverability, marketabilities Deng) with telecom operators the affiliate of cooperative relationship is formed in a certain business or a few business.
Session initiation protocol text based application layer control protocol, for creating, changing and discharging one or more ginsengs With the session of person.
In embodiments of the present invention, electronic equipment applies for virtual phone number on network by virtual operator, and leads to Cross session initiation protocol and establish communication connection using the virtual phone number and the virtual operator.I.e. virtual phone number is void Intend the telephone number that operator is electronic equipment distribution, when electronic equipment is carried out to the virtual phone number and virtual operator , can be to call, receive calls, send or receive message etc. using the virtual phone number after SIP registration.Virtual operation The server of business and electronic equipment connects, after virtual operator receives the call request for the virtual phone number, to electricity The server of sub- equipment sends the call request.
Step S102, server sends call-in reporting when call request is allowed to electronic equipment.
Server can allow call request in the case where communication condition allows, and call-in reporting is sent to electronic equipment.Its In, call-in reporting is used for electronic device and receives call request.
Optionally, the caller ID of server authentication call request;When caller ID is verified, it is allowed to which call please Ask.
That is, server is verified to the caller ID of call request, and if only if when being verified, just can be to Electronic equipment sends call-in reporting, the caller ID or current communication conditions of call request is screened, so as to avoid answering The situation of harassing call and communication failure occurs.
Wherein, server authentication caller ID, including:When server searched in default harassing and wrecking number storehouse less than with incoming call During the telephone number of numbers match, confirm that the number verification of call request passes through.The embodiment of the present invention is permitted for call request Perhaps execution condition is not construed as limiting.
Default harassing and wrecking number storehouse can be the harassing call number stored on server, can also be what is set on electronic equipment Telephone number corresponding to blacklist etc., the default telephone number harassed in number storehouse may also include the telephone number being associated, For example, other virtual phone numbers, client identification module (English:Subscriber Identity Module, SIM) number Other numbers of corresponding holder etc..That is, caller ID leads to when not being the telephone number in default harassing and wrecking number storehouse Checking is crossed, then sends call-in reporting to electronic equipment, caller ID is screened, improves anti-harassing and wrecking ability.
Step S103, server receives the notice that succeeds in registration sent by electronic equipment.
In embodiments of the present invention, succeed in registration notice be used for notify server electronic equipment for virtual phone number to The SIP registration success that virtual operator is carried out.I.e. electronic equipment carries out SIP registration for call-in reporting, after succeeding in registration, to Server sends the notice that succeeds in registration, so as to establish the connection of virtual operator and electronic equipment.
Optionally, electronic equipment obtains the gateway identification of virtual operator;When gateway identification matches with default gateway identification When, electronic equipment, which performs, is directed to the step of virtual phone number is to virtual operator's progress SIP registration.
That is, when the default gateway identification of virtual phone number matches with the gateway identification of virtual operator, then It is exactly the telephone number applied in the virtual operator to illustrate the virtual phone number, can complete SIP registration, and passes through checking Prevent from connecting illegal virtual operator, improve the security of call.
Step S104, the telephony interface of server calls virtual operator sends call to electronic equipment and invites instruction.
Wherein, call ring interfaces are the interfaces for specially calling, and call invites instruction SIP Invite to be used to indicate Electronic equipment receives the calling of the caller ID of call request.
As an example it is assumed that being the talk application of virtual operator using 1, user is installed using 1 on an electronic device, and A virtual phone number is registered as 12345678900.Dialed when detecting telephone number in virtual operation for 12345678911 When 12345678900, then call request is sent to the server of the electronic equipment, server is found by searching address list 12345678911 be non-harassing and wrecking number, then sends call-in reporting to electronic equipment, therefore electronic equipment enters according to the call-in reporting Row SIP registration, registration send to server after completing and succeeded in registration notice, then the ring interfaces of calling virtual operator are to electronics Equipment sends SIP Invite instructions, i.e., 12345678900 incoming call is shown on electronic equipment.
In the call connection method described by Fig. 1, due to and virtual phone number be that virtual operator is electronic equipment The telephone number of distribution, that is to say, that when the call request of the virtual phone number for electronic equipment, and when server allows During the call request, electronic equipment can just carry out SIP registration, rather than enable with regard to carrying out SIP registration after the virtual phone number, And the connection with virtual operator is kept, so as to save the performance consumption of electronic equipment.
Referring to Fig. 2, Fig. 2 is the flow chart of another call connection method provided in an embodiment of the present invention.Such as Fig. 2 institutes Show, this method may comprise steps of.
Step S201, the call-in reporting that electronic equipment the reception server is sent.
In embodiments of the present invention, call-in reporting is used for electronic device reception call request, and virtual phone number is The telephone number of virtual operator's electron equipment distribution.
Step S202, electronic equipment carries out SIP registration for virtual phone number to virtual operator.
Optionally, the gateway identification of virtual operator is obtained;When gateway identification matches with default gateway identification, pin is performed The step of SIP registration is carried out to call-in reporting.
That is, when the default gateway identification of virtual phone number matches with the gateway identification of virtual operator, then It is exactly the telephone number applied in the virtual operator to illustrate the virtual phone number, can complete SIP registration, and passes through checking Prevent from connecting illegal virtual operator, improve the security of call.
Step S203, when SIP registration success, electronic equipment sends the notice that succeeds in registration to server.
In embodiments of the present invention, the notice that succeeds in registration is used to represent that terminal carries out SIP registration and note for call-in reporting Volume success.I.e. terminal carries out SIP registration for call-in reporting, and after succeeding in registration, the notice that succeeds in registration is sent to server, from And the connection of virtual operator and terminal can be established.
Step S204, the call that electronic equipment the reception server calls the telephony interface of virtual operator to send, which is invited, refers to Order.
Optionally, instruction is invited in the call for calling the telephony interface of virtual operator to send in electronic equipment the reception server Afterwards, method also includes:Electronic equipment searches number information corresponding to caller ID, and is shown in the display interface of electronic equipment Caller ID and number information, number information include at least one in associated person information, number classification, ownership place and operator Kind;When electronic equipment detects the end of conversation of caller ID and virtual phone number, SIP registration is nullified.
That is, electronic equipment searches number information corresponding to caller ID, number information is shown and display interface, Improve the convenience of operation.And because electronic equipment is carried out for the caller ID in call-in reporting and virtual phone number SIP registration, that is, after connection of conversing terminates, SIP registration should be terminated, so as to save the performance consumption of electronic equipment.
In the call connection method described by Fig. 2, due to and virtual phone number be that virtual operator is electronic equipment The telephone number of distribution, that is to say, that when the call request of the virtual phone number for electronic equipment, and when server allows During the call request, electronic equipment can just carry out SIP registration, rather than enable with regard to carrying out SIP registration after the virtual phone number, And the connection with virtual operator is kept, so as to save the performance consumption of electronic equipment.
Referring to Fig. 3, Fig. 3 is a kind of structure chart of attachment means of conversing provided in an embodiment of the present invention.As shown in figure 3, The device 300 can include:
First receiving unit 101, it is empty for receiving the call request for virtual phone number of virtual operator's transmission It is the telephone number that virtual operator is electronic equipment distribution to intend telephone number.
Transmitting element 102, for when call request is allowed to, sending call-in reporting to electronic equipment, call-in reporting is used Call request is received in electronic device.
Second receiving unit 103, for receiving the notice that succeeds in registration sent by electronic equipment, the notice that succeeds in registration service The SIP registration success that device electronic equipment is carried out for virtual phone number to virtual operator.
Calling unit 104, the telephony interface for calling virtual operator send call to electronic equipment and invite instruction, lead to Words invite instruction to be used for the calling for indicating the caller ID that electronic equipment receives call request.
Optionally, device 300 also includes:
Authentication unit 105, for server authentication caller ID;When caller ID is verified, server allows to lead to Words request.
Optionally, authentication unit 105 be specifically used for when server searched in default harassing and wrecking number storehouse less than with incoming call number During the telephone number of code matching, confirm that the number verification of call request passes through.
In the call attachment means described by Fig. 3, due to and virtual phone number be that virtual operator is electronic equipment The telephone number of distribution, that is to say, that when the call request of the virtual phone number for electronic equipment, and when server allows During the call request, electronic equipment can just carry out SIP registration, rather than enable with regard to carrying out SIP registration after the virtual phone number, And the connection with virtual operator is kept, so as to save the performance consumption of electronic equipment.
Referring to Fig. 4, Fig. 4 is the structure chart of another call attachment means provided in an embodiment of the present invention.Such as Fig. 4 institutes Show, the device 400 can include:
First receiving unit 201, the call-in reporting sent for electronic equipment the reception server, call-in reporting are used to notify Electronic equipment receives the call request for virtual phone number, and virtual phone number is virtual operator's electron equipment distribution Telephone number.
Registering unit 202, SIP registration is carried out to virtual operator for virtual phone number for electronic equipment.
Transmitting element 203, for when SIP registration success, sending the notice that succeeds in registration to server, succeed in registration notice For notifying server S IP to succeed in registration.
Instruction is invited in calling unit 204, the call for calling the telephony interface of virtual operator to send for the reception server, Call invites instruction to be used for the calling for indicating the caller ID that electronic equipment receives call request.
As a kind of alternative embodiment, device 400 also includes:
Acquiring unit 205, for obtaining the gateway identification of virtual operator;When gateway identification matches with default gateway identification When, call registering unit 202.
As a kind of alternative embodiment, device 400 also includes:
Searching unit 206, for searching number information corresponding to caller ID, number information include associated person information, number At least one of code classification, ownership place and operator;
Display unit 207, caller ID and number information are shown for the display interface in electronic equipment.
Terminate registering unit 208, for detecting the end of conversation of caller ID and virtual phone number in electronic equipment When, nullify SIP registration.
Described by Fig. 4 call connection in, due to and virtual phone number be virtual operator be electronic equipment distribution Telephone number, that is to say, that when the call request of the virtual phone number for electronic equipment, and when server allows this logical During words request, electronic equipment can just carry out SIP registration, rather than enable and SIP registration is just carried out after the virtual phone number, and guarantor The connection with virtual operator is held, so as to save the performance consumption of electronic equipment.
Referring to Fig. 5, Fig. 5 is a kind of timing diagram of connection system of conversing provided in an embodiment of the present invention.As shown in figure 5, The system can include:Virtual operator, server and electronic equipment, wherein:
Step S301:Server receives the call request for virtual phone number that virtual operator sends.
In embodiments of the present invention, electronic equipment applies for virtual phone number on network by virtual operator, and leads to Cross session initiation protocol and establish communication connection using the virtual phone number and the virtual operator.I.e. virtual phone number is void Intend the telephone number that operator is electronic equipment distribution, when electronic equipment is carried out to the virtual phone number and virtual operator , can be to call, receive calls, send or receive message etc. using the virtual phone number after SIP registration.Virtual operation The server of business and electronic equipment connects, after virtual operator receives the call request for the virtual phone number, to electricity The server of sub- equipment sends the call request.
Step S302:Server sends call-in reporting when call request is allowed to, to electronic equipment.
Server can allow call request in the case where communication condition allows, and call-in reporting is sent to electronic equipment.Its In, call-in reporting is used for electronic device and receives the call request for being directed to virtual phone number.
Optionally, the caller ID of server authentication call request;When the caller ID of call request is verified, permit Perhaps call request.The caller ID or current communication conditions of call request are screened, so as to avoid answering harassing call and The situation of communication failure occurs.
Wherein, the caller ID of call request is verified, including:Obtain the caller ID of call request;When in default harassing and wrecking When searching in number storehouse less than the telephone number matched with caller ID, confirm the number verification of call request by incoming call Number is screened, and improves anti-harassing and wrecking ability.The execution condition that the embodiment of the present invention is allowed to for call request is not construed as limiting.
Step S303:Electronic equipment carries out SIP registration for virtual phone number to virtual operator.
Optionally, the gateway identification of virtual operator is obtained;When gateway identification matches with default gateway identification, pin is performed The step of SIP registration is carried out to call-in reporting.Prevent from connecting illegal virtual operator by checking, improve the safety of call Property.
Step S304:The call that electronic equipment the reception server calls the telephony interface of virtual operator to send, which is invited, to be referred to Order.
In embodiments of the present invention, the notice that succeeds in registration is used to represent that electronic equipment carries out SIP registration for call-in reporting And succeed in registration.I.e. electronic equipment carries out SIP registration for call-in reporting, after succeeding in registration, sends and registers to server Work(notifies, so as to establish the connection of virtual operator and electronic equipment.
Step S305:The telephony interface of server calls virtual operator sends call to electronic equipment and invites instruction.
Optionally, calling the call ring interfaces of virtual operator to send call to electronic equipment invites SIP Invite to refer to Order.
In the call connection system described by Fig. 5, due to and virtual phone number be that virtual operator is electronic equipment The telephone number of distribution, that is to say, that when the call request of the virtual phone number for electronic equipment, and when server allows During the call request, electronic equipment can just carry out SIP registration, rather than enable with regard to carrying out SIP registration after the virtual phone number, And the connection with virtual operator is kept, so as to save the performance consumption of electronic equipment.
Referring to Fig. 6, Fig. 6 is server provided in an embodiment of the present invention.As shown in fig. 6, the server can include shell Body 110, processor 120, memory 130, circuit board 140 and power circuit 150, wherein, circuit board 140 is placed in housing and surrounded Interior volume, processor 120 and memory 130 are arranged on circuit board 140;Power circuit 150, for for each of server Individual circuit or device power supply;Memory 130 is used to store executable program code;Processor 120 is by reading in memory 130 The executable program code of storage runs program corresponding with executable program code, for performing following steps:
The call request for virtual phone number that virtual operator sends is received, virtual phone number is virtual operation Business is the telephone number of electronic equipment distribution;
When call request is allowed to, call-in reporting is sent to electronic equipment, call-in reporting connects for electronic device Receive call request;
The notice that succeeds in registration sent by electronic equipment is received, the notice that succeeds in registration is used to notify server electronic equipment pin The SIP registration success carried out to virtual phone number to virtual operator;
Call the telephony interface of virtual operator to send call to electronic equipment and invite instruction, call invites instruction to be used to refer to Show that electronic equipment receives the calling of the caller ID of call request.
As a kind of alternative embodiment, processor 120 is additionally operable to perform following operation:
Verify caller ID;
When caller ID is verified, it is allowed to call request.
As a kind of alternative embodiment, in terms of caller ID is verified, processor 120 is specifically used for performing following operate:
When being searched in default harassing and wrecking number storehouse less than the telephone number matched with caller ID, call request is confirmed Number verification passes through.
In the server described by Fig. 6, due to and virtual phone number be that virtual operator is what electronic equipment distributed Telephone number, that is to say, that when the call request of the virtual phone number for electronic equipment, and when server allows the call During request, electronic equipment can just carry out SIP registration, rather than enable with regard to carrying out SIP registration after the virtual phone number, and keep With the connection of virtual operator, so as to save the performance consumption of electronic equipment.
A kind of non-transitorycomputer readable storage medium is provided in one embodiment, is stored thereon with computer journey Sequence, wherein, the computer program realizes the call connection method of embodiment one when being executed by processor.
A kind of application program is provided in one embodiment, and the application program is used to operationally perform embodiment one Call connection method.
Referring to Fig. 7, Fig. 7 is electronic equipment provided in an embodiment of the present invention.Wherein, the call connection method is applied to hand The electronic equipments such as machine, tablet personal computer.As shown in fig. 7, the electronic equipment can include housing 310, processor 320, memory 330th, circuit board 340 and power circuit 350, wherein, circuit board 340 is placed in the interior volume that housing surrounds, the He of processor 320 Memory 330 is arranged on circuit board 340;Power circuit 350, for each circuit or the device power supply for electronic equipment;Deposit Reservoir 330 is used to store executable program code;The executable program generation that processor 320 is stored by reading in memory 330 Code runs program corresponding with executable program code, for performing following steps:
The call-in reporting that the reception server is sent, call-in reporting are used for electronic device reception and are directed to virtual phone number Call request, virtual phone number is the telephone number of virtual operator electron equipment distribution;
For virtual phone number SIP registration is carried out to virtual operator;
When SIP registration success, the notice that succeeds in registration is sent to server, the notice that succeeds in registration is used to notify server SIP registration success;
Instruction is invited in the call that the reception server calls the telephony interface of virtual operator to send, and call invites instruction to be used for Indicate that electronic equipment receives the calling of the caller ID of call request.
As a kind of alternative embodiment, before SIP registration is carried out to virtual operator for virtual phone number, processing Device 320 is additionally operable to perform following operation:
Obtain the gateway identification of virtual operator;
When gateway identification matches with default gateway identification, perform and carried out for virtual phone number to virtual operator The step of SIP registration.
As a kind of alternative embodiment, invited in the call that the reception server calls the telephony interface of virtual operator to send After instruction, processor 320 is additionally operable to perform following operation:
Number information corresponding to caller ID is searched, and caller ID and number information, number letter are shown in display interface Breath includes at least one of associated person information, number classification, ownership place and operator;
When detecting the end of conversation of caller ID and virtual phone number, SIP registration is nullified.
In the electronic equipment described by Fig. 7, due to and virtual phone number be virtual operator be electronic equipment distribution Telephone number, that is to say, that when the call request of the virtual phone number for electronic equipment, and when server allows this logical During words request, electronic equipment can just carry out SIP registration, rather than enable and SIP registration is just carried out after the virtual phone number, and guarantor The connection with virtual operator is held, so as to save the performance consumption of electronic equipment.
A kind of non-transitorycomputer readable storage medium is provided in one embodiment, is stored thereon with computer journey Sequence, wherein, the computer program realizes the call connection method of embodiment two when being executed by processor.
A kind of application program is provided in one embodiment, and the application program is used to operationally perform embodiment two Call connection method.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, module or unit Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or group when actually realizing Part can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown Or the mutual coupling discussed or direct-coupling or communication connection can be by some interfaces, device or unit it is indirect Coupling or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, be shown as unit Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Integrated unit was both It can be realized, can also be realized in the form of SFU software functional unit in the form of hardware.
If integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can To be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the application substantially or Saying all or part of the part to be contributed to prior art or the technical scheme can be embodied in the form of software product Out, the computer software product is stored in a storage medium, including some instructions are causing a computer equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform each implementation of the application The all or part of step of example method.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read Only Memory;Hereinafter referred to as:ROM), random access memory (Random Access Memory;Hereinafter referred to as:RAM), magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
More than, the only embodiment of the application, but the protection domain of the application is not limited thereto is any to be familiar with Those skilled in the art can readily occur in change or replacement in the technical scope that the application discloses, and should all cover Within the protection domain of the application.Therefore, the protection domain of the application should be defined by scope of the claims.

Claims (10)

  1. A kind of 1. call connection method, it is characterised in that including:
    Server receives the call request for virtual phone number that virtual operator sends, and the virtual phone number is institute State the telephone number that virtual operator is electronic equipment distribution;
    The server sends call-in reporting, the call-in reporting when the call request is allowed to, to the electronic equipment For notifying the electronic equipment to receive the call request;
    The server receives the notice that succeeds in registration sent by the electronic equipment, and the notice that succeeds in registration is used to notify institute State the SIP registration success that electronic equipment described in server is carried out for the virtual phone number to the virtual operator;
    The telephony interface of virtual operator described in the server calls sends call to the electronic equipment and invites instruction, described Call invites instruction to be used for the calling for indicating the caller ID that the electronic equipment receives the call request.
  2. 2. according to the method for claim 1, it is characterised in that methods described also includes:
    Caller ID described in the server authentication;
    When the caller ID is verified, the server allows the call request.
  3. 3. according to the method for claim 2, it is characterised in that caller ID described in the server authentication, including:
    When the server is searched less than the telephone number matched with the caller ID in default harassing and wrecking number storehouse, confirm The number verification of the call request passes through.
  4. A kind of 4. call connection method, it is characterised in that including:
    The call-in reporting that electronic equipment the reception server is sent, the call-in reporting are used to notify the electronic equipment receives to be directed to The call request of virtual phone number, the virtual phone number are phone number of the virtual operator to electronic equipment distribution Code;
    The electronic equipment carries out SIP registration for the virtual phone number to the virtual operator;
    When SIP registration success, the electronic equipment sends the notice that succeeds in registration to the server, described to succeed in registration Notify to be used to notify SIP registration success described in the server;
    Instruction is invited in the call that the telephony interface that the electronic equipment receives virtual operator described in the server calls is sent, The call invites instruction to be used for the calling for indicating the caller ID that the electronic equipment receives the call request.
  5. 5. one kind call attachment means, it is characterised in that including:
    First receiving unit, it is described virtual for receiving the call request for virtual phone number of virtual operator's transmission Telephone number is the telephone number that the virtual operator is electronic equipment distribution;
    Transmitting element, for when the call request is allowed to, sending call-in reporting to the electronic equipment, the incoming call is logical Know for notifying the electronic equipment to receive the call request;
    Second receiving unit, for receiving the notice that succeeds in registration sent by the electronic equipment, the notice institute that succeeds in registration State the SIP registration success that electronic equipment described in server is carried out for the virtual phone number to the virtual operator;
    Calling unit, the telephony interface for calling the virtual operator send call to the electronic equipment and invite instruction, The call invites instruction to be used for the calling for indicating the caller ID that the electronic equipment receives the call request.
  6. 6. one kind call attachment means, it is characterised in that including:
    First receiving unit, the call-in reporting sent for the reception server, the call-in reporting connect for electronic device The call request narrowed to virtual phone number, the virtual phone number are that virtual operator gives electronic equipment distribution Telephone number;
    Registering unit, for carrying out SIP registration to the virtual operator for the virtual phone number;
    Transmitting element, it is described to register for when SIP registration success, the notice that succeeds in registration to be sent to the server Work(notifies to be used to notify SIP registration success described in the server;
    Calling unit, the call that the telephony interface for receiving virtual operator described in the server calls is sent, which is invited, to be referred to Order, the call invite instruction to be used for the calling for indicating the caller ID that the electronic equipment receives the call request.
  7. 7. a kind of server, including:Housing, processor, memory, circuit board and power circuit, wherein, circuit board is placed in shell The interior volume that body surrounds, processor and memory are set on circuit boards;Power circuit, for each circuit for server Or device power supply;Memory is used to store executable program code;The executable journey that processor is stored by reading in memory Sequence code runs program corresponding with executable program code, for performing the side as described in any in claim 1-3 Method.
  8. 8. a kind of electronic equipment, including:Housing, processor, memory, circuit board and power circuit, wherein, circuit board is placed in The interior volume that housing surrounds, processor and memory are set on circuit boards;Power circuit, for for each of electronic equipment Circuit or device power supply;Memory is used to store executable program code;What processor was stored by reading in memory holds Line program code runs program corresponding with executable program code, for performing as described in the claim any one of 4-6 Method.
  9. 9. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, it is characterised in that the calculating The method as described in any in claim 1-3 is realized when machine program is executed by processor.
  10. 10. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, it is characterised in that the meter The method as described in claim any one of 4-6 is realized when calculation machine program is executed by processor.
CN201710526345.4A 2017-06-30 2017-06-30 Call connection method, device, server, electronic equipment and storage medium Active CN107426194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710526345.4A CN107426194B (en) 2017-06-30 2017-06-30 Call connection method, device, server, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710526345.4A CN107426194B (en) 2017-06-30 2017-06-30 Call connection method, device, server, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107426194A true CN107426194A (en) 2017-12-01
CN107426194B CN107426194B (en) 2021-07-20

Family

ID=60427695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710526345.4A Active CN107426194B (en) 2017-06-30 2017-06-30 Call connection method, device, server, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107426194B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108391017A (en) * 2018-01-19 2018-08-10 五八有限公司 Statistical method, device, equipment and the system of call-information based on virtual telephony
CN108566497A (en) * 2017-12-08 2018-09-21 五八有限公司 A kind of online service phone-monitoring method, server-side and computer storage media
CN111131633A (en) * 2019-12-18 2020-05-08 华为技术有限公司 Application method of virtual number, communication method and related device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1457186A (en) * 2002-05-10 2003-11-19 北京艾尼通科技有限公司 Unified user number realizing method combining telecommunication net and IP speech
WO2007130969A3 (en) * 2006-05-01 2008-01-03 Qualcomm Inc Profile modification for roaming in a communications environment
CN102572741A (en) * 2012-02-20 2012-07-11 李继泽 Control method for displaying caller information in mobile communication system
CN102624995A (en) * 2011-01-27 2012-08-01 中国电信股份有限公司 Virtual number application method, device and system applicable to Internet
CN104852932A (en) * 2015-06-12 2015-08-19 广东天波信息技术股份有限公司 UC (unified communication) passive SIP call method and system
CN105338199A (en) * 2014-08-13 2016-02-17 广东世纪网通信设备有限公司 Virtual mobile phone number allocation method and system
CN105429770A (en) * 2015-12-17 2016-03-23 合肥寰景信息技术有限公司 Network community directional voice communication method
CN105554737A (en) * 2015-12-31 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Voice communication realization method and server
CN105681299A (en) * 2016-01-14 2016-06-15 掌赢信息科技(上海)有限公司 Method and system for building temporary call and server
CN106470194A (en) * 2015-08-20 2017-03-01 中兴通讯股份有限公司 Networking telephone connection processing method and device
EP3179707A2 (en) * 2015-12-09 2017-06-14 Japan Communications Inc. Methods and systems for phone service with personal switch box

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1457186A (en) * 2002-05-10 2003-11-19 北京艾尼通科技有限公司 Unified user number realizing method combining telecommunication net and IP speech
WO2007130969A3 (en) * 2006-05-01 2008-01-03 Qualcomm Inc Profile modification for roaming in a communications environment
CN102624995A (en) * 2011-01-27 2012-08-01 中国电信股份有限公司 Virtual number application method, device and system applicable to Internet
CN102572741A (en) * 2012-02-20 2012-07-11 李继泽 Control method for displaying caller information in mobile communication system
CN105338199A (en) * 2014-08-13 2016-02-17 广东世纪网通信设备有限公司 Virtual mobile phone number allocation method and system
CN104852932A (en) * 2015-06-12 2015-08-19 广东天波信息技术股份有限公司 UC (unified communication) passive SIP call method and system
CN106470194A (en) * 2015-08-20 2017-03-01 中兴通讯股份有限公司 Networking telephone connection processing method and device
EP3179707A2 (en) * 2015-12-09 2017-06-14 Japan Communications Inc. Methods and systems for phone service with personal switch box
CN105429770A (en) * 2015-12-17 2016-03-23 合肥寰景信息技术有限公司 Network community directional voice communication method
CN105554737A (en) * 2015-12-31 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Voice communication realization method and server
CN105681299A (en) * 2016-01-14 2016-06-15 掌赢信息科技(上海)有限公司 Method and system for building temporary call and server

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108566497A (en) * 2017-12-08 2018-09-21 五八有限公司 A kind of online service phone-monitoring method, server-side and computer storage media
CN108391017A (en) * 2018-01-19 2018-08-10 五八有限公司 Statistical method, device, equipment and the system of call-information based on virtual telephony
CN111131633A (en) * 2019-12-18 2020-05-08 华为技术有限公司 Application method of virtual number, communication method and related device
CN111131633B (en) * 2019-12-18 2021-10-22 华为技术有限公司 Application method of virtual number, communication method and related device

Also Published As

Publication number Publication date
CN107426194B (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN107333013B (en) Session establishing method, device, electronic equipment and storage medium
CN105554223B (en) A kind of method that establishing connection and mobile terminal
CN105307158B (en) A kind of auth method of the phone number of communication terminal
CN104809816B (en) Pickup processing method, pickup perform method, pickup method and apparatus and system
CN109769244B (en) Abnormal telephone card identification method, device, equipment and readable storage medium
CN101150631A (en) A method and device for setting call forward
CN102264061A (en) Card-free mobile terminal authentication and communication method, server and card-free mobile terminal
CN107426194A (en) Call connection method, device, server, electronic equipment and storage medium
CN102611805A (en) Communication information notifying method, information reporting method, server and communication terminals
CN103841533B (en) A kind of method and device for processing call forwarding
CN111327752B (en) Call processing method, device, communication system and storage medium
CN102137198B (en) Method for realizing private branch exchange service and gateway equipment
CN105721659B (en) Incoming call processing method and device
CN105721511A (en) Identity verifying method of mobile terminal
CN101729557A (en) Method and system for realizing resource sharing of terminal equipment
CN103167449B (en) For communication terminal local machine arranges the method and system of call forwarding
CN110505623A (en) A kind of method, system and server handling labeled number complaint
CN105847284B (en) A kind of communication service processing method, device and and server
CN102355643B (en) Short message processing method, device and system
CN108933857A (en) The processing method and processing device of secondary user's harassing call of distributing telephone numbers
CN106385516A (en) Business transfer setting method, device and terminal
CN105873026A (en) Method for activating eSIM (Embedded Subscriber Identity Module), mobile terminal and server
CN103067882B (en) The verification method of mobile phone, GSM and MSN account
CN101340642A (en) Method, system and apparatus for transmitting electronic business card
CN107333266A (en) Caller ID verification method and caller ID checking system

Legal Events

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