Call establishment method, device, terminal, system and readable storage medium
By implementing the mechanism of sending notification messages to multiple second terminals in the terminal, the problem of low call establishment success rate in emergency telephone service is solved, and the success rate of emergency calls is improved.
Patent Information
- Application Number
- CN202210687860.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-16
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2042-06-16
AI Technical Summary
In the emergency telephone service, the terminal cannot ensure that each emergency call can be established successfully, resulting in a low success rate of call establishment.
When the first terminal fails to establish a target call, it sends a notification message to the ith second terminal of the N second terminals whose distance is less than or equal to the preset distance, instructing it to establish a target call. If the i-th second terminal fails to establish a call, the first terminal sends a notification message to the i-th second terminal, and so on.
By instructing multiple terminals to attempt to establish calls in sequence, the success rate of the terminal establishing calls in emergency telephone service is improved.
Smart Images

Figure CN115103053B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a call establishment method, device, terminal, system and readable storage medium. Background Art
[0002] The emergency call service is a high priority service in the terminal. Once the user triggers the emergency call service of the terminal, the terminal needs to immediately establish an emergency call so that the user can get help in time.
[0003] However, in actual emergency call service usage scenarios, due to reasons such as the terminal's hardware, software, or the quality of the network accessed, the terminal cannot ensure that every emergency call can be successfully established, which results in a low success rate for the terminal to establish calls. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a call establishment method, device, terminal, system and readable storage medium, which can solve the problem of low success rate of terminal establishing calls.
[0005] In a first aspect, an embodiment of the present application provides a call establishment method, the method comprising: when a first terminal fails to establish a target call, the first terminal sends a notification message to the i-th second terminal among N second terminals, the notification message being used to instruct the second terminal to establish the target call, N and i are both positive integers, and N is greater than or equal to i; the first terminal receives the target message sent by the i-th second terminal; when the target message indicates that the i-th second terminal fails to establish the target call, and i is less than N, the first terminal sends a notification message to the i+1-th second terminal among the N second terminals; wherein the distances between the N second terminals and the first terminal are all less than or equal to a preset distance.
[0006] In a second aspect, an embodiment of the present application provides a call establishment device, which includes an establishment module, a sending module and a receiving module; the sending module is used to send a notification message to the i-th second terminal among N second terminals when the establishment module fails to establish a target call, the notification message is used to instruct the second terminal to establish the target call, N and i are both positive integers, and N is greater than or equal to i; the receiving module is used to receive the target message sent by the i-th second terminal; the sending module is also used to send a notification message to the i+1-th second terminal among the N second terminals when the target message indicates that the i-th second terminal fails to establish the target call and i is less than N; wherein the distances between the N second terminals and the call establishment device are all less than or equal to the preset distance.
[0007] In a third aspect, an embodiment of the present application provides a terminal comprising a processor and a memory, wherein the memory stores programs or instructions that can be executed on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0008] In a fourth aspect, an embodiment of the present application provides a call establishment system, which includes a first terminal and N second terminals, wherein the first terminal is used to send a notification message to the i-th second terminal among the N second terminals when the target call establishment fails, the distances between the N second terminals and the first terminal are all less than or equal to a preset distance, the notification message is used to instruct the second terminal to establish the target call, N and i are both positive integers, and N is greater than or equal to i; the i-th second terminal is used to start establishing the target call when receiving the notification message, and send a target message to the first terminal based on the result of establishing the target call; the first terminal is also used to receive the target message sent by the i-th second terminal, and when the target message indicates that the i-th second terminal failed to establish the target call, and i is less than N, send a notification message to the i+1-th second terminal among the N second terminals.
[0009] In a fifth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0010] In a sixth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0011] In a seventh aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0012] In the embodiment of the present application, when the first terminal fails to establish the target call, it can send a notification message to the i-th second terminal among N second terminals, the notification message is used to instruct the second terminal to establish the target call, N and i are both positive integers, and N is greater than or equal to i; and the target message sent by the i-th second terminal can be received; and when the target message indicates that the i-th second terminal fails to establish the target call, and i is less than N, the first terminal can send a notification message to the i+1-th second terminal among N second terminals; wherein the distances between the N second terminals and the first terminal are all less than or equal to the preset distance. Through this scheme, since the first terminal can instruct the i-th second terminal among N second terminals whose distances with the first terminal are less than or equal to the preset distance to establish the target call when the target call fails to be established, and when the i-th second terminal fails to establish the target call, it can continue to instruct the i+1-th second terminal among the N second terminals to establish the target call, that is, the first terminal can instruct multiple terminals to try to establish calls in sequence, thereby improving the success rate of terminal call establishment. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 is a flow chart of a call establishment method provided in an embodiment of the present application;
[0014] Figure 2 is a schematic diagram of a call establishment method provided in an embodiment of the present application;
[0015] Figure 3 It is a schematic diagram of the interface of the call establishment method application provided in the embodiment of the present application;
[0016] Figure 4 is a schematic diagram of a call establishment system provided in an embodiment of the present application;
[0017] Figure 5 is a schematic diagram of a call establishment device provided in an embodiment of the present application;
[0018] Figure 6 is a schematic diagram of a terminal provided in an embodiment of the present application;
[0019] Figure 7 It is a hardware schematic diagram of the terminal provided in the embodiment of the present application. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0021] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0022] The call establishment method, device, terminal and readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0023] Among the many services currently available on the terminal, the emergency call service is a service with a very high priority. For users, once the emergency call service is triggered, the terminal needs to help the user connect the call in the shortest possible time so that the user can get help in time. However, in actual emergency call service usage scenarios, due to reasons such as the terminal's hardware, software, or the quality of the network accessed, the terminal cannot ensure that every emergency call can be successfully established, which results in a low success rate for the terminal to establish a call.
[0024] With the continuous updating and development of terminal devices, a user may have multiple terminal devices at the same time in daily life. For example, a user may have a smart phone, a smart watch, a laptop, a smart car, etc. Since different terminals can access different networks and multiple terminals can be connected through one user, as long as one terminal is connected to the network, other terminals can access the network through the terminal that is connected to the network. In the case of multiple terminals, ubiquitous network coverage and ubiquitous connection ports can basically be met.
[0025] Therefore, in order to solve the problem of low success rate of establishing calls by the above-mentioned terminals, an embodiment of the present application provides a call establishment method. In the call establishment method provided by the embodiment of the present application, when the first terminal fails to establish an emergency call (such as the target call in the embodiment of the present application), it can send a notification message for instructing the second terminal to establish an emergency call to the i-th second terminal among N second terminals; and can receive the target message sent by the i-th second terminal; and when the target message indicates that the i-th second terminal fails to establish an emergency call, and i is less than N, the first terminal can send the notification message to the i+1-th second terminal among the N second terminals; wherein the distances between the N second terminals and the first terminal are all less than or equal to the preset distance. Through this scheme, since the first terminal can instruct the i-th second terminal among the N second terminals whose distances with the first terminal are less than or equal to the preset distance to establish an emergency call when the emergency call fails, and when the i-th second terminal fails to establish an emergency call, it can continue to instruct the i+1-th second terminal among the N second terminals to establish an emergency call, that is, the first terminal can instruct multiple terminals to try to establish emergency calls in sequence, thereby improving the success rate of the terminal establishing an emergency call.
[0026] It can be seen that the above call establishment method maximizes the use of the hardware, software or network quality of different terminals, thereby increasing the probability of successfully establishing an emergency call. Moreover, for the same user, since multiple terminals owned by the user can share a common user identity and share the user's emergency contact location with each other, after any terminal connects to the emergency call, the other party can quickly obtain the user's location so that the user can get help.
[0027] The present application provides a method for establishing a call. Figure 1 FIG. 1 is a flow chart showing a method for establishing a call provided by an embodiment of the present application. Figure 1 As shown, the call establishment method provided in the embodiment of the present application may include the following steps 101 to 103, or may include the following steps 101, 102 and 104.
[0028] Step 101: When a target call fails to be established, the first terminal sends a notification message to an i-th second terminal among N second terminals.
[0029] In the embodiment of the present application, the above notification message is used to instruct the second terminal to establish a target call, N and i are both positive integers, and N is greater than or equal to i.
[0030] In the embodiment of the present application, the distances between the N second terminals and the first terminal are all less than or equal to the preset distance.
[0031] Optionally, in the embodiment of the present application, the above-mentioned preset distance may be a system default, or may be set by the user according to actual usage requirements.
[0032] Optionally, in the embodiment of the present application, the preset distance may be a distance that can ensure that the first terminal can establish short-range communication with each of the N second terminals.
[0033] Optionally, in the embodiment of the present application, the above-mentioned short-range communication may include Bluetooth communication, Wireless Fidelity (Wi-Fi) communication, ZigBee communication, etc.
[0034] Optionally, in the embodiment of the present application, failure to establish the target call may be understood as: failure to establish the target call through all possible ways of establishing the target call.
[0035] Optionally, in an embodiment of the present application, after receiving the above-mentioned notification message, the above-mentioned i-th second terminal can first send a first response message (for example, a 100Trying response message) to the first terminal to reply to the first terminal that it has received the notification message, and then the i-th second terminal can start to establish the target call.
[0036] Optionally, in the embodiment of the present application, the target call may be any call; for example, the target call may be a call initiated to any contact.
[0037] Optionally, in the embodiment of the present application, the target call may be an emergency call.
[0038] Optionally, in an embodiment of the present application, the above-mentioned emergency call can be used to enable the user to obtain rescue.
[0039] In the embodiment of the present application, the above notification message may include: location information of the first terminal, and call type information.
[0040] In the embodiment of the present application, the location information of the first terminal may indicate the location of the first terminal when sending the above notification message, and the call type information may indicate that the target call is an emergency call.
[0041] It can be understood that after receiving the notification message, the i-th second terminal can establish an emergency call according to the instruction of the call type information included in the notification message.
[0042] Optionally, in an embodiment of the present application, after the i-th second terminal receives the above-mentioned notification message, if the emergency call is successfully established, the i-th second terminal can send the location information of the first terminal to the object of the emergency call, so that the object of the emergency call can know the specific location of the first terminal, thereby accurately rescuing.
[0043] It should be noted that, when the i-th second terminal successfully establishes an emergency call, the i-th second terminal may also send the location information of the i-th second terminal to the object of the emergency call. Since the distance between the i-th second terminal and the first terminal is less than or equal to the preset distance, the object of the emergency call can also be informed of the rescue location through the location information of the i-th second terminal.
[0044] Optionally, in an embodiment of the present application, the above notification message may further include preset sequence information, and the preset sequence information may indicate a preset sequence for sending the above notification messages to the above N second terminals.
[0045] Optionally, in an embodiment of the present application, if the first terminal and the above-mentioned N second terminals are terminals of the same user, the above-mentioned notification message may also include public user identity information corresponding to the user, so that the above-mentioned i-th terminal can match the user identity information after receiving the notification message, thereby increasing the security of the operation.
[0046] In an embodiment of the present application, since the target call is an emergency call, the above notification message may include: the location information of the first terminal, and the call type information, the notification message can indicate that the above i-th second terminal needs to establish an emergency call, and can ensure that the location for establishing the emergency call is within the above preset distance, thereby improving the success rate of the terminal in establishing the emergency call and ensuring the accuracy of the emergency rescue location.
[0047] Step 102: The first terminal receives a target message sent by the i-th second terminal.
[0048] Optionally, in the embodiment of the present application, the target message (eg, 200OK message) may indicate that the i-th second terminal successfully establishes the target call, or may indicate that the i-th second terminal fails to establish the target call.
[0049] Step 103: When the first condition is met, the first terminal stops sending the notification message.
[0050] In the embodiment of the present application, satisfying the first condition includes any of the following:
[0051] (1) The target message indicates that the target call is successfully established by the i-th second terminal;
[0052] (2) The target message indicates that the i-th second terminal fails to establish the target call, and i is equal to N.
[0053] Optionally, in an embodiment of the present application, when the first condition including the above (1) is met, the first terminal no longer needs to establish a target call through other second terminals. At this time, the first terminal can stop sending notification messages to save terminal resources.
[0054] It can be understood that in the above (2), i is equal to N, that is, the above i-th second terminal is the N-th second terminal among the above N second terminals, that is, the i-th second terminal is the last terminal among the N second terminals.
[0055] Optionally, in an embodiment of the present application, when the first condition includes the above (2), the above N second terminals all fail to establish the target call. At this time, the entire target call establishment process ends, and the first terminal no longer sends a notification message to any second terminal.
[0056] Optionally, in an embodiment of the present application, when the first condition includes the above (2), the above target message may include first sub-information, and the first sub-information may be used to indicate that all second terminals have failed to establish the target call.
[0057] Step 104: When the target message indicates that the i-th second terminal fails to establish the target call, and i is less than N, the first terminal sends a notification message to the i+1-th second terminal among the N second terminals.
[0058] It can be understood that i is less than N, that is, the i-th second terminal is not the last terminal among the N second terminals.
[0059] Optionally, in an embodiment of the present application, if the i-th second terminal fails to establish the target call, the i-th second terminal may send the target message to the first terminal, and the target message may also include second sub-information, which may be used to indicate that the first terminal needs to send the notification message to the i+1-th second terminal.
[0060] Optionally, in an embodiment of the present application, after attempting to establish a target call, the above-mentioned i+1th second terminal may send a target message to the first terminal. If the target message indicates that the i+1th second terminal has successfully established the target call, or the target message indicates that the i+1th terminal has failed to establish the target call, and i+1 is equal to N, the first terminal stops sending the above-mentioned notification message; if the target message indicates that the i+1th terminal has failed to establish the target call, and i+1 is less than N, the first terminal may send the notification message to the i+2th second terminal among the above-mentioned N second terminals. And so on, until one of the N second terminals successfully establishes the target call, or the N second terminals all fail to establish the target call, the entire target call establishment process ends.
[0061] The call establishment method provided in the embodiment of the present application is exemplarily described below in conjunction with the accompanying drawings.
[0062] For example, Figure 2 As shown, assuming that terminal A, terminal B and terminal C (i.e., N second terminals) are terminals whose distances from the first terminal are less than or equal to the preset distance, and terminal A is the first terminal (i.e., the i-th second terminal), terminal B is the second terminal (i.e., the i+1-th second terminal), and terminal C is the third terminal (i.e., the i+2-th second terminal), then when the first terminal fails to establish the target call, it can send a notification message to terminal A to instruct terminal A to establish the target call; if the first terminal receives target message 1 sent by terminal A, and target message 1 indicates that terminal A fails to establish the target call, the first terminal can send a notification message to terminal B; if the first terminal receives target message 2 sent by terminal B, and target message 2 indicates that terminal B fails to establish the target call, the first terminal can send a notification message to terminal C; if the first terminal receives target message 3 sent by terminal B, and target message 3 indicates that terminal B successfully establishes the target call, the first terminal stops sending the notification message, and the entire target call establishment process ends.
[0063] In the call establishment method provided in the embodiment of the present application, when the first terminal fails to establish the target call, it can instruct the i-th second terminal among N second terminals whose distance from the first terminal is less than or equal to the preset distance to establish the target call, and when the i-th second terminal fails to establish the target call, it can continue to instruct the i+1-th second terminal among the N second terminals to establish the target call, that is, the first terminal can instruct multiple terminals to try to establish calls in sequence, thereby improving the success rate of the terminals in establishing calls.
[0064] Optionally, in the embodiment of the present application, the above step 104 can be specifically implemented by the following step 104a.
[0065] Step 104a: When the target message indicates that the i-th second terminal fails to establish the target call, and i is less than N, the first terminal determines the i+1-th second terminal from the N second terminals based on a preset order, and sends a notification message to the i+1-th second terminal.
[0066] In the embodiment of the present application, the preset order is the order in which the first terminal sends the notification messages to the N second terminals.
[0067] Optionally, in an embodiment of the present application, the preset order may be arbitrarily set by a user according to actual usage requirements, or determined by the first terminal according to the network quality of a network to which each of the N second terminals is connected.
[0068] It should be noted that, in actual implementation, the above-mentioned preset order may also be an order determined by the first terminal according to any other possible factors (for example, the hardware configuration of the terminal, etc.), and is not limited in the embodiments of the present invention.
[0069] Optionally, in an embodiment of the present application, the first terminal may, based on the above preset order, determine the second terminal located at the i+1th position in the preset order as the above i+1th second terminal.
[0070] In an embodiment of the present application, since the first terminal can determine the i+1th second terminal based on the above-mentioned preset order and send the above-mentioned notification message to the i+1th second terminal, the first terminal can send the notification message to a second terminal in sequence according to the preset order, thereby improving the flexibility of the terminal in sending the notification message.
[0071] The specific method by which the first terminal determines the above-mentioned preset order according to the network quality of the network to which each of the above-mentioned second terminals accesses is described in detail below.
[0072] Optionally, in the embodiment of the present application, when the first terminal fails to establish the target call, the call establishment method provided in the embodiment of the present application may further include the following steps 105 to 107.
[0073] Step 105: The first terminal sends a first message to N second terminals.
[0074] In the embodiment of the present application, the first message is used to instruct the above-mentioned N second terminals to feedback the network quality of the network they access.
[0075] Step 106: The first terminal receives feedback messages from N second terminals.
[0076] In the embodiment of the present application, the feedback message of each second terminal in the feedback messages of the N second terminals includes: network quality information of the network accessed by the corresponding second terminal.
[0077] For example, assuming that the N second terminals are terminal 1 and terminal 2, the feedback message of terminal 1 includes network quality information of the network accessed by terminal 1, and the feedback message of terminal 2 includes network quality information of the network accessed by terminal 2.
[0078] Step 107: The first terminal determines a preset order according to the feedback messages from the N second terminals.
[0079] Optionally, in an embodiment of the present application, after receiving the feedback messages from the N second terminals, the first terminal may determine the preset order according to the quality of the network to which each second terminal accesses.
[0080] Exemplarily, assuming that the N second terminals are terminal a, terminal b, and terminal c, and the network quality of the network accessed by terminal a is better than that of the network accessed by terminal b, and the network quality of the network accessed by terminal b is better than that of the network accessed by terminal c, then the first terminal can determine the preset order as terminal a, terminal b, and terminal c based on the feedback message of terminal a, the feedback message of terminal b, and the feedback message of terminal c. It can be seen that the better the network quality of the accessed network, the higher the ranking of the corresponding second terminal in the preset order.
[0081] In an embodiment of the present application, since the first terminal can determine the preset order of the above-mentioned N second terminals according to the network quality of the network to which each second terminal is connected when the target call fails to be established, the first terminal can first send the notification message to the second terminal with better network quality when sending the above-mentioned notification message, thereby increasing the rate at which the terminal successfully establishes the call.
[0082] Optionally, in the embodiment of the present application, the target message indicates that the above-mentioned i-th second terminal successfully establishes the target call. Then, after the above-mentioned step 102, the call establishment method provided in the embodiment of the present application may also include the following step 108.
[0083] Step 108: The first terminal answers the target call through the short-range communication between the first terminal and the i-th second terminal.
[0084] Optionally, in an embodiment of the present application, the first terminal may answer the target call established by the i-th second terminal at the first terminal through short-range communication with the i-th second terminal; or, the target call may be directly answered at the i-th second terminal.
[0085] It can be understood that, since the distance between the i-th second terminal and the first terminal is less than or equal to the preset distance, answering the target call on the i-th second terminal can also allow the user to have a call with the target call partner.
[0086] For a specific description of the short-range communication, reference may be made to the relevant description in the above step 101, and in order to avoid repetition, it will not be repeated here.
[0087] In the embodiment of the present application, since the first terminal can answer the target call through the short-range communication between the first terminal and the above-mentioned i-th second terminal, it is possible to answer the target call established by the i-th second terminal on the first terminal, thereby improving the flexibility of answering the target call.
[0088] Optionally, in the embodiment of the present application, the target message indicates that the above-mentioned i-th second terminal successfully establishes the target call. Then, after the above-mentioned step 102, the call establishment method provided in the embodiment of the present application may also include the following step 109.
[0089] Step 109: The first terminal displays a first selection mark and a second selection mark.
[0090] In the embodiment of the present application, the first selection identifier is used to select the first terminal as the answering end of the target call, and the second selection identifier is used to select the above-mentioned i-th second terminal as the answering end of the target call.
[0091] Optionally, in the embodiment of the present application, the first selection identifier may be any identifier that can indicate the first terminal, for example, the first selection identifier is a text identifier or an image identifier of the first terminal.
[0092] Optionally, in the embodiment of the present application, the second selection identifier may be any identifier that can indicate the i-th second terminal. For example, the second selection identifier is a text identifier or an image identifier of the i-th second terminal.
[0093] Optionally, in the embodiment of the present application, the first selection mark and the second selection mark can be marks of any shape, color or size, which is not limited in the embodiment of the present application.
[0094] Optionally, in an embodiment of the present application, the first terminal may display a first selection indicator and a second selection indicator in a call establishment interface, where the call establishment interface is used to display relevant information in a process of establishing a target call through the second terminal.
[0095] It should be noted that, in actual implementation, the first terminal may display the first selection indicator and the second selection indicator in any possible interface, which may be specifically set according to the user's usage requirements and is not limited in the embodiment of the present application.
[0096] Optionally, in the embodiment of the present application, the first terminal can select the first terminal as the answering end of the target call through the user's first input of the first selection identifier.
[0097] Optionally, in the embodiment of the present application, the first terminal may select the above-mentioned i-th second terminal as the answering end of the target call through the user's second input of the second selection identifier.
[0098] Optionally, in the embodiment of the present application, the first input and the second input may be any possible form of input such as floating input, touch input or voice input.
[0099] The call establishment method provided in the embodiment of the present application is exemplarily described below in conjunction with the accompanying drawings.
[0100] For example, Figure 3 As shown, assuming that terminal a is the first terminal, terminal b is the above-mentioned i-th second terminal, and terminal b successfully establishes the target call, then after receiving the target message sent by terminal b, terminal a can display the call establishment interface 30, and display the logo 31 (i.e., the first selection logo) and the logo 32 (i.e., the second selection logo) in the call establishment interface 30. It can be seen that the logo 31 is the text logo "terminal a", and the logo 32 is the text logo "terminal b". Therefore, the user can trigger terminal a to select terminal a as the receiving end of the target call by single-clicking the logo 31 (i.e., the first input); or, the user can trigger terminal a to select terminal b as the receiving end of the target call by single-clicking the logo 32 (i.e., the second input), which can improve the flexibility of answering calls. In an embodiment of the present application, after the above-mentioned i-th second terminal successfully establishes the target call, the first terminal can display a first selection mark for selecting the first terminal as the answering end of the target call, and a second selection mark for selecting the i-th second terminal as the answering end of the target call, so that the user can select the answering end of the target call, thereby improving the flexibility of the terminal in answering calls.
[0101] Optionally, in the embodiment of the present application, the call establishment method provided in the embodiment of the present application may further include the following step 110.
[0102] Step 110: The first terminal displays target information.
[0103] In the embodiment of the present application, the target information is used to indicate the terminal that is currently establishing the target call.
[0104] Optionally, in an embodiment of the present application, the first terminal may display target information in the above-mentioned call establishment interface.
[0105] It should be noted that, in actual implementation, the first terminal may display the target information in any possible interface, which may be specifically set according to the user's usage requirements, and is not limited in the embodiments of the present application.
[0106] Optionally, in the embodiment of the present application, the target information may be any possible information such as text information or image information that can indicate the terminal currently establishing the target call.
[0107] For example, assuming that the terminal currently establishing the target call is terminal A, the first terminal may display text information "terminal A" (ie, target information) to indicate that the terminal currently establishing the target call is terminal A.
[0108] In an embodiment of the present application, since the first terminal can display target information for indicating the terminal currently establishing the target call, the user can be informed of the terminal currently attempting to establish the target call through the target information, thereby improving human-computer interaction performance and improving the user experience.
[0109] The embodiment of the present application also provides a call establishment system, Figure 4 FIG. 1 is a schematic diagram of a call establishment system provided by an embodiment of the present application. Figure 4 As shown, the system includes a first terminal 41 and N second terminals. Among them, the first terminal 41 can be used to send a notification message to the i-th second terminal 42 among the N second terminals when the target call fails to be established. The distances between the N second terminals and the first terminal are all less than or equal to the preset distance. The notification message is used to instruct the second terminal to establish the target call. N and i are both positive integers, and N is greater than or equal to i. The i-th second terminal 42 can be used to establish the target call when receiving the notification message, and send a target message to the first terminal 41 based on the result of establishing the target call. The first terminal 41 can also be used to receive the target message sent by the i-th second terminal 42, and when the target message indicates that the i-th second terminal 42 fails to establish the target call, and i is less than N, send a notification message to the i+1-th second terminal among the N second terminals.
[0110] In a possible implementation, the target call may be an emergency call. The notification message may include: location information of the first terminal and call type information, wherein the call type information indicates that the target call is an emergency call.
[0111] In a possible implementation manner, the first terminal may be configured to determine the i+1th second terminal from the N second terminals based on a preset order, and send the notification message to the i+1th second terminal.
[0112] In a possible implementation, the first terminal may also be used to send a first message to the N second terminals in the case of failure to establish the target call, and receive feedback messages from the N second terminals, and determine the preset order according to the feedback messages from the N second terminals. The first message is used to instruct the N second terminals to feedback the network quality of the network they are connected to; each feedback message includes network quality information of the network connected to the corresponding second terminal.
[0113] In a possible implementation, the target message indicates that the target call is successfully established by the i-th second terminal. The first terminal may also be configured to answer the target call through short-range communication between the first terminal and the i-th second terminal after receiving the target message sent by the i-th second terminal.
[0114] In a possible implementation, the target message indicates that the target call is successfully established by the i-th second terminal. The first terminal may also be configured to display a first selection identifier and a second selection identifier after receiving the target message sent by the i-th second terminal, wherein the first selection identifier is used to select the first terminal as the receiving end of the target call, and the second selection identifier is used to select the i-th second terminal as the receiving end of the target call.
[0115] In a possible implementation, the first terminal may also be used to display target information, where the target information is used to indicate the terminal that is currently establishing the target call.
[0116] In the call establishment system provided in the embodiment of the present application, since the first terminal can be used to instruct the i-th second terminal among N second terminals whose distance from the first terminal is less than or equal to the preset distance to establish the target call when the target call establishment fails; and can be used to continue to instruct the i+1-th second terminal among the N second terminals to establish the target call when the i-th second terminal fails to establish the target call, that is, the first terminal can be used to instruct multiple terminals to try to establish calls in sequence, thereby improving the success rate of terminals in establishing calls.
[0117] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.
[0118] The call establishment method provided in the embodiment of the present application can be executed by a call establishment device. In the embodiment of the present application, the call establishment method executed by the call establishment device is taken as an example to illustrate the call establishment device provided in the embodiment of the present application.
[0119] Combination Figure 5 , an embodiment of the present application provides a call establishment device 50, and the call establishment device 50 may include an establishment module 51, a sending module 52 and a receiving module 53. The sending module 52 may be used to send a notification message to the i-th second terminal among the N second terminals when the establishment module 51 fails to establish the target call, and the notification message is used to instruct the second terminal to establish the target call, where N and i are both positive integers, and N is greater than or equal to i. The receiving module 53 may be used to receive the target message sent by the i-th second terminal. The sending module 52 may also be used to send a notification message to the i+1-th second terminal among the N second terminals when the target message indicates that the i-th second terminal fails to establish the target call, and i is less than N; wherein the distances between the N second terminals and the call establishment device 50 are all less than or equal to the preset distance.
[0120] In a possible implementation, the target call may be an emergency call. The notification message includes: location information of the call establishing device 50 and call type information; wherein the call type information indicates that the target call is an emergency call.
[0121] In a possible implementation, the sending module 52 may include a determining submodule and a sending submodule. The determining submodule may be used to determine the i+1th second terminal from the N second terminals based on a preset order; the sending submodule may be used to send the notification message to the i+1th second terminal.
[0122] In a possible implementation, the call establishment device 50 may further include a determination module. The sending module 52 may also be used to send a first message to the N second terminals when the establishment module 51 fails to establish the target call, and the first message is used to instruct the N second terminals to feedback the network quality of the network to which they are connected. The receiving module 53 may also be used to receive feedback messages from the N second terminals, each feedback message including network quality information of the network to which the corresponding second terminal is connected. The determination module may be used to determine the above-mentioned preset order according to the feedback messages from the N second terminals received by the receiving module 53.
[0123] In a possible implementation, the target message indicates that the target call is successfully established by the i-th second terminal, and the call establishment device 50 may further include an answering module. The answering module may be used to answer the target call through the short-range communication between the call establishment device 50 and the i-th second terminal after the receiving module 53 receives the target message sent by the i-th second terminal.
[0124] In a possible implementation, the target message indicates that the target call is successfully established by the i-th second terminal, and the call establishment device 50 may further include a first display module. The first display module may be used to display a first selection mark and a second selection mark after the receiving module 53 receives the target message sent by the i-th second terminal, the first selection mark being used to select the call establishment device 50 as the receiving end of the target call, and the second selection mark being used to select the i-th second terminal as the receiving end of the target call.
[0125] In a possible implementation, the call establishing device 50 may further include a second display module. The second display module may be used to display target information, where the target information is used to indicate the terminal currently establishing the target call.
[0126] In the call establishment device provided in the embodiment of the present application, when the call establishment device fails to establish a target call, it can instruct the i-th second terminal among N second terminals whose distance from the call establishment device is less than or equal to a preset distance to establish a target call, and when the i-th second terminal fails to establish the target call, it can continue to instruct the i+1-th second terminal among the N second terminals to establish the target call, that is, the call establishment device can instruct multiple terminals to try to establish calls in sequence, thereby improving the success rate of establishing calls.
[0127] The call establishment device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0128] The call establishment device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0129] The call establishment device provided in the embodiment of the present application can achieve Figures 1 to 3 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0130] like Figure 6 As shown, an embodiment of the present application also provides a terminal 600, including a processor 601 and a memory 602, and the memory 602 stores a program or instruction that can be executed on the processor 601. When the program or instruction is executed by the processor 601, the various steps of the call establishment method embodiment as described above are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0131] It should be noted that the terminal in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device mentioned above.
[0132] Figure 7 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.
[0133] The terminal 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
[0134] Those skilled in the art will appreciate that the terminal 1000 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 7 The terminal structure shown in the figure does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0135] Among them, the radio frequency unit 1001 can be used to send a notification message to the i-th second terminal among N second terminals when the processor 1010 fails to establish the target call, and the notification message is used to instruct the second terminal to establish the target call, N and i are both positive integers, and N is greater than or equal to i; and receive the target message sent by the i-th second terminal; and when the target message indicates that the i-th second terminal fails to establish the target call, and i is less than N, send a notification message to the i+1-th second terminal among the N second terminals; wherein the distances between the N second terminals and the terminal 1000 are all less than or equal to the preset distance.
[0136] In a possible implementation, the target call may be an emergency call. The notification message includes: location information of the terminal 1000 and call type information; wherein the call type information indicates that the target call is an emergency call.
[0137] In a possible implementation, the processor 1010 may be specifically configured to determine the i+1th second terminal from the N second terminals based on a preset order. The radio frequency unit 1001 may be specifically configured to send the notification message to the i+1th second terminal.
[0138] In a possible implementation, the RF unit 1001 may also be used to send a first message to the N second terminals when the processor 1010 fails to establish the target call, the first message being used to instruct the N second terminals to feedback the network quality of the network they are connected to; and receive feedback messages from the N second terminals, each feedback message including network quality information of the network to which the corresponding second terminal is connected. The processor 1010 may also be used to determine the above-mentioned preset order according to the feedback messages from the N second terminals received by the RF unit 1001.
[0139] In a possible implementation, the target message indicates that the target call is successfully established by the i-th second terminal. The processor 1010 may also be configured to answer the target call through the short-range communication between the terminal 1000 and the i-th second terminal after the RF unit 1001 receives the target message sent by the i-th second terminal.
[0140] In a possible implementation, the target message indicates that the target call is successfully established by the i-th second terminal. The display unit 1006 can be used to display a first selection identifier and a second selection identifier after the radio frequency unit 1001 receives the target message sent by the i-th second terminal, the first selection identifier being used to select the terminal 1000 as the receiving end of the target call, and the second selection identifier being used to select the i-th second terminal as the receiving end of the target call.
[0141] In a possible implementation, the display unit 1006 may also be used to display target information, where the target information is used to indicate the terminal that is currently establishing the target call.
[0142] In the terminal provided in the embodiment of the present application, when the terminal fails to establish a target call, the terminal can instruct the i-th second terminal among N second terminals whose distance from the terminal is less than or equal to a preset distance to establish a target call, and when the i-th second terminal fails to establish the target call, the terminal can continue to instruct the i+1-th second terminal among the N second terminals to establish a target call, that is, the terminal can instruct multiple terminals to try to establish calls in sequence, thereby improving the success rate of the terminal in establishing calls.
[0143] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.
[0144] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0145] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0146] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.
[0147] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the call establishment method embodiment described above is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0148] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0149] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned call establishment method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0150] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0151] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned call establishment method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0152] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0153] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0154] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A call establishment method, characterized in that: Applied to a first terminal, the method includes: When the target call fails to be established, the first terminal sends a notification message to an i-th second terminal among the N second terminals, where the notification message is used to instruct the second terminal to establish the target call, where N and i are both positive integers, and N is greater than or equal to i; The first terminal receives a target message sent by the i-th second terminal; When the target message indicates that the i-th second terminal fails to establish the target call, and i is less than N, the first terminal sends the notification message to the i+1-th second terminal among the N second terminals; The first terminal sending the notification message to the (i+1)th second terminal among the N second terminals includes: The first terminal determines the (i+1)th second terminal from the N second terminals based on a preset order, and sends the notification message to the (i+1)th second terminal; Wherein, the distances between the N second terminals and the first terminal are all less than or equal to a preset distance; In a case where the target message indicates that the i-th second terminal has successfully established the target call, after the first terminal receives the target message sent by the i-th second terminal, the method further includes: The first terminal displays a first selection mark and a second selection mark, the first selection mark is used to select the first terminal as the receiving end of the target call, and the second selection mark is used to select the i-th second terminal as the receiving end of the target call.
2. The method according to claim 1, characterized in that The target call is an emergency call; The notification message includes: location information of the first terminal and call type information; The call type information indicates that the target call is an emergency call.
3. The method according to claim 1, characterized in that In the case where the first terminal fails to establish the target call, the method further includes: The first terminal sends a first message to the N second terminals, where the first message is used to instruct the N second terminals to feedback network quality of the network they access; The first terminal receives feedback messages from the N second terminals, each of the feedback messages including network quality information of a network accessed by the corresponding second terminal; The first terminal determines the preset order according to the feedback messages from the N second terminals.
4. The method according to claim 1 or 2, characterized in that: The target message indicates that the i-th second terminal has successfully established the target call; After the first terminal receives the target message sent by the i-th second terminal, the method further includes: The first terminal answers the target call through the short distance communication between the first terminal and the i-th second terminal.
5. The method according to claim 1, characterized in that The method further comprises: The first terminal displays target information, where the target information is used to indicate the terminal that is currently establishing the target call.
6. A call establishment system, characterized in that: The system includes a first terminal and N second terminals, wherein: The first terminal is used to send a notification message to an i-th second terminal among the N second terminals when establishing the target call fails, the distances between the N second terminals and the first terminal are all less than or equal to a preset distance, the notification message is used to instruct the second terminal to establish the target call, N and i are both positive integers, and N is greater than or equal to i; The i-th second terminal is used to establish the target call when receiving the notification message, and send a target message to the first terminal based on the result of establishing the target call; The first terminal is further configured to receive the target message sent by the i-th second terminal, and, when the target message indicates that the i-th second terminal fails to establish the target call, and i is less than N, send the notification message to the i+1-th second terminal among the N second terminals; The first terminal is further configured to determine the (i+1)th second terminal from the N second terminals based on a preset order, and send the notification message to the (i+1)th second terminal; The target message indicates that the i-th second terminal has successfully established a target call. The first terminal can also be used to display a first selection identifier and a second selection identifier after receiving the target message sent by the i-th second terminal. The first selection identifier is used to select the first terminal as the answering end of the target call, and the second selection identifier is used to select the i-th second terminal as the answering end of the target call.
7. The system according to claim 6, characterized in that The target call is an emergency call; The notification message includes: location information of the first terminal and call type information; The call type information indicates that the target call is an emergency call.
8. The system according to claim 6, characterized in that The first terminal is further configured to, when the target call fails to be established, send a first message to the N second terminals, receive feedback messages from the N second terminals, and determine the preset order according to the feedback messages from the N second terminals; The first message is used to instruct the N second terminals to feedback the network quality of the networks they access; each of the feedback messages includes network quality information of the network accessed by the corresponding second terminal.
9. The system according to claim 6 or 7, characterized in that: The target message indicates that the i-th second terminal has successfully established the target call; The first terminal is further configured to answer the target call through short distance communication between the first terminal and the i-th second terminal after receiving the target message sent by the i-th second terminal.
10. A call establishment device, characterized in that: The device includes an establishing module, a sending module and a receiving module; the sending module is used to send a notification message to the i-th second terminal among N second terminals when the establishing module fails to establish the target call, the notification message is used to instruct the second terminal to establish the target call, N and i are both positive integers, and N is greater than or equal to i; The receiving module is used to receive the target message sent by the i-th second terminal; The sending module is further configured to send the notification message to the i+1th second terminal among the N second terminals when the target message indicates that the i-th second terminal fails to establish the target call and i is less than N; The sending module includes a determining submodule and a sending submodule; The determination submodule is configured to determine the (i+1)th second terminal from the N second terminals based on a preset order; The sending submodule is used to send the notification message to the (i+1)th second terminal; Wherein, the distances between the N second terminals and the call establishment device are all less than or equal to a preset distance; The device also includes a display module; The display module is used to display a first selection identifier and a second selection identifier after the receiving module receives the target message sent by the i-th second terminal. The first selection identifier is used to select the call establishment device as the answering end of the target call, and the second selection identifier is used to select the i-th second terminal as the answering end of the target call.
11. The device according to claim 10, characterized in that The target call is an emergency call; The notification message includes: location information of the call establishment device and call type information; The call type information indicates that the target call is an emergency call.
12. The device according to claim 10, characterized in that The device also includes a determination module; The sending module is further configured to send a first message to the N second terminals when the establishing module fails to establish the target call, wherein the first message is used to instruct the N second terminals to feedback the network quality of the network to which they are connected; The receiving module is further configured to receive feedback messages from the N second terminals, each of the feedback messages including network quality information of a network accessed by the corresponding second terminal; The determining module is used to determine the preset order according to the feedback messages of the N second terminals received by the receiving module.
13. The device according to claim 10 or 11, characterized in that The target message indicates that the target call is successfully established by the i-th second terminal, and the device further includes an answering module; The answering module is used to answer the target call through the short-range communication between the call establishing device and the i-th second terminal after the receiving module receives the target message sent by the i-th second terminal.
14. A terminal, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the call establishment method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Proximity detection of mobile devices for emergency calling
CN110476441A
Portable radio terminal
JP2009267865A