Detailed Description
The embodiment of the application provides a method, a device and a system for transferring calls among mobile phones.
In order to make those skilled in the art better understand the technical solutions in the present application, 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 only a part of the embodiments of the present application, and not all of the embodiments. 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.
Fig. 1 is a flowchart of a method for transferring a call between mobile phones according to an embodiment of the present application, where a processing procedure of the server for transferring a call between mobile phones is described in the flowchart, and the server receives registration information sent by a mobile phone, and distributes the registration information of the mobile phone according to a preset binding relationship, so as to achieve a purpose of transferring a call between mobile phones, where the method specifically includes:
step 101, receiving registration information sent by a mobile phone.
And 102, sending the registration information to a pre-bound mobile phone.
As an embodiment of the present application, the registration information includes information that the mobile phone establishes data communication, and may include, for example, a MAC address (physical address), an IP address, and the like of the mobile phone.
As an embodiment of the application, the registration information further includes an identifier of a wireless router in a wifi environment where the mobile phone is located, where the identifier may include a MAC address, an IP address, or a Service Set Identifier (SSID) of the wireless router.
As an embodiment of the present application, after sending the registration information to the pre-bound mobile phone, the method further includes:
receiving a ringing request of a transfer mobile phone, and sending the ringing request to a bound mobile phone;
and after receiving an answering instruction of the control-end mobile phone, sending the answering instruction to the switching mobile phone, and sending a ringing stopping instruction to other bound mobile phones.
The switching mobile phone is a mobile phone receiving a call, the control end mobile phone is one of the bound mobile phones, the control end mobile phone sends a control instruction to the switching mobile phone to control the switching mobile phone to answer or hang up the call, when the switching mobile phone receives the call, the server sends a ringing request to the mobile phone bound with the switching mobile phone according to the ringing request sent by the switching mobile phone, and after a certain bound mobile phone sends an answering instruction, the bound mobile phone is the control end mobile phone, the server sends a ringing stopping instruction to other bound mobile phones to stop ringing of other bound mobile phones, when a plurality of mobile phones are bound together, any mobile phone can be the switching mobile phone or the control end mobile phone, or according to the preset of a user, a certain mobile phone is the control end mobile phone, and some or a certain mobile phone is the switching mobile phone.
The answering instruction can comprise an instruction for answering a call and an identifier of a control-end mobile phone for sending the answering instruction, the identifier of the control-end mobile phone can comprise the model of the mobile phone, an International Mobile Subscriber Identity (IMSI), an International Mobile Equipment Identity (IMEI) or owner information, the switching mobile phone can search corresponding registration information according to the identifier of the control-end mobile phone, a data communication connection with the control-end mobile phone is established by utilizing the registration information, and voice information of a user is transmitted in the data communication process.
As an embodiment of the present application, after sending the registration information to the pre-bound mobile phone, the method further includes:
judging whether the transfer mobile phone and the bound mobile phone are in the same wireless local area network or not according to the identifier of the wireless router;
and if the mobile phones are in the same wireless local area network, sending a ringing request to the corresponding bound mobile phones.
In some scenes, if the bound mobile phone and the transfer mobile phone are not in the same wireless local area network, a ringing request is not sent to the bound mobile phone which is not in the same wireless local area network; in other scenarios, if the bound handset and the transit handset are not in the same wlan, a ring request is also sent to the bound handset that is not in the same wlan.
By the embodiment of the method, the registration information of the mobile phones can be shared to the mobile phones bound together through the server, so that the mobile phones bound together can realize mutual data communication, and therefore, the mobile phones answer calls in a data communication mode, and finally, call transfer among the mobile phones is realized.
Fig. 2 is a flowchart of a method for transferring a call between mobile phones according to an embodiment of the present application, where the method describes a method for transferring a call between mobile phones by transferring a mobile phone to another mobile phone in a data communication manner when a mobile phone is called, and can also implement a purpose that a mobile phone performs a call dialing through a transfer mobile phone to transfer a call between mobile phones.
The method comprises a step 201 of sending local registration information to a server and receiving the registration information of the bound mobile phone sent by the server.
And 202, establishing data communication connection with the bound mobile phone according to the registration information.
And step 203, carrying out a call operation according to a control instruction of a certain bound mobile phone.
And step 204, forwarding the voice information of the two parties of the call through the data communication connection.
As an embodiment of the present application, the registration information includes information that the mobile phone establishes data communication, and may include, for example, a MAC address (physical address), an IP address, and the like of the mobile phone.
As an embodiment of the present application, performing a call operation according to a control instruction of a certain bound mobile phone further includes:
when receiving a call, sending a ringing request to ring the mobile phone bound with the mobile phone;
and answering the call according to an answering instruction sent by a bound mobile phone, wherein the mobile phone sending the answering instruction is taken as a control terminal mobile phone.
The ringing request comprises a ringing instruction, and information such as a telephone number of a calling party, a contact name and the like.
As an embodiment of the present application, forwarding voice information of both parties of a call through the data communication connection further includes:
and according to the answering instruction and the data communication connection, transmitting the voice information of the calling party to the control terminal mobile phone, and transmitting the voice information generated by the response of the control terminal mobile phone to the calling party.
The answering instruction can include an instruction for answering a call and an identifier of a control-end mobile phone for sending the answering instruction, the identifier of the control-end mobile phone can include the model of the mobile phone, an International Mobile Subscriber Identity (IMSI), an International Mobile Equipment Identity (IMEI) or owner information, the switching mobile phone can search corresponding registration information according to the identifier of the control-end mobile phone, and a data communication connection for transmitting user voice information with the control-end mobile phone is established by utilizing the registration information.
As an embodiment of the present application, when a call is received, issuing a ring request, and causing a handset bound to a native device to ring further includes:
and when a call is received, sending a ringing request to a server, and ringing the bound mobile phone according to the ringing request sent by the server.
In this embodiment, the registration information, the ringing instruction, and the answering instruction between the mobile phones all need to be transferred and transmitted through the server, and the data communication connection between the switching mobile phone and the control-end mobile phone can transmit other control instructions, such as on-hook, call hold, and the like, and can also transmit voice information of both parties in a call, where the local mobile phone is the switching mobile phone, the transmitted voice information includes voice information generated by the calling party and voice information generated by the control-end mobile phone, and the switching mobile phone only plays a role in transferring. The answering instruction can comprise an identifier of the mobile phone, and corresponding registration information can be matched according to the identifier, so that data communication connection between two parties can be established according to the registration information.
As an embodiment of the present application, when a call is received, issuing a ring request, and causing a handset bound to a native device to ring further includes:
and when a call is received, sending a ringing request to the bound mobile phone according to the registration information, and ringing the bound mobile phone according to the ringing request.
In this embodiment, the ring request and the answer instruction between the mobile phones are directly transmitted by the mobile phones, after the server distributes the registration information of each mobile phone in the bound mobile phones to all the mobile phones in the bound relationship, a data communication connection can be established between the transfer mobile phone and the bound mobile phones according to the registration information, the control instruction can be directly transmitted between the transfer mobile phone and the mobile phone at the control end, such as the ring request, the answer instruction, the hang-up, the call hold and the like, and the voice information of the two parties can also be transmitted, wherein the local mobile phone is the transfer mobile phone, the transmitted voice information includes the voice information generated by the calling party and the voice information generated by the mobile phone at the control end, and the transfer mobile phone only plays a transfer role. The answering instruction can comprise an identifier of the mobile phone, and corresponding registration information can be matched according to the identifier, so that data communication connection between two parties can be established according to the registration information.
The above embodiments describe that when one of the bound mobile phones receives a call, all the bound mobile phones ring to prompt, so as to achieve the purpose of call forwarding, where ring of all the bound mobile phones can be achieved by directly transmitting a ring request between the mobile phones, or by transmitting a ring request through a server.
As an embodiment of the present application, performing a call operation according to a control instruction of a certain bound mobile phone further includes:
when a call is dialed, receiving a dialing instruction of a certain bound mobile phone, and taking the mobile phone which sends the dialing instruction as a control terminal mobile phone;
and executing the dialing instruction.
And when the dialing instruction is received, the control terminal mobile phone is required to be subjected to corresponding steps of authorization, verification and the like to improve the security of calling the certain mobile phone to make a call.
As an embodiment of the present application, forwarding voice information of both parties of a call through the data communication connection further includes:
and transmitting the voice information of the control terminal mobile phone to a called party according to the dialing instruction and the data communication connection, and transmitting the voice information generated by the response of the called party to the control terminal mobile phone.
As an embodiment of the present application, the establishing a data communication connection with a bound mobile phone according to the registration information further includes:
judging whether the local mobile phone and the bound mobile phone are in the same wireless local area network or not according to the registration information;
if the mobile phone is in the same wireless local area network, establishing data communication connection with the bound mobile phone;
otherwise, the data communication connection is not established with the binding mobile phone.
The method includes the steps that whether the mobile phones are in the same wireless local area network or not can be judged according to registration information of a local mobile phone and a bound mobile phone, for example, whether the mobile phones are in the same wireless local area network or not is judged through identifiers of wireless routers in the registration information, if the identifiers of the wireless routers in the registration information are the same, the mobile phones are located in the same wireless local area network, the mobile phones located in the same wireless local area network can be connected in a data communication mode through a wifi environment, and therefore data such as control commands and voice information can be transmitted.
In the embodiment of the application, data communication connection can be established between mobile phones according to information such as the IP address or the MAC address of the other party without judging whether the mobile phones are in the same wireless local area network.
The call forwarding method can be operated in any one of the bound mobile phones, and the mobile phones are equivalent to each other and can be mutually used as a forwarding mobile phone and a control terminal mobile phone.
Through the embodiment, the mobile phone can be used for call forwarding, the mobile phone for forwarding the call and the dialed voice information can be forwarded to another mobile phone, the functions of answering and dialing the call of the mobile phone are shared in a network, and the application of call forwarding between the mobile phones is provided, so that the user experience is improved.
Fig. 3 is a flowchart of a method for transferring a call between mobile phones according to an embodiment of the present application, where the method describes a method for transferring a call between mobile phones by a control-end mobile phone, and when a mobile phone is called, the method sends a control instruction for controlling the transfer mobile phone to answer the call, and transfers voice information between the control-end mobile phone and a calling party through the transfer call to implement call transfer between the mobile phones, and when the control-end mobile phone sends a dialing instruction, controls the transfer mobile phone to dial the call, and also transfers voice information of both parties of the call through the transfer mobile phone to implement call transfer.
The method comprises a step 301 of sending local registration information to a server and receiving the registration information of the bound mobile phone sent by the server.
And step 302, establishing data communication connection with the bound mobile phone according to the registration information.
Step 303, sending a control instruction to the transfer mobile phone in the bound mobile phones.
And 304, forwarding the voice information through the transfer mobile phone to communicate with the other party.
As an embodiment of the present application, the registration information includes information that the mobile phone establishes data communication, and may include, for example, a MAC address (physical address), an IP address, and the like of the mobile phone.
As an embodiment of the present application, sending a control instruction to a transit handset in the bound handsets further includes:
receiving a ring request;
and sending an answering instruction to the transfer mobile phone.
All the bound mobile phones will ring when receiving the ring request, wherein the mobile phone sending the answering command is the control end mobile phone, all the mobile phones in the bound relation can send the control command, and the mobile phone sending the control command is the control end mobile phone.
As an embodiment of the present application, the receiving the alarm request further includes receiving an alarm request transmitted from a server; or to receive a ring request sent from a bound handset.
As an embodiment of the present application, sending a control instruction to a transit handset in the bound handsets further includes:
and sending a dialing instruction to the transfer mobile phone.
As an embodiment of the present application, the establishing a data communication connection with a bound mobile phone according to the registration information further includes:
judging whether the local mobile phone and the bound mobile phone are in the same wireless local area network or not according to the registration information;
if the mobile phone is in the same wireless local area network, establishing data communication connection with the bound mobile phone;
otherwise, the data communication connection is not established with the binding mobile phone.
Through the embodiment, the mobile phone can be used for switching the call, the mobile phone at the control end can send a control instruction to the switching mobile phone, so that the switching mobile phone is controlled to answer the call or hang up the call or dial the call, the voice information of the call opposite side sent by the switching mobile phone is received through the data communication connection with the switching mobile phone, and the voice information of the mobile phone at the control end is sent to the switching mobile phone, so that the two parties of the call can carry out voice communication through the switching mobile phone, the functions of answering and dialing the call of the mobile phone are shared through a network, the application of call switching between the mobile phones is provided, and the user experience is improved.
Fig. 4 is a schematic structural diagram of a server according to an embodiment of the present application, where a technical scheme for distributing and binding mobile phone registration information by the server is described in the figure, each functional unit in the server may be implemented by a programmable logic device or a computer, and is connected to a mobile phone through a data network, and specifically includes:
the receiving unit 401 is configured to receive registration information sent by a mobile phone.
A sending unit 402, configured to send the registration information to a pre-bound cell phone.
As an embodiment of the present application, the registration information includes information that the mobile phone establishes data communication, and may include, for example, a MAC address (physical address), an IP address, and the like of the mobile phone.
As an embodiment of the application, the registration information further includes an identifier of a wireless router in a wifi environment where the mobile phone is located, where the identifier may include a MAC address, an IP address, or a Service Set Identifier (SSID) of the wireless router.
As an embodiment of the present application, the packet processing unit 403 is further configured to receive a ring request of the transit mobile phone, and send the ring request to the bound mobile phone; and after receiving an answering instruction of the control-end mobile phone, sending the answering instruction to the switching mobile phone, and sending a ringing stopping instruction to other bound mobile phones.
As an embodiment of the present application, the processing unit is further configured to determine, according to the identifier of the wireless router, whether the transit handset and the bound handset are in the same wireless local area network; and if the mobile phones are in the same wireless local area network, sending a ringing request to the corresponding bound mobile phones.
Through the embodiment of the server, the registration information of the mobile phones can be shared to the mobile phones bound together through the server, so that the mobile phones bound together can realize mutual data communication, and therefore, the mobile phones answer calls mutually in a data communication mode, and finally, call transfer among the mobile phones is realized.
Fig. 5 is a schematic structural diagram of a transit telephone handset according to an embodiment of the present application, in which a structure of the transit handset is described, where the transit handset includes hardware such as a touch screen, a radio frequency unit, a battery, a housing, a processor, a memory, a camera, a microphone, a speaker, and the like as in a handset in the prior art, and the transit handset further includes the following functional units, where the functional units may be implemented by a programmable logic device or may be formed by a logic device in a chip that performs a specific functional task, and specifically includes:
a registration unit 501, configured to send local registration information to a server, and receive registration information of a bound mobile phone sent by the server;
a communication establishing unit 502, configured to establish a data communication connection with a bound mobile phone according to the registration information;
a control unit 503, configured to perform a call operation according to a control instruction of a certain bound mobile phone;
a forwarding unit 504, configured to forward the voice information of the two parties in a call through the data communication connection.
As an embodiment of the present application, the registration information includes information that the mobile phone establishes data communication, and may include, for example, a MAC address (physical address), an IP address, and the like of the mobile phone.
As an embodiment of the present application, the control unit is further configured to, when a call is received, send a ring request to ring a mobile phone bound to the mobile phone; and answering the call according to an answering instruction sent by a bound mobile phone, wherein the mobile phone sending the answering instruction is taken as a control terminal mobile phone.
As an embodiment of the present application, the forwarding unit is further configured to transmit voice information of a calling party to the control-end mobile phone according to the answering instruction and the data communication connection, and transmit voice information generated by a response of the control-end mobile phone to the calling party.
As an embodiment of the present application, the control unit is further configured to send a ring request to a server when a call is received, and the bound mobile phone rings according to the ring request sent by the server.
As an embodiment of the present application, the control unit is further configured to, when a call is received, send a ring request to a bound mobile phone according to the registration information, where the bound mobile phone rings according to the ring request.
As an embodiment of the present application, the control unit is further configured to receive a dialing instruction of a certain bound mobile phone when a call is dialed, and use the mobile phone sending the dialing instruction as a control-end mobile phone; and executing the dialing instruction.
As an embodiment of the present application, the forwarding unit is further configured to transmit voice information of the control-side mobile phone to a called party according to the dialing instruction and the data communication connection, and transmit voice information generated by a response of the called party to the control-side mobile phone.
As an embodiment of the present application, the establishing communication unit is further configured to determine whether the local device and the bound mobile phone are in the same wlan according to the registration information; if the mobile phone is in the same wireless local area network, establishing data communication connection with the bound mobile phone; otherwise, the data communication connection is not established with the binding mobile phone.
Through the embodiment, the mobile phone can be used for call forwarding, the mobile phone for forwarding the call and the dialed voice information can be forwarded to another mobile phone, the functions of answering and dialing the call of the mobile phone are shared in a network, and the application of call forwarding between the mobile phones is provided, so that the user experience is improved.
Fig. 6 is a schematic structural diagram of a control-end mobile phone according to an embodiment of the present application, in which a functional structure of the control-end mobile phone for answering or dialing a call through a transfer mobile phone is described, the control-end mobile phone includes hardware such as a touch screen, a radio frequency unit, a battery, a housing, a processor, a memory, a camera, a microphone, and a speaker as in a mobile phone in the prior art, and the transfer mobile phone further includes the following functional units, which may be implemented by a programmable logic device or formed by a logic device in a chip for executing a specific functional task, specifically including:
a registration unit 601, configured to send local registration information to a server, and receive registration information of a bound mobile phone sent by the server;
a communication establishing unit 602, configured to establish a data communication connection with a bound mobile phone according to the registration information;
an instruction unit 603, configured to send a control instruction to a transit handset in the bound handsets;
and a call unit 604, configured to forward the voice information to communicate with the other party through the transfer handset.
As an embodiment of the present application, the registration information includes information that the mobile phone establishes data communication, and may include, for example, a MAC address (physical address), an IP address, and the like of the mobile phone.
As an embodiment of the present application, the instruction unit is further configured to receive a ring request; and sending an answering instruction to the transfer mobile phone.
As an embodiment of the present application, the instruction unit is further configured to receive an alarm request sent from a server; or to receive a ring request sent from a bound handset.
As an embodiment of the present application, the instruction unit is further configured to issue a dialing instruction to the transit handset.
As an embodiment of the present application, the communication establishing unit is further configured to determine whether the local device and the bound mobile phone are in the same wlan according to the registration information; if the mobile phone is in the same wireless local area network, establishing data communication connection with the bound mobile phone; otherwise, the data communication connection is not established with the binding mobile phone.
Through the embodiment, the mobile phone can be used for switching the call, the mobile phone at the control end can send a control instruction to the switching mobile phone, so that the switching mobile phone is controlled to answer the call or hang up the call or dial the call, the voice information of the call opposite side sent by the switching mobile phone is received through the data communication connection with the switching mobile phone, and the voice information of the mobile phone at the control end is sent to the switching mobile phone, so that the two parties of the call can carry out voice communication through the switching mobile phone, the functions of answering and dialing the call of the mobile phone are shared through a network, the application of call switching between the mobile phones is provided, and the user experience is improved.
Fig. 7 is a schematic structural diagram of a system for transferring calls between mobile phones according to an embodiment of the present application, where a system structure for transferring calls between mobile phones is described in the present drawing, where the system includes a server, a transfer mobile phone, and a control-end mobile phone, where the transfer mobile phone and the control-end mobile phone are both in a binding relationship, any mobile phone in the binding relationship may be a transfer mobile phone and a control-end mobile phone, and the drawing includes multiple mobile phones in a binding relationship, and when one mobile phone sends a control instruction, the mobile phone is a control-end mobile phone, and the system specifically includes:
the server 701 is used for receiving registration information sent by a mobile phone and sending the registration information to a pre-bound mobile phone;
the switching mobile phone 702 is used for sending local registration information to a server, receiving registration information of a bound mobile phone sent by the server, establishing data communication connection with the bound mobile phone according to the registration information, carrying out call operation according to a control instruction of a certain bound mobile phone, and forwarding voice information of both parties of the call through the data communication connection;
the control terminal mobile phone 703 is configured to send local registration information to the server, receive registration information of the bound mobile phone sent by the server, establish data communication connection with the bound mobile phone according to the registration information, send a control instruction to a transfer mobile phone in the bound mobile phone, and forward voice information through the transfer mobile phone to perform a call with a call party.
The server, the switching mobile phone and the control end mobile phone in the system all comprise all technical characteristics of corresponding devices in the embodiment, wherein when the server judges whether the bound mobile phones are in the same wireless local area network, the switching mobile phone and the control end mobile phone do not need to carry out the same judgment; or, when the switching mobile phone and the control terminal mobile phone judge whether the bound mobile phone is in the same wireless local area network, the server does not need to perform the same judgment.
Through the system of the embodiment of the application, the call forwarding can be carried out through the mobile phone, the functions of answering and dialing the call of the mobile phone are shared through the network, and the application of the call forwarding between the mobile phones is provided, so that the user experience is improved.
Fig. 8 is a system data flow diagram of a call forwarding between mobile phones according to an embodiment of the present application, where a situation that a forwarding mobile phone and a control-end mobile phone are in the same wireless lan is described in the diagram, and a scenario of the present embodiment includes a mobile phone a, a mobile phone B, and a mobile phone C that have a mutual binding relationship, and may further include more mobile phones, but for simplicity and clarity, the present embodiment only uses 3 mobile phones as an illustration, and further includes a server in the internet, and a calling party initiating a call.
Specifically, step 801 is included, in which all the mobile phones send registration information to the server for storage.
In this step, each of the mobile phones a, B, and C is connected to the same wireless router and located in the same wireless lan, and each of the mobile phones sends its own registration information to a server in the network through the wireless lan, where the registration information includes the name of the mobile phone (i.e., the mobile phone a, B, or C), an IP address in the wireless lan, for example, the IP address of the mobile phone a is 192.168.0.2, the IP address of the mobile phone B is 192.168.0.3, and the IP address of the mobile phone C is 192.168.0.4, and further includes an MAC address of the connected wireless router.
Step 802, the server judges whether the mobile phones in the binding relationship are all in the same wireless local area network according to the registration information of the mobile phones, if so, the step 803 is entered, otherwise, the server does not send the registration information to the mobile phones which are not in the same wireless local area network.
In this step, the server judges whether the mobile phones are in the same wireless local area network according to the MAC addresses of the wireless routers in the registration information, when the MAC addresses of the wireless routers in the registration information are the same, the mobile phones are in the same wireless local area network, otherwise, the mobile phones are not in the same wireless local area network.
In step 803, the server sends the received registration information to the mobile phone in the same wireless lan.
In this step, the registration information of the mobile phone B and the mobile phone C is sent to the mobile phone a, the registration information of the mobile phone a and the mobile phone C is sent to the mobile phone B, and the registration information of the mobile phone a and the mobile phone B is sent to the mobile phone C, so that the registration information of all the mobile phones in the binding relationship is stored in the mobile phone a, the mobile phone B and the mobile phone C.
And step 804, all the mobile phones establish data communication connection according to the registration information.
In this step, the mobile phone a establishes a data communication connection, for example, a socket connection, with the mobile phone B and the mobile phone C through the IP addresses of the mobile phone B and the mobile phone C, and this connection process may be initiated by any mobile phone in the wireless lan, and data such as a control command and voice information may be transmitted between any two mobile phones through this data communication connection.
The method can also comprise the processes of mutual authentication, verification and the like so as to ensure the security of the connected mobile phone.
Step 805, the caller initiates a call to handset a.
In this step, the caller may be a mobile phone or a fixed phone, which is not limited herein.
Handset a sends a ring request to the bound handset, step 806.
In this step, according to the preset, after the mobile phone a rings for a certain number of tones, a ring request may be sent to the mobile phone B and the mobile phone C in the binding relationship, if the mobile phone a is answered by the user during the ring number of tones, the subsequent call forwarding step may not be triggered, and if the mobile phone a is not connected after the ring number of tones, the ring request is sent to the mobile phone B and the mobile phone C connected to the mobile phone a, where the ring request includes an identifier of the mobile phone a or a user name using the mobile phone a, such as a ring command and contents of a mobile phone model and owner information, and at this time, the mobile phone B and the mobile phone C ring according to the ring command.
In step 807, the user sends an answering command through the mobile phone B.
In this step, the user can control any mobile phone in the binding relationship to send an answering command, and the answering command of the mobile phone B is transmitted through the secure data communication connection between the mobile phone a and the mobile phone B.
The answer instruction includes the identifier of the mobile phone B, that is, the mobile phone a is notified that the mobile phone B is currently performing voice communication.
Step 808, the mobile phone B sends out an instruction to stop ringing to other mobile phones in the binding relationship.
In this example, the handset B may send the answer instruction to the handset a and may send an instruction to stop ringing to the handset C after sending the answer instruction.
Step 809, the mobile phone C stops ringing according to the received instruction for stopping ringing.
Step 810, the mobile phone A connects the call according to the received answering instruction.
In this step, after the mobile phone a connects the call of the calling party, the voice message of the opposite party can be received, and the current control terminal mobile phone is determined to be the mobile phone B according to the answering instruction, and the voice message in the call needs to be transmitted to the mobile phone B.
After the mobile phone A is connected to the telephone, the microphone and the loudspeaker of the mobile phone A can be turned off so as to avoid audio interference when ambient sound answers the telephone.
In step 811, the mobile phone a forwards the received voice message to the mobile phone B.
In this step, the mobile phone a stores the received voice information of the calling party in a buffer in real time, and transmits the voice information stored in the buffer to the mobile phone B through the communication connection with the mobile phone B.
In step 812, after receiving the voice message of the calling party, the mobile phone B transmits the voice message of the user to the mobile phone a.
In this step, the mobile phone B transmits the voice information to the mobile phone a through the process shown in fig. 9, wherein the mobile phone B collects the voice information input by the user through a microphone, converts the analog voice information into digital voice information through an analog/digital (a/D) converter, transmits the voice information to a wifi unit of the mobile phone a through a wifi unit through a wireless local area network, and then performs conversion processing on a processor of the mobile phone a, and a radio frequency unit of the mobile phone a transmits the voice information to a caller through a mobile phone network; when the mobile phone A transmits the voice information of the calling party to the mobile phone B, the mobile phone A receives the voice information of the calling party from the mobile phone network through the radio frequency unit, the voice information is processed and converted through the processor and then transmitted to the wifi unit of the mobile phone B through the wifi unit and the wireless local area network, the D/A converter of the mobile phone B converts the digital voice information into analog voice information, and the voice information is played on a loudspeaker of the mobile phone B.
The above steps 811 and 812 are not in sequence.
In step 813, handset a transmits the user's voice information to the calling party.
In step 814, the mobile phone B sends a hang-up command to the mobile phone a.
In this step, after the call is completed, the user sends a hang-up command through the hang-up key of the mobile phone B, wherein the hang-up command sent by the mobile phone B is a control command for controlling the mobile phone a to hang up the call, instead of terminating the data communication connection between the mobile phone a and the mobile phone B.
Step 815, the mobile phone a hangs up the call with the calling party according to the received hang-up instruction.
Fig. 10 is a system data flow diagram of a call forwarding between mobile phones according to an embodiment of the present application, where a case where the forwarding mobile phone and the control-end mobile phone are in different wireless local area networks is described in this example, where a mobile phone a and a mobile phone B are in the same wireless local area network, a mobile phone C is in another wireless local area network, and the system data flow diagram also includes a server in the internet and a calling party initiating a call.
Specifically, step 1001 is included, and all mobile phones send registration information to the server for storage.
In this step, both the mobile phone a and the mobile phone B are connected to the same wireless router and located in the same wireless lan, the mobile phone C is located in another wireless lan, and each mobile phone sends its own registration information to a server in the network through the wireless lan to which it belongs, where the registration information includes the name of the mobile phone (i.e., the mobile phone a, the mobile phone B, or the mobile phone C), and the IP address in the wireless lan, for example, the IP address of the mobile phone a is 192.168.0.2, the IP address of the mobile phone B is 192.168.0.3, the IP address of the mobile phone C is 192.169.0.4, and also includes the IP address of the connected wireless router.
In step 1002, the server sends the received registration information to all the mobile phones.
Step 1003, establishing data communication connection between the mobile phones according to the registration information.
In this step, the mobile phone a judges whether the IP addresses of the wireless routers in the registration information of the mobile phone B and the mobile phone C are the same as the IP addresses of the wireless routers of the mobile phone a, and if so, establishes data communication connection according to the registration information, and if not, does not establish data communication connection with the mobile phone.
In this example, the wireless router IP addresses of the mobile phone a and the mobile phone B are the same, and then the mobile phone a and the mobile phone B establish data communication connection, and neither the mobile phone a nor the mobile phone B establish data communication connection with the mobile phone C.
Step 1004, the caller initiates a call to handset a.
In step 1005, handset a sends a ring request to handset B.
Step 1006, the user sends an answering command through the mobile phone B.
In this example, the mobile phone B sends an answer instruction to the mobile phone a, and does not send a ring stop instruction to other mobile phones because there are no other bound mobile phones.
Step 1007, the mobile phone a connects the call according to the received answering instruction.
Step 1008, the mobile phone a forwards the received voice message to the mobile phone B.
Step 1009, after receiving the voice message of the calling party, the mobile phone B transmits the voice message of the user to the mobile phone a.
In step 1010, the handset a transmits the voice information of the user to the caller.
In step 1011, the mobile phone B sends a hang-up command to the mobile phone a.
In step 1012, the mobile phone a hangs up the call with the calling party according to the received hang-up command.
Fig. 11 is a system data flow diagram of a call forwarding between mobile phones according to an embodiment of the present application, where a case where the forwarding mobile phone and the control-end mobile phone are in different wireless local area networks is described in this embodiment, and an example of answering a call is also used in this embodiment, in this example, a mobile phone a and a mobile phone B are in the same wireless local area network, a mobile phone C is in another wireless local area network, and the system data flow diagram also includes a server in the internet and a calling party initiating a call.
The difference between this embodiment and the embodiment shown in fig. 10 is that the mobile phone C, which is not in the same wlan as the mobile phone a and the mobile phone B, can issue a control command to the transit mobile phone (in this example, the mobile phone a).
Specifically, step 1101 is included, in which all the mobile phones send the registration information to the server for storage.
In this step, both the mobile phone a and the mobile phone B are connected to the same wireless router and located in the same wireless lan, the mobile phone C is located in another wireless lan, and each mobile phone sends its own registration information to a server in the network through the wireless lan to which it belongs, where the registration information includes the name of the mobile phone (i.e., the mobile phone a, the mobile phone B, or the mobile phone C), and the IP address in the wireless lan, for example, the IP address of the mobile phone a is 192.168.0.2, the IP address of the mobile phone B is 192.168.0.3, the IP address of the mobile phone C is 192.169.0.4, and also includes the IP address of the connected wireless router.
Step 1102, the server sends the received registration information to all the mobile phones.
Step 1103, establishing data communication connection between the mobile phones according to the registration information.
In this example, neither the server nor the mobile phone needs to determine whether the mobile phone a, the mobile phone B, and the mobile phone C are in the same wireless lan, but only needs to connect according to the registration information of each mobile phone, where the mobile phone a and the mobile phone B establish a data communication connection in the same wireless lan, and the data communication connection established between the mobile phone C and the mobile phone a, the mobile phone B is established across the wireless router, and at this time, the technical principle and scheme of P2P in the prior art may be referred to, or other prior art may be referred to.
In step 1104, the caller initiates a call to handset a.
In step 1105, handset a sends a ring request to the server.
In step 1106, the server sends a ring request to handset B and handset C.
Step 1107, the user sends an answering instruction to the server through the mobile phone C.
In step 1108, the server sends the answer instruction to the mobile phone a and notifies the mobile phone B to stop ringing.
Step 1109, the mobile phone A connects the call according to the received answering instruction.
In step 1110, the mobile phone a forwards the received voice message to the mobile phone C.
Step 1111, after receiving the voice message of the calling party, the mobile phone C transmits the voice message of the user to the mobile phone a.
In step 1112, handset a transmits the user's voice information to the caller.
Step 1113, the mobile phone C sends hang-up instruction to the mobile phone a.
In step 1114, the mobile phone a hangs up the call with the calling party according to the received hang-up command.
Fig. 12 is a system data flow diagram of a call transfer between mobile phones according to an embodiment of the present application, where a situation that a transfer mobile phone and a control-end mobile phone are in the same wlan is described in the system data flow diagram, in an application scenario of dialing a call, the transfer mobile phone can be used as a mobile phone that really makes a dialing operation, and the control-end mobile phone can make a call with a called party only by performing data exchange to the transfer mobile phone through a data communication connection. In the scenario of this embodiment, the mobile phone a, the mobile phone B, and the mobile phone C that have a binding relationship with each other are included, and more mobile phones may also be included, but for the sake of simple and clear description, this embodiment only uses 3 mobile phones as an illustration, and further includes a server in the internet, and a called party.
Specifically, 1201, all the mobile phones send the registration information to the server for storage.
In this step, each of the mobile phones a, B, and C is connected to the same wireless router and located in the same wireless lan, and each of the mobile phones sends its own registration information to a server in the network through the wireless lan, where the registration information includes the name of the mobile phone (i.e., the mobile phone a, B, or C), an IP address in the wireless lan, for example, the IP address of the mobile phone a is 192.168.0.2, the IP address of the mobile phone B is 192.168.0.3, and the IP address of the mobile phone C is 192.168.0.4, and further includes an MAC address of the connected wireless router.
Step 1202, the server determines whether all the mobile phones in the binding relationship are in the same wireless local area network according to the registration information of the mobile phones, if so, step 1203 is entered, otherwise, no registration information is sent to the mobile phones not in the same wireless local area network.
In this step, the server judges whether the mobile phones are in the same wireless local area network according to the MAC addresses of the wireless routers in the registration information, when the MAC addresses of the wireless routers in the registration information are the same, the mobile phones are in the same wireless local area network, otherwise, the mobile phones are not in the same wireless local area network.
Step 1203, the server sends the received registration information to the mobile phone in the same wireless lan.
In this step, the registration information of the mobile phone B and the mobile phone C is sent to the mobile phone a, the registration information of the mobile phone a and the mobile phone C is sent to the mobile phone B, and the registration information of the mobile phone a and the mobile phone B is sent to the mobile phone C, so that the registration information of all the mobile phones in the binding relationship is stored in the mobile phone a, the mobile phone B and the mobile phone C.
And step 1204, all the mobile phones establish data communication connection according to the registration information.
In this step, the mobile phone a establishes a data communication connection, for example, a socket connection, with the mobile phone B and the mobile phone C through the IP addresses of the mobile phone B and the mobile phone C, and this connection process may be initiated by any mobile phone in the wireless lan.
The method can also comprise the processes of mutual authentication, verification and the like so as to ensure the security of the connected mobile phone.
And step 1205, the user selects to make a call by using the mobile phone A through the operation interface of the mobile phone B.
In step 1206, the mobile phone B obtains the address book of the mobile phone a for displaying.
The steps include multiple communications between the mobile phone B and the mobile phone A, wherein the steps include a step of sending a request for checking the address book to the mobile phone A by the mobile phone B, a step of judging whether the mobile phone B has the authority to call the mobile phone A to make a call, a step of judging whether the mobile phone B has the authority to check the address book of the mobile phone A and other safety control steps, and a step of transmitting the address book to the mobile phone B by the mobile phone A.
Step 1207, the mobile phone B selects a certain telephone number in the address book and sends a dialing instruction to the mobile phone A.
In this step, the dialing instruction sent by the mobile phone B to the mobile phone a includes the selected phone number and the dialing instruction, and also includes the identifier of the mobile phone B, so that the mobile phone a can know to which mobile phone the voice message is to be transmitted.
In step 1208, the mobile phone a dials a call to the called party according to the dialing instruction.
Step 1209, the mobile phone a forwards the received voice message of the called party to the mobile phone B.
Step 1210, after receiving the voice message of the called party, the mobile phone B transmits the voice message of the user to the mobile phone a.
In step 1211, handset a transmits the user's voice message to the called party.
In step 1212, the mobile phone B sends a hang-up command to the mobile phone a.
Step 1213, the handset a hangs up the call with the called party according to the received hang-up instruction.
The technical means of all the above embodiments can be used in a reasonable way.
By the method, the device and the system in the embodiment of the application, the mobile phone can be used for call forwarding, the mobile phone of the call forwarding can forward the incoming call and the dialed voice information to another mobile phone, the functions of answering and dialing the call of the mobile phone are shared in a network, and the application of call forwarding between the mobile phones is provided, so that the user experience is improved.
The improvement of a technology can be clearly distinguished from the improvement of Hardware (for example, the improvement of a circuit structure such as a diode, a transistor, a switch and the like) or the improvement of software (for the improvement of a method flow). however, as the technology develops, the improvement of many method flows nowadays can be regarded as the direct improvement of a Hardware circuit structure.designers almost all obtain the corresponding Hardware circuit structure by Programming the improved method flow into a Hardware circuit.therefore, it cannot be said that the improvement of a method flow cannot be realized by Hardware entity modules.for example, a Programmable logic Device (Programmable logic Device L) is an integrated circuit (for example, a Field Programmable Gate Array (FPGA)) whose logic function is determined by user Programming of a device.a digital system is "integrated" on a piece of P48D without requiring the designer to program a chip manufacture to design and manufacture a specific integrated circuit 2. furthermore, instead of the integrated circuit manufactured by Hardware manufacturing software, such as a Hardware editor, a software program, a Hardware editor, a software, a Hardware editor, a software, a Hardware editor, a software, a Hardware editor, a software, a Hardware interface, a software, a Hardware interface, a software, a Hardware interface, a software, a Hardware interface, a software, a Hardware interface, a.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone L abs C8051F320, and the memory controller may also be implemented as part of the control logic for the memory.
Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
While the present application has been described with examples, those of ordinary skill in the art will appreciate that there are numerous variations and permutations of the present application without departing from the spirit of the application, and it is intended that the appended claims encompass such variations and permutations without departing from the spirit of the application.