WO2017012547A1 - 一种建立通信连接的方法和电子设备 - Google Patents

一种建立通信连接的方法和电子设备 Download PDF

Info

Publication number
WO2017012547A1
WO2017012547A1 PCT/CN2016/090681 CN2016090681W WO2017012547A1 WO 2017012547 A1 WO2017012547 A1 WO 2017012547A1 CN 2016090681 W CN2016090681 W CN 2016090681W WO 2017012547 A1 WO2017012547 A1 WO 2017012547A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
connection request
called party
party electronic
connection
Prior art date
Application number
PCT/CN2016/090681
Other languages
English (en)
French (fr)
Inventor
李联臣
Original Assignee
美国掌赢信息科技有限公司
李联臣
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 美国掌赢信息科技有限公司, 李联臣 filed Critical 美国掌赢信息科技有限公司
Publication of WO2017012547A1 publication Critical patent/WO2017012547A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and an electronic device for establishing a communication connection.
  • the user can now realize long-distance communication with others through the application in the mobile terminal, thereby realizing the requirement of making a communication connection on the mobile terminal.
  • the embodiment of the present invention provides a method for establishing a communication connection.
  • Electronic equipment The technical solution is as follows:
  • a method of establishing a communication connection comprising:
  • the second connection request sent by the called party electronic device is received, the second connection request is triggered by the second user on the called party electronic device by using the application, And establishing a communication connection according to at least one of the first connection request and the second connection request.
  • the method further includes:
  • the preset time is less than a time when the calling party electronic device sends the first connection request to evoke the called party electronic device answering interface.
  • the receiving, by the preset, the second connection request sent by the called party electronic device includes:
  • the establishing a communication connection according to the at least one of the first connection request and the second connection request include:
  • the method further includes:
  • the called party electronic device Displaying, by the application interface, the called party electronic device sends a connection request to the calling party electronic device within a preset time.
  • an electronic device comprising:
  • a sending module configured to send a first connection request to the called party electronic device, where the first connection request is triggered by the first user on the calling party electronic device by using an application
  • a judging module configured to determine, according to a preset time, whether a second connection request sent by the called party electronic device is received, where the second connection request is a second user passing on the called party electronic device Triggered by the application;
  • Establishing a connection module configured to perform at least one of the first connection request and the second connection request One establishes a communication connection.
  • the electronic device further includes:
  • the preset time is less than a time when the calling party electronic device sends the first connection request to evoke the called party electronic device answering interface.
  • the determining module is configured to:
  • the establishing a connection module is specifically configured to:
  • the electronic device further includes:
  • a display module configured to send, by the application interface, the called party electronic device to send a connection request to the calling party electronic device within a preset time.
  • an electronic device including a transmitting/receiving module, a display screen, a memory, and a processor connected to the transmitting/receiving module, the display screen, and the memory, wherein the memory stores one a group program code, the processor is configured to invoke program code stored in the memory, and performs the following operations:
  • the second connection request is triggered by the application by the second user on the called party electronic device, and the communication connection is established according to at least one of the first connection request and the second connection request.
  • the processor is configured to invoke program code stored in the memory, and perform the following operations:
  • the preset time is less than a time when the calling party electronic device sends the first connection request to evoke the called party electronic device answering interface.
  • the processor is configured to invoke program code stored in the memory, and perform the following operations:
  • the processor is configured to invoke the program code stored in the memory, and perform the following operations:
  • the processor is configured to invoke the program code stored in the memory, and perform the following operations:
  • the called party electronic device Displaying, by the application interface, the called party electronic device sends a connection request to the calling party electronic device within a preset time.
  • Embodiments of the present invention provide a method and an electronic device for establishing a communication connection.
  • the method includes: sending a first connection request to the called party electronic device, where the first connection request is triggered by the first user on the calling party electronic device by the application; if the called party electronic device is received within a preset time And sending the second connection request, where the second connection request is triggered by the application by the second user on the called party electronic device, and establishing a communication connection according to at least one of the first connection request and the second connection request.
  • the calling party electronic device sends the first connection request to the called party electronic device, if the called party electronic device also sends a connection request to the calling party electronic device within a preset time, the communication connection is established, and the connection is established.
  • determining whether the second connection request sent by the called party electronic device is received is performed within a preset time, because the preset time is less than the calling party electronic device sends the first connection request to evoke the called party electronic The time when the device answers the interface, so that the method provided by the embodiment of the present invention solves the problem that the calling party electronic device sends a connection request to the called party electronic device, and if the called party electronic device answering interface is not awake, if the receiving interface is received, The connection request sent by the party's electronic device cannot be connected, which further improves the user experience and satisfies the user.
  • connection request establishing a communication connection according to at least one of the first connection request and the second connection request, and increasing a manner of establishing a communication connection compared to a conventional communication connection that can only be established according to one connection request,
  • the user experience is further improved, and the requirement for the user to establish a communication connection in time is satisfied.
  • FIG. 1 is a flowchart of a method for establishing a communication connection according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for establishing a communication connection according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an interface according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an interface according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a process of establishing a communication connection according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • An embodiment of the present invention provides a method for establishing a communication connection, where the method is applied to an interactive system, where the interaction system includes at least two electronic devices, and the two electronic devices may be a calling party electronic device and a called party.
  • the electronic device, the calling party electronic device can send the first connection request to the called party electronic device by running the application stored by itself, and the called party electronic device can also send the first party to the calling party electronic device by running the application stored by itself.
  • the second connection request, the first connection request or the second connection request may include a connection request for performing an instant video and a connection request for making a voice call, and the first connection request or the second connection request is used to initiate an instant video interaction or a voice interaction.
  • the at least two electronic devices may be a smart phone, a tablet computer, or another electronic device.
  • the specific electronic device is not limited in the embodiment of the present invention.
  • the at least two electronic devices may be connected through a wireless connection manner such as Bluetooth; or may be connected through a connection device, the connection device may include a router or the like; the at least two electronic devices may also be connected through a server, and the server may Is the server of the application.
  • interaction system is only exemplary.
  • the embodiment of the present invention may further include other interaction scenarios, and the specific interaction scenario is not limited in the embodiment of the present invention.
  • An embodiment of the present invention provides a method for establishing a communication connection. Referring to FIG. 1, the method includes:
  • the first connection request is triggered by the first user on the calling party electronic device by using an application
  • step 102 Determine, within a preset time, whether a second connection request sent by the called party electronic device is received, If the second connection request sent by the called party electronic device is received, step 103 is performed; if the second connection request sent by the called party electronic device is not received, the process ends.
  • the second connection request is triggered by the second user on the called party electronic device by the application.
  • the received connection request is a second connection request sent by the called party electronic device.
  • step 103 If yes, go to step 103; if no, end.
  • a video communication connection or a voice communication connection is established according to at least one of the first connection request and the second connection request.
  • the method further includes:
  • the preset time is less than the time when the calling party electronic device sends the first connection request to evoke the called party electronic device answering interface.
  • the method further includes:
  • the application interface displays the called party electronic device to send a connection request to the calling party electronic device within a preset time.
  • the embodiment of the present invention provides a method for establishing a communication connection.
  • the calling party electronic device sends a first connection request to the called party electronic device
  • the called party electronic device also calls the calling party within a preset time
  • the party electronic device sends a connection request
  • the communication connection is established. Compared with the conventional method, the problem that the communication channels of the calling party and the called party are not connected when the connection request is sent to the other party in the same time is avoided.
  • the user needs to establish a communication connection in time, thereby improving the user experience; in addition, determining whether the second connection request sent by the called party electronic device is received is performed within a preset time, because the preset time is less than the main
  • the method provided by the embodiment of the present invention solves the problem that the calling party electronic device sends a connection request to the called party electronic device.
  • connection request sent by the called party's electronic device is received, it cannot be Through problems, to further improve the user experience to meet the needs of users in a timely manner to establish communication connection; in addition, under section
  • the communication connection is established by at least one of the connection request and the second connection request, and the manner of establishing the communication connection is increased compared with the traditional connection establishment only according to one connection request, thereby further improving the user experience and satisfying the timely establishment of the user.
  • the need for communication connections is
  • An embodiment of the present invention provides a method for establishing a communication connection. Referring to FIG. 2, the method includes:
  • the first connection request may include one of a video connection request for establishing a video communication connection and a voice connection request for establishing a voice communication connection.
  • the first connection request is triggered by the first user on the calling party electronic device, and the first user triggers the first connection request with the called party electronic device in the application of the calling party electronic device,
  • the first user may also trigger a first connection request with the called party electronic device in the application by the wearable device connected to the calling party electronic device, and the specific triggering and the called party electronic device in the embodiment of the present invention
  • the way a connection request is made is not limited.
  • the calling party electronic device may send the first connection request to the called party electronic device through its own sending module, or may send the called party to the called party electronic device through the sending module of the wearable device connected to the calling party electronic device.
  • the first connection request may further forward the first connection request to the called party electronic device by using the server, and may send the first connection request to the called party electronic device by using other methods, which is specific to the embodiment of the present invention.
  • the method of sending is not limited.
  • the application may be an instant video application, or may be another application.
  • the present invention does not limit the specific application, and the user can start the application by triggering the function key with the opening function, and run the application in the electronic device. a program, or by launching an application by triggering an application's function icon in the electronic device, running the application, or otherwise opening the application and running in the electronic device; if the application is an instant video application,
  • the first connection request sent by the called party electronic device may be a video connection request in the instant video, or may be a voice connection request sent by the user to the called party electronic device through the voice function in the instant video program.
  • the connection request sent to the called party electronic device includes at least a user identifier of the calling party electronic device and a user identifier of the called party electronic device, where the user identifier may be an application account of the user, and the specific user identifier is used in the embodiment of the present invention. Not limited.
  • connection request includes the user identifier of the calling party electronic device and the user identifier of the called party electronic device
  • the connection request can be identified by the user identifier, thereby facilitating the electronic device or the server to identify the connection request, and improving the identification. Accuracy further enhances the user experience.
  • the method also includes.
  • the preset time is less than the time when the calling party electronic device sends the first connection request to evoke the called party electronic device answering interface.
  • the manner in which the preset time is set in the embodiment of the present invention is not limited.
  • the method provided by the embodiment of the present invention is to solve the problem that when the calling party electronic device sends a connection request to the called party electronic device, and the connection request does not evoke the receiving interface of the called party electronic device, if the receiving request is received A problem with the connection request sent by the called party's electronic device. Because it takes a period of time before the calling party electronic device sends a connection request to the called party electronic device to evoke the called party electronic device answering interface, the time period is set as a preset time, and whether the received party electronic device is sent is received. The connection request is restricted, thereby ensuring the problem solved by the embodiment of the present invention.
  • the method provided by the embodiment of the present invention solves the problem that the calling party electronic device sends the called party to the called party by setting the preset time to be smaller than the time when the calling party electronic device sends the first connection request to evoke the called party electronic device answering interface. If the electronic device sends a connection request and receives a connection request sent by the called party electronic device within a time period before the called party electronic device answers the interface, the connection cannot be connected, thereby further improving the user experience and satisfying the user. The need to establish a communication connection in a timely manner.
  • step 203 Determine, in a preset time, whether a connection request is received. If the connection request is received, step 203 is performed; if the connection request is not received, the process ends.
  • the calling party electronic device determines whether another electronic device sends a connection request to the calling party electronic device, and the determining process may include:
  • the subscriber identity is the same as the subscriber identity of the calling party electronic device
  • step 203 is performed
  • connection request If it is not the same, if it is determined that the connection request has not been received, it ends and enters the normal dialing process.
  • the determination process can also be judged by other electronic devices.
  • connection request is transited by the server
  • the determination process may also be determined by the server.
  • the embodiment of the present invention does not limit the specific judgment subject.
  • the determination process may be judged by the calling party electronic device, It may be judged by other electronic devices, but in order to avoid the problem that the calling party electronic device and other electronic devices both perform the determination process and cause repeated execution, the actual application may be set as the judgment process by the calling party electronic device. Make a judgment.
  • the determination process may be determined by the calling party electronic device, or may be determined by other electronic devices, or may be It is judged by the server, but in order to avoid the problem that the calling party electronic device, other electronic devices, and the server all perform the determination process and cause repeated execution, the actual application may be set to determine the judgment process by the server.
  • the process ends, and the normal dialing process includes: the calling party electronic device continues to perform the first connection request to the called party electronic device, waiting for the called party.
  • the party electronic device responds, or ends sending the first connection to the called party electronic device.
  • step 203 Determine whether the received connection request is a second connection request sent by the called party electronic device, and if yes, execute step 204; if not, end.
  • the calling party electronic device determines whether the received connection request is a second connection request sent by the called party electronic device, and the process may include:
  • step 204 Comparing the user identifier of the called party electronic device included in the first connection request with the user identifier of the electronic device transmitting the second connection request, and if the same, determining that the received connection request is sent by the called party electronic device Second connection request, step 204 is performed; if not, determine the received connection, please If the second connection request is not sent by the called party electronic device, the process ends and the normal call process is entered.
  • the normal dialing process is entered into the normal dialing process in step 202, and is not described here.
  • the judging process may be judged by the called party electronic device, or may be determined by the server, and the specific judgment subject is not limited in the embodiment of the present invention.
  • step 202 to step 203 if the process of receiving the second connection request sent by the called party electronic device is received within a preset time, the process may be implemented in other manners.
  • the specific embodiments of the invention are not limited.
  • the determining process may be judged by the calling party electronic device, or may be The calling party electronic device performs the judgment, but in order to avoid the problem that the calling party electronic device and the called party electronic device both perform the determining process and cause repeated execution, the actual application may be set to the determining process by the calling party electronic device. Make a judgment.
  • the determining process may be judged by the calling party electronic device, or may be determined by the called party electronic device. It may also be judged by the server, but in order to avoid the problem that the calling party electronic device, the called party electronic device, and the server both perform the determination process and cause repeated execution, the actual application may be set as the judgment process by the server. Make a judgment.
  • a video communication connection or a voice communication connection is established according to at least one of the first connection request and the second connection request.
  • the communication channel is pre-established according to a preset first connection policy.
  • the first connection policy may be that the communication channel is pre-established according to the connection request sent by the electronic device that makes the judgment party, and the other electronic device determines that the electronic device that establishes the communication channel is consistent with the target electronic device of the communication channel that is to be established by itself. Synchronizing the communication channel, and determining the type of the connection established according to the first connection request and the second connection request;
  • the electronic device that makes the judgment party is an electronic device that makes a judgment when performing step 202 or step 203.
  • both the calling party electronic device and the called party electronic device may perform execution judgment.
  • the step of the calling party electronic device and the called party electronic device can determine that the connection request is sent to the direction itself, and the device that makes the determining party pre-establishes the communication connection according to the connection request, and the request for pre-establishing the communication channel has been After reaching the background of the other party's electronic device, the other party's electronic device obtains the information, and determines that the sender of the communication channel is consistent with the target electronic device that is to establish a communication channel; the communication channel is used cooperatively; because the calling party electronic device and the device The calling electronic device sends a connection request with a time interval, so from the perspective of the calling party electronic device, the communication channel is pre-established according to the first connection request, and the request for establishing the communication channel reaches the called party electronic device, so that the called party
  • the communication channel is established in advance according to the first connection request sent by the calling party electronic device, because the communication channel is pre-established according to the first connection request.
  • the connection request has arrived at the background of the called party electronic device, so the called party electronic device obtains a request to establish a communication channel in advance, so that the called party electronic device cooperates when determining that the communication channel is the same as the communication channel to be established by itself.
  • the communication channel is used, and information indicating whether or not the connection is turned on is displayed to the user, and the connection request is turned on according to the user's selection.
  • the first connection policy may further establish a communication channel according to the setting in the server, and may be configured to pre-establish a communication channel according to the sequence of receiving the connection request, when the server first Upon receiving the first connection request sent by the calling party electronic device, the communication channel between the calling party electronic device and the called party electronic device is pre-established according to the first connection request, and when received by the called party electronic device, The second connection request determines that the target electronic device that establishes the communication channel of the called party electronic device is the calling party electronic device, so that the called party electronic device uses the pre-established communication channel, and the communication channel is not re-established, except In addition, the communication channel can be pre-established according to other settings in the server.
  • the preset first connection policy may also be other policies, and the specific first connection policy is not limited in the embodiment of the present invention. .
  • first connection request is a video communication connection request
  • second connection request is also a video communication connection request
  • establishing a video communication connection according to the pre-established communication channel connection evoking a video receiving interface of the two electronic devices
  • first connection request is The voice communication connection request
  • the second connection request is also a voice communication connection request
  • the second connection request is a voice communication connection request, or the first connection request is a voice communication connection request, and the second connection request is a video communication connection request, according to a preset second
  • the connection policy establishes a connection.
  • the preset second connection policy may be: when the first connection request and the second connection request are different connection requests, detecting a bandwidth of the communication channel pre-established according to the first connection request, if the bandwidth of the communication channel established in advance The bandwidth requirement of the video connection can be met, and the video communication connection is established between the calling party electronic device and the called party electronic device; if the bandwidth of the pre-established communication channel does not meet the bandwidth requirement of the video connection, the calling party electronic device and The called party electronic device establishes a voice communication connection, and at the same time, displays the prompt information for establishing the type of the communication connection to the calling party electronic device user and the called party electronic device user.
  • the preset second connection policy may further be that when the first connection request and the second connection request are different connection requests, setting a priority to establish a communication connection according to the second connection request;
  • the preset second connection policy may further be that setting a priority to establish a communication connection according to the second connection request, when the first connection request is a voice communication connection request, and the second connection request is a video communication connection,
  • the video communication connection is established according to the set priority, but when it is detected that the bandwidth cannot meet the requirement of the video communication connection establishment bandwidth, the called party electronic device user who sends the second connection request is prompted to display the prompt information, and asks about the current bandwidth.
  • preset second connection policy may also be other policies, and the specific connection strategy is not limited in the embodiment of the present invention.
  • the method further includes:
  • the application interface displays the called party electronic device to send a connection request to the calling party electronic device within a preset time.
  • the calling party electronic device and the called party electronic device are connected, the calling party is displayed on the calling party or the called party electronic device or on the application receiving interface of the calling party and the called party electronic device at the same time.
  • the electronic device sends a request to the called party electronic device the called party electronic device also sends a connection request to the calling party electronic device, and the display mode may be a text mode or an animation special effect manner, and may also be The embodiment of the present invention does not limit the specific manner.
  • the called party electronic device By displaying on the application interface, the called party electronic device also sends a connection request to the calling party electronic device within a preset time, because the display form can be diversified, and the two parties know that the two parties are sending connection requests to each other, thereby increasing the user.
  • the interactive form further enhances the user experience and meets the needs of users who need to communicate in time.
  • the application is an instant video application
  • the preset time is displayed in a text manner
  • the calling party electronic device is connected to the instant video application as an example
  • the calling party electronic device is used as an example.
  • the called party electronic device are connected in the instant video application, the calling party electronic device Referring to FIG. 3, the small window at the upper right of the interface is the user video window of the calling party, and the rest is the video window of the called party user.
  • the pop-up box in the middle of the interface displays “just now he also sends a video request.
  • the text content indicates that the called party's electronic device is sending a connection request to the calling party's electronic device within a preset time, and may also be other text content, and the specific text content is not limited; if the animation effect is performed Display, the calling party electronic device and the called party electronic device are turned on in the application, and the connection interface can be referred to FIG.
  • the small window at the upper right of the interface is the calling party user video window, and the rest is called
  • the user video window, the heart-shaped animation pattern in the middle of the interface, the heart-shaped animation pattern can be displayed in a flashing animation special effect, indicating that the called party electronic device sends a connection request to the calling party electronic device within a preset time, and can also It is an animation effect, and does not limit the specific animation effects.
  • the embodiment of the present invention provides a method for establishing a communication connection.
  • the calling party electronic device sends a first connection request to the called party electronic device
  • the called party electronic device also calls the calling party within a preset time
  • the party electronic device sends a connection request
  • the communication connection is established. Compared with the conventional method, the problem that the communication channels of the calling party and the called party are not connected when the connection request is sent to the other party in the same time is avoided.
  • the user needs to establish a communication connection in time, thereby improving the user experience; in addition, determining whether the second connection request sent by the called party electronic device is received is performed within a preset time, because the preset time is less than the main
  • the method provided by the embodiment of the present invention solves the problem that the calling party electronic device sends a connection request to the called party electronic device.
  • connection request sent by the called party's electronic device is received, it cannot be The problem of the connection further improves the user experience and satisfies the requirement for the user to establish a communication connection in time; in addition, the communication connection is established according to at least one of the first connection request and the second connection request, and the traditional connection can only be established according to a connection request.
  • the way of establishing a communication connection is increased, the user experience is further improved, and the requirement for the user to establish a communication connection in time is satisfied; in addition, because the connection request includes the user identification of the calling party electronic device and the called party electronic device
  • the user identifier enables the connection request to be identified by the user identifier, thereby facilitating the electronic device or the server to identify the connection request, improving the accuracy of the recognition, and further improving the user experience; and simultaneously setting the preset time to be smaller than the calling party The time when the party electronic device sends the first connection request to evoke the called party electronic device to answer the interface, thereby
  • the method provided by the embodiment of the present invention solves the problem that the calling party electronic device sends a connection request to the called party electronic device, and receives the called party electronic time before the called party electronic device answers the interface.
  • connection request sent by the device cannot be connected, which further improves the user experience and satisfies the requirement for the user to establish a communication connection in time.
  • the user identifier of the electronic device determines whether the called party is received within a preset time. The second connection request sent by the electronic device, because the user identifier is identifiable information of the electronic device in the application, thereby making the judgment more accurate, further improving the user experience, and satisfying the requirement for the user to establish a communication connection in time.
  • the server receives an incoming call signal sent by the calling party user to the called party user, and the incoming call signal does not activate the receiving interface of the called party electronic device.
  • the called party initiates a dialing request on the calling interface of the called party electronic device.
  • the service determines whether the calling signal sent by the calling party user and the called party user's calling request target are the same. If yes, the connection is established. If not, the connection is not established.
  • the answering interface and the dialing interface in the figure are the receiving interface and the calling interface of the calling party electronic device and the called party electronic device, and alt indicates the judgment.
  • An embodiment of the present invention provides an electronic device 6. As shown in FIG. 6, the electronic device 6 includes:
  • the sending module 61 is configured to send a first connection request to the called party electronic device, where the first connection request is triggered by the first user on the calling party electronic device by using an application;
  • the determining module 62 is configured to determine, according to a preset time, whether a second connection request sent by the called party electronic device is received, where the second connection request is triggered by the second user on the called party electronic device by using an application;
  • the connection module 63 is configured to establish a communication connection according to at least one of the first connection request and the second connection request.
  • the electronic device 6 further includes:
  • the preset time is less than the time when the calling party electronic device sends the first connection request to evoke the called party electronic device answering interface.
  • the determining module 62 is specifically configured to:
  • the establishing connection module 63 is specifically configured to:
  • a video communication connection or a voice communication connection is established according to at least one of the first connection request and the second connection request.
  • the electronic device 6 further includes:
  • the display module is configured to send a connection request to the calling party electronic device within a preset time of displaying the called party electronic device in the application interface.
  • An embodiment of the present invention provides an electronic device, when the called party electronic device sends a first connection request to the called party electronic device, if the called party electronic device also sends the calling party electronic device to the calling party electronic device within a preset time.
  • the connection request is sent, the communication connection is established.
  • the user needs to establish the communication connection in time, thereby improving the user experience; in addition, determining whether the second connection request sent by the called party electronic device is received is performed within a preset time, because the preset time is less than the calling party's electronic
  • the device sends a first connection request to evoke the time of the called party electronic device to answer the interface, so that the method provided by the embodiment of the present invention solves the problem that the calling party electronic device sends a connection request to the called party electronic device, without calling the called party.
  • the party's electronic device answers the interface, if it receives the connection request sent by the called party's electronic device, it cannot be connected.
  • the communication connection a connection request only in accordance with the traditional establishment of at least one first connection request and second connection request Compared with the establishment of a communication connection, the method of establishing a communication connection is increased, the user experience is further improved, and the requirement for the user to establish a communication connection in time is satisfied.
  • An embodiment of the present invention provides an electronic device 7.
  • the electronic device 7 includes: a transmitting/receiving module 71, a display screen 72, a memory 73, and a transmitting/receiving module 71, a display screen 72, and a memory 73.
  • the connected processor 74 wherein the memory 73 stores a set of program codes, and the processor 74 is configured to call the program code stored in the memory 73 to perform the following operations:
  • the control sending/receiving module 71 sends a first connection request to the called party electronic device, where the first connection request is triggered by the first user on the calling party electronic device by the application;
  • the second connection request sent by the called party electronic device is received within the preset time, the second connection request is triggered by the second user on the called party electronic device by using the application;
  • the processor 74 is configured to invoke the program code stored in the memory 73, and perform the following operations:
  • the preset time is less than the time when the calling party electronic device sends the first connection request to evoke the called party electronic device answering interface.
  • the processor 74 is configured to invoke the program code stored in the memory 73, and perform the following operations:
  • the processor 74 is configured to invoke the program code stored in the memory 73, and perform the following operations:
  • a video communication connection or a voice communication connection is established according to at least one of the first connection request and the second connection request.
  • the processor 74 is configured to invoke the program code stored in the memory 73, and perform the following operations:
  • the control display 72 displays a connection request to the calling party electronic device within the preset time of the called party electronic device on the application interface.
  • An embodiment of the present invention provides an electronic device, when the called party electronic device sends a first connection request to the called party electronic device, if the called party electronic device also sends the calling party electronic device to the calling party electronic device within a preset time.
  • the connection request is sent, the communication connection is established.
  • the user needs to establish the communication connection in time, thereby improving the user experience; in addition, determining whether the second connection request sent by the called party electronic device is received is performed within a preset time, because the preset time is less than the calling party's electronic
  • the device sends a first connection request to evoke the time of the called party electronic device to answer the interface, so that the method provided by the embodiment of the present invention solves the problem that the calling party electronic device sends a connection request to the called party electronic device, without calling the called party.
  • the party's electronic device answers the interface, if it receives the connection request sent by the called party's electronic device, it cannot be connected.
  • the user experience is further improved, and the requirement for the user to establish a communication connection in time is satisfied; in addition, the communication connection is established according to at least one of the first connection request and the second connection request, compared with the traditional communication connection that can only be established according to one connection request.
  • the method of establishing a communication connection is increased, the user experience is further improved, and the requirement for the user to establish a communication connection in time is satisfied.
  • the electronic device provided by the foregoing embodiment establishes a communication connection
  • only the division of the above functional modules is illustrated.
  • the function distribution may be completed by different functional modules as needed.
  • the internal structure of the electronic device is divided into different functional modules to perform all or part of the functions described above.
  • the electronic device provided by the foregoing embodiment is in the same concept as the method for establishing a communication connection, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.

Landscapes

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

Abstract

本发明公开了一种建立通信连接的方法和电子设备,属于通信领域。所述方法包括:向被叫方电子设备发送第一连接请求;在预设时间内,若接收到被叫方电子设备发送的第二连接请求,则根据第一连接请求和第二连接请求中的至少一个建立通信连接。从而通过在主叫方电子设备向被叫方电子设备发送第一连接请求时,在预设时间内,若被叫方电子设备也向主叫方电子设备发送连接请求,则建立通信连接,避免了因为主叫方和被叫方电子设备相同时间内向对方发送连接请求时,双方通信通道被占用无法接通的问题,从而提高了用户体验。

Description

一种建立通信连接的方法和电子设备 技术领域
本发明涉及通信领域,特别涉及一种建立通信连接的方法和电子设备。
背景技术
随着移动终端功能的改善,现在用户可以通过移动终端中的应用程序实现与他人远距离的通信,实现了在移动终端上进行通信连接的需求。
但是,当用户通过移动终端中的应用程序向对方发起通信连接请求时,若对方也正在向该用户发送通信请求,此时由于双方的通信通道都被占用,导致双方的连接请求都会被拒绝,使得用户要重新发起通信请求,降低了用户体验,不能满足用户的需求。尤其是在开会等紧急的情况下,由于双方都急于向对方发送请求而不能连通,从而使得用户对使用应用程序的满意度降低,不能满足用户需要及时连通的需求,降低了用户体验。
发明内容
为了避免因为主叫方和被叫方电子设备相同时间内向对方发送连接请求时,双方通信通道被占用无法接通的问题,提高用户体验,本发明实施例提供了一种建立通信连接的方法和电子设备。所述技术方案如下:
第一方面,提供了一种建立通信连接的方法,所述方法包括:
向被叫方电子设备发送第一连接请求,所述第一连接请求是第一用户在主叫方电子设备上通过应用程序触发的;
在预设时间内,若接收到所述被叫方电子设备发送的第二连接请求,所述第二连接请求是第二用户在所述被叫方电子设备上通过所述应用程序触发的,则根据所述第一连接请求和所述第二连接请求中的至少一个建立通信连接。
结合第一方面,在第一种可能实现的方式中,所述方法还包括:
设置预设时间;
其中,所述预设时间小于所述主叫方电子设备发送所述第一连接请求唤起所述被叫方电子设备接听界面的时间。
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述在预设时间内,若接收到所述被叫方电子设备发送的第二连接请求包括:
在所述预设时间内,判断接收到的连接请求是否是所述被叫方电子设备发送的所述第二连接请求;
若是,则根据所述第一连接请求和所述第二连接请求中的至少一个建立通信连接;
若否,则结束。
结合第一方面或第一方面的第二种可能的实现方式,在第三种可能的实现方式中,所述根据所述第一连接请求和所述第二连接请求中的至少一个建立通信连接包括:
根据所述第一连接请求和所述第二连接请求中的至少一个建立视频通信连接或语音通信连接。
结合第一方面的第三种可能的实现方式,在第四种可能的实现方式中,所述方法还包括:
在所述应用程序界面显示所述被叫方电子设备预设时间内在向所述主叫方电子设备发送连接请求。
第二方面,提供了一种电子设备,所述电子设备包括:
发送模块,用于向被叫方电子设备发送第一连接请求,所述第一连接请求是第一用户在主叫方电子设备上通过应用程序触发的;
判断模块,用于在预设时间内,判断是否接收到所述被叫方电子设备发送的第二连接请求,所述第二连接请求是第二用户在所述被叫方电子设备上通过所述应用程序触发的;
建立连接模块,用于根据所述第一连接请求和所述第二连接请求中的至少 一个建立通信连接。
结合第二方面,在第一种可能的实现方式中,所述电子设备还包括:
设置模块,用于设置预设时间;
其中,所述预设时间小于所述主叫方电子设备发送所述第一连接请求唤起所述被叫方电子设备接听界面的时间。
结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述判断模块用于:
在所述预设时间内,判断接收到的连接请求是否是所述被叫方电子设备发送的所述第二连接请求;
若判定是,则根据所述第一连接请求和所述第二连接请求中的至少一个建立通信连接;
若判定否,则结束。
结合第二方面或第二方面的第二种可能的实现方式,在第三种可能的实现方式中,所述建立连接模块具体用于:
根据所述第一连接请求和所述第二连接请求中的至少一个建立视频通信连接或语音通信连接。
结合第二方面的第三种可能的实现方式,在第四种可能的实现方式中,所述电子设备还包括:
显示模块,用于在所述应用程序界面显示所述被叫方电子设备预设时间内在向所述主叫方电子设备发送连接请求。
第三方面,提供了一种电子设备,包括发送/接收模块、显示屏、存储器以及与所述发送/接收模块、所述显示屏、所述存储器连接的处理器,其中,所述存储器存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
控制发送/接收模块向被叫方电子设备发送第一连接请求,所述第一连接请求是第一用户在主叫方电子设备上通过应用程序触发的;
在预设时间内,若接收到所述被叫方电子设备发送的第二连接请求,所述 第二连接请求是第二用户在所述被叫方电子设备上通过所述应用程序触发的,则根据所述第一连接请求和所述第二连接请求中的至少一个建立通信连接。
结合第三方面,在第一种可能的实现方式中,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
设置预设时间;
其中,所述预设时间小于所述主叫方电子设备发送所述第一连接请求唤起所述被叫方电子设备接听界面的时间。
结合第三方面的第一种可能的实现方式,在第二种可能的实现方式中,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
在所述预设时间内,判断接收到的连接请求是否是所述被叫方电子设备发送的所述第二连接请求;
若是,则根据所述第一连接请求和所述第二连接请求中的至少一个建立通信连接;
若否,则结束。
结合第三方面或第三方面的第二种可能的实现方式,在第三种可能的实现方式中,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
根据所述第一连接请求和所述第二连接请求中的至少一个建立视频通信连接或语音通信连接。
结合第三方面的第三种可能的实现方式,在第四种可能的实现方式中,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
在所述应用程序界面显示所述被叫方电子设备预设时间内在向所述主叫方电子设备发送连接请求。
本发明实施例提供了一种建立通信连接的方法和电子设备。方法包括:向被叫方电子设备发送第一连接请求,第一连接请求是第一用户在主叫方电子设备上通过应用程序触发的;在预设时间内,若接收到被叫方电子设备发送的第二连接请求,第二连接请求是第二用户在被叫方电子设备上通过应用程序触发的,则根据第一连接请求和第二连接请求中的至少一个建立通信连接。从而通 过在主叫方电子设备向被叫方电子设备发送第一连接请求时,在预设时间内,若被叫方电子设备也向主叫方电子设备发送连接请求,则建立通信连接,与传统的方法相比,避免了因为主叫方和被叫方电子设备相同时间内向对方发送连接请求时,双方通信通道被占用无法接通的问题,满足了用户需要及时建立通信连接的需求,从而提高了用户体验;另外,判断是否接收到被叫方电子设备发送的第二连接请求是在预设时间内进行的,因为预设时间小于主叫方电子设备发送第一连接请求唤起被叫方电子设备接听界面的时间,从而使得本发明实施例提供的方法解决的是在主叫方电子设备向被叫方电子设备发送连接请求,在没有唤起被叫方电子设备接听界面时,若接收到被叫方电子设备发送的连接请求,无法接通的问题,进一步提高了用户体验,满足了用户及时建立通信连接的需求;另外,根据第一连接请求和第二连接请求中的至少一个建立通信连接,与传统的只能根据一个连接请求建立通信连接相比,增加了建立通信连接的方式,进一步提高了用户体验,满足了用户及时建立通信连接的需求。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种建立通信连接的方法流程图;
图2是本发明实施例提供的一种建立通信连接的方法流程图;
图3是本发明实施例提供的一种界面示意图;
图4是本发明实施例提供的一种界面示意图;
图5是本发明实施例提供的一种建立通信连接过程示意图;
图6是本发明实施例提供的一种电子设备结构示意图;
图7是本发明实施例提供的一种电子设备结构示意图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供了一种建立通信连接的方法,该方法应用于一种交互系统中,该交互系统至少包括两个电子设备,该两个电子设备可以是主叫方电子设备和被叫方电子设备,主叫方电子设备可以通过运行自身存储的应用程序向被叫方电子设备发送第一连接请求,被叫方电子设备也可以通过运行自身存储的应用程序向主叫方电子设备发送第二连接请求,该第一连接请求或第二连接请求可以包括进行即时视频的连接请求和进行语音通话的连接请求,该第一连接请求或第二连接请求用于发起即时视频交互或者语音交互。
其中,该至少两个电子设备可以是智能手机(Smart Phone),也可以是平板电脑(Tablet Computer),还可以是其他电子设备,本发明实施例对具体的电子设备不加以限定。该至少两个电子设备之间可以通过蓝牙等无线连接方式进行连接;也可以通过连接设备进行连接,该连接设备可以包括路由器等;该至少两个电子设备还可以通过服务器进行连接,该服务器可以是应用程序的服务器。
值得注意的是,上述交互系统仅仅是示例性的,本发明是实施例还可以包括其他交互场景,本发明实施例对具体的交互场景不加以限定。
实施例一
本发明实施例提供了一种建立通信连接的方法,参见图1所示,该方法包括:
101、向被叫方电子设备发送第一连接请求。
其中,第一连接请求是第一用户在主叫方电子设备上通过应用程序触发的;
102、在预设时间内,判断是否接收到被叫方电子设备发送的第二连接请求, 若接收到被叫方电子设备发送的第二连接请求,则执行步骤103;若未接收到被叫方电子设备发送的第二连接请求,则结束。
第二连接请求是第二用户在被叫方电子设备上通过应用程序触发的。
具体的,在预设时间内,判断接收到的连接请求是否是被叫方电子设备发送的第二连接请求。
若是,则执行步骤103;若否,则结束。
103、根据第一连接请求和第二连接请求中的至少一个建立通信连接。
具体的,根据第一连接请求和第二连接请求中的至少一个建立视频通信连接或语音通信连接。
可选的,方法还包括:
设置预设时间;
其中,预设时间小于主叫方电子设备发送第一连接请求唤起被叫方电子设备接听界面的时间。
可选的,方法还包括:
在应用程序界面显示被叫方电子设备预设时间内在向主叫方电子设备发送连接请求。
本发明实施例提供了一种建立通信连接的方法,通过在主叫方电子设备向被叫方电子设备发送第一连接请求时,在预设时间内,若被叫方电子设备也向主叫方电子设备发送连接请求,则建立通信连接,与传统的方法相比,避免了因为主叫方和被叫方电子设备相同时间内向对方发送连接请求时,双方通信通道被占用无法接通的问题,满足了用户需要及时建立通信连接的需求,从而提高了用户体验;另外,判断是否接收到被叫方电子设备发送的第二连接请求是在预设时间内进行的,因为预设时间小于主叫方电子设备发送第一连接请求唤起被叫方电子设备接听界面的时间,从而使得本发明实施例提供的方法解决的是在主叫方电子设备向被叫方电子设备发送连接请求,在没有唤起被叫方电子设备接听界面时,若接收到被叫方电子设备发送的连接请求,无法接通的问题,进一步提高了用户体验,满足了用户及时建立通信连接的需求;另外,根据第 一连接请求和第二连接请求中的至少一个建立通信连接,与传统的只能根据一个连接请求建立通信连接相比,增加了建立通信连接的方式,进一步提高了用户体验,满足了用户及时建立通信连接的需求。
实施例二
本发明实施例提供了一种建立通信连接的方法,参见图2所示,该方法包括:
201、向被叫方电子设备发送第一连接请求。
第一连接请求可以包括视频连接请求和语音连接请求中的一个,视频连接请求用于建立视频通信连接,语音连接请求用于建立语音通信连接。
具体的,第一连接请求是第一用户在主叫方电子设备上通过应用程序触发的,第一用户在主叫方电子设备的应用程序中触发与被叫方电子设备的第一连接请求,第一用户还可以通过与主叫方电子设备连接的可穿戴设备在应用程序中触发与被叫方电子设备的第一连接请求,本发明实施例对具体的触发与被叫方电子设备的第一连接请求的方式不加以限定。
主叫方电子设备可以通过自身的发送模块,向被叫方电子设备发送该第一连接请求,也可以通过与主叫方电子设备连接的可穿戴设备的发送模块向被叫方电子设备发送该第一连接请求,还可以通过服务器向被叫方电子设备转发该第一连接请求,除此之外,还可以通过其他方式向被叫方电子设备发送第一连接请求,本发明实施例对具体的发送方式不加以限定。
该应用程序可以是即时视频应用程序,还可以是其他应用程序,本发明对具体的应用程序不加以限定,用户可以通过触发具有开启功能的功能键开启应用程序,并在电子设备中运行该应用程序,或者通过触发应用程序在电子设备中的功能图标开启应用程序,进行运行应用程序,或者通过其他方式开启应用程序,并在电子设备中运行;若该应用程序为即时视频应用程序,则向被叫方电子设备发送的第一连接请求可以是即时视频中的视频连接请求,也可以是用户通过即时视频程序中的语音功能向被叫方电子设备发送的语音连接请求。
向被叫方电子设备发送的连接请求至少包含主叫方电子设备的用户标识和被叫方电子设备的用户标识,该用户标识可以是用户的应用程序账号,本发明实施例对具体的用户标识不加以限定。
因为连接请求包含了主叫方电子设备的用户标识和被叫方电子设备的用户标识,使得可以通过该用户标识识别该连接请求,从而方便了电子设备或者服务器进行识别连接请求,提高了识别的准确度,进一步提高了用户体验。
可选的,方法还包括。
设置预设时间。
其中,预设时间小于主叫方电子设备发送第一连接请求唤起被叫方电子设备接听界面的时间。
本发明实施例对具体的设置预设时间的方式不加以限定。
需要说明的是,本发明实施例所提供的方法在于解决当主叫方电子设备向被叫方电子设备发送连接请求,该连接请求未唤起被叫方电子设备的接听界面的时间内,若接收到被叫方电子设备发送的连接请求的问题。因为主叫方电子设备向被叫方电子设备发送连接请求到唤起被叫方电子设备接听界面之前,需要一段时间,所以设置该时间段为预设时间,对是否接收到被叫方电子设备发送的连接请求进行限制,从而保证了本发明实施例所解决的问题。
通过设置预设时间小于主叫方电子设备发送第一连接请求唤起被叫方电子设备接听界面的时间,从而使得本发明实施例所提供的方法解决的是在主叫方电子设备向被叫方电子设备发送连接请求,在没有唤起被叫方电子设备接听界面前的时间内,若接收到被叫方电子设备发送的连接请求,连接无法接通的问题,进一步提高了用户体验,满足了用户及时建立通信连接的需求。
202、在预设时间内,判断是否接收到连接请求,若接收到连接请求,则执行步骤203;若未接收到连接请求,则结束。
具体的,在预设时间内,主叫方电子设备判断是否有其他电子设备向主叫方电子设备发送连接请求,该判断过程可以包括:
判断是否有其他电子设备发送的连接请求中包含的发送目标电子设备的用 户标识与主叫方电子设备的用户标识相同;
若相同,则判定接收到连接请求,执行步骤203;
若不相同,判定未接收到连接请求,则结束,并进入正常拨打流程。
除此之外,该判断过程还可以由其他电子设备进行判断。
若连接请求由服务器进行中转,则该判断过程还可以由服务器进行判断,本发明实施例对具体的判断主体不加以限定。
值得注意的是,若主叫方电子设备发送的连接请求是与其他电子设备通过p to p(对等互联网技术)方式建立连接,则该判断过程可以是由主叫方电子设备进行判断,也可以是由其他电子设备进行判断,但是,为了避免该主叫方电子设备和其他电子设备均执行该判断过程而造成重复执行的问题,在实际应用可以设置为该判断过程由主叫方电子设备进行判断。
若主叫方电子设备发送的连接请求是通过服务器进行中转与其他电子设备建立连接,则该判断流程可以是由主叫方电子设备进行判断,也可以是由其他电子设备进行判断,还可以是由服务器进行判断,但是,为了避免该主叫方电子设备、其他电子设备以及服务器均执行该判断过程而造成重复执行的问题,在实际应用可以设置为该判断过程由服务器进行判断。
需要说明的是,若判定未接收到连接请求,则结束,并进入正常拨打流程,该正常拨打流程包括:主叫方电子设备继续执行向被叫方电子设备发送第一连接请求,等待被叫方电子设备的应答,或者结束向被叫方电子设备发送第一连接。
203、判断接收到的连接请求是否是被叫方电子设备发送的第二连接请求,若是,则执行步骤204;若否,则结束。
具体的,主叫方电子设备判断接收到的连接请求是否是被叫方电子设备发送的第二连接请求,该过程可以包括:
将第一连接请求中所包含的被叫方电子设备的用户标识与发送第二连接请求的电子设备的用户标识进行对比,若相同,则判定接收的连接请求是被叫方电子设备发送的第二连接请求,执行步骤204;若不相同,判定接收到的连接请 求不是被叫方电子设备发送的第二连接请求,则结束,并进入正常拨打流程。
除此之外,还可以通过其他方式实现该过程,本发明实施例对具体的方式不加以限定。
其中,进入正常拨打流程同步骤202中进入正常拨打流程,此处在不加以赘述。
除此之外,该判断过程还可以是由被叫方电子设备进行判断,还可以是由服务器进行判断,本发明实施例对具体的判断主体不加以限定。
需要说明的是,步骤202至步骤203是实现在预设时间内,若接收到被叫方电子设备发送的第二连接请求的过程,除此之外,还可以通过其他方式实现该过程,本发明实施例对具体的方式不加以限定。
值得注意的是,若主叫方电子设备发送的连接请求是与被叫方电子设备通过p to p方式建立连接,则该判断过程可以由是主叫方电子设备进行判断,也可以是由被叫方电子设备进行判断,但是,为了避免该主叫方电子设备和被叫方电子设备均执行该判断过程而造成重复执行的问题,在实际应用可以设置为该判断过程由主叫方电子设备进行判断。
若主叫方电子设备发送的连接请求是通过服务器进行中转与被叫方电子设备建立连接,则该判断过程可以是由主叫方电子设备进行判断,也可以是由被叫方电子设备进行判断,还可以是由服务器进行判断,但是,为了避免该主叫方电子设备、被叫方电子设备以及服务器均执行该判断过程而造成重复执行的问题,在实际应用可以设置为该判断过程由服务器进行判断。
在预设时间内,通过电子设备的用户标识判断是否接收到被叫方电子设备发送的第二连接请求,因为用户标识是电子设备在应用程序中的可识别信息,从而使得判断更加准确,进一步提高了用户体验,满足了用户及时建立通信连接的需求。
204、根据第一连接请求和第二连接请求中的至少一个建立通信连接。
具体的,根据第一连接请求和第二连接请求中的至少一个建立视频通信连接或语音通信连接。
根据预先设定的第一连接策略预先建立通信通道。
该第一连接策略可以是根据做出判断方的电子设备发出的连接请求预先建立通信通道,另一方电子设备确定建立该通信通道的电子设备与自身要建立的通信通道的目标电子设备一致时,协同使用该通信通道,并根据第一连接请求和第二连接请求确定建立连接的种类;
需要说明的是,此处做出判断方的电子设备是执行步骤202或步骤203时做出判断的电子设备,本发明实施例中主叫方电子设备和被叫方电子设备均可以是执行判断的步骤,即主叫方电子设备和被叫方电子设备均可以判定对方向自身发送连接请求,此时做出判断方的设备根据连接请求预先建立通信连接,并且该预先建立通信通道的请求已经到达另一方电子设备后台,另一方电子设备获得该信息后,确定该通信通道的发出者与自身要建立通信通道的目标电子设备一致时,协同使用该通信通道;因为主叫方电子设备和被叫方电子设备发送连接请求有时间间隔,所以从主叫方电子设备角度来说,根据第一连接请求预先建立通信通道,该建立通信通道的请求到达被叫方电子设备,使得被叫方电子协同使用该通信通道,从被叫方电子设备来说,经确定已经有预先建立的通信通道,则协同使用,不在重新建立通信通道;在实际应用中,也可以是被叫方电子设备执行判断的步骤,使得主叫方电子设备协同使用该通信通道,也可以是双发电子设备同时判断,并协同使用该通信通道,本发明实施例对具体的协同使用通信通道的方式和主体不加以限定;
示例性的,在本发明实施例中若执行判断步骤的主叫方电子设备,则根据主叫方电子设备发送的第一连接请求预先建立通信通道,因为根据第一连接请求预先建立通信通道时,该连接请求已经到达被叫方电子设备后台,所以被叫方电子设备获得了预先建立通信通道的请求,使得被叫方电子设备在确定该通信通道与自身要建立的通信通道相同时,协同使用该通信通道,并向用户显示是否接通的信息,根据用户的选择接通该连接请求。
该第一连接策略还可以是根据在服务器中的设置预先建立通信通道,可以设置为服务器按照接收到连接请求的先后顺序预先建立通信通道,当服务器先 接收到主叫方电子设备发送的第一连接请求时,根据第一连接请求预先建立主叫方电子设备和被叫方电子设备之间的通信通道,当再接收到被叫方电子设备发送的第二连接请求时,确定被叫方电子设备建立通信通道的目标电子设备是主叫方电子设备时,使得被叫方电子设备使用预先建立的通信通道,不再重新建立通信通道,除此之外,还可以根据在服务器中的其他设置方式预先建立通信通道。
除了上述方式之外,该预先设定的第一连接策略还可以是其他策略,本发明实施例对具体的第一连接策略不加以限定。。
若第一连接请求是视频通信连接请求,第二连接请求也是视频通信连接请求,则根据预先建立的通信通道连通,建立视频通信连接,唤起双方电子设备的视频接听界面,若第一连接请求是语音通信连接请求,第二连接请求也是语音通信连接请求,则根据预先建立的通信通道连通,建立语音通信连接,唤起双方电子设备的语音接听界面;
若第一连接请求是视频连接请求,第二连接请求是语音通信连接请求,或者第一连接请求是语音通信连接请求,第二连接请求是视频通信连接请求时,可以根据预先设定的第二连接策略建立连接。
该预先设定的第二连接策略可以是当第一连接请求和第二连接请求为不同的连接请求时,检测根据第一连接请求预先建立的通信通道的带宽,若预先建立的通信通道的带宽可以满足视频连接的带宽要求,则为主叫方电子设备和被叫方电子设备建立视频通信连接;若预先建立的通信通道的带宽不满足视频连接的带宽要求,则为主叫方电子设备和被叫方电子设备建立语音通信连接,同时,向主叫方电子设备用户和被叫方电子设备用户显示建立通信连接种类的提示信息。
该预先设定的第二连接策略还可以是当第一连接请求和第二连接请求为不同的连接请求时,设定优先根据第二连接请求建立通信连接;
该预先设定的第二连接策略还可以是设定优先根据第二连接请求建立通信连接,当第一连接请求是语音通信连接请求,第二连接请求是视频通信连接请 求时,根据设定的优先建立视频通信连接,但此时检测到带宽无法满足视频通信连接建立带宽的要求,则向发送第二连接请求的被叫方电子设备用户显示提示信息,询问当下带宽不满足视频连接请求的建立,是否接通语音通信连接,根据用户的选择建立通信连接;当第一连接请求是视频通信连接请求,第二连接请求是语音通信连接请求时,根据设定的优先建立语音通信连接,同时向主叫方电子设备用户显示提示信息,询问被叫方电子设备发起语音连接请求,是否接通语音通信连接,根据用户的选择建立通信连接。
除此之外,该预先设定的第二连接策略还可以是其他策略,本发明实施例对具体的连接策略不加以限定。
根据第一连接请求和第二连接请求中的至少一个建立通信连接,与传统的只能根据一个连接请求建立连接相比,增加了建立通信连接的方式,进一步提高了用户体验,满足了用户及时连通的需求。
可选的,方法还包括:
在应用程序界面显示被叫方电子设备预设时间内在向主叫方电子设备发送连接请求。
具体的,当主叫方电子设备和被叫方电子设备接通时,在主叫方或被叫方电子设备或同时在主叫方和被叫方电子设备的应用程序接听界面显示主叫方电子设备在向被叫方电子设备发送请求的时候,被叫方电子设备也在向主叫方电子设备发送连接请求,该显示方式可以是文字的方式,也可以是动画特效的方式,还可以是其他方式,本发明实施例对具体的方式不加以限定。
通过在应用程序界面显示被叫方电子设备在预设时间内也向主叫方电子设备发送连接请求,因为该显示形式可以多样化,并且让双方知道双方在互相发送连接请求,从而增加了用户间的互动形式,进一步提高了用户体验,并满足了用户需要及时连通的需求。
示例性的,若该应用程序为即时视频应用程序,以文字的方式显示预设时间,以主叫方电子设备在即时视频应用程序中的接通界面为例进行说明,则主叫方电子设备和被叫方电子设备在即时视频应用程序中接通,主叫方电子设备 的接通界面可以参照图3所示,界面中右上方的小窗口为主叫方用户视频窗口,其余为被叫方用户视频窗口,界面中间的弹出框中显示“刚才他也向发视频请求了!”的文字内容,表示被叫方电子设备预设时间内在向主叫方电子设备发送连接请求,还可以是其他文字内容,对具体的文字内容不加以限定;若以动画特效的方式进行显示,则主叫方电子设备和被叫方电子设备在应用程序中接通,接通界面可以参照图4所示,界面中右上方的小窗口为主叫方用户视频窗口,其余为被叫方用户视频窗口,界面中间的心形动画图案,该心形动画图案可以以闪动的动画特效方式显示,表示被叫方电子设备预设时间内在向主叫方电子设备发送连接请求,还可以是动画特效,对具体的动画特效不加以限定。
本发明实施例提供了一种建立通信连接的方法,通过在主叫方电子设备向被叫方电子设备发送第一连接请求时,在预设时间内,若被叫方电子设备也向主叫方电子设备发送连接请求,则建立通信连接,与传统的方法相比,避免了因为主叫方和被叫方电子设备相同时间内向对方发送连接请求时,双方通信通道被占用无法接通的问题,满足了用户需要及时建立通信连接的需求,从而提高了用户体验;另外,判断是否接收到被叫方电子设备发送的第二连接请求是在预设时间内进行的,因为预设时间小于主叫方电子设备发送第一连接请求唤起被叫方电子设备接听界面的时间,从而使得本发明实施例提供的方法解决的是在主叫方电子设备向被叫方电子设备发送连接请求,在没有唤起被叫方电子设备接听界面时,若接收到被叫方电子设备发送的连接请求,无法接通的问题,进一步提高了用户体验,满足了用户及时建立通信连接的需求;另外,根据第一连接请求和第二连接请求中的至少一个建立通信连接,与传统的只能根据一个连接请求建立通信连接相比,增加了建立通信连接的方式,进一步提高了用户体验,满足了用户及时建立通信连接的需求;另外,因为连接请求包含了主叫方电子设备的用户标识和被叫方电子设备的用户标识,使得可以通过该用户标识识别该连接请求,从而方便了电子设备或者服务器进行识别连接请求,提高了识别的准确度,进一步提高了用户体验;同时,通过设置预设时间小于主叫方电子设备发送第一连接请求唤起被叫方电子设备接听界面的时间,从而使 得本发明实施例所提供的方法解决的是在主叫方电子设备向被叫方电子设备发送连接请求,在没有唤起被叫方电子设备接听界面前的时间内,若接收到被叫方电子设备发送的连接请求,连接无法接通的问题,进一步提高了用户体验,满足了用户及时建立通信连接的需求;另外,在预设时间内,通过电子设备的用户标识判断是否接收到被叫方电子设备发送的第二连接请求,因为用户标识是电子设备在应用程序中的可识别信息,从而使得判断更加准确,进一步提高了用户体验,满足了用户及时建立通信连接的需求。
为了进一步让本领域技术人员了解本发明实施例所述的方法,下面将结合建立通信连接过程的示意图进行说明本发明实施例所述的方法,若以由服务判断是否接收到被叫方电子设备发送的第二连接请求为例,参照图5所示,图中服务器接收到主叫方用户向被叫方用户发送的来电信号,该来电信号未启动被叫方电子设备的接听界面,在这过程中,被叫方用户在被叫方电子设备的拨打界面发起拨打请求,服务器收到该拨打请求后,服务判断主叫方用户发送的来电信号和被叫方用户的拨打请求目标是否为同一个人,若是,则建立连接,若否,不建立连接,其中,图中的接听界面和拨打界面为主叫方电子设备和被叫方电子设备的接听界面和拨打界面,alt表示判断。
实施例三
本发明实施例提供了一种电子设备6,参见图6所示,该电子设备6包括:
发送模块61,用于向被叫方电子设备发送第一连接请求,第一连接请求是第一用户在主叫方电子设备上通过应用程序触发的;
判断模块62,用于在预设时间内,判断是否接收到被叫方电子设备发送的第二连接请求,第二连接请求是第二用户在被叫方电子设备上通过应用程序触发的;
建立连接模块63,用于根据第一连接请求和第二连接请求中的至少一个建立通信连接。
可选的,电子设备6还包括:
设置模块,用于设置预设时间;
其中,预设时间小于主叫方电子设备发送第一连接请求唤起被叫方电子设备接听界面的时间。
可选的,判断模块62具体用于:
在预设时间内,判断接收到的连接请求是否是被叫方电子设备发送的第二连接请求;
若判定是,则根据第一连接请求和第二连接请求中的至少一个建立通信连接;
若判定否,则结束。
可选的,建立连接模块63具体用于:
根据第一连接请求和第二连接请求中的至少一个建立视频通信连接或语音通信连接。
可选的,电子设备6还包括:
显示模块,用于在应用程序界面显示被叫方电子设备预设时间内在向主叫方电子设备发送连接请求。
本发明实施例提供了一种电子设备,通过在主叫方电子设备向被叫方电子设备发送第一连接请求时,在预设时间内,若被叫方电子设备也向主叫方电子设备发送连接请求,则建立通信连接,与传统的方法相比,避免了因为主叫方和被叫方电子设备相同时间内向对方发送连接请求时,双方通信通道被占用无法接通的问题,满足了用户需要及时建立通信连接的需求,从而提高了用户体验;另外,判断是否接收到被叫方电子设备发送的第二连接请求是在预设时间内进行的,因为预设时间小于主叫方电子设备发送第一连接请求唤起被叫方电子设备接听界面的时间,从而使得本发明实施例提供的方法解决的是在主叫方电子设备向被叫方电子设备发送连接请求,在没有唤起被叫方电子设备接听界面时,若接收到被叫方电子设备发送的连接请求,无法接通的问题,进一步提高了用户体验,满足了用户及时建立通信连接的需求;另外,根据第一连接请求和第二连接请求中的至少一个建立通信连接,与传统的只能根据一个连接请 求建立通信连接相比,增加了建立通信连接的方式,进一步提高了用户体验,满足了用户及时建立通信连接的需求。
实施例四
本发明实施例提供了一种电子设备7,参见图7所示,该电子设备7包括:发送/接收模块71、显示屏72、存储器73以及与发送/接收模块71、显示屏72、存储器73连接的处理器74,其中,存储器73存储一组程序代码,处理器74用于调用存储器73中存储的程序代码,执行以下操作:
控制发送/接收模块71向被叫方电子设备发送第一连接请求,第一连接请求是第一用户在主叫方电子设备上通过应用程序触发的;
在预设时间内,若接收到被叫方电子设备发送的第二连接请求,第二连接请求是第二用户在被叫方电子设备上通过应用程序触发的;
则根据第一连接请求和第二连接请求中的至少一个建立通信连接。
可选的,处理器74用于调用存储器73中存储的程序代码,执行以下操作:
设置预设时间;
其中,预设时间小于主叫方电子设备发送第一连接请求唤起被叫方电子设备接听界面的时间。
可选的,处理器74用于调用存储器73中存储的程序代码,执行以下操作:
在预设时间内,判断接收到的连接请求是否是被叫方电子设备发送的第二连接请求;
若是,则根据第一连接请求和第二连接请求中的至少一个建立通信连接;
若否,则结束。
可选的,处理器74用于调用存储器73中存储的程序代码,执行以下操作:
根据第一连接请求和第二连接请求中的至少一个建立视频通信连接或语音通信连接。
可选的,处理器74用于调用存储器73中存储的程序代码,执行以下操作:
控制显示屏72在应用程序界面显示被叫方电子设备预设时间内在向主叫方电子设备发送连接请求。
本发明实施例提供了一种电子设备,通过在主叫方电子设备向被叫方电子设备发送第一连接请求时,在预设时间内,若被叫方电子设备也向主叫方电子设备发送连接请求,则建立通信连接,与传统的方法相比,避免了因为主叫方和被叫方电子设备相同时间内向对方发送连接请求时,双方通信通道被占用无法接通的问题,满足了用户需要及时建立通信连接的需求,从而提高了用户体验;另外,判断是否接收到被叫方电子设备发送的第二连接请求是在预设时间内进行的,因为预设时间小于主叫方电子设备发送第一连接请求唤起被叫方电子设备接听界面的时间,从而使得本发明实施例提供的方法解决的是在主叫方电子设备向被叫方电子设备发送连接请求,在没有唤起被叫方电子设备接听界面时,若接收到被叫方电子设备发送的连接请求,无法接通的问题,进一步提高了用户体验,满足了用户及时建立通信连接的需求;另外,根据第一连接请求和第二连接请求中的至少一个建立通信连接,与传统的只能根据一个连接请求建立通信连接相比,增加了建立通信连接的方式,进一步提高了用户体验,满足了用户及时建立通信连接的需求。
值得注意的是,本发明实施例所述的界面仅仅是示例性的,是为了进一步说明本发明实施例所述的方法,本发明实施例对具体的界面不加以限定;同时,本发明实施例所述的“第一”和“第二”仅仅是为了区分二者的不同,此处并非特指。
需要说明的是:上述实施例提供的电子设备在建立通信连接时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将电子设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的电子设备与建立通信连接的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或 光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (10)

  1. 一种建立通信连接的方法,其特征在于,所述方法包括:
    向被叫方电子设备发送第一连接请求,所述第一连接请求是第一用户在主叫方电子设备上通过应用程序触发的;
    在预设时间内,若接收到所述被叫方电子设备发送的第二连接请求,所述第二连接请求是第二用户在所述被叫方电子设备上通过所述应用程序触发的,则根据所述第一连接请求和所述第二连接请求中的至少一个建立通信连接。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    设置所述预设时间;
    其中,所述预设时间小于所述主叫方电子设备发送所述第一连接请求唤起所述被叫方电子设备接听界面的时间。
  3. 根据权利要求2所述的方法,其特征在于,所述在预设时间内,若接收到所述被叫方电子设备发送的第二连接请求包括:
    在所述预设时间内,判断接收到的连接请求是否是所述被叫方电子设备发送的所述第二连接请求;
    若是,则根据所述第一连接请求和所述第二连接请求中的至少一个建立通信连接;
    若否,则结束。
  4. 根据权利要求1或3所述的方法,其特征在于,所述根据所述第一连接请求和所述第二连接请求中的至少一个建立通信连接包括:
    根据所述第一连接请求和所述第二连接请求中的至少一个建立视频通信连接或语音通信连接。
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    在所述应用程序界面显示所述被叫方电子设备预设时间内在向所述主叫方电子设备发送连接请求。
  6. 一种电子设备,其特征在于,所述电子设备包括:
    发送模块,用于向被叫方电子设备发送第一连接请求,所述第一连接请求是第一用户在主叫方电子设备上通过应用程序触发的;
    判断模块,用于在预设时间内,判断是否接收到所述被叫方电子设备发送的第二连接请求,所述第二连接请求是第二用户在所述被叫方电子设备上通过所述应用程序触发的;
    建立连接模块,用于根据所述第一连接请求和所述第二连接请求中的至少一个建立通信连接。
  7. 根据权利要求6所述的设备,其特征在于,所述电子设备还包括:
    设置模块,用于设置所述预设时间;
    其中,所述预设时间小于所述主叫方电子设备发送所述第一连接请求唤起所述被叫方电子设备接听界面的时间。
  8. 根据权利要求7所述的设备,其特征在于,所述判断模块具体用于:
    在所述预设时间内,判断接收到的连接请求是否是所述被叫方电子设备发送的所述第二连接请求;
    若判定是,则根据所述第一连接请求和所述第二连接请求中的至少一个建立通信连接;
    若判定否,则结束。
  9. 根据权利要求6或8所述的设备,其特征在于,所述建立连接模块具体用于:
    根据所述第一连接请求和所述第二连接请求中的至少一个建立视频通信连接或语音通信连接。
  10. 根据权利要求9所述的设备,其特征在于,所述电子设备还包括:
    显示模块,用于在所述应用程序界面显示所述被叫方电子设备预设时间内在向所述主叫方电子设备发送连接请求。
PCT/CN2016/090681 2015-07-21 2016-07-20 一种建立通信连接的方法和电子设备 WO2017012547A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510430979.0A CN105120524A (zh) 2015-07-21 2015-07-21 一种建立通信连接的方法和电子设备
CN201510430979.0 2015-07-21

Publications (1)

Publication Number Publication Date
WO2017012547A1 true WO2017012547A1 (zh) 2017-01-26

Family

ID=54668344

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/090681 WO2017012547A1 (zh) 2015-07-21 2016-07-20 一种建立通信连接的方法和电子设备

Country Status (2)

Country Link
CN (1) CN105120524A (zh)
WO (1) WO2017012547A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120524A (zh) * 2015-07-21 2015-12-02 美国掌赢信息科技有限公司 一种建立通信连接的方法和电子设备
CN105162886B (zh) * 2015-09-25 2019-04-12 北京奇艺世纪科技有限公司 一种声音控制方法及装置
CN110324277B (zh) * 2018-03-28 2021-11-05 腾讯科技(深圳)有限公司 实时通信的连接方法、装置、存储介质及电子装置
CN117479344B (zh) * 2023-12-15 2024-05-24 荣耀终端有限公司 一种蓝牙连接方法、电子设备及可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5381415A (en) * 1990-10-18 1995-01-10 Fujitsu Limited Call collision sidestep system for two-way simultaneous calls in an ISDN network
US20140379803A1 (en) * 2013-06-21 2014-12-25 Clint Russell Strand Methods and systems for a mobile social application
CN104363329A (zh) * 2014-09-22 2015-02-18 联想(北京)有限公司 一种通信方法及电子设备
KR20150028624A (ko) * 2013-09-06 2015-03-16 에스케이텔레콤 주식회사 맞호 호 처리 방법 및 장치
CN105120524A (zh) * 2015-07-21 2015-12-02 美国掌赢信息科技有限公司 一种建立通信连接的方法和电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5381415A (en) * 1990-10-18 1995-01-10 Fujitsu Limited Call collision sidestep system for two-way simultaneous calls in an ISDN network
US20140379803A1 (en) * 2013-06-21 2014-12-25 Clint Russell Strand Methods and systems for a mobile social application
KR20150028624A (ko) * 2013-09-06 2015-03-16 에스케이텔레콤 주식회사 맞호 호 처리 방법 및 장치
CN104363329A (zh) * 2014-09-22 2015-02-18 联想(北京)有限公司 一种通信方法及电子设备
CN105120524A (zh) * 2015-07-21 2015-12-02 美国掌赢信息科技有限公司 一种建立通信连接的方法和电子设备

Also Published As

Publication number Publication date
CN105120524A (zh) 2015-12-02

Similar Documents

Publication Publication Date Title
EP3266192B1 (en) Communication system and method of using the same
EP3114832B1 (en) Displaying video call data
US11558437B2 (en) Communication system and method of using the same
US9762725B2 (en) Methods, devices, and systems for transferring an ongoing call of a communication device using a portable communication device
WO2017012547A1 (zh) 一种建立通信连接的方法和电子设备
WO2017101297A1 (zh) 一种视频留言方法、装置、终端及服务器
US9338290B2 (en) Method and apparatus for facilitating a communication session
US11089541B2 (en) Managing communication sessions with respect to multiple transport media
WO2017181580A1 (zh) 一种智能手表管理手机的方法和系统
JP2015536618A (ja) 会議へのアクセス方法及び装置
CN105554233B (zh) 一种去电提醒方法及终端
CN105120525B (zh) 一种建立通信连接的方法和电子设备
US20140148137A1 (en) Conversation method and terminal
EP1737205B1 (en) Centralised conference initiation
TWI500335B (zh) 自動選擇通訊網路的方法
WO2017028569A1 (zh) 一种网络电话连接方法及装置
US11470673B2 (en) Method and system for detecting interruption of communications and for automatically re-establishing the communications
CN114338761B (zh) 一种远程现场通信方法及存储介质
WO2017173634A1 (zh) 用户设备以及通话内容分享的方法及装置
WO2021003597A1 (zh) 云桌面投屏电话
KR100664212B1 (ko) 이동통신 시스템의 자동응답 처리 방법
CN114584842A (zh) 一种业务推送方法和电子设备
CN106559587A (zh) 一种接听网络视频电话的实现方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16827238

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 03/04/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16827238

Country of ref document: EP

Kind code of ref document: A1