Communication method and apparatus, electronic device, storage medium, and product
Patent Information
- Application Number
- CN202510428617.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-07
- Publication Date
- 2026-10-16
AI Technical Summary
[0004]但是,相关技术中,没有被配置SIM功能的电子设备没有紧急通话机制
[0025] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: By determining whether the current number is an emergency number before dialing, the first electronic device can perform corresponding processing operations based on different determination results, thereby clarifying the emergency call mechanism corresponding to the first electronic device. This allows users to dial emergency numbers based on the emergency call mechanism, improving the success rate of emergency number dialing and enhancing the user experience.
Smart Images

Figure CN122933814A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to communication methods, apparatus, electronic devices, storage media and products. Background Technology
[0002] With the development of electronic device technology, various forms of electronic devices are widely used by users.
[0003] In related technologies, based on the communication functions of electronic devices, they can be divided into electronic devices without a Subscriber Identity Module (SIM) or electronic devices with a SIM. In some scenarios, electronic devices without a SIM can make calls based on electronic devices with a SIM.
[0004] However, in related technologies, electronic devices without SIM functionality lack an emergency call mechanism. Summary of the Invention
[0005] To overcome the problems existing in related technologies, this disclosure provides a communication method, apparatus, electronic device, storage medium, and product.
[0006] According to a first aspect of some embodiments of this disclosure, a communication method is provided, comprising: in response to a first electronic device having an emergency number to be dialed, sending a dialing communication request to a target electronic device, wherein the target electronic device is an electronic device that authorizes the first electronic device to perform dialing communication; and in response to the target electronic device authorizing the first electronic device to perform dialing communication, the first electronic device dials the emergency number.
[0007] In some implementations, the first electronic device and the second electronic device have a communication connection. Sending a dialing communication request to the target electronic device includes: determining the current communication state between the first electronic device and the second electronic device; if the current communication state meets the communication requirements, then the second electronic device is used as the target device to send a dialing communication request; if the current communication state does not meet the communication requirements, then a third electronic device is determined and used as the target electronic device to send a dialing request.
[0008] In some implementations, the number to be dialed by the first electronic device is determined to be an emergency number in the following way: if the number to be dialed by the first electronic device matches a preset emergency number, then the number to be dialed by the first electronic device is determined to be an emergency number; wherein the preset emergency number is determined based on an emergency number list shared by the second device, and the emergency number list records the emergency numbers determined by the second electronic device.
[0009] In some implementations, the emergency number includes at least one of the following: a user-configured emergency number; an emergency number corresponding to the SIM card of the second electronic device; or a network-configured emergency number.
[0010] In some implementations, determining the preset emergency number based on the emergency number list shared by the second device includes: receiving the emergency number list currently sent by the second electronic device, and updating the previously stored emergency numbers based on the currently sent emergency number list; reading and determining the preset emergency number in the updated emergency number list.
[0011] In some implementations, determining a third electronic device includes: determining whether there is an electronic device that has previously established a communication connection with the first electronic device; if such an electronic device exists, selecting the third electronic device from among these electronic devices; if such an electronic device does not exist, searching for nearby electronic devices that can establish a communication connection with the first electronic device and have dialing functionality, and selecting the third electronic device from among these electronic devices.
[0012] In some implementations, after designating the third electronic device as the target electronic device, the method further includes: changing the device name corresponding to the first electronic device, wherein the text semantics corresponding to the changed device name include: requesting to dial an emergency number; determining the signal strength corresponding to the third electronic device, and sequentially sending requests to establish a communication connection relationship to the third electronic device based on the signal strength, until at least one of the third electronic devices agrees to the request to establish a communication connection relationship, or all the third electronic devices disagree with the request to establish a communication connection relationship.
[0013] In some embodiments, the first electronic device and the second electronic device have a communication connection. The method further includes: in response to the fact that the currently dialed number is a non-emergency number, or that the first electronic device does not store a preset emergency number, determining the current communication state, wherein the preset emergency number is determined based on an emergency number list shared by the second device, and the emergency number list records the emergency numbers determined by the second electronic device; if the current communication state meets the communication requirements, sending a request to dial the non-emergency number to the second electronic device; if the current communication state does not meet the communication requirements, terminating the communication process.
[0014] According to a second aspect of some embodiments of this disclosure, a communication apparatus is provided, comprising: a sending unit configured to send a dialing communication request to a target electronic device when the number to be dialed by a first electronic device is an emergency number, wherein the target electronic device is an electronic device that authorizes the first electronic device to perform dialing communication; and a processing unit configured to dial the emergency number when the target electronic device authorizes the first electronic device to perform dialing communication.
[0015] In some implementations, the first electronic device and the second electronic device have a communication connection. The sending unit sends a dialing communication request to the target electronic device in the following manner: determining the current communication state between the first electronic device and the second electronic device; if the current communication state meets the communication requirements, then the second electronic device is used as the target device to send a dialing communication request; if the current communication state does not meet the communication requirements, then a third electronic device is determined and used as the target electronic device to send a dialing request.
[0016] In some implementations, the processing unit determines that the number to be dialed by the first electronic device is an emergency number in the following way: if the number to be dialed by the first electronic device matches a preset emergency number, then the number to be dialed by the first electronic device is determined to be an emergency number; wherein the preset emergency number is determined based on an emergency number list shared by the second device, and the emergency number list records the emergency numbers determined by the second electronic device.
[0017] In some implementations, the emergency number includes at least one of the following: a user-configured emergency number; an emergency number corresponding to the SIM card of the second electronic device; or a network-configured emergency number.
[0018] In some implementations, the processing unit determines the preset emergency number based on the emergency number list shared by the second device in the following manner: receiving the emergency number list currently sent by the second electronic device, and updating the previously stored emergency numbers based on the currently sent emergency number list; reading and determining the preset emergency number in the updated emergency number list.
[0019] In some implementations, the third electronic device is determined as follows: it is determined whether there is an electronic device that has previously established a communication connection with the first electronic device; if such an electronic device exists, the third electronic device is selected from among these electronic devices; if such an electronic device does not exist, a search is conducted for nearby electronic devices that can establish a communication connection with the first electronic device and have dialing functionality, and the third electronic device is selected from among these electronic devices.
[0020] In some embodiments, when the third electronic device is used as the target electronic device, the sending unit is further configured to: change the device name corresponding to the first electronic device, wherein the text semantics corresponding to the changed device name include: requesting to dial an emergency number; determine the signal strength corresponding to the third electronic device, and send requests to establish a communication connection relationship to the third electronic device sequentially based on the signal strength, until there is a request from the third electronic device to agree to the request to establish a communication connection relationship, or all third electronic devices disagree to the request to establish a communication connection relationship.
[0021] In some embodiments, the first electronic device and the second electronic device have a communication connection, and the sending unit is further configured to: determine the current communication state when the currently dialed number is a non-emergency number or the first electronic device does not store a preset emergency number, wherein the preset emergency number is determined based on an emergency number list shared by the second device, and the emergency number list records emergency numbers determined by the second electronic device; if the current communication state meets the communication requirements, send a request to the second electronic device to dial the non-emergency number; if the current communication state does not meet the communication requirements, terminate the communication process.
[0022] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: execute the communication method described in the first aspect or any embodiment of the first aspect.
[0023] According to a fourth aspect of the present disclosure, a storage medium is provided, the storage medium storing instructions that, when executed by a processor, enable the processor to perform the communication method described in the first aspect or any embodiment of the first aspect.
[0024] According to a fifth aspect of the present disclosure, a computer program product is provided, the computer program product including a computer program, which, when executed by a processor, implements the communication method described in the first aspect or any one of the embodiments of the first aspect.
[0025] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: By determining whether the current number is an emergency number before dialing, the first electronic device can perform corresponding processing operations based on different determination results, thereby clarifying the emergency call mechanism corresponding to the first electronic device. This allows users to dial emergency numbers based on the emergency call mechanism, improving the success rate of emergency number dialing and enhancing the user experience.
[0026] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0027] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0028] Figure 1 This is a flowchart of a communication method illustrated according to some embodiments of the present disclosure. Figure 1 .
[0029] Figure 2 This is a flowchart of a communication method illustrated according to some embodiments of the present disclosure. Figure 2 .
[0030] Figure 3 This is a flowchart illustrating a method for determining a number to be dialed by a first electronic device according to some embodiments of the present disclosure.
[0031] Figure 4A This is a flowchart illustrating a method for determining a preset emergency number according to some embodiments of the present disclosure.
[0032] Figure 4B This is a schematic diagram illustrating a scenario for obtaining a list of emergency numbers, based on some embodiments of the present disclosure.
[0033] Figure 5 This is a flowchart of a communication method illustrated according to some embodiments of the present disclosure. Figure 3 .
[0034] Figure 6 This is a flowchart illustrating a method for determining a third electronic device according to some embodiments of the present disclosure.
[0035] Figure 7 This is a flowchart illustrating a method for sending a first request to a third electronic device according to some embodiments of the present disclosure.
[0036] Figure 8 This is a schematic diagram illustrating a communication method according to some embodiments of the present disclosure.
[0037] Figure 9 This is a block diagram of a communication device according to some embodiments of the present disclosure.
[0038] Figure 10 This is a block diagram of a communication apparatus shown according to some embodiments of the present disclosure. Figure 1 .
[0039] Figure 11 This is a block diagram of a communication apparatus shown according to some embodiments of the present disclosure. Figure 2 . Detailed Implementation
[0040] Some embodiments of this disclosure will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. Various changes, modifications, and equivalents of the methods, apparatus, and / or systems described herein will become apparent upon understanding this disclosure. For example, the order of operations described herein is merely illustrative and is not limited to those orders set forth herein, but can be changed as will become apparent upon understanding this disclosure, except for operations that must be performed in a particular order. Furthermore, for clarity and brevity, descriptions of features known in the art may be omitted.
[0041] With the development of electronic device technology, various forms of electronic devices are widely used by users.
[0042] In related technologies, based on the communication functions of electronic devices, they can be divided into two types as follows: a) Electronic devices without a Subscriber Identity Module (SIM) function (hereinafter referred to as the first electronic device for ease of understanding). b) Electronic devices with a SIM function (hereinafter referred to as the second electronic device for ease of understanding).
[0043] In some scenarios, although the first electronic device is not configured with SIM functionality and cannot use the network services corresponding to the SIM itself (for example, the first electronic device accesses the cellular network to make calls or send text messages), the first electronic device can establish a communication relationship with the second electronic device and use the network services corresponding to the SIM through the second electronic device based on the corresponding interface protocol.
[0044] To facilitate understanding, the above scenario will be described exemplarily using the following example. For instance, the first electronic device is a wearable device (e.g., a Bluetooth watch or fitness tracker), which is not configured with SIM functionality. The second electronic device is a terminal (e.g., a smartphone), and the first and second electronic devices have a communication association (e.g., the first and second electronic devices communicate via Bluetooth). In this case, for a scenario where a user makes a phone call using the first electronic device, the first electronic device would, for example, perform the following steps A1) to A3):
[0045] A1) Obtain the phone number the user wants to dial and send it to a second electronic device.
[0046] A2) The first electronic device receives the feedback result sent by the second electronic device. The feedback result can be understood as the judgment result of the second electronic device based on its current communication state (e.g., communication network state), such as the judgment result on whether the first electronic device can make a phone call based on the current communication state.
[0047] A3) If the feedback indicates that the first electronic device can make a call based on the current communication status, then the first electronic device initiates a call request to the second electronic device to complete the call. If the feedback indicates that the first electronic device cannot make a call based on the communication status, then the first electronic device does not initiate a call request to the second electronic device and informs the user that the call cannot be completed.
[0048] As can be seen, in the above scenario, the first electronic device determines whether to complete the call based on the received feedback. However, in some scenarios, users may need to make emergency calls (e.g., dialing an emergency contact's number or an emergency rescue call), but the second electronic device may be unable to send the feedback to the first electronic device due to poor communication (e.g., interrupted communication between the first and second electronic devices, or the second electronic device's inability to access the cellular network). Furthermore, the first electronic device may lack a relevant emergency call mechanism, thus preventing it from completing the emergency call in a timely manner. This negatively impacts the user's call-making experience and causes inconvenience.
[0049] In view of this, this disclosure proposes a communication method. In this method, when a first electronic device determines that the number to be dialed is an emergency number, it sends a communication request to a target electronic device authorized to make the dialing, thereby enabling the first electronic device to dial the emergency number based on the target electronic device. This improves the success rate of users dialing emergency numbers and enhances the user experience.
[0050] It should be noted that the communication method provided in this disclosure can be applied to electronic devices. Electronic devices may include, for example, terminals or servers. Terminals include, for example, mobile phones, wearable devices, IoT devices, automobiles with communication capabilities, smart cars, tablets, computers with wireless transceiver capabilities, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, wireless terminal devices in industrial control, wireless terminal devices in self-driving, wireless terminal devices in remote medical surgery, wireless terminal devices in smart grids, wireless terminal devices in transportation safety, wireless terminal devices in smart cities, and wireless terminal devices in smart homes, but are not limited thereto. Servers may include, but are not limited to, independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
[0051] The embodiments disclosed herein can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, and assisted driving.
[0052] It should be noted that all actions involving the acquisition of signals, information, or data in this disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the location is situated, and with authorization from the owner of the relevant device.
[0053] For ease of understanding, some technical terms involved in the embodiments of this disclosure will be explained by way of example below:
[0054] Emergency Number: In the field of telecommunications technology, an emergency number refers to a telephone number pre-set by a telecommunications network operator (such as a SIM card operator), added by the user, or pre-set by a relevant organization, used to quickly contact emergency rescue services (such as fire services, medical emergency services, etc.) in emergency situations. Emergency numbers typically include the following characteristics: priority handling, no-dial conditions, and universality.
[0055] Hands-Free Profile (HFP) is a Bluetooth protocol designed to enable communication between hands-free devices (such as Bluetooth headsets and Bluetooth watches) and mobile phones, allowing users to answer, hang up, and dial calls without directly operating the phone.
[0056] The +CIEV command is used by the phone to notify the Bluetooth watch of the network status in real time via the HFP protocol, such as network connectivity and signal strength. The watch can then use this information to determine if it is ready to make a regular phone call. If there is no network connection or the signal strength is too low, the watch can quickly report a call failure without waiting for further instructions from the phone.
[0057] A Public Land Mobile Network (PLMN) is a land-based mobile communication network established and operated by mobile communication operators to provide services to the public. It is an important component of mobile communication systems, offering users a variety of communication services such as voice calls, data transmission, and SMS.
[0058] Default Public Land Mobile Network (DefaultPLMN). This term is typically used to describe a preset or default PLMN configuration used by mobile devices (such as mobile phones) when they cannot obtain PLMN information for the current network.
[0059] In the relevant embodiments of this disclosure, the emergency number configured in the network can be understood as an emergency number issued (or configured) based on the PLMN and an emergency number issued (or configured) based on the Default PLMN.
[0060] The embodiments described in the following examples of this disclosure are not representative of all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0061] The communication methods provided in some embodiments of this disclosure are applied to communication scenarios of electronic devices.
[0062] Figure 1This is a flowchart of a communication method illustrated according to some embodiments of the present disclosure. Figure 1 ,like Figure 1 As shown, the communication method is used in a first electronic device and includes the following steps.
[0063] In step S11, in response to the fact that the number to be dialed by the first electronic device is an emergency number, a dialing communication request is sent to the target electronic device.
[0064] In step S12, in response to the target electronic device authorizing the first electronic device to make a dialing communication, the first electronic device dials an emergency number.
[0065] The target electronic device is an electronic device that authorizes the first electronic device to make dial-up communications.
[0066] In this embodiment, by determining whether a number is an emergency number before dialing, the first electronic device can perform corresponding processing operations based on different determination results, thereby clarifying the emergency call mechanism corresponding to the first electronic device. This allows users to dial emergency numbers based on the emergency number dialing mechanism, improving the success rate of emergency number dialing.
[0067] It should be noted that the first electronic device can be, for example, a smartwatch, a smart bracelet, or other electronic device that is not configured with a SIM card.
[0068] Understandably, the first electronic device needs to establish a communication connection with the target device to enable dialing of emergency numbers based on the target electronic device. The target electronic device can be further divided into two categories (e.g., a second electronic device or a third electronic device):
[0069] The second electronic device can be, for example, an electronic device that has a communication connection with the first electronic device. For instance, a smartphone that has a Bluetooth communication connection with the first electronic device (or is referred to as a Bluetooth-based connection between the first and second electronic devices), or other electronic devices configured with a SIM card.
[0070] The third electronic device can be, for example, an electronic device that does not have a communication connection with the first electronic device. For example, a smartphone that does not have a Bluetooth communication connection with the first or second electronic device (or is referred to as the first and second electronic devices being connected via Bluetooth), or other electronic devices configured with a SIM card.
[0071] That is, in the above embodiments, when the first electronic device determines that the number to be dialed is an emergency number, it can request to make a dialing communication based on the second electronic device or the third electronic device to realize the dialing of the emergency number.
[0072] As for selecting a second electronic device as the target electronic device to send a dialing communication request, or selecting a third electronic device as the target electronic device to send a dialing request, this can be achieved, for example, in the following ways.
[0073] Figure 2 This is a flowchart of a communication method illustrated according to some embodiments of the present disclosure. Figure 2 ,like Figure 2 As shown, the communication method includes the following steps.
[0074] In step S21, the current communication status between the first electronic device and the second electronic device is determined.
[0075] In step S22-1, if the current communication status meets the communication requirements, the second electronic device is selected as the target device to send a dialing communication request.
[0076] In step S22-2, if the current communication status does not meet the communication requirements, a third electronic device is identified and used as the target electronic device to send a dialing request.
[0077] The first electronic device and the second electronic device have a communication connection.
[0078] In this embodiment, since the second electronic device and the first electronic device have a communication connection, the ability to dial an emergency number using the second electronic device can be determined based on the communication status between them. On one hand, if the communication status between the first and second electronic devices meets the requirements, sending a dialing request to the second electronic device as the target device to dial an emergency number reduces the process of re-establishing a communication connection between the first electronic device and other electronic devices, saving time spent dialing emergency numbers. On the other hand, if the communication status between the first and second electronic devices does not meet the requirements, a dialing request can be sent to a third electronic device to dial an emergency number using the third electronic device, thereby increasing the success rate of dialing with the first electronic device in the current scenario and improving the user experience.
[0079] For ease of understanding, the embodiments of this disclosure will be illustrated by taking a smartwatch with Bluetooth connectivity as the first electronic device and a smartphone with Bluetooth connectivity and dialing function as the second electronic device.
[0080] In some embodiments, the current communication status between the first electronic device and the second electronic device may include, for example, whether there is a current communication connection between the first and second electronic devices, and / or whether the second electronic device is currently able to access a communication network to make a call. For example, whether there is a Bluetooth communication connection between a smartwatch and a smartphone, and / or whether the smartphone is currently able to access a communication network to make a call. Therefore, when the first electronic device obtains that the number to be dialed is an emergency number, the first electronic device can make its own judgment by determining the current communication status (instead of requesting from the second electronic device and then having the second electronic device make the judgment and provide feedback), improving the efficiency of communication status confirmation and reducing the time and resource overhead of dialing the emergency number.
[0081] It is understandable that the first electronic device determines that the current communication state with the second electronic device meets the communication requirements. For example, this may include the first electronic device and the second electronic device currently having a communication connection, and the second electronic device currently being able to access the communication network to make a call.
[0082] In some embodiments, if the first electronic device determines that the current communication state with the second electronic device does not meet the communication requirements, the first electronic device may initiate a request to establish a communication connection with another electronic device (e.g., a third electronic device). For example, if the smartwatch and smartphone do not have a Bluetooth communication connection, and / or the smartphone cannot currently access a communication network for making calls, the first electronic device may establish a communication connection with a third electronic device (e.g., a smartphone other than the second electronic device) to enable the smartwatch to dial emergency numbers through the other smartphone.
[0083] Understandably, based on the aforementioned examples, for the first electronic device to dial a number using the second electronic device, a communication connection between the two devices is required so that the first electronic device can send the number to be dialed to the second electronic device. Furthermore, for the first electronic device to successfully complete the dialing using the second electronic device, the second electronic device must also have dialing and calling capabilities (e.g., the second electronic device must be able to access a communication network to make calls).
[0084] In some scenarios, the first electronic device can confirm whether the second electronic device has call functionality, for example, through instructions transmitted via a corresponding protocol port. For instance, continuing the above example, when a smartwatch is connected to a smartphone, the smartwatch supporting the HFP protocol and the smartphone will establish an HFP connection for call-related operations, thereby enabling the smartwatch to confirm whether the second electronic device has call functionality.
[0085] Therefore, when the first electronic device determines that the current communication status with the second electronic device does not meet the communication requirements, the first electronic device establishes a communication connection with the third electronic device to improve the success rate of dialing emergency numbers, thereby increasing the user's success rate in dialing emergency numbers and improving the user experience.
[0086] To determine whether the number to be dialed by the first electronic device is an emergency number, for example, it can be determined through the following methods: Figure 2 The mentioned embodiments are confirmed.
[0087] Figure 3 This is a flowchart illustrating a method for determining a number to be dialed by a first electronic device according to some embodiments of the present disclosure, such as... Figure 3 As shown, the steps include the following.
[0088] In step S31, it is determined whether the number to be dialed matches the preset emergency number.
[0089] In step S32, if the number to be dialed by the first electronic device matches the preset emergency number, then the number to be dialed by the first electronic device is determined to be an emergency number.
[0090] The preset emergency number is determined based on a list of emergency numbers shared by the second device, which contains emergency numbers determined by the second electronic device.
[0091] In this embodiment of the disclosure, since the first electronic device has obtained the emergency call list shared by the second electronic device in advance, and the emergency call list includes preset emergency numbers, the first electronic device can compare the number to be dialed with the preset emergency numbers to confirm whether the number to be dialed is an emergency number when it obtains the number to be dialed.
[0092] Following the examples above, in some scenarios, for Figure 2 A relevant example could be: The smartwatch identifies the number to be dialed and determines whether the number is an emergency number based on a list of emergency numbers shared with the phone. If the smartwatch's current number to be dialed matches a preset emergency number in the list, then the number to be dialed is determined to be an emergency number. If the smartwatch's current number to be dialed does not match a preset emergency number in the list, then the number to be dialed is determined not to be an emergency number (or becomes a non-emergency number, or a regular number, etc.).
[0093] In some embodiments, the list of emergency numbers may be shared (or sent) to the first electronic device, for example, via a second electronic device.
[0094] In some scenarios, when the first electronic device obtains a list of emergency numbers, it can store the list in its local storage (for example, even if the communication connection between the first and second electronic devices is interrupted, the first electronic device can determine a preset emergency number based on the stored list). The preset emergency number can then be determined by reading it, thus enabling the matching of the number to be dialed with the preset emergency number. The determination of the preset emergency number can be achieved, for example, through the following methods: Figure 4A The implementation method shown is adopted.
[0095] Figure 4A This is a flowchart illustrating a method for determining a preset emergency number according to some embodiments of the present disclosure, such as... Figure 4A As shown, the method includes the following steps.
[0096] In step S41, the emergency number list currently sent by the second electronic device is received, and the previously stored emergency numbers are updated based on the currently sent emergency number list.
[0097] In step S42, the preset emergency numbers in the updated emergency number list are read and determined.
[0098] In this embodiment of the disclosure, by receiving and updating the list of emergency numbers, and reading preset emergency numbers, a comparison can be made between the number to be dialed and the number to be dialed based on the updated preset emergency numbers, thereby determining whether the number to be dialed is an emergency number and improving the success rate of dialing emergency numbers.
[0099] It is understandable that the preset emergency numbers in the emergency number list may include at least one of the following: a user-configured emergency number, an emergency number corresponding to the SIM card of the second electronic device, or a network-configured emergency number.
[0100] For user-configured emergency numbers, this can be understood as the number corresponding to the emergency contact configured by the user. For emergency numbers associated with the SIM card of the second electronic device, this can be understood as the emergency contact number configured by the operator associated with the SIM card. For network-configured emergency numbers, in some scenarios, this can also be referred to as network-configured emergency numbers, such as emergency numbers issued (or configured) based on PLMN or emergency numbers issued (or configured) based on Default PLMN.
[0101] As can be seen, preset emergency numbers may be updated due to changes in network conditions, SIM card carrier, or user configuration. Therefore, in some scenarios, the second electronic device will update the preset emergency numbers in the emergency number list (e.g., based on event-triggered updates or periodic updates). In this case, the second electronic device will send the updated emergency number list to the first electronic device, enabling the first electronic device to determine whether the number to be dialed is an emergency number based on the newer preset emergency numbers. For example, the second electronic device may send the updated emergency number list to the first electronic device in response to an update to the emergency number list.
[0102] In some embodiments, in response to detecting an emergency number list (e.g., an updated emergency number list) sent by a second electronic device, the first electronic device receives the emergency number list sent by the second electronic device, and / or the first electronic device periodically receives the emergency number list sent by the second electronic device.
[0103] To facilitate understanding, the following will be explained through... Figure 4B The scenario in which the first electronic device obtains the list of emergency numbers is described illustratively. Figure 4B This is a schematic diagram illustrating a scenario for obtaining a list of emergency numbers, based on some embodiments of this disclosure. For example... Figure 4B As shown, this scenario can be divided into a first electronic device processing section and a second electronic device processing section.
[0104] For the second electronic device processing section, it can be understood, for example, that when the second electronic device is started, it configures an emergency number list based on the relevant information obtained (e.g., including the emergency number configured by the user, the emergency number corresponding to the SIM card of the second electronic device, or the emergency number configured by the network). (e.g., it can be understood as creating a corresponding list based on the numbers included in the relevant information.)
[0105] When the second electronic device determines the emergency number list, it can set a corresponding identifier for the emergency number list to send it to the first electronic device via the corresponding communication protocol port. For example, if the second electronic device determines that the emergency number list has a first identifier, it indicates that the emergency number list is allowed to be sent to the first device via the corresponding communication protocol port. In this case, if the second electronic device determines that the corresponding communication protocol port used to send the emergency number list is functioning normally, it will send the emergency number list to the first electronic device. As another example, if the second electronic device determines that the emergency number list has a second identifier, it indicates that the emergency number list is not allowed to be sent to the first device via the corresponding communication protocol port. In this case, the second electronic device can interrupt the process of sending the emergency number list without needing to determine whether the corresponding communication protocol port is functioning normally.
[0106] The processing part of the first electronic device can be understood, for example, as receiving the emergency number list sent by the second electronic device and storing it locally, or sending it to the corresponding module, when a communication connection is established with the second electronic device.
[0107] Therefore, the first electronic device can obtain the emergency number list shared by the second electronic device, and then determine the preset emergency number in the emergency number list to determine whether the number to be dialed is an emergency number.
[0108] Understandably, if the first electronic device detects that the number to be dialed is not an emergency number, it can assume that the user does not currently need to dial an emergency number. To reduce power consumption, it can avoid requesting a call from a third electronic device even when the communication status is not met. Alternatively, if the first electronic device does not have a list of emergency numbers, it cannot determine whether the number to be dialed is an emergency number. In this case, to reduce power consumption, it is also possible to avoid requesting a call from a third electronic device even when the communication status is not met.
[0109] Therefore, for the above situation, it can be addressed, for example, by the following: Figure 5 The implementation method shown is adopted. Figure 5 This is a flowchart of a communication method illustrated according to some embodiments of the present disclosure. Figure 3 ,like Figure 5 As shown, the communication method includes the following steps.
[0110] In step S51, in response to the fact that the number currently dialed is a non-emergency number, or that the first electronic device does not store a preset emergency number, the current communication status is determined.
[0111] In step S52-1, if the current communication meets the communication status requirements, a request to dial a non-emergency number is sent to the second electronic device.
[0112] In step S52-2, if the current communication status does not meet the communication requirements, the communication process ends.
[0113] The preset emergency number is determined based on a list of emergency numbers shared by the second device, which contains emergency numbers determined by the second electronic device.
[0114] In this embodiment of the disclosure, it is understood that if the current number is determined to be a non-emergency number, or if the first electronic device does not store an emergency number, the number to be dialed currently determined by the electronic device can be considered not to be an emergency number. In this case, the dialing process corresponding to the normal number can be executed by confirming the communication status, thereby reducing the possibility that the first electronic device will still send a request to the third electronic device when the current number to be dialed is not an emergency number, and thus reducing the power consumption of the first electronic device.
[0115] It is understood that, regarding the relevant exemplary descriptions of whether the current communication state meets or does not meet the requirements, in the foregoing related embodiments (e.g.) Figure 1 The relevant embodiments have been described in detail above, and the relevant descriptions can be found in the relevant embodiments above. They will not be repeated here.
[0116] Therefore, the above implementation method clarifies the communication process of the first electronic device when it detects that the number to be dialed is not an emergency number, and / or when the first electronic device has not obtained a list of emergency numbers. Furthermore, by explicitly using a regular number dialing method in the above scenario, power consumption can be reduced to some extent.
[0117] Continuing from the above Figure 1 In related embodiments, it is understood that the third electronic device can be understood as an electronic device that currently does not have a communication connection with the first electronic device. For electronic devices that currently do not have a communication connection with the first electronic device, they can be divided into two cases, B1) and B2):
[0118] B1) For ease of understanding, an electronic device that has previously established a communication relationship with the first electronic device (i.e., an electronic device that has been recorded in the history list of communication connections established with the first electronic device) is referred to as the fourth electronic device.
[0119] B2) An electronic device that has not previously established a communication connection with the first electronic device (i.e., an electronic device not recorded in the first electronic device's history of established communication connections), but is capable of establishing a communication connection with the first electronic device and has dialing functionality. For ease of understanding, this type of electronic device is referred to as the fifth electronic device. In some scenarios, such as when the first electronic device determines that there is no fourth electronic device nearby, it can search for the existence of a fifth electronic device in the vicinity.
[0120] Therefore, the determination of the third electronic device requires consideration of both B1) and B2) above.
[0121] For example, Figure 6 This is a flowchart illustrating a method for determining a third electronic device according to some embodiments of the present disclosure, such as... Figure 6 As shown, the method includes the following steps.
[0122] In step S61, it is determined whether a fourth electronic device exists.
[0123] In step S62-1, if a fourth electronic device exists, then a third electronic device is selected from among the fourth electronic devices.
[0124] In step S62-2, if there is no fourth electronic device, then a fifth electronic device that can establish a communication connection with the first electronic device and has dialing function is searched nearby, and a third electronic device is selected from the fifth electronic device.
[0125] The fourth electronic device includes an electronic device that has previously established a communication connection with the first electronic device.
[0126] In this embodiment, on the one hand, since the fourth electronic device includes an electronic device that has previously established a communication connection with the first electronic device, when the first electronic device confirms the existence of the fourth electronic device, it selects the third electronic device from among the fourth electronic devices, that is, the third electronic device is an electronic device that has previously established a communication connection with the first electronic device. Therefore, when the first electronic device establishes a communication connection with the third electronic device, the time required to establish the communication connection can be reduced to a certain extent, thereby improving the efficiency and success rate of establishing a communication connection with the third electronic device, and thus improving the success rate and efficiency of dialing emergency numbers, and enhancing the user experience. On the other hand, if it is determined that the fourth electronic device does not exist, a fifth electronic device can be searched for near the first electronic device to further find an electronic device that can be used to dial emergency numbers, thereby improving the success rate of dialing emergency numbers.
[0127] It is understandable that a fifth electronic device with dialing capabilities can be understood as an electronic device that supports HFP services.
[0128] In some embodiments, determining the presence of a fourth electronic device can be understood, for example, as the first electronic device performing electronic device detection based on its current environment to determine whether an electronic device is nearby, or whether it is a fourth or fifth electronic device.
[0129] For electronic device detection, it can be achieved through at least one of the following methods: Bluetooth scanning, Wireless Fidelity (Wi-Fi) scanning, or NFC communication.
[0130] It is understandable that when the first electronic device detects the presence of an electronic device in the current environment, it can identify the detected electronic device as either the fourth or fifth electronic device based on information such as the device name or other device identifiers.
[0131] Therefore, the above implementation method enables the first electronic device to determine the location of a third electronic device in its current environment, and then select a suitable third electronic device to dial an emergency number. It is understood that if no third electronic device is identified, the user will be promptly informed of the current situation, meaning that emergency calls cannot be made at this time.
[0132] When the first electronic device identifies the third electronic device, a communication connection can be established with the third electronic device by sending a first request to the third electronic device.
[0133] Figure 7 This is a flowchart illustrating a method for sending a first request to a third electronic device according to some embodiments of this disclosure, such as... Figure 7 As shown, the method includes the following steps.
[0134] In step S71, the device name corresponding to the first electronic device is changed.
[0135] In step S72, the signal strength corresponding to the third electronic device is determined, and requests to establish a communication connection are sent to the third electronic devices sequentially based on the signal strength, until a third electronic device agrees to establish a communication connection, or all third electronic devices disagree to establish a communication connection.
[0136] The semantic meaning of the changed device name includes: request to dial an emergency number.
[0137] In this embodiment, on the one hand, since the first electronic device needs to request the third electronic device to establish a communication connection, by changing the device name corresponding to the first electronic device and sending the request to establish a communication connection to the third electronic device based on the changed device name, the user of the third electronic device can promptly know the purpose of the electronic device sending the request, thereby increasing the likelihood of the first electronic device and the third electronic device establishing a communication connection. On the other hand, by sending the request to establish a communication connection to the third electronic device sequentially based on the signal strength corresponding to the third electronic device, the possibility of multiple third electronic devices simultaneously establishing a communication connection with the first electronic device, leading to communication system instability, can be reduced. Furthermore, since the first electronic device sends the request to establish a communication connection sequentially based on signal strength, the likelihood of the first electronic device prioritizing the establishment of a communication connection with the third electronic device with higher signal strength can be increased, thereby making the communication system between the first and third electronic devices more stable and improving the success rate of emergency number dialing.
[0138] It is understandable that the name of the first electronic device could be changed. For example, the device name of the first electronic device could be changed from "Device A" to "Please authorize the establishment of a communication connection with your device; I need to make an emergency call." Therefore, in the above scenario, when the third electronic device receives a request to establish a communication connection, the user of the third electronic device can immediately determine the purpose of the request from the sender of the first request (i.e., the first electronic device) (e.g., the purpose is: the user of the first electronic device is currently requesting to make an emergency call based on the third electronic device). This increases the likelihood of successfully establishing a communication connection between the first and third electronic devices, and consequently, increases the likelihood of the first electronic device successfully dialing the emergency number.
[0139] In some scenarios, a request to establish a communication connection can be sent by a first electronic device, for example, via broadcast. For instance, the first request can be broadcast periodically.
[0140] Understandably, if all third-party electronic devices refuse to establish a communication connection, it can be interpreted as the first electronic device being unable to establish a communication connection with the third-party electronic devices, and thus unable to make emergency calls based on the first electronic device. In this case, the first electronic device can inform the corresponding user of the situation.
[0141] To facilitate understanding, the following will be explained through... Figure 8 The communication methods mentioned in the foregoing embodiments are described and illustrated by way of example. Figure 8This is a schematic diagram illustrating a communication method according to some embodiments of the present disclosure.
[0142] like Figure 8 As shown, communication scenarios may include, for example, the following situations:
[0143] a) The first electronic device will first determine whether an emergency number list exists (e.g., whether it has received an emergency number list sent by the second electronic device, or whether the first electronic device has a pre-stored emergency number list).
[0144] a1) If the first electronic device determines that there is no emergency number list (i.e., "No" in the figure), it can be considered that the first electronic device does not need to dial an emergency number at present, and the number to be dialed can be determined as a normal number.
[0145] a1-1) Further, determine whether there is a communication association between the first electronic device and the second electronic device (e.g., whether the HFP service between the first electronic device and the second electronic device is being used normally), for example, the following cases a1-1-1 and a1-1-2).
[0146] (a1-1-1) If the first electronic device determines that there is no communication relationship between it and the second electronic device (e.g., the HFP service between the first electronic device and the second electronic device cannot be applied normally) (i.e., "No" in the figure), it can be considered that the first electronic device cannot make a call to a regular number based on the second electronic device. It can provide feedback to the user and interrupt the communication process to reduce the power consumption of the first electronic device.
[0147] (a1-1-2) If the first electronic device determines that there is a communication relationship with the second electronic device (e.g., the HFP service between the first and second electronic devices is functioning normally) (i.e., "Yes" in the diagram), it further determines whether the second electronic device currently supports call functionality (e.g., whether the second electronic device has network service). If it is determined that the second electronic device currently does not support call functionality (e.g., it is determined that the second electronic device does not have network service) (i.e., "No" in the diagram), it can be considered that the first electronic device cannot dial ordinary numbers based on the second electronic device, and feedback can be sent to the user and the communication process can be interrupted to reduce the power consumption of the first electronic device. If it is determined that the second electronic device currently supports call functionality (e.g., it is determined that the second electronic device has network service) (i.e., "Yes" in the diagram), it can be considered that the first electronic device can dial ordinary numbers based on the second electronic device, and a request can be sent to the second electronic device to dial numbers based on the second electronic device.
[0148] a2) If the first electronic device determines that an emergency number list exists (i.e., "Yes" in the diagram), it can be considered that the first electronic device needs to dial an emergency number, and it needs to further determine whether the number to be dialed is an emergency number. If it is determined that the number to be dialed is not an emergency number (i.e., "No" in the diagram), it can be considered that the first electronic device does not need to dial an emergency number, and the number to be dialed can be determined as a normal number to dial, then go to case a1-1) and execute sequentially. If it is determined that the number to be dialed is an emergency number (i.e., "Yes" in the diagram), then execute a3).
[0149] a3) The first electronic device determines whether the communication status between the first electronic device and the second electronic device meets the requirements, and if it is determined that there is a communication connection between the first electronic device and the second electronic device, and the second electronic device currently supports the calling function (e.g., it is determined that the second electronic device has network service) (i.e., "meets the requirements" in the figure), it can be considered that the first electronic device is able to make an emergency call based on the second electronic device, and can make a request to the second electronic device to make an emergency call based on the second electronic device.
[0150] a4) If it is determined that there is no communication connection between the first electronic device and the second electronic device, and / or the second electronic device does not currently support the calling function (e.g., it is determined that the second electronic device does not have network service) (i.e., "not satisfied" in the figure), then a request is sent to the third electronic device to establish a communication connection between the first electronic device and the third electronic device, and then an emergency call is made based on the third electronic device.
[0151] It is understood that the method of establishing a communication connection between the first electronic device and the third electronic device, and then making an emergency call based on the third electronic device, has been clearly explained in the above embodiments. The relevant content can be referred to the description of the corresponding embodiments above, and will not be repeated here.
[0152] In summary, through the above-described embodiments, the first electronic device can acquire emergency numbers and increase the likelihood of successfully dialing emergency numbers.
[0153] Figure 9 This is a block diagram of a communication device according to some embodiments of the present disclosure. (Refer to...) Figure 9 The device 100 includes a transmitting unit 101 and a processing unit 102.
[0154] The sending unit 101 is used to send a dialing communication request to a target electronic device when the number to be dialed by the first electronic device is an emergency number, wherein the target electronic device is an electronic device that authorizes the first electronic device to make dialing communications.
[0155] The processing unit 102 is used to dial an emergency number when the target electronic device authorizes the first electronic device to make dialing communications.
[0156] In some embodiments, the first electronic device and the second electronic device have a communication connection. The sending unit 101 sends a dialing communication request to the target electronic device in the following manner: determining the current communication state between the first electronic device and the second electronic device; if the current communication state meets the communication requirements, then the second electronic device is used as the target device to send a dialing communication request; if the current communication state does not meet the communication requirements, then a third electronic device is determined and used as the target electronic device to send a dialing request.
[0157] In some embodiments, the processing unit 102 determines that the number to be dialed by the first electronic device is an emergency number in the following manner: if the number to be dialed by the first electronic device matches a preset emergency number, then the number to be dialed by the first electronic device is determined to be an emergency number; wherein, the preset emergency number is determined based on an emergency number list shared by the second device, and the emergency number list records the emergency numbers determined by the second electronic device.
[0158] In some embodiments, the emergency number includes at least one of the following: a user-configured emergency number; an emergency number corresponding to the SIM card of the second electronic device; or a network-configured emergency number.
[0159] In some embodiments, the processing unit 102 determines a preset emergency number based on an emergency number list shared by the second device in the following manner: receiving an emergency number list sent by the second electronic device; reading and determining the preset emergency number in the emergency number list.
[0160] In some embodiments, the third electronic device is determined as follows: determining whether there is an electronic device that has previously established a communication connection with the first electronic device; if there is an electronic device, selecting the third electronic device from among the electronic devices; if there is no electronic device, searching for nearby electronic devices that can establish a communication connection with the first electronic device and have dialing functionality, and selecting the third electronic device from among the electronic devices that can establish a communication connection with the first electronic device and have dialing functionality.
[0161] In some embodiments, when a third electronic device is used as the target electronic device, the sending unit 101 is further configured to: change the device name corresponding to the first electronic device, wherein the text semantics corresponding to the changed device name include: requesting to dial an emergency number; determine the signal strength corresponding to the third electronic device, and send requests to establish a communication connection relationship to the third electronic device in sequence based on the signal strength, until there is a request from a third electronic device to agree to establish a communication connection relationship, or all third electronic devices disagree to establish a communication connection relationship.
[0162] In some embodiments, the first electronic device and the second electronic device have a communication connection. The sending unit 101 is further configured to: determine the current communication status when the number being dialed is a non-emergency number or the first electronic device does not store a preset emergency number, wherein the preset emergency number is determined based on an emergency number list shared by the second device, and the emergency number list records the emergency number determined by the second electronic device; if the current communication status meets the communication requirements, send a request to dial a non-emergency number to the second electronic device; if the current communication status does not meet the communication requirements, terminate the communication process.
[0163] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0164] Figure 10 This is a block diagram of a communication apparatus shown according to some embodiments of the present disclosure. Figure 1 For example, device 200 can be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0165] Reference Figure 10 The device 200 may include one or more of the following components: processing component 202, memory 204, power component 206, multimedia component 208, audio component 210, input / output (I / O) interface 212, sensor component 214, and communication component 216.
[0166] Processing component 202 typically controls the overall operation of device 200, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 202 may include one or more modules to facilitate interaction between processing component 202 and other components. For example, processing component 202 may include a multimedia module to facilitate interaction between multimedia component 208 and processing component 202.
[0167] Memory 204 is configured to store various types of data to support the operation of device 200. Examples of such data include instructions for any application or method operating on device 200, contact data, phonebook data, messages, pictures, videos, etc. Memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0168] The power supply component 206 provides power to the various components of the device 200. The power supply component 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 200.
[0169] Multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 208 includes a front-facing camera and / or a rear-facing camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0170] Audio component 210 is configured to output and / or input audio signals. For example, audio component 210 includes a microphone (MIC) configured to receive external audio signals when device 200 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 204 or transmitted via communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.
[0171] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0172] Sensor assembly 214 includes one or more sensors for providing status assessments of various aspects of device 200. For example, sensor assembly 214 may detect the on / off state of device 200, the relative positioning of components such as the display and keypad of device 200, changes in the position of device 200 or a component of device 200, the presence or absence of user contact with device 200, the orientation or acceleration / deceleration of device 200, and temperature changes of device 200. Sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 214 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0173] Communication component 216 is configured to facilitate wired or wireless communication between device 200 and other devices. Device 200 can access wireless networks based on communication standards, such as WiFi, 3G, 4G, 5G, other communication standards, or combinations thereof. In some embodiments of this disclosure, communication component 216 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In some embodiments of this disclosure, communication component 216 further includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0174] In some embodiments of this disclosure, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0175] In some embodiments of this disclosure, a storage medium including instructions is also provided, such as a memory 204 including instructions, which can be executed by the processor 220 of the device 200 to perform the above-described method. For example, the storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0176] In some embodiments of this disclosure, a storage medium is provided, which may be a non-transitory computer-readable storage medium.
[0177] In some embodiments of this disclosure, when instructions in the storage medium are executed by the processor of the device 200, the device 200 is able to perform the methods described above.
[0178] Figure 11 This is a block diagram of a communication apparatus shown according to some embodiments of the present disclosure. Figure 2 For example, device 300 can be provided as a server. (See reference...) Figure 11 The device 300 includes a processing component 322, which further includes one or more processors, and memory resources represented by memory 332 for storing instructions, such as application programs, that can be executed by the processing component 322. The application programs stored in memory 332 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 322 is configured to execute instructions to perform the methods described above.
[0179] Device 300 may also include a power supply component 326 configured to perform power management of device 300, a wired or wireless network interface 350 configured to connect device 300 to a network, and an input / output (I / O) interface 358. Device 300 may operate on an operating system stored in memory 332, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.
[0180] In some embodiments of this disclosure, a storage medium including instructions is also provided, such as a memory 332 including instructions, which can be executed by the processing component 322 of the device 300 to perform the above-described method. For example, the storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0181] In some embodiments of this disclosure, a storage medium is provided, which may be a non-transitory computer-readable storage medium.
[0182] In some embodiments of this disclosure, when instructions in the storage medium are executed by the processor of device 300, device 300 is able to perform the methods described above.
[0183] Those skilled in the art will also understand that the various illustrative logical blocks and steps listed in the embodiments of this disclosure can be implemented by electronic hardware, computer software, or a combination of both. Whether such functionality is implemented in hardware or software depends on the specific application and the overall system design requirements. Those skilled in the art can implement the described functionality using various methods for each specific application, but such implementation should not be construed as exceeding the scope of protection of the embodiments of this disclosure.
[0184] Although terms such as “first,” “second,” and “third” may be used herein to describe various components, parts, regions, layers, or sections, these components, parts, regions, layers, or sections are not limited to these terms. Rather, these terms are used only to distinguish one component, part, region, layer, or section from another. Therefore, without departing from the teachings of the examples described herein, a first component, part, region, layer, or section mentioned in the examples may also be referred to as a second component, part, region, layer, or section. Furthermore, the terms “first” and “second” are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as “first” or “second” may explicitly or implicitly include at least one of that feature.
[0185] It is further understood that the terms "first," "second," etc., are used to describe various types of information, but this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another, and do not indicate a specific order or degree of importance. In fact, the expressions "first," "second," etc., are completely interchangeable. For example, without departing from the scope of this disclosure, first information can also be referred to as second information, and similarly, second information can also be referred to as first information.
[0186] In this description, "multiple" means at least two, referring to two or more, such as two, three, etc., unless otherwise explicitly specified. Other quantifiers are similar. The singular forms "a," "the," and "the" are also intended to include the plural forms unless the context clearly indicates otherwise. Furthermore, unless otherwise specified or clearly indicated from the context, the articles "a" and "an" as used in this application and the appended claims are generally understood to mean "one or more."
[0187] In this description, the terms “in response to…”, “in response to determining…”, “in the case of…”, “when…”, “if…”, “if…”, etc. can be used interchangeably.
[0188] In this description, the terms “greater than”, “greater than or equal to”, “not less than”, “more than”, “more than or equal to”, “not less than”, “higher than”, “higher than or equal to”, “not lower than”, and “above” can be used interchangeably. The terms “less than”, “less than or equal to”, “not greater than”, “less than”, “less than or equal to”, “not more than”, “lower than”, “lower than or equal to”, “not higher than”, and “below” can be used interchangeably.
[0189] It should be understood that, unless otherwise specifically indicated, features of various embodiments of this disclosure described herein can be combined with each other. As used herein, the term "and / or" includes any one of the related listed items and any combination of two or more; "and / or" describes the association relationship between related objects, indicating that three relationships may exist, for example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. Similarly, "at least one of..." includes any one of the related listed items and any combination of two or more.
[0190] It is further understood that the terms "first," "second," etc., are used to describe various types of information, but this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another, and do not indicate a specific order or degree of importance. In fact, the expressions "first," "second," etc., are completely interchangeable. For example, without departing from the scope of this disclosure, first information can also be referred to as second information, and similarly, second information can also be referred to as first information.
[0191] Furthermore, the term "exemplary" is used herein to indicate that it serves as an example, instance, or illustration. Any aspect or design described herein as "exemplary" is not necessarily to be construed as advantageous compared to other aspects or designs. Rather, the use of the term "exemplary" is intended to present concepts in a concrete manner. As used herein, the term "or" is intended to indicate an inclusive "or" rather than an exclusive "or." That is, unless otherwise specified or clear from the context, "X applies A or B" is intended to indicate any of the natural inclusive permutations. That is, if X applies A; X applies B; or X applies both A and B, then applying A or B satisfies the condition under any of the foregoing instances.
[0192] Similarly, although this disclosure has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art upon reading and understanding the specification and drawings. This disclosure includes all such modifications and variations and is limited only by the scope of the claims. In particular, with respect to the various functions performed by the components described above (e.g., elements, resources, etc.), unless otherwise indicated, the terminology used to describe such components is intended to correspond to any component (functionally equivalent) that performs the specific function of the described component, even if it is not structurally equivalent to the disclosed structure. Furthermore, although specific features of this disclosure may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations, as may be desired and advantageous to any given or particular application. Moreover, with regard to the terms “comprising,” “owning,” “having,” “having,” or variations thereof as used in this disclosure, such terms are intended to be inclusive in a manner similar to the term “including.”
[0193] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein.
[0194] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A communication method, characterized in that, include: In response to the fact that the number to be dialed by the first electronic device is an emergency number, a dialing communication request is sent to the target electronic device, wherein the target electronic device is an electronic device that authorizes the first electronic device to make dialing communication; In response to the target electronic device authorizing the first electronic device to make a dialing communication, the first electronic device dials the emergency number.
2. The method according to claim 1, characterized in that, The first electronic device and the second electronic device have a communication connection. Sending a dialing communication request to the target electronic device includes: Determine the current communication status between the first electronic device and the second electronic device; If the current communication status meets the communication requirements, then the second electronic device is used as the target device to send a dialing communication request; If the current communication state does not meet the communication requirements, a third electronic device is identified and used as the target electronic device to send a dialing request.
3. The method according to claim 1, characterized in that, The following method is used to determine that the number to be dialed by the first electronic device is an emergency number: If the number to be dialed by the first electronic device matches a preset emergency number, then the number to be dialed by the first electronic device is determined to be an emergency number. The preset emergency number is determined based on an emergency number list shared by the second device, which records emergency numbers determined by the second electronic device.
4. The method according to claim 3, characterized in that, The emergency number includes at least one of the following: User-configured emergency number; The emergency number corresponding to the SIM card of the second electronic device; Emergency number configured in the network settings.
5. The method according to claim 3, characterized in that, The preset emergency number is determined based on the emergency number list shared by the second device, including: Receive the emergency number list currently sent by the second electronic device, and update the previously stored emergency numbers based on the currently sent emergency number list; Read and confirm the preset emergency numbers in the updated emergency number list.
6. The method according to any one of claims 2 to 5, characterized in that, The third electronic device is identified, including: Determine whether there is an electronic device that has previously established a communication connection with the first electronic device; If the electronic device exists, then the third electronic device is selected from among the electronic devices; If the electronic device does not exist, then search for nearby electronic devices that can establish a communication connection with the first electronic device and have dialing functionality, and select the third electronic device from among the electronic devices that can establish a communication connection with the first electronic device and have dialing functionality.
7. The method according to claim 2, characterized in that, After specifying the third electronic device as the target electronic device, the method further includes: Change the device name corresponding to the first electronic device, wherein the text semantics of the changed device name include: request to dial an emergency number; The signal strength corresponding to the third electronic device is determined, and requests to establish a communication connection are sent to the third electronic device sequentially based on the signal strength, until at least one third electronic device agrees to the request to establish a communication connection, or all third electronic devices disagree with the request to establish a communication connection.
8. The method according to claim 1, characterized in that, The first electronic device and the second electronic device have a communication connection. The method further includes: In response to the fact that the currently dialed number is a non-emergency number, or that the first electronic device does not store a preset emergency number, the current communication status is determined, wherein the preset emergency number is determined based on an emergency number list shared by the second device, and the emergency number list records the emergency numbers determined by the second electronic device; If the current communication status meets the communication requirements, a request to dial the non-emergency number is sent to the second electronic device; If the current communication state does not meet the communication requirements, the communication process ends.
9. A communication device, characterized in that, include: The sending unit is configured to send a dialing communication request to a target electronic device when the number to be dialed by the first electronic device is an emergency number, wherein the target electronic device is an electronic device that authorizes the first electronic device to make dialing communications; The processing unit is configured to dial the emergency number when the target electronic device authorizes the first electronic device to make dialing communications.
10. The apparatus of claim 9, characterized in that, The first electronic device and the second electronic device have a communication connection. The sending unit sends a dialing communication request to the target electronic device in the following manner: Determine the current communication status between the first electronic device and the second electronic device; If the current communication status meets the communication requirements, then the second electronic device is used as the target device to send a dialing communication request; If the current communication state does not meet the communication requirements, a third electronic device is identified and used as the target electronic device to send a dialing request.
11. The apparatus according to claim 9, characterized in that, The processing unit determines that the number to be dialed by the first electronic device is an emergency number using the following method: If the number to be dialed by the first electronic device matches a preset emergency number, then the number to be dialed by the first electronic device is determined to be an emergency number. The preset emergency number is determined based on an emergency number list shared by the second device, which records emergency numbers determined by the second electronic device.
12. The apparatus according to claim 11, characterized in that, The emergency number includes at least one of the following: User-configured emergency number; The emergency number corresponding to the SIM card of the second electronic device; Emergency number configured in the network settings.
13. The apparatus according to claim 11, characterized in that, The processing unit determines the preset emergency number based on the emergency number list shared by the second device in the following manner: Receive the emergency number list currently sent by the second electronic device, and update the previously stored emergency numbers based on the currently sent emergency number list; Read and confirm the preset emergency numbers in the updated emergency number list.
14. The apparatus according to any one of claims 10 to 13, characterized in that, The third electronic device is determined in the following manner: Determine whether there is an electronic device that has previously established a communication connection with the first electronic device; If the electronic device exists, then the third electronic device is selected from among the electronic devices; If the electronic device does not exist, then search for nearby electronic devices that can establish a communication connection with the first electronic device and have dialing functionality, and select the third electronic device from among the electronic devices that can establish a communication connection with the first electronic device and have dialing functionality.
15. The apparatus according to claim 9, characterized in that, When a third electronic device is used as the target electronic device, the transmitting unit is further configured to: Change the device name corresponding to the first electronic device, wherein the text semantics of the changed device name include: request to dial an emergency number; The signal strength corresponding to the third electronic device is determined, and requests to establish a communication connection are sent to the third electronic device sequentially based on the signal strength, until at least one third electronic device agrees to the request to establish a communication connection, or all third electronic devices disagree with the request to establish a communication connection.
16. The apparatus according to claim 9, characterized in that, The first electronic device and the second electronic device have a communication connection. The transmitting unit is further configured to: If the currently dialed number is a non-emergency number, or if the first electronic device does not store a preset emergency number, the current communication status is determined, wherein the preset emergency number is determined based on an emergency number list shared by the second device, and the emergency number list records emergency numbers determined by the second electronic device; If the current communication status meets the communication requirements, a request to dial the non-emergency number is sent to the second electronic device; If the current communication state does not meet the communication requirements, the communication process ends.
17. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the communication method according to any one of claims 1 to 8.
18. A storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the communication method according to any one of claims 1 to 8.
19. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the communication method as described in any one of claims 1 to 8.