Summary of the invention
In order to when callee's electronic equipment is at clawback without the need to re-establishing communication port, save Path Setup Lifetime, improve Consumer's Experience, embodiments provide a kind of method of establishing a communications link and electronic equipment.Described technical scheme is as follows:
First aspect, provide a kind of method established a communications link, described method comprises:
Send the first connection request to callee's electronic equipment, described first connection request be first user on calling party's electronic equipment by application triggers;
According to described first connection request, after described first connection request do not answered by callee's electronic equipment, start Preset Time, in described Preset Time, reserved communication port between described calling party's electronic equipment and described callee's electronic equipment;
In described Preset Time, if receive the second connection request that described callee's electronic equipment sends, then connected by described communication port, described second connection request be the second user on described callee's electronic equipment by described application triggers;
If do not receive described second connection request that described callee's electronic equipment sends, then terminate, and disconnect described communication port.
In conjunction with first aspect, in the implementation that the first is possible, described method also comprises:
Described Preset Time is set;
Wherein, described Preset Time is the time allowing described communication port to keep on backstage.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, described reserved communication port between described calling party's electronic equipment and described callee's electronic equipment comprises:
The communication port between described calling party's electronic equipment and described callee's electronic equipment is reserved on described calling party's electronic equipment backstage and described callee's electronic equipment backstage.
In conjunction with the implementation that the first or the second of first aspect are possible, in the implementation that the third is possible, described in described Preset Time, the second connection request that described callee's electronic equipment sends if receive comprises:
In described Preset Time, judge whether the connection request received is described second connection request that described callee's electronic equipment sends;
If the connection request received is described second connection request that described callee's electronic equipment sends, then connected by described communication port;
If the connection request received is not described second connection request that described callee's electronic equipment sends, then terminates, and disconnect described communication port.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation, described being connected by described communication port is comprised:
Video communication connection or voice communication connection is set up by described communication port.
In conjunction with the 4th kind of possible implementation of first aspect or first aspect, in the 5th kind of possible implementation, described method also comprises:
Described Preset Time is shown at described Application Program Interface.
Second aspect, provides a kind of electronic equipment, and described electronic equipment comprises:
Sending module, for sending the first connection request to callee's electronic equipment, described first connection request be first user on calling party's electronic equipment by application triggers;
Reserved passageway module, for according to described first connection request, after described first connection request do not answered by callee's electronic equipment, start Preset Time, in described Preset Time, reserved communication port between described calling party's electronic equipment and described callee's electronic equipment;
Judge module, in described Preset Time, judges whether the second connection request receiving the transmission of described callee's electronic equipment;
When judging the second connection request receiving the transmission of callee's electronic equipment, then trigger the module that connects to be connected by described communication port, described second connection request be the second user on described callee's electronic equipment by described application triggers;
When judging described second connection request not receiving the transmission of described callee's electronic equipment, then terminate, and disconnect described communication port.
In conjunction with second aspect, in the implementation that the first is possible, described electronic equipment also comprises:
Module is set, for arranging described Preset Time;
Wherein, described Preset Time is the time allowing described communication port to keep on backstage.
In conjunction with the first possible implementation of second aspect, in the implementation that the second is possible, described reserved passageway module specifically for:
The communication port between described calling party's electronic equipment and described callee's electronic equipment is reserved on described calling party's electronic equipment backstage and described callee's electronic equipment backstage.
In conjunction with the implementation that the first or the second of second aspect are possible, in the implementation that the third is possible, described judge module specifically for:
In described Preset Time, judge whether the connection request received is described second connection request that described callee's electronic equipment sends;
If judge, the connection request received is described second connection request that described callee's electronic equipment sends, then connected by described communication port;
If judge, the connection request received is not described second connection request that described callee's electronic equipment sends, then terminate, and disconnect described communication port.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation, described in connect module specifically for:
Video communication connection or voice communication connection is set up by described communication port.
In conjunction with the 4th kind of possible implementation of second aspect or second aspect, in the 5th kind of possible implementation, described electronic equipment also comprises:
Display module, for showing described Preset Time at described Application Program Interface.
The third aspect, provide a kind of electronic equipment, the processor comprising transmission/reception module, display screen, memory and be connected with described transmission/reception module, described display screen, described memory, wherein, described memory stores batch processing code, described processor, for calling the program code stored in described memory, performs following operation:
Control transmission/reception module send the first connection request to callee's electronic equipment, described first connection request be first user on calling party's electronic equipment by application triggers;
According to described first connection request, after described first connection request do not answered by callee's electronic equipment, start Preset Time, in described Preset Time, reserved communication port between described calling party's electronic equipment and described callee's electronic equipment;
In described Preset Time, if receive the second connection request that described callee's electronic equipment sends, then connected by described communication port, described second connection request be the second user on described callee's electronic equipment by described application triggers;
If do not receive described second connection request that described callee's electronic equipment sends, then terminate, and disconnect described communication port.
In conjunction with the third aspect, in the implementation that the first is possible, described processor, for calling the program code stored in described memory, performs following operation:
Described Preset Time is set;
Wherein, described Preset Time is the time allowing described communication port to keep on backstage.
In conjunction with the first possible implementation of the third aspect, in the implementation that the second is possible, described processor, for calling the program code stored in described memory, performs following operation:
The communication port between described calling party's electronic equipment and described callee's electronic equipment is reserved on described calling party's electronic equipment backstage and described callee's electronic equipment backstage.
In conjunction with the implementation that the first or the second of the third aspect are possible, in the implementation that the third is possible, described processor, for calling the program code stored in described memory, performs following operation:
In described Preset Time, judge whether the connection request received is described second connection request that described callee's electronic equipment sends;
If the connection request received is described second connection request that described callee's electronic equipment sends, then connected by described communication port;
If the connection request received is not described second connection request that described callee's electronic equipment sends, then terminates, and disconnect described communication port.
In conjunction with the third possible implementation of the third aspect, in the 4th kind of possible implementation, described processor, for calling the program code stored in described memory, performs following operation:
Video communication connection or voice communication connection is set up by described communication port.
In conjunction with the 4th kind of possible implementation of the third aspect or the third aspect, in the 5th kind of possible implementation, described processor, for calling the program code stored in described memory, performs following operation:
Described Preset Time is shown at described Application Program Interface.
Embodiments provide a kind of method established a communications link.Method comprises: send the first connection request to callee's electronic equipment; According to the first connection request, after the first connection request do not answered by callee's electronic equipment, start Preset Time, in Preset Time, reserved communication port between calling party's electronic equipment and callee's electronic equipment; After the first connection request do not answered by callee's electronic equipment, in Preset Time, if receive the second connection request of callee's electronic equipment transmission, then connected by this communication port.Thus by Preset Time, the communication port between calling party's electronic equipment and callee's electronic equipment is reserved according to the first connection request, make when callee's electronic equipment is to calling party's electronic equipment clawback connection request, without the need to re-establishing communication port again, thus the time of connection when decreasing clawback, between user, is waited for because setting up communication port, compared with traditional, save the channel connection time, improve Consumer's Experience, because without the need to re-establishing communication port, so calling party's electronic equipment can directly be communicated with callee's electronic equipment, meet the demand that user needs to be communicated with in time, in addition, reserved communication port between calling party's electronic equipment and callee's electronic equipment is in the Preset Time arranged, the time of this reserved communication port can be made more reasonable by arranging Preset Time, can not be too short because of setting aside some time, the other user has little time clawback, communication port is disconnected, the demand of user can not be met, or it is oversize because set aside some time, the long period is needed to keep communication port, cause the situation that the communication resource is wasted, thus further increase Consumer's Experience, meet the demand that user needs to be communicated with in time, simultaneously, if by receiving the second connection request that callee's electronic equipment sends in Preset Time, then connected by reserved communication port, compared with traditional method, callee's electronic equipment uses reserved communication port when clawback, save the time waited for owing to setting up passage between user, meet the demand that user needs to be communicated with in time, further increase Consumer's Experience.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide a kind of method established a communications link, the method is applied in a kind of interactive system, this interactive system at least comprises two electronic equipments, these two electronic equipments can be calling party's electronic equipment and callee's electronic equipment, the application program that calling party's electronic equipment can store by running self sends the first connection request to callee's electronic equipment, the application program that callee's electronic equipment also can store by running self sends the second connection request to calling party's electronic equipment, this first connection request or the second connection request can comprise the connection request carrying out instant video or the connection request carrying out voice call, this first connection request or the second connection request are for initiating the mutual or interactive voice of instant video.
Wherein, these at least two electronic equipments can be smart mobile phone (SmartPhone), also can be panel computer (TabletComputer), can also be other electronic equipments, the embodiment of the present invention be limited concrete electronic equipment.
It should be noted that above-mentioned interactive system is only exemplary, the present invention is that embodiment can also comprise other interaction scenarios, and the embodiment of the present invention is not limited concrete interaction scenarios.
Embodiment one
Embodiments provide a kind of method established a communications link, with reference to shown in Fig. 1, the method flow process comprises:
101, the first connection request is sent to callee's electronic equipment.
Wherein, the first connection request be first user on calling party's electronic equipment by application triggers.
102, according to the first connection request, after the first connection request do not answered by callee's electronic equipment, Preset Time is started, in Preset Time, reserved communication port between calling party's electronic equipment and callee's electronic equipment.
Concrete, according to the first connection request, in Preset Time, reserve the communication port between this calling party's electronic equipment and callee's electronic equipment on calling party's electronic equipment backstage and callee's electronic equipment backstage.
103, in Preset Time, judge whether the second connection request receiving the transmission of callee's electronic equipment, if so, then perform step 104; If not, then terminate, and disconnect communication port.
Second connection request be the second user on callee's electronic equipment by application triggers.
Concrete, in Preset Time, judge whether the connection request received is the second connection request that callee's electronic equipment sends;
If the connection request received is the second connection request that callee's electronic equipment sends, then perform step 104;
If the connection request received is not the second connection request that callee's electronic equipment sends, then terminate, the step after terminating comprises the communication port that disconnection has been set up, and conventionally sets up communication port according to the connection request received.
104, connected by this communication port.
Concrete, set up video communication connection or voice communication connection by this communication port.
Optionally, method also comprises:
Preset Time is set;
Wherein, Preset Time is the time allowing communication port to keep on backstage.
Optionally, method also comprises:
At Application Program Interface display Preset Time.
Embodiments provide a kind of method established a communications link, by in Preset Time, the communication port between calling party's electronic equipment and callee's electronic equipment is reserved according to the first connection request, make when callee's electronic equipment is to calling party's electronic equipment clawback connection request, without the need to re-establishing communication port again, thus the time of connection when decreasing clawback, between user, is waited for because setting up communication port, compared with traditional, save the channel connection time, improve Consumer's Experience, because without the need to re-establishing communication port, so calling party's electronic equipment can directly be communicated with callee's electronic equipment, meet the demand that user needs to be communicated with in time, in addition, reserved communication port between calling party's electronic equipment and callee's electronic equipment is in the Preset Time arranged, the time of this reserved communication port can be made more reasonable by arranging Preset Time, can not be too short because of setting aside some time, the other user has little time clawback, communication port is disconnected, the demand of user can not be met, or it is oversize because set aside some time, the long period is needed to keep communication port, cause the situation that the communication resource is wasted, thus further increase Consumer's Experience, meet the demand that user needs to be communicated with in time, simultaneously, if by receiving the second connection request that callee's electronic equipment sends in Preset Time, then connected by reserved communication port, compared with traditional method, callee's electronic equipment uses reserved communication port when clawback, save the time waited for owing to setting up passage between user, meet the demand that user needs to be communicated with in time, further increase Consumer's Experience.
Embodiment two
Embodiments provide a kind of method established a communications link, with reference to shown in Fig. 2, the method flow process comprises:
201, the first connection request is sent to callee's electronic equipment.
First connection request can comprise one in video connection request and voice connection request, and video connection request is used for setting up video communication and connects, and voice connection request is used for setting up voice communication and connects.
Concrete, first connection request be first user on calling party's electronic equipment by application triggers, first user triggers the first connection request with callee's electronic equipment in the application program of calling party's electronic equipment, first user can also trigger the first connection request with callee's electronic equipment in the application by the wearable device be connected with calling party's electronic equipment, the mode of the embodiment of the present invention to the first connection request of concrete triggering and callee's electronic equipment is not limited.
Calling party's electronic equipment can by the sending module of self, this the first connection request is sent to callee's electronic equipment, also this first connection request can be sent by the sending module of the wearable device be connected with calling party's electronic equipment to callee's electronic equipment, this the first connection request can also be forwarded to callee's electronic equipment by server, in addition, can also send the first connection request to callee's electronic equipment by other means, the embodiment of the present invention is not limited concrete send mode.
This application program can be instant video application program, can also be other application programs, the present invention is not limited concrete application program, user can by triggering the function key opening application program with open function, and run this application program in the electronic device, or by triggering application program icon opening application program in the electronic device, run application, or opening application program by other means, and run in the electronic device; If this application program is instant video application program, the first connection request then sent to callee's electronic equipment can be the video connection request in instant video, also can be the voice connection request that user is sent to callee's electronic equipment by the phonetic function in instant video program.
If the first connection request sent to callee's electronic equipment is video connection request, then set up video communication passage in advance; If the first connection request sent is voice connection requests, then set up voice communications channel in advance.
The connection request sent to callee's electronic equipment at least comprises the user ID of calling party's electronic equipment and the user ID of callee's electronic equipment, this user ID can be the application program account of user, and the embodiment of the present invention is not limited concrete user ID.
Because connection request contains the user ID of calling party's electronic equipment and the user ID of callee's electronic equipment, make it possible to by this this connection request of user ID identification, thus facilitate server and carry out identification connection request, improve the accuracy of identification, further increase Consumer's Experience.
202, the first connection request do not answered by callee's electronic equipment.
Concrete, the mode that the first connection request do not answered by callee's electronic equipment comprises: callee's electronic equipment is initiatively hung up and do not answer the first connection request, or callee's electronic equipment does not answer the first connection request owing to not responding this connection request for a long time.In addition, can also comprise other modes, the embodiment of the present invention is not limited concrete mode.
203, according to the first connection request, after the first connection request do not answered by callee's electronic equipment, Preset Time is started, in Preset Time, reserved communication port between calling party's electronic equipment and callee's electronic equipment.
Concrete, obtain the user ID of the calling part user comprised in the first connection request and the user ID of callee user, in Preset Time, by the user ID of calling part user and the user ID of callee user of acquisition, make the communication port reserved on calling party's electronic equipment backstage and callee's electronic equipment backstage between calling party's electronic equipment and callee's electronic equipment.
If the first connection request sent to callee's electronic equipment is video connection request, then reserve this video communication passage on calling party's electronic equipment backstage and callee's electronic equipment backstage; If the first connection request sent is voice connection requests, then reserve this voice communications channel on calling party's electronic equipment backstage and callee's electronic equipment backstage.
Wherein, after reserved expression remains on electronic equipment by the communication port that this sets up by server in advance.
By setting up the communication port between calling party's electronic equipment and callee's electronic equipment in advance according to the first connection request, make no longer to re-establish communication port during callee's electronic equipment clawback, thus decrease the number of times setting up communication port, because no longer re-establish communication port during clawback, thus save Lifetime, further increase Consumer's Experience; Meanwhile, in Preset Time, reserved communication port between calling party's electronic equipment and callee's electronic equipment, wait for the time of connection between user because setting up communication port when avoiding clawback, compared with traditional, save the channel connection time, improve Consumer's Experience; In addition, because reserved communication port can be used, without the need to re-establishing, being communicated with in time when facilitating callee's electronic equipment clawback, meeting the demand that user needs to be communicated with in time, further increasing Consumer's Experience.
Optionally, method also comprises.
Preset Time is set.
Wherein, Preset Time is the time allowing communication port to keep on backstage.
Concrete, connection request is sent at calling party's electronic equipment to callee's electronic equipment by counting user, after this connection request is not answered by callee user, callee user carries out the time needed for clawback connection request, according to this Preset Time of set of time of user's clawback connection request.
According to user, this Preset Time can also be set for the reaction time needed for clawback connection request and actual operating time.
In addition, this is also with equipment Preset Time by other means, and the embodiment of the present invention is not limited the concrete mode arranging Preset Time.
By according to time of user's clawback connection request or user for the reaction time needed for clawback connection request and actual operating time, the Preset Time of reserved communication port is set, make the time length of this reserved communication port more reasonable, avoid because set aside some time too short, user has little time clawback, communication port is disconnected, the demand of user can not be met, or it is oversize because set aside some time, the long period is needed to keep communication port, cause the situation that the communication resource is wasted, thus further increase Consumer's Experience and resource utilization ratio.
204, in Preset Time, judge whether to receive connection request, if receive connection request, then perform step 205; If do not receive connection request, then terminate.
Concrete, in Preset Time, by the judge module of self, calling party's electronic equipment has judged whether that other electronic equipments send connection request to calling party's electronic equipment, this deterministic process can comprise:
Judge whether that the user ID of the transmission target electronic device comprised in the connection request that other electronic equipments send is identical with the user ID of calling party's electronic equipment;
If identical, then judge to receive connection request, perform step 205;
If not identical, judge not receive connection request, then terminate, and disconnect the communication port set up.
In addition, this deterministic process can also be judged by other electronic equipments, and this deterministic process is specifically as follows:
Other electronic equipments judge that by the judge module of self whether the transmission targeted customer user ID in the application comprised in the connection request sent is identical with calling part user user ID in the application, if identical, then judge that other electronic equipments send the target electronic device of connection request as calling party's electronic equipment, determine in Preset Time, have other electronic equipments to send connection request to calling party's electronic equipment, calling party's electronic equipment receives this connection request, continues to perform step 205; If not identical, then judging that other electronic equipments send the target electronic device of connection request is not calling party's electronic equipment, determine to send connection request without other electronic equipments to calling party's electronic equipment, calling party's electronic equipment does not receive connection request, then terminate, and disconnect the communication port set up.
If connection request carries out transfer by server, then can also be by the judge module of self, server has judged whether that other electronic equipments send connection request to calling party's electronic equipment.
In addition, can also judge whether receive connection request by other means in Preset Time, the embodiment of the present invention is not limited concrete judgment mode.
It should be noted that, this deterministic process can be undertaken by calling party's electronic equipment, also can be undertaken by other electronic equipments, can also be undertaken by server, but, in order to avoid calling party's electronic equipment, other electronic equipments and server all perform this deterministic process and cause the problem repeated, this deterministic process can be set in practical application and be undertaken by server.
Whether the connection request that 205, judgement receives is the second connection request that callee's electronic equipment sends, if the connection request received is the second connection request that callee's electronic equipment sends, then performs step 206; If the connection request received is not the second connection request that callee's electronic equipment sends, then terminate.
Concrete, by the judge module of self, calling party's electronic equipment judges whether the connection request received is the second connection request that callee's electronic equipment sends, and this process can comprise:
The user ID of the user ID of the callee's electronic equipment comprised in the first connection request with the electronic equipment sending the second connection request is contrasted, if identical, then judge that the connection request received is the second connection request that callee's electronic equipment sends, perform step 206; If not identical, judge that the connection request received is not the second connection request that callee's electronic equipment sends, then terminate, the step after terminating comprises the communication port that disconnection has been set up, and conventionally sets up communication port according to the connection request received.
Wherein, if judge, the connection request received is not the second connection request that callee's electronic equipment sends, then terminate, step after end comprises the communication port that disconnection has been set up, and conventionally set up communication port according to the connection request received, this tradition is set up communication port and is comprised: if calling party's electronic equipment responds this connection request, then set up the communication connection between this electronic equipment and calling party's electronic equipment, if calling party's electronic equipment does not respond this connection request, then do not set up the communication connection between this electronic equipment and calling party's electronic equipment, other can also be comprised, the embodiment of the present invention is not limited concrete traditional approach.
In addition, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
It should be noted that, this deterministic process can also be undertaken by server, but, all perform this deterministic process in order to avoid calling party's electronic equipment and server and cause the problem repeated, this deterministic process can be set in practical application and be judged by server.
It should be noted that, step 204 to step 205 realizes in Preset Time, judges whether the process receiving the second connection request that callee's electronic equipment sends, in addition, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
In Preset Time, the second connection request receiving the transmission of callee's electronic equipment is judged whether by the user ID of electronic equipment, because user ID is electronic equipment identifiable design information, thus make judgement more accurate, further increase Consumer's Experience, meet the demand that user establishes a communications link in time, in addition, when judging that the connection request received is the second connection request of callee's electronic equipment transmission, the communication port will set up according to the second connection request by server is forwarded to the communication port set up according to the first connection request, thus make callee's electronic equipment without the need to re-establishing communication port, the communication port that direct employing is set up according to the first connection request, thus greatly save the time of setting up communication port according to the second connection request, improve Consumer's Experience.
206, connected by this communication port.
Video communication connection or voice communication connection is set up by communication port.
Concrete, when the connection request judging in step 205 to receive is the second connection request of callee's electronic equipment transmission, use the communication port established according to the first connection request according to the second connection request.
By this communication port, interface is answered in the video communication arousing calling party's electronic equipment and callee's electronic equipment in the application or interface is answered in voice communication; Meanwhile, display jumps to the information connecting interface, the response of prompting calling part user.
If the first connection request is video communication connection request, second connection request is also video communication connection request, then by reserved video communication passage, set up video communication expanding channels, and jump to calling part user display the information that video connects interface; If the first connection request is voice communication connection request, second connection request is also voice communication connection request, then by reserved voice communications channel, set up voice communications channel and connect, and jump to calling part user display the information that interface connected in voice; If the first connection request is video communication connection request, second connection request is voice communication connection request, or the first connection request is voice communication connection request, when the second connection request is video communication connection request, then establish a communications link according to reserved communication port.
Establish a communications link according to reserved communication port and comprise:
If the first connection request is video communication connection request, then reserved communication port is video communication passage, if the second connection request is voice communication connection request, then connect according to reserved video communication Path Setup, simultaneously, callee's electronic device user to transmission second connection request sends the information set up video communication and connect, and the selection according to user connects, and jumps to calling part user display the information connecting interface;
If the first connection request is voice communication connection request, then reserved communication port is voice communications channel, if the second connection request is video communication connection request, then connect according to reserved voice communications channel, simultaneously, callee's electronic device user to transmission second connection request sends the information set up voice communication and connect, and the selection according to user connects, and jumps to calling part user display the information connecting interface;
In addition, this establishes a communications link by other means, and the embodiment of the present invention is not limited concrete mode.
Communication port according to setting up in advance connects, make when callee's electronic equipment is to calling party's electronic equipment clawback connection request, without the need to re-establishing communication port again, thus the time of connection when decreasing clawback, between user, is waited for because re-establishing communication port, save the channel connection time, improve Consumer's Experience; In addition, because the communication port set up in advance can be used, without the need to re-establishing communication port, so calling party's electronic equipment can directly be communicated with callee's electronic equipment, meet the demand that user needs to be communicated with in time; Meanwhile, can according to the instruction of the first connection request or the second connection request, set up video communication expanding channels or voice communications channel connects, with can only set up compared with a kind of communication connection, add the mode setting up communication port, further increase Consumer's Experience, meet user's request.
Optionally, method also comprises:
At Application Program Interface display Preset Time.
Concrete, at calling party's electronic equipment application program interface or callee's electronic equipment application program interface or show communication port the setting aside some time on backstage of setting up in advance at the Application Program Interface of calling party and callee's electronic equipment simultaneously.
This display mode can be the mode of countdown, also can be set aside some time at the end of send the mode of prompting message.
Countdown mode can be carry out countdown to calculate second.
Prompting message can be word prompting message, also can be sound prompting information.
User can also set aside some time in the display mode of Application Program Interface by self-defined this, also can arrange to cancel to set aside some time in the display of Application Program Interface.
Can also be other modes, the embodiment of the present invention be limited concrete display mode.
By showing Preset Time at Application Program Interface, because this display format can be diversified, thus add user in the interaction forms of application program, user can set aside some time in the display mode of Application Program Interface according to the hobby of oneself is self-defined, meet user according to the demand oneself needing to carry out arranging, further increase Consumer's Experience.
Exemplary, if this application program is instant video application program, be described for the connection interface of calling party's electronic equipment in instant video application, the interface showing Preset Time in the mode of countdown can with reference to shown in Fig. 3, in the figure upper left corner, a median surface circle of Fig. 3, the numeral 10 of display represents to be 10 seconds instantly, in the figure upper left corner, the b median surface circle of Fig. 3, the numeral of display is 9, represent that countdown was from 10 seconds to 9 seconds, circle herein and numeral are exemplary, can also be that other modes show countdown; The interface that the mode of reminding with Word message shows Preset Time with reference to shown in Fig. 4, can be the content of prompting in the pop-up box in the middle of interface, is not limited the word content in pop-up box.
Embodiments provide a kind of method established a communications link, by in Preset Time, the communication port between calling party's electronic equipment and callee's electronic equipment is reserved according to the first connection request, make when callee's electronic equipment is to calling party's electronic equipment clawback connection request, without the need to re-establishing communication port again, thus the time of connection when decreasing clawback, between user, is waited for because setting up communication port, compared with traditional, save the channel connection time, improve Consumer's Experience, because without the need to re-establishing communication port, so calling party's electronic equipment can directly be communicated with callee's electronic equipment, meet the demand that user needs to be communicated with in time, in addition, reserved communication port between calling party's electronic equipment and callee's electronic equipment is in the Preset Time arranged, the time of this reserved communication port can be made more reasonable by arranging Preset Time, can not be too short because of setting aside some time, the other user has little time clawback, communication port is disconnected, the demand of user can not be met, or it is oversize because set aside some time, the long period is needed to keep communication port, cause the situation that the communication resource is wasted, thus further increase Consumer's Experience, meet the demand that user needs to be communicated with in time, simultaneously, if by receiving the second connection request that callee's electronic equipment sends in Preset Time, then connected by reserved communication port, compared with traditional method, callee's electronic equipment uses reserved communication port when clawback, save the time waited for owing to setting up passage between user, meet the demand that user needs to be communicated with in time, further increase Consumer's Experience, in addition, because connection request contains the user ID of calling party's electronic equipment and the user ID of callee's electronic equipment, make it possible to by this this connection request of user ID identification, thus facilitate server and carry out identification connection request, improve the accuracy of identification, further increase Consumer's Experience, simultaneously, in Preset Time, the second connection request receiving the transmission of callee's electronic equipment is judged whether by the user ID of electronic equipment, because user ID is electronic equipment identifiable design information, thus make judgement more accurate, further increase Consumer's Experience, meet the demand that user establishes a communications link in time, in addition, when judging that the connection request received is the second connection request of callee's electronic equipment transmission, the communication port will set up according to the second connection request by server is forwarded to the communication port set up according to the first connection request, thus make callee's electronic equipment without the need to re-establishing communication port, the communication port that direct employing is set up according to the first connection request, thus greatly save the time of setting up communication port according to the second connection request, improve Consumer's Experience, in addition, by the instruction according to the first connection request or the second connection request, set up video communication expanding channels or voice communications channel connection, with can only set up compared with a kind of communication connection, add the mode setting up communication port, further increase Consumer's Experience, meet user's request.
Method described in the embodiment of the present invention is understood in order to allow those skilled in the art further, exemplary plot below in conjunction with the process of establishing a communications link is described the method described in the embodiment of the present invention, if to be judged whether the second connection request receiving the transmission of callee's electronic equipment by service, with reference to shown in Fig. 5, in figure, server receives the incoming telephone signal that calling part user sends to callee user, what this incoming telephone signal aroused callee's electronic equipment answers interface, when this incoming call do not answered by callee's electronic equipment, this is answered interface and gets back to backstage, represent that communication port keeps on backstage, in this process, callee user dials incoming call user at the interface of dialing of callee's electronic equipment, after this request of dialing arrives server, service judges whether the request target of dialing of the incoming telephone signal that calling part user sends and callee user is same person, if, the communication port then set up connects, if not, disconnect the communication port set up, and conventionally set up communication port according to the connection request received, wherein, answering interface and dialing interface in figure is answering interface and dialing interface of calling party's electronic equipment and callee's electronic equipment, alt represents judgement.
Embodiment three
Embodiments provide a kind of electronic equipment 6, with reference to shown in Fig. 6, this electronic equipment 6 comprises:
Sending module 61, for sending the first connection request to callee's electronic equipment, the first connection request be first user on calling party's electronic equipment by application triggers;
Reserved passageway module 62, for according to the first connection request, after the first connection request do not answered by callee's electronic equipment, starts Preset Time, in Preset Time, and reserved communication port between calling party's electronic equipment and callee's electronic equipment;
Judge module 63, in Preset Time, judges whether the second connection request receiving the transmission of callee's electronic equipment;
When judging the second connection request receiving the transmission of callee's electronic equipment, then trigger the module 64 that connects and connected by this communication port;
When judge do not receive callee's electronic equipment send the second connection request time, then terminate, and disconnect communication port, the second connection request be the second user on callee's electronic equipment by application triggers.
Optionally, electronic equipment also comprises:
Module is set, for arranging Preset Time;
Wherein, Preset Time is the time allowing communication port to keep on backstage.
Optionally, reserved passageway module 62 specifically for:
The communication port between calling party's electronic equipment and callee's electronic equipment is reserved on calling party's electronic equipment backstage and callee's electronic equipment backstage.
Optionally, judge module 63 specifically for:
In Preset Time, judge whether the connection request received is the second connection request that callee's electronic equipment sends;
If judge, the connection request received is the second connection request that callee's electronic equipment sends, then connected by this communication port;
If judge, the connection request received is not the second connection request that callee's electronic equipment sends, then terminate, and disconnect this communication port.
Optionally, the module that connects 64 specifically for:
Video communication connection or voice communication connection is set up by communication port.
Optionally, electronic equipment also comprises:
Display module, for showing Preset Time at Application Program Interface.
Embodiments provide a kind of electronic equipment, by in Preset Time, the communication port between calling party's electronic equipment and callee's electronic equipment is reserved according to the first connection request, make when callee's electronic equipment is to calling party's electronic equipment clawback connection request, without the need to re-establishing communication port again, thus the time of connection when decreasing clawback, between user, is waited for because setting up communication port, compared with traditional, save the channel connection time, improve Consumer's Experience, because without the need to re-establishing communication port, so calling party's electronic equipment can directly be communicated with callee's electronic equipment, meet the demand that user needs to be communicated with in time, in addition, reserved communication port between calling party's electronic equipment and callee's electronic equipment is in the Preset Time arranged, the time of this reserved communication port can be made more reasonable by arranging Preset Time, can not be too short because of setting aside some time, the other user has little time clawback, communication port is disconnected, the demand of user can not be met, or it is oversize because set aside some time, the long period is needed to keep communication port, cause the situation that the communication resource is wasted, thus further increase Consumer's Experience, meet the demand that user needs to be communicated with in time, simultaneously, if by receiving the second connection request that callee's electronic equipment sends in Preset Time, then connected by reserved communication port, compared with traditional method, callee's electronic equipment uses reserved communication port when clawback, save the time waited for owing to setting up passage between user, meet the demand that user needs to be communicated with in time, further increase Consumer's Experience.
Embodiment four
Embodiments provide a kind of electronic equipment 7, shown in Figure 7, this electronic equipment 7 comprises: transmission/reception module 71, display screen 72, memory 73 and the processor 74 be connected with transmission/reception module 71, display screen 72, memory 73, wherein, memory 73 stores batch processing code, processor 74, for calling the program code stored in memory 73, performs following operation:
Control transmission/reception module 71 send the first connection request to callee's electronic equipment, the first connection request be first user on calling party's electronic equipment by application triggers;
According to the first connection request, after the first connection request do not answered by callee's electronic equipment, start Preset Time, in Preset Time, reserved communication port between calling party's electronic equipment and callee's electronic equipment;
In Preset Time, if receive callee's electronic equipment send the second connection request, then connected by communication port, the second connection request be the second user on callee's electronic equipment by application triggers;
If do not receive the second connection request that callee's electronic equipment sends, then terminate, and disconnect this communication port.
Optionally, processor 74, for calling the program code stored in memory 73, performs following operation:
Preset Time is set;
Wherein, Preset Time is the time allowing communication port to keep on backstage.
Optionally, processor 74, for calling the program code stored in memory 73, performs following operation:
The communication port between calling party's electronic equipment and callee's electronic equipment is reserved on calling party's electronic equipment backstage and callee's electronic equipment backstage.
Optionally, processor 74, for calling the program code stored in memory 73, performs following operation:
In Preset Time, judge whether the connection request received is the second connection request that callee's electronic equipment sends;
If the connection request received is the second connection request that callee's electronic equipment sends, then connected by this communication port;
If the connection request received is not the second connection request that callee's electronic equipment sends, then terminates, and disconnect this communication port.
Optionally, processor 74, for calling the program code stored in memory 73, performs following operation:
Video communication connection or voice communication connection is set up by communication port.
Optionally, processor 74, for calling the program code stored in memory 73, performs following operation:
Control display screen 72 at Application Program Interface display Preset Time.
Embodiments provide a kind of electronic equipment, by in Preset Time, the communication port between calling party's electronic equipment and callee's electronic equipment is reserved according to the first connection request, make when callee's electronic equipment is to calling party's electronic equipment clawback connection request, without the need to re-establishing communication port again, thus the time of connection when decreasing clawback, between user, is waited for because setting up communication port, compared with traditional, save the channel connection time, improve Consumer's Experience, because without the need to re-establishing communication port, so calling party's electronic equipment can directly be communicated with callee's electronic equipment, meet the demand that user needs to be communicated with in time, in addition, reserved communication port between calling party's electronic equipment and callee's electronic equipment is in the Preset Time arranged, the time of this reserved communication port can be made more reasonable by arranging Preset Time, can not be too short because of setting aside some time, the other user has little time clawback, communication port is disconnected, the demand of user can not be met, or it is oversize because set aside some time, the long period is needed to keep communication port, cause the situation that the communication resource is wasted, thus further increase Consumer's Experience, meet the demand that user needs to be communicated with in time, simultaneously, if by receiving the second connection request that callee's electronic equipment sends in Preset Time, then connected by reserved communication port, compared with traditional method, callee's electronic equipment uses reserved communication port when clawback, save the time waited for owing to setting up passage between user, meet the demand that user needs to be communicated with in time, further increase Consumer's Experience.
It should be noted that the interface described in the embodiment of the present invention is only exemplary, be the method in order to further illustrate described in the embodiment of the present invention, the embodiment of the present invention is not limited concrete interface.
It should be noted that: the electronic equipment that above-described embodiment provides is when establishing a communications link, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by electronic equipment is divided into different functional modules, to complete all or part of function described above.In addition, the electronic equipment that above-described embodiment provides and the embodiment of the method established a communications link belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.