CN111818469B - Calling method, calling device, electronic equipment and network equipment - Google Patents
Calling method, calling device, electronic equipment and network equipment Download PDFInfo
- Publication number
- CN111818469B CN111818469B CN202010706485.1A CN202010706485A CN111818469B CN 111818469 B CN111818469 B CN 111818469B CN 202010706485 A CN202010706485 A CN 202010706485A CN 111818469 B CN111818469 B CN 111818469B
- Authority
- CN
- China
- Prior art keywords
- call
- calling
- called
- electronic device
- electronic equipment
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/16—Communication-related supplementary services, e.g. call-transfer or call-hold
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
The application discloses a calling method, a calling device, electronic equipment and network equipment, and relates to the technical field of communication. The calling method applied to the electronic equipment comprises the following steps: receiving a first input, and generating a call request for calling a called electronic device in response to the first input, wherein the call request carries a calling number of the electronic device and a called number of the called electronic device, and the call request also carries at least one first auxiliary number of the electronic device and/or at least one second auxiliary number of the called electronic device; and sending the call request to a network device. When the electronic equipment with a plurality of numbers or the called electronic equipment carries out calling conversation, the calling success rate is improved, the problem of calling failure caused by some reasons can be solved, and the user experience is improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a calling method, a calling apparatus, an electronic device, and a network device.
Background
In the prior art, when a user wants to make a call, the call may fail and the call experience of the user may be affected due to various reasons, such as a called paging failure, a temporary network exception, and insufficient bearer resources.
Disclosure of Invention
The embodiment of the application aims to provide a calling method, a calling device, electronic equipment and network equipment, which can solve the problem of call failure caused by some reasons and improve user experience.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a calling method and an application to an electronic device, including: receiving a first input, and generating a call request for calling a called electronic device in response to the first input, wherein the call request carries a calling number of the electronic device and a called number of the called electronic device, and the call request also carries at least one first auxiliary number of the electronic device and/or at least one second auxiliary number of the called electronic device;
and sending the call request to a network device.
In a second aspect, an embodiment of the present application provides a calling method, which is applied to a network device, and includes:
receiving a call request which is sent by electronic equipment and used for calling called electronic equipment, wherein the call request carries a calling number of the electronic equipment and a called number of the called electronic equipment, and the call request also carries at least one first auxiliary number of the electronic equipment and/or at least one second auxiliary number of the called electronic equipment;
if the call connection between the electronic equipment and the called electronic equipment is unsuccessful, determining the reason of the unsuccessful call connection;
if the reason that the call connection is unsuccessful is at the electronic equipment side and the call request carries the first auxiliary number, one of the at least one first auxiliary number is sequentially adopted as a calling number to continuously call until the call connection is successful or all the first auxiliary numbers are completely used as the calling number to call and the call is completed;
if the reason that the call connection is unsuccessful is on the called electronic equipment side, and the call request carries the second secondary numbers, one of the at least one second secondary number is sequentially adopted as the called number to continuously call until the call connection is successful, or all the second secondary numbers are all used as the called numbers to call, and the call is completed.
In a third aspect, an embodiment of the present application provides a calling device, including:
the first receiving module is used for receiving a first input;
a generating module, configured to respond to the first input, and generate a call request for calling a called electronic device, where the call request carries a calling number of the electronic device and a called number of the called electronic device, and the call request also carries at least one first auxiliary number of the electronic device and/or at least one second auxiliary number of the called electronic device;
and the sending module is used for sending the call request to the network equipment.
In a fourth aspect, an embodiment of the present application provides a calling device, including:
a second receiving module, configured to receive a call request sent by an electronic device and used for calling a called electronic device, where the call request carries a calling number of the electronic device and a called number of the called electronic device, and the call request also carries at least one first auxiliary number of the electronic device and/or at least one second auxiliary number of the called electronic device;
the detection module is used for determining the reason of unsuccessful call connection if the call connection between the electronic equipment and the called electronic equipment is unsuccessful;
a calling number replacing module, configured to, if the reason that the call connection is unsuccessful occurs at the electronic device side and the call request carries the first auxiliary number, sequentially use one of the at least one first auxiliary number as the calling number to continue calling until the call connection is successful, or all the first auxiliary numbers are all used as the calling numbers to call and complete the calling;
and the called number replacement module is used for if the reason that the call connection is unsuccessful occurs at the called electronic equipment side, carrying the second auxiliary number in the call request, sequentially adopting one second auxiliary number in the at least one second auxiliary number as the called number to continuously call until the call connection is successful or all the second auxiliary numbers are all called as the called number and the call is completed.
In a fifth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the calling method according to any one of the first aspect.
In a sixth aspect, an embodiment of the present application provides a network device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the call method according to any one of the second aspects.
In a seventh aspect, this application embodiment provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the calling method according to any one of the first aspect, or which when executed by a processor implement the steps of the calling method according to any one of the second aspect.
In an eighth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the call request sent by the electronic equipment carries at least one first secondary number serving as a standby calling number or at least one second secondary number serving as a standby called number, if the call fails, the standby calling number or the standby called number can be adopted to continue the call, the call success rate is improved, the problem of call failure caused by some reasons can be solved, and the user experience is improved.
Drawings
Fig. 1 is a schematic flowchart illustrating a method for initiating a call from an electronic device to a called electronic device via a network device according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a calling method applied to an electronic device according to a second embodiment of the present application;
fig. 3 is a schematic flowchart of a calling method applied to a network device according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of a calling device according to a fourth embodiment of the present application;
fig. 5 is a schematic structural diagram of a calling device according to a fifth embodiment of the present application;
fig. 6 is a schematic structural diagram of a calling device according to a sixth embodiment of the present application;
fig. 7 is a schematic structural diagram of a calling device according to a seventh embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an eighth embodiment of the present application;
fig. 9 is a schematic structural diagram of a network device according to a ninth embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to a tenth embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a calling method applied to an electronic device according to an embodiment of the present application with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a method for an electronic device to initiate a call to a called electronic device through a network device according to an embodiment of the present application; the calling method comprises the following steps: step 11: receiving a first input, and generating a call request for calling a called electronic device in response to the first input, wherein the call request carries a calling number of the electronic device and a called number of the called electronic device, and the call request also carries at least one first auxiliary number of the electronic device and/or at least one second auxiliary number of the called electronic device;
step 12: sending the call request to a network device;
step 13: receiving a call request which is sent by electronic equipment and used for calling called electronic equipment, wherein the call request carries a calling number of the electronic equipment and a called number of the called electronic equipment, and the call request also carries at least one first auxiliary number of the electronic equipment and/or at least one second auxiliary number of the called electronic equipment;
step 14: if the call connection between the electronic equipment and the called electronic equipment is unsuccessful, determining the reason of the unsuccessful call connection;
step 151: if the reason that the call connection is unsuccessful is at the electronic equipment side and the call request carries the first auxiliary number, one of the at least one first auxiliary number is sequentially adopted as a calling number to continuously call until the call connection is successful or all the first auxiliary numbers are completely used as the calling number to call and the call is completed;
step 152: if the reason that the call connection is unsuccessful is on the called electronic equipment side, and the call request carries the second secondary numbers, one of the at least one second secondary number is sequentially adopted as the called number to continuously call until the call connection is successful, or all the second secondary numbers are all used as the called numbers to call, and the call is completed.
In the embodiment of the application, the call request sent by the electronic equipment carries at least one first secondary number serving as a standby calling number or at least one second secondary number serving as a standby called number, if the call fails, the standby calling number or the standby called number can be adopted to continue the call, the call success rate is improved, the problem of call failure caused by some reasons can be solved, and the user experience is improved.
The following describes a calling method executed by the electronic device side and the network device side, respectively.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a calling method applied to an electronic device according to a second embodiment of the present application; the embodiment of the application provides a calling method and an application thereof in electronic equipment, and the method comprises the following steps:
step 21: receiving a first input, and generating a call request for calling a called electronic device in response to the first input, wherein the call request carries a calling number of the electronic device and a called number of the called electronic device, and the call request also carries at least one first auxiliary number of the electronic device and/or at least one second auxiliary number of the called electronic device;
step 22: and sending the call request to a network device.
In some embodiments of the present application, the electronic device may be a one-card multi-number electronic device, and the same card number stores multiple numbers, including a calling number for sending a call request and at least one first auxiliary number, where the called electronic device may be an electronic device with only one called number; the called electronic equipment which can also be a one-card multi-number electronic equipment comprises a called number and at least one second auxiliary number, and the called number and the at least one second auxiliary number of the called electronic equipment are stored in the same contact account of the electronic equipment; the called number and the at least one second secondary number are respectively corresponding to at least 2 called electronic devices, and the called number and the at least one second secondary number are stored in the same contact account of the electronic devices.
In some embodiments of the present application, the electronic device may be an electronic device with only one calling number, and in this case, the called electronic device may be a one-card-multi-number called electronic device, which includes a called number and at least one second secondary number, and the called number and the at least one second secondary number of the called electronic device are stored in a same contact account of the electronic device; the called electronic equipment can also be in the form of at least 2 called electronic equipments, which respectively correspond to the called number and the at least one second secondary number, and the called number and the at least one second secondary number are stored in the same contact account of the electronic equipment.
In the embodiment of the application, the call request sent by the electronic equipment carries at least one first secondary number serving as a standby calling number or at least one second secondary number serving as a standby called number, and when the electronic equipment or the called electronic equipment contains a plurality of numbers to carry out call conversation, the call success rate is improved, the problem of call failure caused by some reasons can be solved, and the user experience is improved.
In some embodiments of the application, optionally, if the call request further carries at least one second secondary number of the called electronic device, the generating the call request for calling the called electronic device includes:
and taking other numbers which belong to the same contact account with the called number as the second secondary number to generate the call request.
In some embodiments of the application, the at least one second secondary number may be obtained by the electronic device determining a corresponding contact account through the called number, and the user querying another number stored in the contact account; the user may also be implemented by pre-storing the set of target called numbers under the same contact account of the electronic device.
In some embodiments of the present application, the contact account is located in a local address book of the electronic device.
In the embodiment of the application, if the called electronic equipment has a plurality of numbers, the numbers can be associated through a contact account of the electronic equipment; if the current called number fails to be called when voice calling is carried out, other numbers under the account of the same contact person can be used as alternative calls, and the call success rate is improved.
In some embodiments of the present application, optionally, the call request is a SIP message; the generating of the call request for calling the called electronic device includes at least one of:
if the electronic equipment has at least one first auxiliary number, storing the at least one first auxiliary number into a first header field of the SIP message, and encrypting the first header field;
and if the called electronic equipment has at least one second secondary number, storing the at least one second secondary number into a second header field of the SIP message, and encrypting the second header field.
In some embodiments of the present application, if the electronic device has both the calling number and the at least one first secondary number and the call request is an SIP message, storing the at least one first secondary number in a first header of the SIP message and encrypting the first header; if the called electronic equipment has the called number and at least one second secondary number and the calling request is an SIP message, storing the at least one second secondary number into a second header field of the SIP message and encrypting the second header field.
In the embodiment of the application, the call request is an SIP message, at least one first auxiliary number is stored in a first header field of the SIP message, and at least one second auxiliary number is stored in a second header field of the SIP message, so that the network equipment can analyze failure reasons after the call fails, and replace a calling number or a called number to continue the call; the first header field and the second header field are encrypted to better ensure the security of the call.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a calling method applied to a network device according to a third embodiment of the present application; the third embodiment of the present application provides a calling method and is applied to a network device, including:
step 31: receiving a call request which is sent by electronic equipment and used for calling called electronic equipment, wherein the call request carries a calling number of the electronic equipment and a called number of the called electronic equipment, and the call request also carries at least one first auxiliary number of the electronic equipment and/or at least one second auxiliary number of the called electronic equipment;
step 32: if the call connection between the electronic equipment and the called electronic equipment is unsuccessful, determining the reason of the unsuccessful call connection;
step 331: if the reason that the call connection is unsuccessful is at the electronic equipment side and the call request carries the first auxiliary number, one of the at least one first auxiliary number is sequentially adopted as a calling number to continuously call until the call connection is successful or all the first auxiliary numbers are completely used as the calling number to call and the call is completed;
step 332: if the reason that the call connection is unsuccessful is on the called electronic equipment side, and the call request carries the second secondary numbers, one of the at least one second secondary number is sequentially adopted as the called number to continuously call until the call connection is successful, or all the second secondary numbers are all used as the called numbers to call, and the call is completed.
In some embodiments of the application, after receiving a call request, if the call is unsuccessful, the network device detects an approximate location where the abnormality occurs, and if the abnormality occurs on the electronic device side, the network server reads and decrypts a first auxiliary number of a calling party in the SIP message, and sequentially uses the first auxiliary number as the calling party number to continuously perform a telephone call until all the first auxiliary numbers of the calling party are traversed and completed or the call is successful; if the abnormity occurs at the called electronic equipment side, the network server reads and decrypts the called second secondary number in the SIP message, and the second secondary number is sequentially used as the called number, and the telephone call is continuously carried out until all the called second secondary numbers are traversed and completed or the call is successful; if the call is not successfully completed after the traversal is completed, the call is terminated by hanging up the telephone.
In the embodiment of the application, the network device can analyze the failure reason after the call fails, and replace the calling number or the called number to continue the call according to at least one first secondary number or at least one second secondary number carried in the call request, so that the call success rate is improved.
In some embodiments of the present application, optionally, if the call request is an SIP message and the at least one first secondary number is stored in a first header of the SIP message in an encrypted manner, before the continuously calling by sequentially using one of the at least one first secondary number as the calling number, the method further includes:
decrypting a first header field of the SIP message and reading the at least one first secondary number in the first header field;
and/or
If the call request is an SIP message and the at least one second secondary number is stored in the second header field of the SIP message in an encrypted manner, before the step of continuously calling by sequentially using one second secondary number of the at least one second secondary number as the called number, the method further includes:
decrypting a second header field of the SIP message and reading the at least one second secondary number in the second header field.
In the embodiment of the application, the call request is an SIP message, at least one first secondary number is stored in a first header field of the SIP message, at least one second secondary number is stored in a second header field of the SIP message, and the network device can decrypt the first secondary number or the second secondary number in the first header field or the second header field, so that the calling number or the called number can be replaced to continue the call when the call fails, and the success rate of the call is improved.
It should be noted that, in the calling method provided in the embodiment of the present application, the execution subject may be a calling device, or a control module in the calling device for executing the calling method. In the embodiment of the present application, a method for a calling device to execute a call is taken as an example, and the calling device provided in the embodiment of the present application is described.
Referring to fig. 4, fig. 4 is a calling device 4 according to a fourth embodiment of the present application, including:
a first receiving module 401, configured to receive a first input;
a generating module 402, configured to respond to the first input, and generate a call request for calling a called electronic device, where the call request carries a calling number of the electronic device and a called number of the called electronic device, and the call request also carries at least one first auxiliary number of the electronic device and/or at least one second auxiliary number of the called electronic device;
a sending module 403, configured to send the call request to a network device. In the embodiment of the application, the call request sent by the calling device carries at least one first secondary number serving as a standby calling number or at least one second secondary number serving as a standby called number, and when the electronic equipment or the called electronic equipment comprises a plurality of numbers to carry out call conversation, the call success rate is improved, the problem of call failure caused by some reasons can be solved, and the user experience is improved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a calling device 4 according to a fifth embodiment of the present application;
in some embodiments of the application, optionally, if the call request further carries at least one second secondary number of the called electronic device, the generating module 402 is further configured to use another number that belongs to the same contact account as the called number as the second secondary number, and generate the call request.
In the embodiment of the application, if the called electronic equipment has a plurality of numbers, the numbers can be associated through a contact account of the electronic equipment; if the current called number fails to be called when the calling device carries out voice calling, other numbers under the account of the same contact person can be used as alternative calls, and the call success rate is improved.
In some embodiments of the present application, optionally, the call request is a SIP message; the calling device 4 further comprises at least one of:
a first encryption module 404, configured to store, if the electronic device has at least one first sub-number, the at least one first sub-number in a first header field of the SIP message, and encrypt the first header field;
a second encryption module 405, configured to store the at least one second secondary number in a second header field of the SIP message and encrypt the second header field if the called electronic device has the at least one second secondary number.
In the embodiment of the application, the call request sent by the calling device is an SIP message, at least one first secondary number is stored in a first header field of the SIP message, and at least one second secondary number is stored in a second header field of the SIP message, so that the network equipment can analyze failure reasons after the call fails, and replace the calling number or the called number to continue the call; the first header field and the second header field are encrypted to better ensure the security of the call.
The calling device in the embodiment of the present application may be an electronic device, or may be a component, an integrated circuit, or a chip in the electronic device. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The calling device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The calling device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 2, and is not described here again to avoid repetition.
It should be noted that, in the calling method provided in the embodiment of the present application, the execution subject may be a calling device, or a control module in the calling device for executing the calling method. In the embodiment of the present application, a method for a calling device to execute a call is taken as an example, and the calling device provided in the embodiment of the present application is described.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a calling device 5 according to a sixth embodiment of the present application; an embodiment of the present application provides a calling apparatus 5, including:
a second receiving module 501, configured to receive a call request sent by an electronic device and used for calling a called electronic device, where the call request carries a calling number of the electronic device and a called number of the called electronic device, and the call request also carries at least one first auxiliary number of the electronic device and/or at least one second auxiliary number of the called electronic device;
a detecting module 502, configured to determine a reason for unsuccessful call connection if the call connection between the electronic device and the called electronic device is unsuccessful;
a calling number replacing module 503, configured to, if the reason that the call connection is unsuccessful occurs at the electronic device side and the call request carries the first auxiliary number, sequentially use one of the at least one first auxiliary number as the calling number to continue calling until the call connection is successful, or all the first auxiliary numbers are all used as calling numbers to call and complete the calling;
a called number replacing module 504, configured to, if the reason that the call connection is unsuccessful occurs at the called electronic device side, and the call request carries the second secondary number, sequentially adopt one of the at least one second secondary number as the called number to continue to call until the call connection is successful, or all the second secondary numbers are all called as the called number, and complete the call.
In the embodiment of the application, the calling device can analyze the failure reason after the call fails, and replace the calling number or the called number to continue the call according to at least one first auxiliary number or at least one second auxiliary number carried in the call request, so that the call success rate is improved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a calling device 5 according to a seventh embodiment of the present application;
in some embodiments of the present application, optionally, at least one of the following is further included:
a first decryption module 505, configured to decrypt the first header field of the SIP message and read the at least one first secondary number in the first header field if the call request is an SIP message and the at least one first secondary number is stored in the first header field of the SIP message in an encrypted manner;
a second decryption module 506, configured to decrypt the second header field of the SIP message and read the at least one second secondary number in the second header field if the call request is an SIP message and the at least one second secondary number is stored in the second header field of the SIP message in an encrypted manner.
In the embodiment of the application, the call request is an SIP message, at least one first auxiliary number is stored in a first header field of the SIP message, at least one second auxiliary number is stored in a second header field of the SIP message, and the calling device can decrypt the first auxiliary number or the second auxiliary number in the first header field or the second header field, so that the calling device can replace the calling number or the called number to continue calling when the calling fails, and the success rate of calling is improved.
The calling device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 3, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, fig. 8 is a schematic structural diagram of an electronic device 600 according to an eighth embodiment of the present application; the embodiment of the present application further provides an electronic device 600, which includes a processor 602, a memory 601, and a program or an instruction stored in the memory 601 and executable on the processor 602, where the program or the instruction is executed by the processor 602 to implement each process of the second embodiment of the above-mentioned embodiment of the calling method applied to the electronic device, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Optionally, as shown in fig. 9, fig. 9 is a schematic structural diagram of a network device 700 according to a ninth embodiment of the present application; the embodiment of the present application further provides a network device 700, which includes a processor 702, a memory 701, and a program or an instruction stored in the memory 701 and capable of running on the processor 702, where the program or the instruction is executed by the processor 702 to implement each process of the third embodiment of the call method applied to the network device, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 80 includes, but is not limited to: radio frequency unit 81, network module 82, audio output unit 83, input unit 84, sensor 85, display unit 86, user input unit 87, interface unit 88, memory 89, and processor 810.
Those skilled in the art will appreciate that the electronic device 80 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 810 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
Wherein the input unit 84 is configured to receive a first input;
a processor 810, configured to generate, in response to the first input, a call request for calling a called electronic device, where the call request carries a calling number of the electronic device and a called number of the called electronic device, and the call request also carries at least one first auxiliary number of the electronic device and/or at least one second auxiliary number of the called electronic device;
and the radio frequency unit 81 is configured to send the call request to a network device.
Optionally, if the call request further carries at least one second secondary number of the called electronic device, the processor 810 is further configured to use another number that belongs to the same contact account as the called number as the second secondary number, and generate the call request.
Optionally, the call request is an SIP message;
the generating of the call request for calling the called electronic device includes at least one of:
the processor 810 is further configured to store the at least one first sub-number into a first header field of the SIP message and encrypt the first header field if the electronic device has the at least one first sub-number;
the processor 810 is further configured to store the at least one second secondary number in a second header field of the SIP message and encrypt the second header field if the called electronic device has the at least one second secondary number.
In the embodiment of the application, the call request sent by the electronic equipment carries at least one first secondary number serving as a standby calling number or at least one second secondary number serving as a standby called number, and when the electronic equipment or the called electronic equipment contains a plurality of numbers to carry out call conversation, the call success rate is improved, the problem of call failure caused by some reasons can be solved, and the user experience is improved.
It should be understood that in the embodiment of the present application, the input Unit 84 may include a Graphics Processing Unit (GPU) 841 and a microphone 842, and the Graphics Processing Unit 841 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 86 may include a display panel 861, and the display panel 861 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 87 includes a touch panel 871 and other input devices 872. Touch panel 871, also referred to as a touch screen. The touch panel 871 may include two parts of a touch detection device and a touch controller. Other input devices 872 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 89 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and the program or the instruction, when executed by the processor, implements the processes of the embodiment of the call method applied to the electronic device, or the program or the instruction, when executed by the processor, implements the processes of the embodiment of the call method applied to the network device, and can achieve the same technical effects, and in order to avoid repetition, the detailed description is omitted here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned calling method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (12)
1. A calling method applied to an electronic device is characterized by comprising the following steps:
receiving a first input;
responding to the first input, generating a call request for calling a called electronic device, wherein the call request carries a calling number of the electronic device and a called number of the called electronic device, and the call request also carries at least one first auxiliary number of the electronic device and/or at least one second auxiliary number of the called electronic device;
sending the call request to a network device;
if the call connection between the electronic equipment and the called electronic equipment is unsuccessful, determining the reason of the unsuccessful call connection;
if the reason that the call connection is unsuccessful is at the electronic equipment side and the call request carries the first auxiliary number, one of the at least one first auxiliary number is sequentially adopted as a calling number to continuously call until the call connection is successful or all the first auxiliary numbers are completely used as the calling number to call and the call is completed;
if the reason that the call connection is unsuccessful is on the called electronic equipment side, and the call request carries the second secondary numbers, one of the at least one second secondary number is sequentially adopted as the called number to continuously call until the call connection is successful, or all the second secondary numbers are all used as the called numbers to call, and the call is completed.
2. The calling method according to claim 1, wherein if the calling request further carries at least one second secondary number of the called electronic device, the generating the calling request for calling the called electronic device comprises:
and taking other numbers which belong to the same contact account with the called number as the second secondary number to generate the call request.
3. The calling method according to claim 1, wherein the call request is a SIP message; the generating of the call request for calling the called electronic device includes at least one of:
if the electronic equipment has at least one first auxiliary number, storing the at least one first auxiliary number into a first header field of the SIP message, and encrypting the first header field;
and if the called electronic equipment has at least one second secondary number, storing the at least one second secondary number into a second header field of the SIP message, and encrypting the second header field.
4. A calling method applied to a network device is characterized by comprising the following steps:
receiving a call request which is sent by electronic equipment and used for calling called electronic equipment, wherein the call request carries a calling number of the electronic equipment and a called number of the called electronic equipment, and the call request also carries at least one first auxiliary number of the electronic equipment and/or at least one second auxiliary number of the called electronic equipment;
if the call connection between the electronic equipment and the called electronic equipment is unsuccessful, determining the reason of the unsuccessful call connection;
if the reason that the call connection is unsuccessful is at the electronic equipment side and the call request carries the first auxiliary number, one of the at least one first auxiliary number is sequentially adopted as a calling number to continuously call until the call connection is successful or all the first auxiliary numbers are completely used as the calling number to call and the call is completed;
if the reason that the call connection is unsuccessful is on the called electronic equipment side, and the call request carries the second secondary numbers, one of the at least one second secondary number is sequentially adopted as the called number to continuously call until the call connection is successful, or all the second secondary numbers are all used as the called numbers to call, and the call is completed.
5. The calling method according to claim 4,
if the call request is an SIP message and the at least one first minor number is stored in the first header field of the SIP message in an encrypted manner, before the continuously calling by sequentially using one first minor number of the at least one first minor number as the calling number, the method further includes:
decrypting a first header field of the SIP message and reading the at least one first secondary number in the first header field;
and/or
If the call request is an SIP message and the at least one second secondary number is stored in the second header field of the SIP message in an encrypted manner, before the step of continuously calling by sequentially using one second secondary number of the at least one second secondary number as the called number, the method further includes:
decrypting a second header field of the SIP message and reading the at least one second secondary number in the second header field.
6. A calling device, comprising: the first receiving module is used for receiving a first input;
a generating module, configured to respond to the first input, and generate a call request for calling a called electronic device, where the call request carries a calling number of the electronic device and a called number of the called electronic device, and the call request also carries at least one first auxiliary number of the electronic device and/or at least one second auxiliary number of the called electronic device;
a sending module, configured to send the call request to a network device;
if the call connection between the electronic equipment and the called electronic equipment is unsuccessful, determining the reason of the unsuccessful call connection;
if the reason that the call connection is unsuccessful is at the electronic equipment side and the call request carries the first auxiliary number, one of the at least one first auxiliary number is sequentially adopted as a calling number to continuously call until the call connection is successful or all the first auxiliary numbers are completely used as the calling number to call and the call is completed;
if the reason that the call connection is unsuccessful is on the called electronic equipment side, and the call request carries the second secondary numbers, one of the at least one second secondary number is sequentially adopted as the called number to continuously call until the call connection is successful, or all the second secondary numbers are all used as the called numbers to call, and the call is completed.
7. The calling device according to claim 6, wherein if the call request further carries at least one second secondary number of the called electronic device, the generating module is further configured to generate the call request by using, as the second secondary number, another number that belongs to the same contact account as the called number.
8. The calling device of claim 6, wherein the call request is a SIP message; the calling device further comprises at least one of:
the first encryption module is used for storing at least one first sub-number into a first header field of the SIP message and encrypting the first header field if the electronic equipment has the at least one first sub-number;
and the second encryption module is used for storing the at least one second secondary number into a second header field of the SIP message and encrypting the second header field if the called electronic equipment has the at least one second secondary number.
9. A calling device, comprising:
a second receiving module, configured to receive a call request sent by an electronic device and used for calling a called electronic device, where the call request carries a calling number of the electronic device and a called number of the called electronic device, and the call request also carries at least one first auxiliary number of the electronic device and/or at least one second auxiliary number of the called electronic device;
the detection module is used for determining the reason of unsuccessful call connection if the call connection between the electronic equipment and the called electronic equipment is unsuccessful;
a calling number replacing module, configured to, if the reason that the call connection is unsuccessful occurs at the electronic device side and the call request carries the first auxiliary number, sequentially use one of the at least one first auxiliary number as the calling number to continue calling until the call connection is successful, or all the first auxiliary numbers are all used as the calling numbers to call and complete the calling;
and the called number replacement module is used for if the reason that the call connection is unsuccessful occurs at the called electronic equipment side, carrying the second auxiliary number in the call request, sequentially adopting one second auxiliary number in the at least one second auxiliary number as the called number to continuously call until the call connection is successful or all the second auxiliary numbers are all called as the called number and the call is completed.
10. The calling device of claim 9, further comprising at least one of:
a first decryption module, configured to decrypt the first header field of the SIP message and read the at least one first secondary number in the first header field if the call request is an SIP message and the at least one first secondary number is stored in the first header field of the SIP message in an encrypted manner;
and the second decryption module is used for decrypting the second head domain of the SIP message and reading the at least one second secondary number in the second head domain if the call request is the SIP message and the at least one second secondary number is stored in the second head domain of the SIP message in an encrypted manner.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the calling method of any of claims 1-3.
12. A network device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the call method according to any one of claims 4 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010706485.1A CN111818469B (en) | 2020-07-21 | 2020-07-21 | Calling method, calling device, electronic equipment and network equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010706485.1A CN111818469B (en) | 2020-07-21 | 2020-07-21 | Calling method, calling device, electronic equipment and network equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111818469A CN111818469A (en) | 2020-10-23 |
CN111818469B true CN111818469B (en) | 2022-02-25 |
Family
ID=72861732
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010706485.1A Active CN111818469B (en) | 2020-07-21 | 2020-07-21 | Calling method, calling device, electronic equipment and network equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111818469B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112601185A (en) * | 2020-12-10 | 2021-04-02 | 海能达通信股份有限公司 | Call service processing method, device, multimode interphone and storage medium |
CN113726965B (en) * | 2021-09-10 | 2024-07-23 | 中电信数智科技有限公司 | Continuous paging method, device, electronic equipment and storage medium |
CN113993092B (en) * | 2021-11-02 | 2023-09-22 | 维沃移动通信有限公司 | Emergency call method and device, mobile terminal and network equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102202267A (en) * | 2010-03-22 | 2011-09-28 | 中兴通讯股份有限公司 | Calling method, equipment and communication system |
CN102624996A (en) * | 2011-01-30 | 2012-08-01 | 中国移动通信集团公司 | Realization method of called one number service and system thereof, and service control point |
CN106302962A (en) * | 2015-05-27 | 2017-01-04 | 中兴通讯股份有限公司 | A kind of method and apparatus reminding contact method |
CN110830934A (en) * | 2019-11-13 | 2020-02-21 | 中国联合网络通信集团有限公司 | Call failure processing method and device |
-
2020
- 2020-07-21 CN CN202010706485.1A patent/CN111818469B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102202267A (en) * | 2010-03-22 | 2011-09-28 | 中兴通讯股份有限公司 | Calling method, equipment and communication system |
CN102624996A (en) * | 2011-01-30 | 2012-08-01 | 中国移动通信集团公司 | Realization method of called one number service and system thereof, and service control point |
CN106302962A (en) * | 2015-05-27 | 2017-01-04 | 中兴通讯股份有限公司 | A kind of method and apparatus reminding contact method |
CN110830934A (en) * | 2019-11-13 | 2020-02-21 | 中国联合网络通信集团有限公司 | Call failure processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN111818469A (en) | 2020-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108769027B (en) | Secure communication method, device, mobile terminal and storage medium | |
CN110417543B (en) | Data encryption method, device and storage medium | |
CN111818469B (en) | Calling method, calling device, electronic equipment and network equipment | |
CN104954126B (en) | Sensitive operation verification method, device and system | |
CN104573548A (en) | Information encryption and decryption methods and devices and terminal | |
CN113285866B (en) | Information sending method and device and electronic equipment | |
CN111669744B (en) | Information processing method and device and electronic equipment | |
CN114553612B (en) | Data encryption and decryption method and device, storage medium and electronic equipment | |
CN112235412B (en) | Message processing method and device | |
CN114629649A (en) | Data processing method and device based on cloud computing and storage medium | |
CN112637195B (en) | Method and device for controlling electronic equipment and electronic equipment | |
CN109525666A (en) | A kind of data back up method and mobile terminal | |
CN113010918A (en) | Information processing method and device | |
CN113835820A (en) | Graphic code display method and device | |
WO2023241613A1 (en) | Call establishment method, device and system, terminal, and readable storage medium | |
CN113364915B (en) | Information display method and device and electronic equipment | |
CN116132456A (en) | Data transmission method, device, equipment and storage medium | |
WO2022199615A1 (en) | Information display method and apparatus, and electronic device | |
CN116455727A (en) | Network anomaly recovery method, device, electronic equipment, server and storage medium | |
CN112270004B (en) | Content encryption method and device and electronic equipment | |
CN110717163B (en) | Interaction method and terminal equipment | |
CN113965640A (en) | Message processing method and device | |
CN114327706A (en) | Information sharing method and device, electronic equipment and readable storage medium | |
CN112988426A (en) | Message processing method and device | |
CN112996138A (en) | Communication establishing method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |