Communication method, communication system and electronic equipment
By adjusting the terminal's working mode, control signal and sleep time, low-power communication of terminals in complex terrain is realized, search and rescue failure caused by power exhaustion is solved, and chain building success rate and terminal working time is improved.
Patent Information
- Application Number
- CN202210576424.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-25
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2042-05-25
AI Technical Summary
During the search and rescue process, the mobile terminal held by the seeker or rescuer is shut down due to exhaustion of power, resulting in the search and rescue process being blocked or failed. How to make the mobile terminal work more lastingly to ensure the stability and success rate of the communication link.
By adjusting the working mode of the terminal, controlling the proportion of time of transmission signals, listening signals and sleep, planning the working cycle, and using the low-power rescue mode and the strong rescue mode are the rescue terminal and the rescue terminal respectively, reducing power consumption, avoiding power consumption, and ensuring successful chain construction.
While saving electricity, it improves the success rate of link building between terminals, ensures the stability of communication links, extends the working time of terminals, and improves the success rate of search and rescue processes.
Smart Images

Figure CN117177223B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to communication methods, communication systems and electronic equipment. Background Art
[0002] Due to people's work and entertainment needs, people often get trapped in areas with complex terrain and no public network coverage, such as mountains or underground. In such cases, the rescuer and the rescuer can establish a device-to-device communication link through mobile terminals to complete the rescue communication.
[0003] However, most mobile devices used by rescuers and callers are small battery-powered devices like phones and tablets, making the search and rescue of trapped victims a lengthy process. During this process, if the device runs out of power and shuts down, the search and rescue process can be hindered or even fail.
[0004] Therefore, in the search and rescue process, how to make the mobile terminal held by the person seeking help or the rescuer work more persistently is a problem to be solved urgently in this field. Summary of the Invention
[0005] The purpose of the present application is to provide a communication method, a communication system, and an electronic device. The electronic device can control the proportion of time the electronic device uses to transmit signals, listen for signals, and sleep according to the working mode selected by the user, and establish a communication connection with other electronic devices in different working modes by planning the working cycle of the electronic device; while saving the power of the electronic device, it can effectively overcome the situation where the two electronic devices cannot successfully establish a link due to periodic work synchronization, thereby improving the success rate of the electronic device establishing a link with other devices.
[0006] The above-mentioned and other objects are achieved by the features of the independent claims. Further implementations are given in the dependent claims, the description and the drawings.
[0007] In the first aspect, the present application provides a communication method, which is applied to a first terminal, and the method includes: receiving a user's operation instruction, determining and starting a rescue mode of the first terminal, the rescue mode including a low-power rescue mode and a strong rescue mode; the first terminal establishes a first network link with a second terminal; wherein the second terminal is in a basic rescue mode or a strong rescue mode; within the same working time, the power consumption of the first terminal in the low-power rescue mode is less than the power consumption of the first terminal in the strong rescue mode; the power consumption of the second terminal in the basic rescue mode is less than the power consumption of the second terminal in the strong rescue mode.
[0008] In this method, the first terminal may be referred to as a distress terminal, and the second terminal may be referred to as a rescue terminal. Furthermore, in this method, the first terminal may operate in a low-power distress mode or a strong distress mode. When operating in the low-power distress mode, it may be referred to as a low-power distress terminal; when operating in the strong distress mode, it may be referred to as a strong distress terminal. Similarly, the second terminal may operate in a basic rescue mode or a strong rescue mode. When operating in the basic rescue mode, it may be referred to as a basic rescue terminal; when operating in the strong rescue mode, it may be referred to as a strong rescue terminal.
[0009] In the process of the first terminal trying to establish a communication connection with the second terminal, the first terminal in the low-power rescue mode can perform work processes such as listening for signals and sleeping, and the first terminal in the strong rescue mode can perform work processes such as listening for signals, sending signals and sleeping; it can be understood that compared with the continuous transmission and reception of signals, the first terminal and the second terminal in this method can effectively reduce the power consumption of the two terminals during the link establishment process by adjusting the time ratio used for transmitting signals, listening for signals and sleeping during the link establishment (i.e., establishing a communication connection), thereby preventing the two terminals from running out of power before the link is established, resulting in link establishment failure. In addition, for the two working modes of the rescue terminal (i.e., low-power rescue mode and strong rescue mode) and the two working modes of the rescue terminal (i.e., basic rescue mode and strong rescue mode), the biggest difference is the proportion of the duration of the terminal's external signal in its entire working cycle, wherein, in the low-power rescue mode, the first terminal will not send a distress signal to the outside, and in the basic rescue mode, the second terminal will not send a rescue signal to the outside (but may send a synchronization signal). Since the power consumed by the terminal for listening to signals is much less than the power consumed by the terminal for sending signals in the same period of time, in the embodiment of the present application, the power consumption of the first terminal when operating in the low-power rescue mode is less than the power consumption when operating in the strong rescue mode; the power consumption of the second terminal when operating in the basic rescue mode is less than the power consumption when operating in the strong rescue mode. When the power of the first terminal is too low, the trapped person can use the low-power rescue mode to ask for help, reducing the power consumption rate of the first terminal to improve the success rate of search and rescue.
[0010] Furthermore, in the method, the first network link may be used to construct a communication network between the first terminal and the second terminal. The communication network may support direct communication between the first terminal and the second terminal. That is, during communication, the first terminal and the second terminal do not need to rely on a local area network or wide area network such as a cellular network or a wireless network to complete the communication process between the two terminals.
[0011] In combination with the first aspect, in one possible embodiment, when the first terminal is in the strong rescue mode, the first terminal alternately sends the first signal and listens for the second signal sent by the second terminal with a first duration as a period, and each period includes at least two groups of the first terminals alternatingly performing the listening and sending operations; the two groups of the first terminals alternately performing the listening and sending operations are separated by a second duration, and the second duration is less than the sum of the durations required for the first terminal to send the first signal and listen to the second signal; the first signal and the second signal are used to establish the first network link with the second terminal; when the first terminal is in the low-power rescue mode, the first terminal listens in the environment for whether the second signal sent by the second terminal exists, and the duration of the listening by the first terminal is a third duration; if not heard, the first terminal listens again in the environment for whether the second signal exists with an interval of a fourth duration and an offset of a fifth duration at the moment when the listening ends, until the first terminal hears the second signal.
[0012] It can be understood that compared to continuous signal transmission and reception, the first terminal and the second terminal in this method can effectively reduce the power consumption of the two terminals during the link establishment process by adjusting the proportion of time used for transmitting signals, listening for signals, and sleeping during the link establishment (i.e., establishing a communication connection), thereby preventing the two terminals from running out of power before the link is established, resulting in link establishment failure. However, since both terminals have a sleep period during the link establishment process, and the first terminal and the second terminal may be in a state of synchronously listening for signals or synchronously sending signals; for example, if the first terminal is listening for signals (or sending signals) and the second terminal is also in a state of listening for signals (or sending signals) or in a sleep state, the first terminal will not be able to successfully listen to the second signal sent by the second terminal, and the two terminals will not be able to successfully establish a communication link; if the period of the first terminal listening for signals is the same as the period of the second terminal sending the first signal, the first terminal and the second terminal may not be able to successfully establish a communication link in each subsequent period.
[0013] Therefore, in this embodiment, when the first terminal is in the strong distress mode, the first terminal can perform at least two sets of alternating listening and sending operations in each working cycle, and there is an offset duration (i.e., the second duration) between these two sets of alternating listening and sending operations, and the offset duration is less than the sum of the durations required for the first terminal to listen to the first signal and send the second signal. It can be understood that when the second terminal works in the strong rescue mode, if within a certain period, the period of its alternating listening and sending of signals in the first segment is the same as the period of the first terminal alternating listening and sending of signals in the first segment (that is, the second terminal is also sending the first signal during the process of the first terminal sending the second signal, and the second terminal is also listening to the signal during the process of the first terminal listening to the first signal), then since the first terminal will offset the period of listening and sending the signal during the period of alternating listening and sending of signals in the second segment, and the first terminal will not perform such operations during the period of alternating listening and sending of signals in the second segment, therefore, in the period of the first terminal alternating listening and sending of signals in the second segment, when the first terminal is listening to the first signal, the second terminal is in the state of sending the first signal; if the second terminal is in the state of listening to the second signal during the process of the first terminal sending the second signal, the two terminals can successfully establish a communication connection.
[0014] Similarly, when the first terminal is in low-power distress mode, if the first terminal fails to detect the first signal sent by the second terminal, the first terminal will again detect whether the first signal sent by the second terminal exists in the environment after a third time interval and a fourth time interval at the time when the monitoring ends, until the first signal sent by the second terminal is detected. The fourth time interval can be that the first terminal enters a dormant state at the time when the monitoring ends, sleeps for the third time, and then continues to sleep for the fourth time. In this way, it is possible to avoid the first terminal detecting a signal at each time being staggered with the second terminal sending a signal, thereby saving power for the first and second terminals while ensuring that the two terminals can successfully establish a link.
[0015] In combination with the first aspect, in a possible embodiment, the first terminal establishes a first network link with the second terminal, including: after the first terminal detects the second signal sent by the second terminal in the strong rescue mode, the first terminal replies with a response signal to the second terminal; when the second terminal accesses the channel under the instruction of the response signal, the first terminal establishes the first network link with the second terminal; the second signal is a second request signal for requesting to establish a communication connection with the first terminal; or, after the first terminal detects the second signal sent by the second terminal, the first terminal sends an access request to the second terminal on the channel indicated by the second signal; when the second terminal responds to the access request, the first terminal establishes the first network link with the second terminal; the second signal is a synchronization signal sent by the second terminal; or, after the first signal sent by the first terminal in the strong rescue mode is detected by the second terminal, the first terminal accesses the channel under the instruction of the response signal replied by the second terminal, and the first terminal establishes the first network link with the second terminal; the first signal is the first request signal sent by the first terminal for requesting to establish a communication connection with the second terminal.
[0016] In this embodiment, the second terminal may be a synchronization node or a master node, and the second terminal may be a terminal in a basic rescue mode, which periodically sends a synchronization signal to the outside and listens to the first signal; in addition, the second terminal may also be a terminal in a strong rescue mode, which periodically sends a synchronization signal or the second request signal to the outside and listens to the first signal. Therefore, in this embodiment, the second signal may be a synchronization signal or a second request signal sent by the second terminal. In some embodiments of the present application, the first request signal and the second request signal may also be referred to as an emergency rescue link establishment request frame (the second request signal here and the first request signal sent by the first terminal are different in frame format, please refer to the subsequent related instructions for details, which will not be repeated here).
[0017] After the first terminal intercepts the second request signal sent by the second terminal, it may reply with a response signal and subsequently intercept all access channels and emergency rescue channels. The first terminal may calculate the locations of the access and rescue channels and initiate random access on the access and rescue channels to complete link establishment. The two terminals utilize an open system authentication method, which includes an open system access request and an access response, and does not require authentication.
[0018] Alternatively, after the first terminal receives the synchronization signal sent by the second terminal, the first terminal may send an access request on the random access channel indicated by the synchronization signal. An open system authentication method is used between the two terminals, including an open system access request and an access response, without authentication. After the second terminal responds to the access request, the first network link can be established between the first and second terminals.
[0019] Alternatively, after the first request signal sent by the first terminal is intercepted by the second terminal, the second terminal may reply with a response signal and listen on all access channels and emergency rescue channels thereafter; in some embodiments of the present application, the response signal may also be referred to as an emergency rescue link establishment response frame. The second terminal may calculate the access channel and rescue channel positions, initiate random access on the access channel and rescue channel to complete the link establishment. An open system authentication method is adopted between the two terminals, which includes two steps: an open system access request and an access response, and does not require authentication.
[0020] In combination with the first aspect, in one possible implementation, when the first terminal is in the strong distress mode, the first terminal sends a first signal and listens for a second signal sent by the second terminal with a first duration as a period, including: in a first time period corresponding to each period, the first terminal continuously and alternately sends the first signal and listens for the second signal for a sixth duration; if the first terminal fails to hear the second signal within the first time period, and the second terminal fails to receive the first signal within the first time period, the first terminal enters a sleep state at the end of the first time period, and after the second time period, in a second time period corresponding to each cycle, the first terminal continuously and alternately sends the first signal and listens for the second signal for a seventh duration; when the first terminal is in the low power distress mode, the first terminal again listens for whether there is the second signal in the environment with a fourth time period interval and a fifth time period offset from the end of the listening, including: the first terminal enters a sleep state at the end of the listening; after the fourth time period and the fifth time period, the first terminal wakes up from the sleep state and again listens for whether there is the second signal in the environment, and the duration of the first terminal's listening is the third time period.
[0021] In this embodiment, when the first terminal is in the strong distress mode, if the first terminal fails to monitor the first signal in the first time period, and the second terminal fails to receive the second signal in the first time period, the first terminal will enter a dormant state at the end of each monitoring. In the dormant state, the first terminal will no longer monitor or transmit signals. Until the eighth time period has passed, the dormancy ends, and the first terminal again continuously alternates between monitoring the first signal and transmitting the second signal. This can avoid the situation where the two terminals fail to establish a link due to overlapping signal transmission and reception periods, and the first terminal can successfully establish a link with the second terminal as quickly as possible.
[0022] When the first terminal is in a low-power distress mode, if the first terminal fails to detect the first signal sent by the second terminal, the first terminal will enter a dormant state with a period equal to the sum of the fourth duration and the fifth duration at the end of each detection. In the dormant state, the first terminal will no longer detect signals. Until the end of the dormancy, the first terminal continues to detect signals, and the duration of continuous detection is also the third duration. That is, before the first terminal successfully establishes a link with the second terminal, the first terminal's detection time each time is the third duration. In this way, since the period of the second terminal sending the first signal remains unchanged, the first terminal can successfully establish a link with the second terminal as quickly as possible.
[0023] In combination with the first aspect, in one possible implementation, the sixth time duration is equal to the seventh time duration, and / or the eighth time duration is twice the seventh time duration; the eighth time duration is the sum of the time durations required for the first terminal to send the first signal and listen to the second signal in the strong rescue mode.
[0024] In this embodiment, the first terminal in the strong rescue mode uses the same two durations (i.e., the sixth duration and the seventh duration) in each working cycle for alternately listening to the first signal and sending the second signal. In addition, the offset duration between these two durations (i.e., the second duration) can be half of the sum of the durations for listening to the first signal once and sending the second signal once (i.e., the eighth duration). In this way, if the first terminal fails to monitor the first signal in the first time period, and the second terminal fails to receive the second signal in the first time period, the first terminal can offset the sending and listening period with the sending and listening period of the second terminal as soon as possible in the second time period through the offset operation, so as to ensure that the two terminals can successfully establish a link in the second time period, which is conducive to further shortening the time required for the two terminals to complete the link establishment.
[0025] In combination with the first aspect, in one possible implementation, the third duration is equal to the fifth duration, and / or the third duration is equal to the eighth duration.
[0026] In this embodiment, the duration of each time the first terminal listens for a signal in the low-power emergency mode (i.e., the third duration) is the same as the duration of each offset (i.e., the fifth duration). In addition, the duration of each time the first terminal alternately listens and sends a signal (i.e., the eighth duration) may also be the same as the third duration. In this way, if the first terminal fails to listen to the first signal sent by the second terminal, the first terminal can shorten the time difference between its listening period and the period when the second terminal sends a signal as soon as possible through the operation of the offset and in subsequent cycles until the link is successfully established with the second terminal. And if the duration of each time the second terminal alternately listens and sends a signal (this duration is also equal to the eighth duration) is the same as the third duration, then as long as the period when the first terminal listens to the first signal is included in the period when the second terminal alternately listens and sends, the first terminal will inevitably be able to listen to the first signal sent by the second terminal, which is conducive to further shortening the time required for the two terminals to complete the link establishment.
[0027] In the second aspect, the present application provides a communication method, which is applied to a second terminal, and the method includes: receiving a user's operation instruction, determining and starting the rescue mode of the second terminal, and the rescue mode includes a basic rescue mode and a strong rescue mode; the second terminal establishes a first network link with the first terminal; wherein, the first terminal is in a low-power rescue mode or a strong rescue mode; under the same working time, the power consumption of the second terminal in the basic rescue mode is less than the power consumption in the strong rescue mode, and the power consumption of the first terminal in the low-power rescue mode is less than the power consumption in the strong rescue mode.
[0028] In this method, the second terminal may be referred to as a rescue terminal, and the first terminal may be referred to as a distress terminal. Furthermore, in this method, the second terminal may operate in either a basic rescue mode or a strong distress mode. When operating in the basic rescue mode, it may be referred to as a basic rescue terminal; when operating in the strong distress mode, it may be referred to as a strong distress terminal. Similarly, the first terminal may operate in either a low-power distress mode or a strong distress mode. When operating in the low-power distress mode, it may be referred to as a low-power distress terminal; when operating in the strong distress mode, it may be referred to as a strong distress terminal.
[0029] In the process of the second terminal trying to establish the first network link with the first terminal, the second terminal in the basic rescue mode can perform work processes such as listening for signals and sleeping, and the second terminal in the strong rescue mode can perform work processes such as listening for signals, sending signals and sleeping; it can be understood that compared with the continuous transmission and reception of signals, the first terminal and the second terminal in this method can effectively reduce the power consumption of the two terminals during the link establishment process by adjusting the time ratio used for transmitting signals, listening for signals and sleeping during the link establishment (i.e., establishing a communication connection), thereby preventing the two terminals from running out of power before the link is established, resulting in link establishment failure. In addition, for the two working modes of the rescue terminal (i.e., the basic rescue mode and the strong rescue mode) and the two working modes of the rescue terminal (i.e., the low-power rescue mode and the strong rescue mode), the biggest difference is the proportion of the duration of the terminal's external signal in its entire working cycle, wherein the first terminal will not send a distress signal to the outside in the low-power rescue mode, and the second terminal will not send a rescue signal to the outside in the basic rescue mode (but may send a synchronization signal). Because the power consumed by a terminal listening for signals is much less than the power consumed by the terminal sending signals in the same amount of time, in this embodiment of the application, the power consumption of the second terminal in the basic rescue mode is less than that in the strong rescue mode; and the power consumption of the first terminal in the low-power rescue mode is less than that in the strong rescue mode. If the battery of the second terminal is too low, rescuers can use the basic rescue mode to request help, reducing the power consumption rate of the second terminal and improving the success rate of the search and rescue.
[0030] Furthermore, in the method, the first network link may be used to construct a communication network between the first terminal and the second terminal. The communication network may support direct communication between the first terminal and the second terminal. That is, during communication, the first terminal and the second terminal do not need to rely on a local area network or wide area network such as a cellular network or a wireless network to complete the communication process between the two terminals.
[0031] In combination with the second aspect, in one possible implementation, when the second terminal is in the strong rescue mode, the second terminal alternately sends the second signal and listens to the first signal with a first duration as a period, and the duration of the second terminal alternatingly sending the second signal and listening to the first signal in each period is a ninth duration; the second signal includes a second request signal and a synchronization signal; if the second terminal fails to hear the first signal and the second signal is not heard by the first terminal within the corresponding time period, the second terminal sleeps for the tenth time period until the end of the current period, and again alternately sends the second signal and listens to the first signal until the second terminal hears the first signal or the second signal is heard by the first terminal; the second request signal is a signal sent by the second terminal to request to establish a communication connection with the first terminal; the first signal is a first request signal sent by the first terminal to request to establish a communication connection with the second terminal; when the second terminal is in the basic rescue mode, the second terminal listens to the first signal with the first duration as a period; and each period includes at least one period in which the second terminal listens to the first signal; if the second terminal fails to hear the first signal within the corresponding time period, the second terminal sleeps for the tenth time period until the end of the current period, and again listens to the first signal until the second terminal hears the first signal.
[0032] It can be understood that compared to continuous signal transmission and reception, the first terminal and the second terminal in this method can effectively reduce the power consumption of the two terminals during the link establishment process by adjusting the proportion of time used for transmitting signals, listening for signals, and sleeping during the link establishment (i.e., establishing a communication connection), thereby preventing the two terminals from running out of power before the link is established, resulting in link establishment failure. However, since both terminals have a sleep period during the link establishment process, and the first terminal and the second terminal may be in a state of synchronously listening for signals or synchronously sending signals; for example, if the first terminal is listening for signals (or sending signals) and the second terminal is also in a state of listening for signals (or sending signals) or in a sleep state, the first terminal will not be able to successfully listen to the second signal sent by the second terminal, and the two terminals will not be able to successfully establish a communication link; if the period of the first terminal listening for signals is the same as the period of the second terminal sending the first signal, the first terminal and the second terminal may not be able to successfully establish a communication link in each subsequent period.
[0033] Therefore, in combination with the above description, it can be seen that in order to overcome the above-mentioned drawbacks, when the first terminal is in the strong distress mode, the first terminal can perform at least two sets of alternating listening and sending operations in each working cycle, and there is an offset duration (i.e., the second duration) between these two sets of alternating listening and sending operations, and the offset duration is less than the sum of the durations required for the first terminal to listen to the first signal and send the second signal. Similarly, when the first terminal is in the low-power distress mode, when the first terminal fails to hear the first signal sent by the second terminal, the first terminal will again listen to the environment for the presence of the first signal sent by the second terminal after a third duration and a fourth duration offset from the moment the listening ends, until the first signal sent by the second terminal is heard. The fourth duration offset can be that the first terminal enters a dormant state at the moment the listening ends, sleeps for the third duration, and then continues to sleep for the fourth duration. In this way, it is possible to avoid the first terminal's listening time being staggered with the second terminal's sending time, saving energy for the first and second terminals while ensuring that the two terminals can successfully establish a link.
[0034] Therefore, in order to cooperate with the working process of the first terminal, when the second terminal is in the strong rescue mode, the second terminal sends the second signal and listens to the first signal alternately with the first duration as the cycle, and the duration is the ninth duration; if the second terminal fails to hear the first signal and the second signal fails to be heard by the first terminal during the corresponding time period, the second terminal will sleep for the tenth duration until the end of the current cycle, and will again alternately send the second signal and listen to the first signal until the second terminal hears the first signal or the second signal is heard by the first terminal. In this way, the second terminal in the strong rescue mode can fully cooperate with the working timing of the first terminal (regardless of whether it is in the strong rescue mode or the low power rescue mode) and successfully establish a link with the first terminal.
[0035] Similarly, when the second terminal is in the basic rescue mode, the second terminal listens to the first signal with the first duration as the cycle; and each cycle contains at least one period in which the second terminal listens to the first signal; if the second terminal fails to hear the first signal within the corresponding period, the second terminal sleeps for the tenth period until the end of the current cycle, and listens to the first signal again until the second terminal hears the first signal. In this way, the second terminal in the strong rescue mode can fully cooperate with the working timing of the first terminal (regardless of whether it is in the strong rescue mode or the low-power rescue mode) and successfully establish a link with the first terminal.
[0036] In combination with the second aspect, in one possible embodiment, the second terminal is an online device. When the second terminal is in the basic rescue mode, the second terminal also sends a synchronization signal with the first time length as a period, and each period includes at least one time period in which the second terminal sends the synchronization signal.
[0037] In this embodiment, the second terminal is a synchronization node or a master node, which periodically sends a synchronization signal or a request signal to the outside. Therefore, in this embodiment, the second signal is a synchronization signal or a second request signal sent by the second terminal (the request signal here is different from the first request signal sent by the first terminal in the frame format. Please refer to the subsequent related instructions for details, which will not be repeated here). In this embodiment, when the second terminal is a terminal in the basic rescue mode, the second terminal can still send a synchronization signal to the first terminal. After the first terminal receives the synchronization signal sent by the second terminal, the first terminal can send an access request on the random access channel indicated by the synchronization signal. An open system authentication method is used between the two terminals, which includes two steps: an open system access request and an access response, and does not require authentication. After the second terminal responds to the access request, the first network link can be established between the first terminal and the second terminal.
[0038] In combination with the second aspect, in one possible embodiment, the second terminal establishes a first network link with the first terminal, including: after the second terminal detects the first request signal sent by the first terminal in the strong rescue mode, the second terminal replies with a response signal to the first terminal; when the first terminal accesses the channel under the instruction of the response signal, the second terminal establishes the first network link with the first terminal; or, after the first terminal detects the synchronization signal sent by the second terminal, the first terminal sends an access request to the second terminal on the channel indicated by the synchronization signal; when the second terminal responds to the access request, the second terminal establishes the first network link with the first terminal; or, after the second request signal sent by the second terminal in the strong rescue mode is detected by the first terminal, the second terminal accesses the channel under the instruction of the response signal replied by the first terminal, and the second terminal establishes the first network link with the first terminal.
[0039] In combination with the second aspect, in one possible implementation, the tenth duration is greater than the ninth duration.
[0040] The tenth duration is the duration during which the second terminal in the strong rescue mode sleeps in each cycle, and the ninth duration is the duration during which the second terminal alternately transmits the second signal and listens for the first signal in each cycle. In this embodiment, the tenth duration is greater than the ninth duration, meaning that the second terminal in the strong rescue mode spends less time in operation than in sleep mode in each cycle, which helps further conserve power and improve the success rate of the search and rescue process.
[0041] In a third aspect, the present application provides a communication system, comprising a first terminal and a second terminal, wherein when a first trigger condition is met, the first terminal and the second terminal establish a first network link; the first trigger condition is one of the following conditions: the first terminal is in a strong rescue mode and the second terminal is in a strong rescue mode; the first terminal is in a strong rescue mode and the second terminal is in a basic rescue mode; the first terminal is in a low power rescue mode and the second terminal is in a strong rescue mode; the first terminal is in a low power rescue mode and the second terminal is in a basic rescue mode;
[0042] Under the same working time, the power consumption of the second terminal in the basic rescue mode is less than that in the strong rescue mode, and the power consumption of the first terminal in the low power rescue mode is less than that in the strong rescue mode.
[0043] In combination with the third aspect, in a possible implementation, when the first terminal is in the strong rescue mode, the first terminal alternately sends the first signal and listens for the second signal sent by the second terminal with a first duration as a period, and in each period, at least two groups of the first terminals alternately perform the listening and sending operations; the two groups of the first terminals alternately perform the listening and sending operations at an interval of a second duration, and the second duration is less than the sum of the durations required for the first terminal to send the first signal and listen for the second signal; the first signal and the second signal are used to establish the network link with the second terminal; when the first terminal is in the low-power rescue mode, the first terminal listens in the environment for whether there is the second signal sent by the second terminal, and the duration of the listening by the first terminal is a third duration; if not, the first terminal listens again for whether there is the second signal in the environment with an interval of a fourth duration and an offset of a fifth duration at the moment when the listening ends, until the first terminal hears the second signal; when the second terminal is in the strong rescue mode, the second terminal alternately sends the second signal and listens for the first signal with the first duration as a period, and the second terminal The duration of alternatingly sending the second signal and listening to the first signal in each cycle is the ninth time period; the second signal includes a second request signal and a synchronization signal; if the second terminal fails to hear the first signal and the second signal fails to be heard by the first terminal in the corresponding time period, the second terminal sleeps for the tenth time period until the end of the current cycle, and again alternately sends the second signal and listens to the first signal until the second terminal hears the first signal or the second signal is heard by the first terminal; the second request signal is a signal sent by the second terminal to request to establish a communication connection with the first terminal; the first signal is the first request signal sent by the first terminal to request to establish a communication connection with the second terminal; when the second terminal is in the basic rescue mode, the second terminal listens to the first signal with the first time period as a cycle; and each cycle includes at least one time period for the second terminal to listen to the first signal; if the second terminal fails to hear the first signal in the corresponding time period, the second terminal sleeps for the tenth time period until the end of the current cycle, and again listens to the first signal until the second terminal hears the first signal.
[0044] In combination with the third aspect, in one possible implementation, the first terminal and the second terminal establish a first network link, including: the second terminal in the strong rescue mode sends the second signal, and the first terminal in the low power rescue mode or the strong rescue mode responds with a first response signal to the second terminal after hearing the second signal; after the second terminal accesses the channel under the instruction of the first response signal, the first terminal and the second terminal establish the first network link; the second signal is a second request signal for requesting to establish the first network link with the first terminal; or, the second terminal sends the second signal, and after the first terminal in the low power rescue mode or the strong rescue mode responds with the second signal, sends an access request to the second terminal on the channel indicated by the second signal; after the second terminal responds to the access request, the second terminal establishes the first network link; the second signal is a synchronization signal sent by the second terminal; or, the first terminal in the strong rescue mode sends the first signal, and after the second terminal in the low power rescue mode or the strong rescue mode responds with a second response signal to the first terminal, the first terminal accesses the channel under the instruction of the second response signal, and the first terminal and the second terminal establish the first network link. The first signal is a first request signal sent by the first terminal for requesting to establish a first network link with the second terminal.
[0045] In a fourth aspect, the present application provides a method for selecting a working mode, which is applied to an electronic device and is characterized in that it includes: displaying a first user interface in response to a user instruction, wherein the first user interface includes a first control, a second control, a third control and a fourth control; the electronic device enters a strong rescue mode in response to the user's first operation instruction on the first control; or, the electronic device enters a low-power rescue mode in response to the user's second operation instruction on the second control; or, the electronic device enters a strong rescue mode in response to the user's third operation instruction on the third control; or, the electronic device enters a basic rescue mode in response to the user's fourth operation instruction on the fourth control; under the same working time, the power consumption of the electronic device when working in the basic rescue mode is less than the power consumption when working in the strong rescue mode, and the power consumption of the electronic device when working in the low-power rescue mode is less than the power consumption when working in the strong rescue mode.
[0046] In combination with the fourth aspect, in a possible embodiment, the first user interface also includes a fifth control, and the method also includes: the electronic device automatically enters the low-power rescue mode or the strong rescue mode in response to the user's fifth operation instruction on the fifth control, according to the current power level of the electronic device and / or the user's current vital signs information.
[0047] In combination with the fourth aspect, in one possible embodiment, the first user interface also includes a sixth control, and the method also includes: the electronic device displays a second user interface in response to a sixth operation instruction of the user on the sixth control, the second user interface including at least one text box and a seventh control, the at least one text box being used to display the user's personal information; the electronic device saves the user's personal information displayed in the at least one text box in response to the seventh operation instruction for the seventh control.
[0048] In a fifth aspect, the present application provides an electronic device, characterized in that the electronic device includes: one or more processors, a memory and a display screen; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the method described in any one of the first or second aspects above.
[0049] In a sixth aspect, the present application provides a chip system, which is applied to an electronic device, and the chip system includes one or more processors, which are used to call computer instructions to enable the electronic device to execute the method described in any one of the first or second aspects.
[0050] In a seventh aspect, the present application provides a computer program product comprising instructions, which, when run on an electronic device, enables the electronic device to execute the method described in any one of the first or second aspects.
[0051] In an eighth aspect, the present application provides a computer-readable storage medium comprising instructions, which, when executed on an electronic device, enables the electronic device to execute the method described in any one of the first or second aspects.
[0052] The beneficial effects of the technical solutions provided in aspects 3 to 8 of this application can refer to the beneficial effects of the technical solutions provided in aspects 1 or 2, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 A schematic diagram of a communication system provided in an embodiment of the present application;
[0054] Figure 2 A schematic structural diagram of an electronic device 100 provided in an embodiment of the present application;
[0055] Figure 3 Schematic diagrams of some user interfaces provided in embodiments of the present application;
[0056] Figure 4 This is a timing diagram of the operation of the electronic device in different operating modes provided by the embodiment of the present application;
[0057] Figure 5 A schematic diagram of a link establishment process between a distress terminal and a rescue terminal provided in an embodiment of the present application;
[0058] Figure 6 A schematic diagram of a link establishment process between a distress terminal and a rescue terminal provided in an embodiment of the present application;
[0059] Figure 7 A schematic diagram of a link establishment process between a distress terminal and a rescue terminal provided in an embodiment of the present application;
[0060] Figure 8 A schematic diagram of a link establishment process between a distress terminal and a rescue terminal provided in an embodiment of the present application;
[0061] Figure 9 A flow chart of a communication method provided in an embodiment of the present application;
[0062] Figure 10 A flow chart of a communication method provided in an embodiment of the present application;
[0063] Figure 11 A flow chart of a communication method provided in an embodiment of the present application;
[0064] Figure 12 A flow chart of a communication method provided in an embodiment of the present application;
[0065] Figure 13 A schematic diagram of a link establishment method between two terminals in a search and rescue system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0066] The terms used in the following examples of the present application are for the purpose of describing specific embodiments only and are not intended to limit the present application. As used in the specification and appended claims of the present application, the singular expressions "a," "an," "said," "above," "the," and "this" are intended to include plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in the present application refers to and encompasses any or all possible combinations of one or more of the listed items.
[0067] Since the embodiments of the present application involve communication methods, electronic devices, and communication systems, for ease of understanding, the relevant terms involved in the embodiments of the present application are first introduced below.
[0068] (1) Distress terminal and rescue terminal
[0069] During the search and rescue process, even in the absence of public network coverage, the party seeking help or the search and rescue party can still establish a communication connection by sending signals to the other party through the terminal device they carry. In this application, the terminal held by the party seeking help (i.e. the trapped party) is called the rescue terminal, and the terminal held by the search and rescue party is called the rescue terminal.
[0070] (2) Active distress calls, active rescue, and passive listening
[0071] In this application, the rescue terminal's rescue methods during the search and rescue process can be divided into two types, namely active rescue or passive listening (passive rescue); the rescue terminal's search and rescue methods during the search and rescue process can also be divided into two types, namely active rescue or passive listening (passive rescue).
[0072] Among them, in the active rescue working mode, the rescue terminal can periodically send a distress signal and periodically listen to whether there is a rescue signal or synchronization signal sent by the rescue terminal in the surrounding area, while in the passive listening (passive rescue) working mode, the rescue terminal will only periodically listen to whether there is a rescue signal or synchronization signal sent by the rescue terminal in the surrounding area. Similarly, in the active rescue working mode, the rescue terminal will periodically send a rescue signal and periodically listen to whether there is a distress signal sent by the rescue terminal in the surrounding area; in the passive listening (passive rescue) working mode, the rescue terminal only periodically listens to whether there is a distress signal sent by the rescue terminal in the surrounding area. It should be noted that when the rescue terminal is a master node or a synchronization node, during the search and rescue process, the rescue terminal can also send out synchronization frames (also called synchronization signals), which can be received by the rescue terminal and access the corresponding channel to complete the communication connection with the rescue terminal. In this application, establishing a communication connection can be referred to as "link building"; the process of establishing a communication connection can be referred to as "link building process".
[0073] (3) Emergency rescue link establishment request frame and emergency rescue link establishment response frame
[0074] The emergency rescue link establishment request frame is a signal that a terminal actively uses to request other terminals to establish a communication connection with itself. Correspondingly, the emergency rescue link establishment response frame is a signal sent by the terminal to the other terminal in response to the emergency rescue link establishment request frame received from the other terminal, used to agree that the other terminal will establish a communication connection with itself.
[0075] During the search and rescue process, the distress signal sent by the distress terminal and the rescue signal sent by the rescue terminal can both be called emergency rescue link establishment request frames. However, there are differences in the frame formats of the emergency rescue link establishment request frames sent by the distress terminal and the emergency rescue link establishment request frames sent by the rescue terminal. This difference allows the terminal to identify whether the received emergency rescue link establishment request frame is sent by the rescue terminal or the distress terminal. This can prevent terminals that are also rescue terminals from redundantly processing emergency rescue link establishment request frames sent by other rescue terminals, and it can also prevent terminals that are also distress terminals from redundantly processing emergency rescue link establishment request frames sent by other distress terminals. The differences in the frame formats of the emergency rescue link establishment request frames sent by the distress terminal and the emergency rescue link establishment request frames sent by the rescue terminal will be explained in detail later and will not be repeated here.
[0076] Similarly, during the search and rescue process, the response signal sent by the rescue terminal to the rescue terminal after receiving the request frame for link establishment from the rescue terminal, and the response signal sent by the rescue terminal to the rescue terminal after receiving the request frame for link establishment from the rescue terminal, can both be called emergency rescue link establishment response frames.
[0077] (4) Synchronous nodes and synchronous frames
[0078] A synchronization node is a node in a synchronous network responsible for receiving and sending synchronization frames. The synchronization mechanism allows all devices in the network to periodically meet at agreed times and within agreed channels to perform functions such as clock calibration, surrounding network environment awareness, device discovery, and node election.
[0079] A synchronization frame is a synchronization signal periodically transmitted by the master node and synchronization nodes. It contains the precise timestamp and node information of the sending node. Devices receiving the synchronization frame use this information to calculate the time-frequency positions of the sending node's operating channels and establish a connection with the sending node at the corresponding time-frequency positions. Therefore, two devices can establish a communication connection with the support of a synchronization frame sent by one device.
[0080] When a user encounters danger in an area without public network coverage, the caller and rescuer can establish a device-to-device communication link via mobile terminals to facilitate rescue communication. Existing emergency rescue communication solutions mostly rely on dedicated outdoor communication terminals, such as walkie-talkies. These devices have long transmission distances and large battery life, resulting in limited optimization of terminal power consumption. However, in real-world distress scenarios, the caller and even the rescuers do not carry dedicated outdoor communication terminals. Therefore, mobile terminals are needed to establish an emergency rescue communication link between devices to facilitate rescue communication.
[0081] like Figure 1 As shown, the distress terminal 101 is the terminal held by the person in distress, and the rescue terminal 102 is the terminal held by the rescuer. It can be seen from the status bar in the display screen of the distress terminal 101 that the distress terminal 101 has not yet successfully accessed the public network, so the distress terminal 101 cannot contact the rescue terminal 102 via text message or phone call. Therefore, the distress terminal 101 needs to establish an inter-device emergency rescue communication link to complete the rescue communication with the rescue terminal 102. In the traditional link establishment process, the distress terminal 101 and the rescue terminal 102 need to continuously send and receive signals. For example, the distress terminal 101 needs to send a distress signal all the time, and the rescue terminal 102 needs to listen to the signal in the environment all the time until the distance between the distress terminal 101 and the rescue terminal 102 is less than a certain level. The distress signal sent by the distress terminal 101 can be successfully listened to by the rescue terminal 102, and an emergency rescue communication link can be established between the two terminal devices to complete the rescue communication.
[0082] However, during the rescue process, the person in need of help is generally unable to move around in a large area and can only rely on the rescuers to conduct a range search to advance the rescue process. Therefore, the search and rescue process often takes a long time. However, the mobile terminals held by the person in need of help or the rescuer are mostly mobile phones, tablets, and other terminals with small battery capacities. During this process, if the mobile terminal held by the person in need of help or the rescuer is always in the state of sending and receiving signals, the rescue terminal and the rescue terminal may be shut down due to power exhaustion before the link is successfully established. The search and rescue process will be hindered or even fail, and the life of the person in need of help will be seriously threatened. Therefore, reducing the power consumption of the mobile terminal in establishing the emergency rescue communication link between devices and providing the optimal trade-off between power consumption and link establishment waiting time are important optimization goals of mobile terminal emergency rescue solutions.
[0083] Due to the trade-off between terminal power consumption and search and rescue efficiency, the working mode, link establishment process, functional interface, etc. of emergency rescue communications need to be designed to meet the full-scenario needs of searchers and rescuers with different purposes and different power scenarios. Based on the above scenarios and needs, the present invention discloses a communication method, electronic device and communication system. The electronic device and communication system can be used to implement the communication method, which controls the proportion of the time of transmission, listening and sleep of the electronic device during the search and rescue process to achieve switching between power consumption priority and efficiency priority. In addition, when implementing this method, the terminals held by the rescuer and the rescuer can choose between high and low power consumption rescue modes. Users can flexibly choose the rescue mode according to the power of the user terminal, providing greater protection for the success rate of the rescue operation and the life safety of the trapped persons.
[0084] First, the electronic device provided in the embodiments of the present application is introduced.
[0085] The electronic device may be a mobile phone, a tablet computer, a wearable device, an in-vehicle device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA) or a dedicated camera (such as a SLR camera or a compact camera), etc. This application does not impose any restrictions on the specific type of the electronic device.
[0086] Figure 2 The structure of the electronic device 100 is exemplarily shown.
[0087] like Figure 2 As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0088] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0089] The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0090] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0091] In some embodiments, the processor 110 such as a controller or a GPU can be used to automatically select a specific rescue mode according to the current power level of the electronic device 100 after the user turns on "one-click rescue".
[0092] In other embodiments, the processor 110, such as a controller or GPU, may also be configured to switch the operating mode of the electronic device 100 to a power saving mode when the electronic device 100 is in a distress mode. In power saving mode, the screen brightness of the electronic device 100 is lowered. In some embodiments, in power saving mode, Bluetooth and Wi-Fi on the electronic device 100, as well as power-intensive background applications, are disabled.
[0093] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0094] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly retrieve it from the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0095] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuits sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0096] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C bus lines. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, and the like via different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K via the I2C interface, enabling communication between the processor 110 and the touch sensor 180K via the I2C bus interface, thereby implementing the touch function of the electronic device 100.
[0097] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface, enabling the function of answering calls through a Bluetooth headset.
[0098] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0099] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface, enabling the function of playing music through Bluetooth headphones.
[0100] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display 194 and the camera 193. MIPI interfaces include the camera serial interface (CSI) and the display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the camera function of the electronic device 100. The processor 110 and the display 194 communicate via the DSI interface to implement the display function of the electronic device 100.
[0101] The GPIO interface can be configured via software. The GPIO interface can be configured as either a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, display 194, wireless communication module 160, audio module 170, sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0102] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as augmented reality devices.
[0103] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0104] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.
[0105] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0106] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0107] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0108] The mobile communication module 150 can provide wireless communication solutions, including 2G / 3G / 4G / 5G, for the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low-noise amplifier (LNA), and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor and convert them into electromagnetic waves for radiation via the antenna 1.
[0109] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0110] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with a network and other devices via wireless communication technology. Wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), the quasi-zenith satellite system (QZSS) and / or the satellite based augmentation system (SBAS).
[0111] In some embodiments, when electronic device 100 is a synchronization node or master node, electronic device 100 may periodically transmit synchronization frames via mobile communication module 150 or wireless communication module 160. Synchronization frames, also known as synchronization signals, provide a signal with the same time reference to devices that need to synchronize information processing, such as all television broadcasts and mobile phone communications. Other electronic devices can establish a communication connection with the electronic device with the support of the synchronization frames transmitted by electronic device 100.
[0112] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0113] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.
[0114] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0115] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.
[0116] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard format such as RGB, YUV, etc.
[0117] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0118] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0119] The NPU is a neural network (NN) computing processor that rapidly processes input information by drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, and can also continuously self-learn. The NPU can implement applications such as intelligent cognition of the electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension. The NPU can also implement the decision model provided in the embodiments of this application.
[0120] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0121] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0122] The electronic device 100 can implement audio functions through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor. For example, music playback, recording, etc. The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0123] Speaker 170A, also known as a "horn," is used to convert audio electrical signals into sound signals. Electronic device 100 can use speaker 170A to listen to music, listen to audio from a video, or make hands-free calls. In this embodiment of the present application, the number of speakers 170A can be one, two, or more.
[0124] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.
[0125] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.
[0126] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0127] The pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor 180A can be provided on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a device comprising at least two parallel plates having a conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A.
[0128] The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.
[0129] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude using the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
[0130] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover based on the magnetic sensor 180D. Based on the detected opening and closing status of the case or flip cover, features such as automatic unlocking of the flip cover can be configured.
[0131] Accelerometer 180E can detect the magnitude of acceleration of electronic device 100 in all directions (generally three axes). It can also detect the magnitude and direction of gravity when electronic device 100 is stationary. It can also be used to identify the electronic device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.
[0132] The distance sensor 180F is used to measure distance. The electronic device 100 can measure distance using infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure distance to achieve fast focusing.
[0133] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user is holding the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.
[0134] Ambient light sensor 180L is used to sense ambient light brightness. Electronic device 100 can adaptively adjust the brightness of display screen 194 based on the perceived ambient light. Ambient light sensor 180L can also be used to automatically adjust white balance when taking photos. Ambient light sensor 180L can also work with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent accidental touches.
[0135] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0136] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to prevent the electronic device 100 from shutting down abnormally due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to prevent abnormal shutdown due to low temperature.
[0137] The touch sensor 180K is also called a "touch panel." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, in a location different from that of the display screen 194.
[0138] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals from the vibrating bones of the human body's vocal cords. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure signals. In some embodiments, the bone conduction sensor 180M can also be set in headphones to form bone conduction headphones. The audio module 170 can parse the vibration signals of the vibrating bones of the vocal cords acquired by the bone conduction sensor 180M to obtain voice signals and implement voice functions. The application processor can parse heart rate information based on the blood pressure signals acquired by the bone conduction sensor 180M to implement heart rate detection functions.
[0139] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.
[0140] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0141] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0142] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or removing it from the SIM card interface 195. The electronic device 100 can support one or more SIM card interfaces. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0143] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0144] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and transformed into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the captured scene. The ISP is not limited to being integrated into processor 110; it can also be located in camera 193.
[0145] Video codecs are used to compress or decompress digital images. The electronic device 100 may support one or more video codecs. This allows the electronic device 100 to open or save images or videos in a variety of encoding formats.
[0146] Electronic device 100 can implement display functions using a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0147] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or more display screens 194.
[0148] The electronic device 100 may be a distress terminal or a rescue terminal.
[0149] In some embodiments, when the electronic device 100 is a rescue terminal, the rescue mode of the electronic device 100 can be divided into a strong rescue mode and a low-power rescue mode. In the strong rescue mode, the electronic device 100 will periodically send out emergency rescue link establishment request frames and periodically listen to whether there are emergency rescue link establishment request frames sent by other devices (rescue terminals) in the environment. In the low-power rescue mode, the electronic device 100 will periodically listen to whether there are emergency rescue link establishment request frames sent by other devices (rescue terminals) in the environment, and will not send out emergency rescue link establishment request frames.
[0150] In some embodiments, when the electronic device 100 is a rescue terminal, the rescue mode of the electronic device 100 can be divided into a strong rescue mode and a basic rescue mode. In the strong rescue mode, the electronic device 100 will periodically send out an emergency rescue link establishment request frame, and periodically listen to whether there are other devices (rescue terminals) in the environment sending emergency rescue link establishment request frames. In the basic rescue mode, the electronic device 100 will periodically listen to whether there are other devices (rescue terminals) in the environment sending emergency rescue link establishment request frames, and will not send out emergency rescue link establishment request frames.
[0151] In addition, in some embodiments, when the electronic device 100 is a rescue terminal and the electronic device 100 is a synchronization node or a master node on the network, the electronic device 100 can periodically send synchronization frames to the outside regardless of whether the electronic device is in a strong rescue mode or a basic rescue mode.
[0152] In the process of establishing a communication connection between the electronic device 100 and other terminals, the electronic device 100 in the low-power rescue mode can perform work processes such as listening for signals and sleeping, and the electronic device 100 in the strong rescue mode can perform work processes such as listening for signals, sending signals and sleeping; it can be understood that compared to continuous transmission and reception of signals, the electronic device 100 can effectively reduce the consumption of electric energy by the electronic device 100 during the link establishment process by adjusting the time ratio used for transmitting signals, listening for signals and sleeping during the link establishment (i.e., establishing a communication connection). In addition, for the four working modes of the electronic device 100 (i.e., low-power rescue mode and strong rescue mode, basic rescue mode and strong rescue mode), the biggest difference is the proportion of the duration of the terminal sending signals in its entire working cycle, among which, in the low-power rescue mode, the electronic device 100 will not send a distress signal to the outside, and in the basic rescue mode, the electronic device 100 will not send a rescue signal to the outside (but may send a synchronization signal). Because the power consumed by the electronic device 100 listening to the signal is much less than the power consumed by the terminal sending the signal in the same time. Therefore, in the embodiment of the present application, the power consumption of the electronic device 100 when working in the low-power rescue mode is less than the power consumption when working in the strong rescue mode, and the power consumption of the electronic device 100 when working in the basic rescue mode is less than the power consumption when working in the strong rescue mode.
[0153] The following describes the user interface provided by the embodiments of the present application.
[0154] First, the user interface involved in the emergency rescue mode is introduced.
[0155] like Figure 3 As shown in (A), Figure 3 (A) in the figure exemplarily shows an exemplary user interface 30 after the electronic device 100 enters the emergency rescue mode. In some embodiments, the electronic device 100 can automatically enter the "emergency rescue mode" after the public network is disconnected. In other embodiments, the electronic device can enter the "emergency rescue mode" in response to a detected user operation. For example, the "emergency rescue mode" switch can be set in a drop-down menu bar of the electronic device. When the user clicks the "emergency rescue mode" option in the drop-down menu bar, the electronic device 100 displays the user interface 30; or, the electronic device 100 can be provided with a physical button for turning the "emergency rescue mode" on and off. When the user presses the button, the electronic device 100 displays the user interface 30. Not limited to this, the electronic device 100 can also enter the "emergency rescue mode" in other ways. For example, the electronic device 100 can also enter the "emergency rescue mode" according to the user's voice command. The embodiments of the present application are not limited to this.
[0156] like Figure 3As shown in (A), the user interface 30 (in some embodiments of the present application, the user interface 30 may also be referred to as the first user interface) includes a status bar 301, a "personal information" control 302, a mode selection bar 303, a "one-click emergency" control 304, and a navigation bar 305. Among them:
[0157] The status bar 301 may include time, signal strength and current remaining power. Figure 4 As can be seen from (A) in the figure, the electronic device 100 is in a disconnected state and cannot connect to the network opened by the operator. When the electronic device 100 successfully connects to the network opened by the operator, the name of the operator (such as China Mobile) can also be displayed in the status bar 301.
[0158] The "Personal Information" control 302 allows the user to view and modify their personal information stored in the electronic device 100. If the user is trapped and successfully connects to another rescue terminal, the electronic device 100 can immediately send this personal information to the rescue terminal. In some embodiments of the present application, the "Personal Information" control 302 may also be referred to as the "sixth control," and the user's operation instructions for this control may be referred to as the "sixth operation instruction."
[0159] The mode selection bar 303 may include a "strong help" control 3031, a "strong rescue" control 3032, a "low power help" control 3033, and a "basic rescue" control 3034. In some embodiments of the present application, the "strong help" control 3031 may also be referred to as a "first control," and the user's operating instructions on the control may be referred to as a "first operating instruction"; the "strong rescue" control 3032 may also be referred to as a "second control," and the user's operating instructions on the control may be referred to as a "second operating instruction"; the "low power help" control 3033 may also be referred to as a "third control," and the user's operating instructions on the control may be referred to as a "third operating instruction"; and the "basic rescue" control 3034 may also be referred to as a "fourth control," and the user's operating instructions on the control may be referred to as a "fourth operating instruction." Any of the option controls may be used to respond to a user operation, such as a touch operation, to cause the electronic device 100 to activate the help or rescue mode corresponding to the control. In different distress or rescue modes, the proportion of time for the electronic device 100 to transmit signals, listen for signals and sleep during the search and rescue process varies. The subsequent embodiments will introduce it in detail and will not be described here.
[0160] The "one-click help" control 304 can provide the user with a quick help option when the user is the one asking for help. In some embodiments of the present application, the "one-click help" control 304 can also be referred to as the "fifth control", and the user's operation instruction on the control can be referred to as the "fifth operation instruction". In some embodiments, after the electronic device 100 detects the user's operation on the "one-click help" control 304, the electronic device 100 can randomly enter the strong help mode or the low-power help mode. In some embodiments, after the electronic device 100 detects the user's operation on the "one-click help" control 304, the electronic device 100 can, based on the power level of the electronic device 100, selectively choose to enter the strong help mode or the low-power help mode. For example, when the power level of the electronic device 100 is greater than a certain threshold (e.g., 50%), it enters the strong help mode. When the power level of the electronic device 100 is less than or equal to the threshold, the electronic device 100 will enter the low-power help mode.
[0161] The navigation bar 305 may include system navigation keys such as a return button 3051, a home screen button 3052, and an outgoing task history button 3053. When it is detected that the user clicks the return button 3051, the electronic device 100 may display the previous user interface of the current user interface. When it is detected that the user clicks the home screen button 3052, the electronic device 100 may display the home screen interface. When it is detected that the user clicks the outgoing task history button 3053, the electronic device 100 may display the tasks most recently opened by the first user. The names of the navigation keys may also be other, for example, 3051 may be called Back Button, 3052 may be called Home button, and 3053 may be called Menu Button, and this application does not impose any restrictions on this. The navigation keys in the navigation bar 305 are not limited to virtual buttons, and may also be implemented as physical buttons.
[0162] It is understandable that Figure 3 (A) in the figure merely illustrates the user interface on the electronic device 100 and should not be construed as limiting the embodiments of the present application.
[0163] Figure 3 (B) in the figure exemplarily shows a user interface 40 for a user to view and edit personal information. In some embodiments of the present application, the user interface 40 may also be referred to as a second user interface.
[0164] For example, the electronic device 100 may detect the Figure 3 The user interface 40 is entered in response to the touch operation of the "Personal Information" control 302 shown in (A). Figure 3As shown in (B), the user interface 40 may include a name information field 401, a mobile phone number information field 402, an emergency contact information field 403, an emergency contact contact information field 404, and a save control 405.
[0165] The name information field 401 is used to display the user's name.
[0166] The mobile phone number and name information column 402 is used to display the user's contact information.
[0167] The emergency contact information column 403 is used to display the names of the user's relatives or friends.
[0168] The emergency contact information column 404 is used to display the contact information of relatives or friends.
[0169] The user can operate the name information column 401 , the mobile phone number name information column 402 , the emergency contact information column 403 , and the emergency contact contact information column 404 , such as by touching, to re-edit the text in the corresponding information column.
[0170] The save control 405 may respond to user actions, such as Figure 3 The touch operation shown in (B) saves the information in the current information column. In some embodiments of the present application, the save control 405 can also be called the "seventh control", and the user's operation instruction on the control can be called the "seventh operation instruction".
[0171] In the present application, the electronic device 100 can be either a distress terminal or a rescue terminal. When the electronic device 100 is a distress terminal, the distress mode of the electronic device 100 can be divided into a strong distress mode and a low power distress mode. When the electronic device 100 is a rescue terminal, the rescue mode of the electronic device 100 can be divided into a strong rescue mode and a basic rescue mode. In the present application, the search and rescue process of the electronic device is a periodic process. In a search and rescue working cycle, the working contents of the above four modes may include stages such as transmitting signals, listening for signals, and sleeping. Among them, the transmitting signal includes the device's active request process and the synchronization frame sending process. The active request process is the process in which the electronic device 100, as a rescue terminal, sends a request frame for link establishment to other distress terminals, or the electronic device 100, as a distress terminal, sends a request frame for link establishment to other rescue terminals. The synchronization frame sending process is the process in which the electronic device 100, as a rescue terminal on the network, periodically sends a synchronization signal to the outside. Listening for signals can also be called passive listening, which means that when the electronic device 100 acts as a rescue terminal, it listens for link establishment request frames sent by other rescue terminals, or when the electronic device 100 acts as a rescue terminal, it listens for link establishment request frames sent by other rescue terminals. The dormant process is the process in which the electronic device 100 neither listens nor sends signals.
[0172] In the above four working modes, the proportion of time for transmitting signals, listening for signals and sleeping in a search and rescue work cycle is different in each working mode. Figure 4 The specific working manner of the electronic device 100 in a search and rescue working cycle in the four working modes is introduced.
[0173] Before explaining how each mode works, Figure 4 Some elements and symbols in Figure 4 In the figure, the horizontal coordinate axis represents the time axis, and the intersection of the dotted line perpendicular to each time axis and the corresponding time axis represents a certain moment on the time axis, which can be represented by the lowercase letter t plus a specific subscript, for example Figure 4 The time t shown in (A) 10 or Figure 4 (B) time t shown in 20 The duration between two specific moments on the timeline can be represented by a capital letter T followed by a specific subscript, for example Figure 4 The duration T0 shown in (A) or Figure 4 The duration T shown in (A) b In addition, Figure 4 The light grey rectangles on each coordinate axis represent the active request process of the electronic device, the dark grey rectangles represent the passive listening process, and the black rectangles represent the synchronization frame sending process. Figure 4 The same symbols in represent the same moment or the same duration, for example Figure 4 The duration T0 and Figure 4 The time duration T0 shown in (B) in FIG. 1 represents the same time duration.
[0174] ①Strong rescue mode
[0175] First, the working mode of the electronic device 100 in the strong rescue mode is introduced. The electronic device 100 can respond to user operations, such as the user's Figure 3 The touch operation on the "strong rescue" control 3031 shown in (A) enters the strong rescue mode.
[0176] Combined with the above description, it can be seen that in the strong rescue mode, the electronic device 100 will periodically send out emergency rescue link establishment request frames and periodically listen to whether there are emergency rescue link establishment request frames sent by other devices (rescue terminals) in the environment. Specifically, the specific working method of a search and rescue working cycle of the electronic device 100 in the strong rescue mode can be referred to Figure 4 The timing diagram shown in (A) in FIG.
[0177] like Figure 4 As shown in (A), after the electronic device 100 turns on the strong rescue mode, the electronic device 100 will start to work with a search and rescue working cycle of duration T0, for example, Figure 4 t shown in (A) 10 Time-t 16 This time period is a complete search and rescue working cycle T0 of the electronic device 100 in the strong rescue mode. In some embodiments of the present application, the duration T0 can be referred to as the "first duration". Specifically, T0 can be any duration value, such as 8192ms, 2048ms, etc., which is not limited in the embodiments of the present application.
[0178] From t 10 Time-t 13 The duration of this time period T2 can be called a slice period; similarly, from t 14 Time-t 15 The time period T2 at time t is also a slicing period, which can be regarded as a small working period in the complete search and rescue working period T0. 10 Time-t 13 The duration of time T2 can be called the "sixth duration". 14 Time-t 15The duration of time T2 can be called the "seventh duration". In a slicing period, the electronic device 100 will continuously alternate between the active request process and the passive listening process. For example, from t 10 Time-t 13 In this slicing cycle, the electronic device 100 will first 10 The emergency rescue link establishment request frame is sent on the emergency rescue channel at all times. This process usually takes several milliseconds to complete, that is, t 10 Time-t 11 The duration of time; after that, at t 11 At this moment, the electronic device 100 ends the active request process, starts the passive listening process, and continuously listens for a period of time, that is, t 11 Time-t 12 The duration of time; then, at t 12 At time t, the electronic device 100 ends the passive listening process and 12 The process of active request starts again at any time... and it repeats in this way until the end of the slicing cycle.
[0179] In addition, in the strong rescue mode, the time required for the electronic device 100 to perform an active request process plus the time required for a passive listening process can be called an emergency rescue frame period, which is T1. 10 Time-t 12 The duration of this time is the eighth duration of T1. 10 Time-t 13 The duration of time is an emergency rescue frame period. A slice period can contain several emergency rescue frame periods. Since the power consumed by sending signals is much greater than the power consumed by listening to signals for terminal devices, in an emergency rescue frame period, the electronic device only performs the active request process briefly, and the rest of the longer period is the passive listening process. That is, at t 10 Time-t 12 In the emergency rescue frame period corresponding to this time, t 10 Time-t 11 The duration of this moment is much shorter than t 11 Time-t 12 This period of time.
[0180] It can be seen that in a complete search and rescue working cycle T0 of the strong rescue mode, the electronic device 100 actually has a signal receiving and sending operation duration of two slice cycles. Figure 4 As can be seen from (A), there can be an offset duration between two slicing cycles, namely t 13 Time-t14 That is to say, in a complete cycle T0, the two slice cycles are originally continuous, that is, at t 13 After the first slicing cycle ends at time t, the next slicing cycle should be at t 13 The electronic device 100 will start at t 13 The emergency rescue link establishment request frame is always sent on the emergency rescue channel. However, since the rescue terminal and the rescue terminal may have been synchronously receiving signals or synchronously sending signals in their respective search and rescue working cycles, the two terminals may not be able to successfully establish a link. Therefore, when the electronic device 100 acts as a rescue terminal, when the electronic device 100 cannot successfully establish a link with other devices in the first slicing cycle, in order to exclude the possibility that the link establishment failure is caused by the above situation, the electronic device 100 can offset the next slicing cycle in the working cycle by a duration, that is, the duration T b , then the next bias cycle will be at t 14 In some embodiments of the present application, the duration T b It can be called the "second duration". Specifically, T b The specific duration can be half of the emergency rescue frame period, that is, T1 = 2T b .
[0181] After the second slicing cycle ends, if the electronic device 100 still fails to establish a link with other rescue terminals, then 15 At t, the electronic device 100 will enter the sleep period. 15 -t 16 During this period of time, in order to save power, the electronic device 100 will stop the process of active request and passive listening until the next search and rescue work cycle begins.
[0182] To summarize the above description, in the strong rescue mode, the electronic device 100 works with a duration of T0 as a working cycle. In a complete working cycle T0, the electronic device 100 continuously alternates between active requests and passive listening, which lasts for the first duration T2; during this first duration T2, the electronic device 100 periodically sends emergency rescue link establishment request frames on the emergency rescue channel. During the listening process, if a synchronization frame is received from other devices, an attempt is made to initiate access on the access channel indicated by the synchronization frame. During the listening process, if an emergency rescue link establishment request frame is received from other devices, an emergency rescue link establishment response frame is replied. During the listening process, if an emergency rescue link establishment response frame is received from other devices, an authentication request is sent on the access channel indicated by the emergency rescue link establishment response frame to start the access process. If the link is not successfully established at the end of the first T2 duration, the electronic device 100 will offset the periodic sending time point of the emergency rescue link establishment request frame backward by T bAfter the duration, it continues to alternate between active requests and passive listening for the second T2 duration. If a link is still not established, it ends and enters sleep mode. During the continuous listening phase of the strong rescue call, any terminal near the distress terminal, regardless of whether it is in "strong rescue" or "basic rescue", will process and feedback the synchronization frames and emergency rescue link establishment request frames it sends, ensuring faster rescue speed.
[0183] It is understandable that Figure 3 (A) is merely an example of a timing diagram of the electronic device 100 sending and receiving signals when working in the strong rescue mode. Its specific form is only for the convenience of readers' understanding and should not constitute a limitation on the embodiments of the present application. In actual scenarios, the specific time periods corresponding to the sleep period of the electronic device 100 in a search and rescue working cycle and the two slice periods of alternating signal reception and transmission can be in other forms. For example, at the beginning of a search and rescue working cycle, the electronic device can first enter the sleep period and then perform the process of alternating signal reception and transmission for two slice periods; in addition, Figure 4 The slice period shown in (A) includes four emergency rescue frame periods. In some embodiments, a slice period may include more or fewer emergency rescue frame periods. Similarly, the specific forms of the timing diagrams mentioned in the subsequent embodiments are only for the convenience of readers and should not constitute a limitation on the embodiments of this application.
[0184] ②Low power emergency mode
[0185] The electronic device 100 can respond to user operations, such as the user's Figure 3 The touch operation on the "low power emergency" control 3033 shown in (A) enters the low power emergency mode.
[0186] Combined with the above description, it can be seen that in the low-power rescue mode, the electronic device 100 will periodically listen to whether there are emergency rescue link establishment request frames sent by other devices (rescue terminals) in the environment, and will not send emergency rescue link establishment request frames to the outside. Specifically, the specific working method of a search and rescue working cycle of the electronic device 100 in the low-power rescue mode can be referred to Figure 4 The timing diagram shown in (B) in FIG.
[0187] like Figure 4 As shown in (B), after the electronic device 100 turns on the low-power emergency mode, the electronic device 100 will start to work with a duration (T0+T1) as a cycle, for example, Figure 4 t shown in (B) 20 Time-t 23The duration of this moment is a complete search and rescue working cycle of the electronic device 100 in the low power mode. In fact, the duration T1 in a complete search and rescue working cycle (T0+T1) in the low power mode can be regarded as the post-duration between two consecutive search and rescue working cycles T0. In other words, a complete search and rescue working cycle of the electronic device 100 in the low power mode can be Figure 4 t shown in (B) 20 Time-t 22 The duration of this period T0 is the same as the time when the next search and rescue work cycle should be at t 22 However, in order to prevent the surrounding rescue terminals from being in their own dormant periods when the electronic device, acting as a rescue terminal, sends a request frame for link establishment in each cycle, resulting in a link establishment failure; therefore, before starting the next search and rescue work cycle, the electronic device 100 will offset the start time of the next search and rescue work cycle by T1 duration, and before successfully establishing a link with other rescue terminals, in each subsequent search and rescue work cycle, the electronic device 100 will offset the start time of the cycle by T1 duration to ensure that it can successfully establish a link with the surrounding rescue terminals. This will be explained in detail later and will not be repeated here.
[0188] From t 20 Time-t 21 During the emergency rescue frame period T2, the electronic device 100 continuously monitors whether there are emergency rescue link establishment request frames or synchronization frames sent by other rescue terminals in the environment. If an emergency rescue link establishment request frame is received from other devices, the electronic device 100 will reply with an emergency rescue link establishment response frame. If a synchronization frame is received from other rescue terminals, the electronic device 100 will attempt to initiate access on the access channel indicated by the synchronization frame. In some embodiments of the present application, from t 20 Time-t 21 The duration of this moment is the duration of T1, the "third duration". 20 Time-t 21 If the electronic device 100 fails to establish a link with other rescue terminals in the emergency rescue frame period corresponding to the time, the electronic device 100 will enter the dormant period of the search and rescue working cycle, that is, Figure 4 t shown in (B) 21 Time-t 23 This period of time T s2 duration, until the start of the next search and rescue work cycle, i.e. t 23 At this moment, the system continues to monitor whether there are emergency rescue link establishment request frames or synchronization frames sent by other rescue terminals in the environment. In some embodiments of the present application, t 21 Time-t 22 This period of time T s2The duration can be called the "fourth duration", t 22 Time-t 23 This period of time can be called the "fifth period".
[0189] To summarize the above description, in the low-power rescue mode, the electronic device 100 works with a search and rescue working cycle of (T0+T1). In a search and rescue working cycle, the electronic device 100 continuously listens to the emergency rescue link establishment request frames or synchronization frames sent by other rescue terminals in the environment for an emergency rescue frame cycle, that is, T1 duration. During the listening process, if a synchronization frame sent by other devices is received, an access is attempted on the access channel indicated by the synchronization frame. During the listening process, if an emergency rescue link establishment request frame sent by other devices is received, an emergency rescue link establishment response frame is replied. During the continuous listening stage of low-power rescue, any terminal around the rescue terminal and in "strong rescue mode" will receive feedback on the emergency rescue link establishment request frame it sends and complete the link establishment. The maximum link establishment time is (T0+T1) ms. If there is a nearby terminal in "basic rescue mode" or a synchronization node (this synchronization node terminal may be a rescue terminal or a normal terminal in non-rescue mode that happens to be near the trapped person), it will also capture the synchronization frame due to the emergency rescue frame cycle offset. The rescue terminal will then attempt to initiate access on the access channel indicated by the synchronization frame. If the electronic device 100 still fails to successfully establish a link with other rescue terminals at the end of the search and rescue work cycle, the electronic device 100 will start the next search and rescue work cycle.
[0190] ③Powerful rescue mode
[0191] The electronic device 100 can respond to user operations, such as the user's Figure 3 A touch operation on the "Forced Rescue" control 3032 shown in (A) enters the Forced Rescue mode.
[0192] Combined with the above description, it can be seen that in the strong rescue mode, the electronic device 100 will periodically send out emergency rescue link establishment request frames and periodically listen to whether there are emergency rescue link establishment request frames sent by other devices (help terminals) in the environment. Specifically, the specific working method of the electronic device 100 in a search and rescue work cycle in the strong rescue mode can be referred to Figure 4 The timing diagram shown in (C) in FIG.
[0193] like Figure 4 As shown in (C), after the electronic device 100 turns on the strong rescue mode, the electronic device 100 will start to work with a duration of T0 as a cycle. Figure 4 t shown in (C) 30 Time-t 34This period of time is a complete search and rescue working cycle T0 of the electronic device 100 in the strong rescue mode. A complete search and rescue working cycle T0 includes two slice periods with a duration of T2.
[0194] From t 30 Time-t 32 During the slicing period of time T2, the electronic device 100 will continuously perform the active request process and the passive listening process alternately. Here, it is assumed that the electronic device 100 is a synchronization node in the network, that is, the electronic device 100 will periodically send synchronization frames to the outside with T2 as the period, and the electronic device 100 completes the transmission of the synchronization frame in the first emergency frame period of the first slicing period. Figure 4 As shown in (C), at t 30 Time-t 31 In this slicing cycle, the electronic device 100 will first 30 The electronic device 100 will continue to perform the passive listening process during the remaining time of the emergency rescue frame period. Then, at the beginning of the next emergency rescue frame period, that is, at t 31 At time t, the electronic device 100 ends the passive listening process and 31 The process of active request is started again at time t. It should be noted that, unlike the first emergency rescue frame period, the electronic device 100 starts the process of active request again at time t 31 At this moment, the electronic device 100 starts to send emergency rescue link establishment request frames in an active request manner instead of sending synchronization frames. During the remaining emergency rescue frame periods within the first slicing period, the electronic device 100 no longer sends synchronization frames, but only sends emergency rescue link establishment request frames in an active request manner until the end of the slicing period. If the electronic device 100 has not successfully established a link with the search and rescue terminal at the end of the first slicing period, the electronic device 100 starts to work in the second slicing period, that is, t 32 Time-t 33 The corresponding work content at each moment. Figure 4 As can be seen from (C) in the figure, the working mode of the second slicing cycle is the same as that of the first working cycle, which will not be described here. If the second slicing cycle ends and the electronic device 100 has not successfully established a link with the search and rescue terminal, then at t 33 At t, the electronic device 100 will enter the sleep period. 33 Time-t 34 During this time, in order to save power, the electronic device 100 will stop the process of active request and passive listening until the next search and rescue work cycle begins. 30 Time-t 33The duration of this moment is twice the duration of T2 (the ninth duration), starting from t 33 Time-t 34 The duration of this moment is T s2 The duration of the “tenth duration”.
[0195] To summarize, in force rescue mode, electronic device 100 transmits an emergency rescue link establishment request frame on the emergency rescue channel within each rescue frame period T1. Upon receiving an emergency rescue link establishment response frame from a distress terminal in the environment, it attempts to establish a link. Furthermore, if electronic device 100 is a master or synchronization node in the ad hoc network, it periodically transmits synchronization frames on the broadcast channel. Distress terminals in the environment can initiate access via the random access channel indicated by the synchronization frames.
[0196] ④Basic rescue mode
[0197] The electronic device 100 can respond to user operations, such as the user's Figure 3 A touch operation on the "Basic Rescue" control 3034 shown in (A) enters the basic rescue mode.
[0198] Combined with the above description, it can be seen that in the basic rescue mode, the electronic device 100 will periodically listen to whether there are emergency rescue link establishment request frames sent by other devices (rescue terminals) in the environment, and will not send emergency rescue link establishment request frames to the outside. Specifically, the specific working method of the electronic device 100 in a search and rescue working cycle in the basic rescue mode can be referred to Figure 4 The timing diagram shown in (D) in FIG.
[0199] like Figure 4 As shown in (D), after the electronic device 100 turns on the basic rescue mode, the electronic device 100 will start to work with a duration of T0 as a cycle. Figure 4 t shown in (D) 40 Time-t 49 This period of time is a complete search and rescue working cycle T0 of the electronic device 100 in the strong rescue mode. A complete search and rescue working cycle T0 includes two slice periods with a duration of T2.
[0200] Here, it is also assumed that the electronic device 100 is a synchronization node in the network, that is, the electronic device 100 periodically sends synchronization frames with a period of T2. 40 Time-t 45 In the slice period of time T2, the electronic device 100 will perform the synchronization frame sending process and the passive listening process in sequence. Here, it is assumed that the electronic device 100 first sends the synchronization frame and then performs the passive listening process in the slice period. Figure 4 As shown in (D), at t 40Time-t 44 In this slicing cycle, the electronic device 100 will first 40 The synchronization frame is sent out at all times. This process usually takes several milliseconds (i.e., t 40 Time-t 41 time) is completed; after that, at t 42 Time-t 43 During this time, the electronic device 100 will perform a passive listening process of duration T1. 44 At the moment, the electronic device 100 has not yet successfully established a link with the search and rescue terminal, the electronic device 100 starts the second slicing cycle, i.e., t 44 Time-t 48 The corresponding work content at each moment. Figure 4 As can be seen from (D) in the figure, the working mode of the second slicing cycle is the same as that of the first working cycle, which will not be described here. If the second slicing cycle ends and the electronic device 100 has not successfully established a link with the search and rescue terminal, then at t 48 At this moment, the electronic device 100 will enter the time duration T s2 The dormant period. That is, at t 33 Time-t 34 In order to save power, the electronic device 100 will stop the process of active request and passive listening until the next search and rescue work cycle starts. In fact, it is not difficult to understand that in the slicing period corresponding to the basic rescue mode, if the electronic device 100 fails to successfully establish a link with the search and rescue terminal, in order to save power, the electronic device 100 will stop the process of active request and passive listening until the next search and rescue work cycle starts. The electronic device will also briefly enter a dormant period during these two slicing periods. For example, when t 40 Time-t 44 In this slicing cycle, if the electronic device 100 fails to successfully establish a link with the search and rescue terminal, then t 41 Time-t 42 time, t 43 Time-t 44 Both of these two periods are sleep periods of the electronic device 100.
[0201] To summarize the above, in the basic rescue mode, the electronic device 100 continuously and passively listens for a duration of T1 every T2. During the listening process, if an emergency rescue link establishment request frame of a rescue frame is received, an emergency rescue link establishment response frame is replied to indicate the access channel. If the link is still not established successfully after the listening is completed, the device 100 is abandoned and waits for the next listening cycle. At the same time, if the electronic device 100 itself is the master node or synchronization node of the ad hoc network, the electronic device 100 will also periodically send synchronization frames on the broadcast channel with a duration of T2, and the rescue terminal can initiate access through the random access channel indicated by the synchronization frame.
[0202] Combined with the above description, it can be seen that in the process of establishing a communication connection between the electronic device 100 and other terminals, the electronic device 100 in the low-power rescue mode can perform work processes such as listening for signals and sleeping, and the first terminal in the strong rescue mode can perform work processes such as listening for signals, sending signals and sleeping; it can be understood that compared to continuous transceiver signals, the electronic device 100 can effectively reduce the energy consumption of the electronic device 100 during the link establishment process by adjusting the time ratio used for transmitting signals, listening for signals and sleeping during the link establishment (i.e., establishing a communication connection). In addition, for the four working modes of the electronic device 100 (i.e., low-power rescue mode and strong rescue mode, basic rescue mode and strong rescue mode), the biggest difference is the proportion of the duration of the terminal sending signals in its entire working cycle, among which, in the low-power rescue mode, the electronic device 100 will not send a distress signal to the outside, and in the basic rescue mode, the electronic device 100 will not send a rescue signal to the outside (but may send a synchronization signal). Because the power consumed by the electronic device 100 listening to the signal is much less than the power consumed by the terminal sending the signal in the same time. Therefore, in the embodiment of the present application, the power consumption of the electronic device 100 when working in the low-power rescue mode is less than the power consumption when working in the strong rescue mode, and the power consumption of the electronic device 100 when working in the basic rescue mode is less than the power consumption when working in the strong rescue mode.
[0203] As can be seen from the above description, in the embodiment of the present application, the ways of establishing a link between the distress terminal and the rescue terminal can be divided into the following three types:
[0204] 1) After receiving the synchronization frame sent by the rescue terminal, the distress terminal sends an access request on the random access channel indicated by the synchronization frame. The distress terminal and the rescue terminal adopt an open system authentication method, which includes two steps: open system access request (Mg1) and access response (Mg2). No authentication is required.
[0205] Open system authentication is primarily used for emergency rescue. It does not require key verification, allowing any device to successfully access the system. The open system authentication process consists of two steps: access request and access response. The access request contains information such as the frame control, the long address of the sending device (rescue terminal), the long address of the target device (rescue terminal), and the name of the sending device (rescue terminal). The access response contains information such as the frame control, the long address of the sending device (rescue terminal), the long address of the target device (rescue terminal), and the name of the sending device (rescue terminal).
[0206] 2) After the rescue terminal receives the emergency rescue link establishment request frame sent by the rescue terminal, it reads the timestamp indicated by the rescue terminal from the emergency rescue link establishment request frame and replies with an emergency rescue link establishment response frame. After receiving the emergency rescue link establishment response frame, the rescue terminal listens on all access channels and emergency rescue channels thereafter. The rescue terminal calculates the access channel and rescue channel locations based on the above timestamp, and initiates random access on the access channel and rescue channel to complete the link establishment. In this method, random access can adopt an open system authentication method, which includes two steps: open system access request (Msg1) and access response (Msg2), and does not require authentication.
[0207] 3) After receiving the emergency rescue link establishment request frame sent by the distress terminal, the rescue terminal replies with an emergency rescue link establishment response frame, which includes a timestamp. After receiving the emergency rescue link establishment request frame, the rescue terminal listens on all access channels and emergency rescue channels thereafter. The distress terminal calculates the access channel and rescue channel locations based on the above timestamp, and initiates random access on the access channel and rescue channel to complete the link establishment. In this method, random access can adopt an open system authentication method, which includes two steps: open system access request (Msg1) and access response (Msg2), and does not require authentication.
[0208] In addition, in the three aforementioned methods, the emergency rescue link establishment request frames sent by the distress terminal and the emergency rescue link establishment request frames sent by the rescue terminal differ in frame format. This difference allows the terminal to identify whether the received emergency rescue link establishment request frame is sent by the rescue terminal or the distress terminal. This prevents other terminals from redundantly processing emergency rescue link establishment request frames sent by other rescue terminals, and similarly prevents other terminals from redundantly processing emergency rescue link establishment request frames sent by other distress terminals.
[0209] The frame format of the emergency rescue link establishment request frame sent by the rescue terminal can be seen in the following table:
[0210] Table 1
[0211]
[0212]
[0213] The frame format of the emergency rescue link establishment request frame sent by the rescue terminal can be seen in the following table:
[0214] Table 2
[0215]
[0216] As shown in Table 1 and Table 2 above, the emergency rescue link establishment request frame sent by the rescue terminal and the emergency rescue link establishment request frame sent by the rescue terminal can be identified by the "Rescue" bit in the frame type information. Among them, 1 identifies the rescue terminal and 0 identifies the rescue terminal. During the rescue process, after the rescue terminal receives the emergency rescue link establishment request frame, the rescue terminal can determine whether the emergency rescue link establishment request frame is sent by the rescue terminal through the "Rescue" bit of the emergency rescue link establishment request frame. In the case that the emergency rescue link establishment request frame is sent by the rescue terminal, the rescue terminal can send an emergency rescue link establishment response frame to the rescue terminal to complete the link establishment; in the case that the emergency rescue link establishment request frame is sent by other terminals that are also rescue terminals, the rescue terminal can ignore the emergency rescue link establishment request frame and not process it. Similarly, when the rescue terminal receives the emergency rescue link establishment request frame, if the emergency rescue link establishment request frame is sent by the rescue terminal, the rescue terminal can send an emergency rescue link establishment response frame to the rescue terminal to complete the link establishment; if the emergency rescue link establishment request frame is sent by other terminals that are also rescue terminals, the rescue terminal will ignore the emergency rescue link establishment request frame.
[0217] It is understandable that since the specific time for the terminal to sleep, transmit and listen to signals in the above four working modes (strong distress mode, low power distress mode, strong rescue mode and basic rescue mode) is different, therefore, during the rescue process, which of the three link building methods the rescue terminal and the distress terminal use to complete the link building, and how long it takes to use the three link building methods respectively, mainly depends on the working mode adopted by the rescue terminal and the distress terminal during the rescue process. Figure 5-Figure 8 The methods and processes of establishing a link for the distress terminal and the rescue terminal under different working mode combinations are introduced respectively.
[0218] exist Figure 5-Figure 8 In the figure, the horizontal coordinate axis represents the time axis. The intersection of the dotted line perpendicular to each time axis and the corresponding time axis represents a certain moment on the time axis, which can be represented by the lowercase letter t plus a specific subscript. The duration between two specific moments on the time axis corresponds to a certain time, which can be represented by the uppercase letter T plus a specific subscript. In addition, Figure 5-Figure 8The light grey rectangles on each coordinate axis represent the active request process of the electronic device, the dark grey rectangles represent the passive listening process, and the black rectangles represent the synchronization frame sending process. The light grey rectangles and the black rectangles are marked with the letter “S”, which means that during this process, the electronic device is in the state of sending signals; the dark grey rectangles are marked with the letter “R”, which means that during this process, the electronic device is in the state of receiving signals. Figure 5-Figure 8 In the text, the same symbol represents the same time or the same duration. For details, please refer to the above Figure 4 The relevant instructions will not be repeated here.
[0219] Here, it is assumed that electronic device 100 is a distress terminal, electronic device 200 is a rescue terminal, and electronic device 200 is a synchronization node on the network, which can periodically send synchronization frames. Like electronic device 100, electronic device 200 is also a terminal that supports the above four working modes. During the search and rescue process, electronic device 200 can work in the above-mentioned strong rescue mode as a rescue terminal, or it can work in the basic rescue mode. The specific architecture of electronic device 200 can refer to the relevant description of electronic device 100 above, and will not be repeated here.
[0220] The electronic device 100 acts as a distress terminal, and the electronic device 200 acts as a rescue terminal. During the search and rescue process, the electronic devices 100 and 200 can establish a link in the following four different modes:
[0221] 1. Powerful SOS Mode & Powerful Rescue Mode
[0222] In this mode combination, the electronic device 100 works in the strong rescue mode, and the electronic device 200 works in the strong rescue mode. At this time, the electronic device 100 can be called a strong rescue terminal, and the electronic device 200 can be called a strong rescue terminal. The link establishment method and process of the electronic device 100 and the electronic device 200 in this mode combination can be specifically referred to. Figure 5 .
[0223] Figure 5 (A) shows the process in which the electronic device 100 sends an emergency rescue link establishment request frame, the electronic device 200 replies with an emergency rescue link establishment response frame to the electronic device 100 after receiving the emergency rescue link establishment request frame, and the electronic device 100 successfully establishes a communication connection with the electronic device 200 after receiving the emergency rescue link establishment response frame.
[0224] like Figure 5 As shown in (A), assuming that at t 50 At this moment, the electronic device 100 and the electronic device 200 simultaneously start a search and rescue work cycle of each duration T0. Figure 4 As can be seen from the description, in the first slicing period of electronic device 100 and electronic device 200, since the time periods of sending and listening to signals of electronic device 100 and electronic device 200 are the same, electronic device 100 and electronic device 200 cannot successfully establish a link in the first slicing period. For example, t 50 Time-t 51 During this period of time, the electronic device 100 sends an emergency rescue link establishment request frame, and the electronic device 200 sends a synchronization frame, but the two devices cannot successfully establish a link; and t 51 Time-t 52 During this time, the electronic device 100 listens for signals sent by the rescue terminal, and the electronic device 200 also listens for signals sent by the rescue terminal in the environment, and the two devices cannot successfully establish a link. However, since there is a post-offset time length T between the two slice periods of the rescue terminal in the strong rescue mode, b Therefore, in the next cycle, the time periods for electronic device 100 and electronic device 200 to send and listen to signals will be staggered, that is, Figure 5 t shown in (A) 54 At this moment, the electronic device 100 starts the second slicing cycle and is sending an emergency rescue link establishment request frame; while the electronic device 200 is at t 54 t before the moment 53 The second slicing cycle has begun at time t 54 At this moment, the electronic device 200 is listening for a signal from a distress terminal in the environment; therefore, the electronic device 200 can then receive the emergency rescue link establishment request frame sent by the electronic device 100, and reply with an emergency rescue link establishment response frame to complete the establishment of a communication connection with the electronic device 100.
[0225] Figure 5 (B) in FIG. 1 shows a process in which the electronic device 200 sends a synchronization frame, the electronic device 100 receives the synchronization frame sent by the electronic device 200 , and establishes a communication connection with the electronic device 200 under the instruction of the synchronization frame.
[0226] like Figure 5 As shown in (B), assuming that at t 57 At time t, the electronic device 100 starts a search and rescue cycle of length T0; and at time t 58 At this moment, the electronic device 100 and the electronic device 200 start their respective search and rescue work cycles of duration T0. Figure 5 As can be seen from the timing diagram of the two electronic devices in (B), at t 58At this moment, the electronic device 100 is listening for a signal from a rescue terminal in the environment, while the electronic device 200 is sending a synchronization frame. Therefore, the electronic device 100 can receive the synchronization frame sent by the electronic device 200 and establish a communication connection with the electronic device 200 under the instruction of the synchronization frame.
[0227] Figure 5 (C) shows the process in which the electronic device 200 sends an emergency rescue link establishment request frame, the electronic device 100 replies with an emergency rescue link establishment response frame to the electronic device 200 after receiving the emergency rescue link establishment response frame, and the electronic device 200 successfully establishes a communication connection with the electronic device 100 after receiving the emergency rescue link establishment response frame.
[0228] Different from Figure 5 The time when the electronic device 200 sends the synchronization frame during the signal transmission and reception process shown in (A) and (B) is Figure 5 In (C), in a slicing period, the electronic device 200 may not send the synchronization frame immediately at the beginning of the slicing period, but may send the synchronization frame after several emergency rescue frame periods. Figure 5 As shown in (C), the electronic device 200 is at t 510 The search and rescue work cycle of length T0 begins at time t. In the first slice period of the search and rescue work cycle, the electronic device 200 starts at t 510 At time t, the emergency rescue link establishment request frame is sent first; then at t 511 The electronic device 200 starts to send synchronization frames at time t 59 The search and rescue work cycle starts at time T0 and lasts for t 510 At this moment, the electronic device 100 is listening for signals sent by rescue terminals in the environment. 510 After the time, the electronic device 100 can receive the emergency rescue link establishment request frame sent by the electronic device 200, and reply the emergency rescue link establishment response frame to the electronic device 200. After receiving the emergency rescue link establishment response frame, the electronic device 200 can successfully establish a communication connection with the electronic device 100.
[0229] 2. Strong rescue mode & basic rescue mode
[0230] In this mode combination, the electronic device 100 works in the strong rescue mode, and the electronic device 200 works in the basic rescue mode. At this time, the electronic device 100 can be called a strong rescue terminal, and the electronic device 200 can be called a basic rescue terminal. The link establishment method and process of the electronic device 100 and the electronic device 200 in this mode combination can be specifically referred to. Figure 6 .
[0231] Figure 6 (A) shows the process in which the electronic device 100 sends an emergency rescue link establishment request frame, the electronic device 200 replies with an emergency rescue link establishment response frame to the electronic device 100 after receiving the emergency rescue link establishment request frame, and the electronic device 100 successfully establishes a communication connection with the electronic device 200 after receiving the emergency rescue link establishment response frame.
[0232] like Figure 6 As shown in (A), assuming that at t 60 At this moment, the electronic device 100 and the electronic device 200 simultaneously start a search and rescue work cycle of each duration T0. Figure 4 As can be seen from the description, the electronic device 100 and the electronic device 200 are in t 60 Time-t 61 During this time, since the electronic device 100 and the electronic device 200 have the same signal transmission and monitoring period, that is, the electronic device 100 sends an emergency rescue link establishment request frame and the electronic device 200 also sends a synchronization frame, the electronic device 100 and the electronic device 200 cannot successfully establish a link. 61 Time-t 63 During this period of time, although the electronic device 100 continues to alternately perform the process of active request and passive listening, the electronic device 200 is in a dormant state during this period of time, so the electronic device 100 and the electronic device 200 still cannot successfully establish a link. 63 At this moment, the electronic device 200 starts to listen for signals sent by the emergency terminal in the environment, and will continuously listen for an emergency rescue frame period T1, that is, t 63 Time-t 64 It is understandable that in the strong rescue mode, the time required for the electronic device 100 to make an active request plus the time required for a passive listening process is an emergency rescue frame period. Therefore, when the electronic device 200 listens for the emergency terminal sending a signal for an emergency rescue frame period T1, the electronic device 100 will definitely send an emergency rescue link establishment request frame in the process. The electronic device 200 can receive the emergency rescue link establishment request frame sent by the electronic device 100 and reply to the electronic device 100 with an emergency rescue link establishment response frame. After receiving the emergency rescue link establishment response frame, the electronic device 100 successfully establishes a communication connection with the electronic device 200.
[0233] Figure 6 (B) in FIG. 1 shows a process in which the electronic device 200 sends a synchronization frame, the electronic device 100 receives the synchronization frame sent by the electronic device 200 , and establishes a communication connection with the electronic device 200 under the instruction of the synchronization frame.
[0234] like Figure 6As shown in (B), assuming that at t 67 At time t, the electronic device 100 starts a search and rescue cycle of length T0; and at time t 68 At this moment, the electronic device 100 and the electronic device 200 start their respective search and rescue work cycles of duration T0. Figure 6 As can be seen from the timing diagram of the two electronic devices in (B), at t 68 At this moment, the electronic device 100 is listening for a signal from a rescue terminal in the environment, while the electronic device 200 is sending a synchronization frame. Therefore, the electronic device 100 can receive the synchronization frame sent by the electronic device 200 and establish a communication connection with the electronic device 200 under the instruction of the synchronization frame.
[0235] 3. Low-power rescue mode & strong rescue mode
[0236] In this mode combination, the electronic device 100 works in low-power rescue mode, and the electronic device 200 works in strong rescue mode. At this time, the electronic device 100 can be called a low-power rescue terminal, and the electronic device 200 can be called a strong rescue terminal. The link establishment method and process of the electronic device 100 and the electronic device 200 in this mode combination can be specifically referred to. Figure 7 .
[0237] Figure 7 (A) in FIG. 1 shows a process in which the electronic device 200 sends a synchronization frame, the electronic device 100 receives the synchronization frame sent by the electronic device 200 , and establishes a communication connection with the electronic device 200 under the instruction of the synchronization frame.
[0238] like Figure 7 As shown in (A), assuming that at t 70 At this moment, the electronic device 100 starts a search and rescue work cycle with a duration of (T0+T1), and the electronic device 200 starts a search and rescue work cycle with a duration of T0 at the same time. Figure 7 As can be seen from the timing diagram of the two electronic devices working in (A), at t 70 At this moment, the electronic device 100 is listening for a signal from a rescue terminal in the environment, while the electronic device 200 is sending a synchronization frame. Therefore, the electronic device 100 can receive the synchronization frame sent by the electronic device 200 and establish a communication connection with the electronic device 200 under the instruction of the synchronization frame.
[0239] Figure 7 (B) in the figure shows the process in which the electronic device 200 sends an emergency rescue link establishment request frame, the electronic device 100 replies with an emergency rescue link establishment response frame to the electronic device 200 after receiving the emergency rescue link establishment request frame, and the electronic device 200 successfully establishes a communication connection with the electronic device 100 after receiving the emergency rescue link establishment response frame.
[0240] like Figure 7 As shown in (B), the electronic device 200 is at t 76 The search and rescue working cycle of (T0+T1) starts at time t 77 The search and rescue work cycle starts at time T0. 77 At this moment, the electronic device 100 starts to listen to whether there is a signal sent by a rescue terminal in the environment; while the electronic device 200 is sending an emergency rescue link establishment request frame. 77 After the time, the electronic device 100 can receive the emergency rescue link establishment request frame sent by the electronic device 200, and reply the emergency rescue link establishment response frame to the electronic device 200. After receiving the emergency rescue link establishment response frame, the electronic device 200 can successfully establish a communication connection with the electronic device 100.
[0241] 4. Low-power emergency mode & basic rescue mode
[0242] In this mode combination, the electronic device 100 works in low-power rescue mode, and the electronic device 200 works in basic rescue mode. At this time, the electronic device 100 can be called a low-power rescue terminal, and the electronic device 200 can be called a basic rescue terminal. The link establishment method and process of the electronic device 100 and the electronic device 200 in this mode combination can be specifically referred to. Figure 8 .
[0243] Figure 8 (A) shows the process in which the electronic device 200 sends a synchronization frame, the electronic device 100 receives the synchronization frame sent by the electronic device 200, and establishes a communication connection with the electronic device 200 under the instruction of the synchronization frame under the most ideal (shortest time) situation of this mode combination.
[0244] like Figure 8 As shown in (A), assuming that at t 80 At this moment, the electronic device 100 starts a search and rescue work cycle with a duration of (T0+T1), and the electronic device 200 starts a search and rescue work cycle with a duration of T0 at the same time. Figure 8 As can be seen from the timing diagram of the two electronic devices working in (A), at t 80 At this moment, the electronic device 100 is listening for signals from the rescue terminal in the environment, while the electronic device 200 is sending synchronization frames. Therefore, the electronic device 100 can receive the synchronization frame sent by the electronic device 200 and establish a communication connection with the electronic device 200 under the instruction of the synchronization frame. Since it only takes a few milliseconds for the electronic device 200 to send the synchronization frame, the synchronization frame can be sent from t 80 The entire chain building process starts at this moment and can be completed in a short time.
[0245] It should be understood that in the actual search and rescue process, when the rescue terminal in the basic rescue mode has just finished sending the synchronization frame, the distress terminal in the low power distress mode may have just started listening for signals. In this case, the link establishment process between the rescue terminal and the distress terminal will take a long time. For details, please refer to Figure 8 The chain building process shown in (B) and (C).
[0246] like Figure 8 As shown in (B), at t 85 At time t, the electronic equipment starts the search and rescue work cycle with a period of T0, that is, at time t 85 - time t 87 ; and in t 86 At time t, the electronic device 100 starts the search and rescue work cycle with a period of (T0+T1), that is, at time t 86 - time t 87 .from Figure 8 As can be seen from (B) in t 85 At time t 86 At time t, the electronic device 200 ends the sending process of the synchronization frame, and the electronic device 100 just starts to listen for the signal. Since the electronic device 100 is in the low power consumption emergency mode, at time t 86 - time t 89 During this period, the electronic device will be in a dormant state, but the first search and rescue working cycle of the electronic device 200 is at t 87 The moment ends, that is, the electronic device 200 cannot successfully establish a link with the electronic device 100 in the first search and rescue working cycle.
[0247] However, combined with the above Figure 4 As can be seen from the description, in the low-power rescue mode, the T1 duration in a complete rescue working cycle (T0+T1) of the rescue terminal can be regarded as the post-duration between it and the next rescue working cycle. When this post-duration does not exist, the rescue working cycles of the rescue terminal and the rescue terminal are the same, then for Figure 8 For the case shown in (B), the electronic device 200 will 87 The next search and rescue work cycle begins at time t 87 It starts to listen for the synchronization frame at time t 88 The sending process of the synchronization frame ends at time t 88 The electronic device 200 and the electronic device 100 will never be able to successfully establish a link in the subsequent working cycle if the signal monitoring starts at all times and repeats this process.
[0248] When there is a delay time between two rescue work cycles of the emergency terminal, the next rescue work cycle of the electronic device 100 should be at t 89 Start, while the electronic device 200 is still at t 87 The next search and rescue work cycle begins at this moment. Although the electronic device 100 still cannot successfully establish a link with the electronic device 200 during this search and rescue work cycle, and t 89 The time is the same as the time when the electronic device 200 last sent a synchronization frame, that is, t 88 The time interval between the moments is longer, but in the subsequent search and rescue working cycles of the electronic device 100 and the electronic device 200, the passive listening moment of the electronic device 100 will be delayed due to the continuous accumulation of the delay time between the cycles; assuming that the moment t 86 - time t 89 This is the first search and rescue working cycle of the electronic device 100. Since the period of sending synchronization frames by the basic rescue terminal is T2, the moment when the electronic device 100 starts passive listening in the (T2 / T1)th search and rescue working cycle of the electronic device 100 is exactly the moment when the electronic device 200 starts sending synchronization frames in the second slice period in the (T2 / T1)th search and rescue working cycle of the electronic device 200. Figure 8 As shown in (C), at t 810 At time t, the electronic device 200 starts the (T2 / T1)th search and rescue working cycle. 811 At time t, the electronic device 200 ends the first slicing cycle of the (T2 / T1)th search and rescue working cycle and starts the second slicing cycle, that is, t 811 At time t 811 At this moment, the electronic device 100 starts the (T2 / T1)th search and rescue working cycle, i.e., t 811 At time t, the electronic device 100 starts to monitor the signal. 811 After the time, the electronic device 100 can receive the synchronization frame sent by the electronic device 200 and establish a communication connection with the electronic device 200 under the instruction of the synchronization frame.
[0249] It is understandable that Figure 5-Figure 8The process of establishing a link between the electronic device 100 and the electronic device 200 under the working mode combination is merely exemplified. The specific form is only for the convenience of the reader's understanding and should not constitute a limitation on the embodiments of the present application. In actual scenarios, the manner and time consumption of establishing a link between the electronic device 100 and the electronic device 200 under each working mode combination may vary according to the start time of the search and rescue working cycle of the electronic device 100 and the electronic device 200, the signal transmission and reception alternation order of the electronic device 100 and the electronic device 200 in their respective search and rescue working cycles, and the sleep period.
[0250] Next, combine Figures 9-12 Introduce the specific working processes of electronic equipment in the above four working modes.
[0251] Figure 9 A flowchart of a communication method provided in an embodiment of the present application. The method can be implemented based on the above-mentioned electronic device 100 or electronic device 200 in the working mode of the strong rescue mode. The terminal used to implement this method can be called a strong rescue terminal. When implementing this method, the strong rescue terminal periodically performs search and rescue work, and effectively plans the proportion of its transmission, listening, and sleep time in a search and rescue work cycle. While saving the power of the rescue terminal, during the continuous listening stage of the strong rescue, any rescue terminal around the rescue terminal, whether in "strong rescue" or "basic rescue", will have its synchronization frames and emergency rescue link establishment request frames processed and fed back, resulting in a faster rescue speed. Figure 9 As shown, the method provided in the embodiment of the present application may include:
[0252] S101: The emergency terminal wakes up from the dormant state and starts working with a duration of T0 as a cycle.
[0253] The above-mentioned emergency terminal can be the electronic device 100 or the electronic device 200 in the above description.
[0254] Specifically, the above-mentioned emergency terminal can receive an operation instruction from a user, determine and activate the emergency mode of the above-mentioned emergency terminal as a strong emergency mode.
[0255] In the embodiment of the application, before the distress terminal successfully establishes a link with other rescue terminals or runs out of power, the distress terminal will periodically perform signal transmission and reception, sleep, etc. with a period of T0. T0 can be any period, such as 8192ms.
[0256] S102: During the time period T2, the emergency terminal continuously monitors and periodically sends emergency rescue link establishment request frames.
[0257] When the rescue terminal exits its dormant state and enters a working cycle, during a complete search and rescue working cycle of duration T0, the rescue terminal will continue to listen to signals in the environment during a certain period of time T2 in the cycle. During this period of time T2, the rescue terminal will also periodically and actively send out an emergency rescue link establishment request frame, which can be received by the rescue terminal in the environment. After receiving the emergency rescue link establishment request frame, the rescue terminal can send an emergency rescue link establishment response frame to the rescue terminal to complete the establishment of the communication connection between them. Among them, T2 can be any duration, such as 512ms.
[0258] It should be understood that within the T2 time period, the actions of the distress terminal listening for signals and sending emergency rescue link establishment request frames are performed alternately. That is, when the distress terminal is listening for signals, it will not send emergency rescue link establishment request frames. When the distress terminal starts to send emergency rescue link establishment request frames, the distress terminal will temporarily suspend the process of listening for signals. For the specific process, please refer to the above description of the Figure 4 See the relevant instructions for (A) in the .
[0259] In addition, within the above-mentioned T2 duration, the process of the distress terminal listening for signals and sending emergency rescue link establishment request frames can be continuous, that is, in the process of the distress terminal alternately listening for signals and sending emergency rescue link establishment request frames, when the distress terminal finishes sending the emergency rescue link establishment request frame, it can immediately start listening for signals. It is assumed here that the sum of the duration of the distress terminal's continuous listening and the duration of sending a request frame is T1, then T1 can be called an emergency rescue frame cycle. Since the power consumed by the distress terminal in listening to signals is much less than the power consumed by it in sending signals, in an emergency rescue frame cycle, the distress terminal only spends a very small amount of time sending emergency rescue link establishment request frames, and the rest of the time is used for listening. For example, the above-mentioned T1 can be 64ms, of which 3ms-5ms are used to send emergency rescue link establishment request frames, and the remaining approximately 60ms are used to listen for signals in the environment.
[0260] S103: The emergency terminal determines whether a signal sent by other devices is received.
[0261] S104: The distress terminal determines whether it has continuously monitored for a period of time T2.
[0262] The distress terminal continuously and alternately listens for signals and sends emergency rescue link establishment request frames within the aforementioned T2 duration. Within the aforementioned T2 duration, if the distress terminal detects a signal frame sent by the rescue terminal (the signal frame may be an emergency rescue link establishment request frame sent by the rescue terminal, a synchronization frame sent by the rescue terminal, or an emergency rescue link establishment response frame sent by the rescue terminal after receiving the emergency rescue link establishment request frame sent by the distress terminal), the rescue terminal may proceed to the subsequent step S105. If the period corresponding to the aforementioned T2 duration expires and the distress terminal has not successfully established a link with other rescue terminals, the rescue terminal will proceed to the subsequent step S107.
[0263] S105. The distress terminal selects a corresponding method to access the channel according to the frame format of the received signal.
[0264] In combination with the above description, it can be seen that the signal sent by the rescue terminal and received by the distress terminal may include: an emergency rescue link establishment request frame sent by the rescue terminal, a synchronization frame sent by the rescue terminal, or an emergency rescue link establishment response frame replied by the rescue terminal after receiving the emergency rescue link establishment request frame sent by the distress terminal. Among them, different signal frames have different frame formats. The distress terminal can determine the type of signal according to the frame format of the signal it receives, and adopt the corresponding link establishment method to establish a link with the rescue terminal. When the distress terminal can receive a certain signal frame and the "Rescue" bit in its frame format is marked as "1", the rescue terminal can determine that the signal is an emergency rescue link establishment request frame sent by the rescue terminal.
[0265] After receiving the signal sent by the rescue equipment, the rescue terminal can select the corresponding way to access the channel according to the frame format of the signal. Figure 5 and Figure 6 The relevant instructions will not be repeated here.
[0266] Furthermore, during an actual rescue operation, there are likely to be other trapped individuals in the environment, and therefore, there are likely to be emergency rescue link establishment request frames sent by other rescue terminals. Although the rescue terminal can also receive emergency rescue link establishment request frames sent by other rescue terminals, the rescue terminal can also distinguish whether the emergency rescue link establishment request frame is sent by another rescue terminal or the rescue terminal by using the frame format. If the emergency rescue link establishment request frame is sent by another rescue terminal, the rescue terminal can ignore the emergency rescue link establishment request frame and not process it.
[0267] S106: The emergency terminal determines whether the link is established successfully.
[0268] After receiving the signal sent by the rescue terminal and attempting to establish a link with the rescue terminal with the support of the signal, if the rescue terminal successfully establishes a link with the rescue terminal, the rescue terminal can execute step S109; if after the rescue terminal receives the signal sent by the rescue terminal, due to some other reasons (such as signal delay, interference between signals, etc.), the two terminals fail to successfully establish a link, if the rescue terminal has not continuously listened for T2 time at this time, then before the listening time reaches the above T2 time, the rescue terminal will continue to listen for the continuous alternating listening signal and send emergency rescue link establishment request frame, and continue to work according to the execution process of the aforementioned steps S102-step S106.
[0269] S107, emergency terminal sleep T b Wake up again after T2 duration and try again.
[0270] When the distress terminal has been continuously listening for T2 time and has not been able to establish a connection with other rescue terminals, the rescue terminal will sleep briefly for T1 time and then wake up again, and try again for T2 time. It should be understood that in this search and rescue work cycle, it can include two slice cycles of duration T2, and the aforementioned steps S102-step S106 are all completed within the first slice cycle. When the distress terminal fails to establish a connection with other rescue terminals in the first slice cycle, it may be because the distress terminal and the rescue terminal have been synchronously receiving signals or synchronously sending signals in their respective search and rescue work cycles, resulting in the two terminals being unable to successfully establish a link. Therefore, the distress terminal can repeat the aforementioned signal transmission and reception process again, and offset the start time of the signal transmission and reception process backward by a duration, that is, duration T b Specifically, T b The specific duration can be half of the emergency rescue frame period, that is, T1 = 2T b In this way, in the second slicing cycle, the distress terminal can successfully establish a link with the rescue terminal. Figure 5 The relevant description of (A) in the above description will not be repeated here.
[0271] S108: The emergency terminal determines whether the link is established successfully.
[0272] After the second slicing period of T2 ends, that is, after the rescue terminal has continuously listened for T2 again, if the rescue terminal has not been able to establish a connection with other rescue terminals, it means that the rescue personnel may not have been able to approach the trapped person, and there is no rescue terminal in the surrounding environment, then the rescue terminal will execute step S110; if the rescue terminal successfully establishes a link with the rescue terminal within the second slicing period, the rescue terminal can execute step S109.
[0273] S109: The distress terminal sends a distress message to the rescue terminal.
[0274] If the distress terminal successfully establishes a connection with the rescue terminal within the first slicing period (the first T2 duration) or the second slicing period (the second T2 duration), the distress terminal can send a distress message to the rescue terminal. Figure 3 The user's personal information shown in (B) is sent to the rescue terminal; alternatively, the rescue terminal may also send other rescue information (such as the number of trapped persons, trapped location, etc.) to the rescue terminal in response to other operations of the user, which is not limited in this application.
[0275] S110: The emergency terminal enters a dormant state until the next cycle begins.
[0276] After the second slicing period of T2 ends, if the rescue terminal has not yet established a connection with other rescue terminals, it means that the rescuers are likely to have not yet reached the trapped person. In order to save power, the rescue terminal will enter a long period of dormancy. For example, if the rescue terminal continuously listens for T2 at the beginning of each rescue cycle (i.e. Figure 4 As shown in (A), the start time of the first slicing period is the start time of the entire search and rescue work period). If the distress terminal fails to establish a connection with other rescue terminals after the end of the second slicing period of T2, the distress terminal will continue to connect for a period of (T0-2T2-T b ) dormancy period until the next search and rescue work cycle begins.
[0277] Figure 10 A flowchart of a communication method provided in an embodiment of the present application. The method can be implemented based on the above-mentioned electronic device 100 or electronic device 200 in a low-power rescue mode. The terminal used to implement this method can be called a low-power rescue terminal. When implementing this method, the low-power rescue terminal performs search and rescue work periodically, and effectively plans the proportion of its transmission, listening, and sleep time in a search and rescue work cycle. While saving the power of the rescue terminal, any effective terminal around the rescue terminal and in "strong rescue" will receive feedback and complete the link establishment for its emergency rescue link establishment request frame. If there is a "basic rescue" or synchronization node terminal nearby, it will also capture the synchronization frame due to the emergency rescue frame period offset within a period of time, and then try to initiate access on the access channel indicated by the synchronization frame. As Figure 10 As shown, the method provided in the embodiment of the present application may include:
[0278] S201. The emergency terminal wakes up from the dormant state and starts working with a duration of (T0+T1).
[0279] The above-mentioned emergency terminal can be the electronic device 100 or the electronic device 200 in the above description.
[0280] Specifically, the above-mentioned rescue terminal can receive an operation instruction from a user, determine and start the rescue mode of the above-mentioned rescue terminal as a low-power rescue mode.
[0281] In the embodiment of the application, the distress terminal in low-power distress mode will periodically perform signal monitoring and sleep processes with a duration of (T0 + T1) until it successfully establishes a link with other rescue terminals or runs out of power. T1 and T0 can be any duration, for example, T0 can be 8192ms and T1 can be 64ms.
[0282] S202: During the T1 duration, the emergency terminal continuously monitors and periodically sends emergency rescue link establishment request frames.
[0283] When the rescue terminal exits the sleep state and enters the working cycle, in a complete search and rescue working cycle of duration (T0+T1), the rescue terminal will continuously listen for signals in the environment during a period of duration T1 in the cycle. Among them, T2 can be any length, such as 512ms.
[0284] It should be understood that within the T2 time period, the emergency terminal listens for signals and sends emergency rescue link establishment request frames alternately. That is, when the emergency terminal is listening for signals, it will not send emergency rescue link establishment request frames. However, in order to save power, the emergency terminal will not actively send emergency rescue link establishment request frames to the outside during the entire working cycle. For the specific process, please refer to the above description. Figure 4 See the relevant instructions for (B) in .
[0285] S203: The emergency terminal determines whether a signal sent by other devices is received.
[0286] S204: The distress terminal determines whether it has continuously listened for a period of time T1.
[0287] Before the end of the time period corresponding to the aforementioned T1 duration, the distress terminal continues to listen for signals within the aforementioned T1 duration. During the time period corresponding to the aforementioned T2 duration, if the distress terminal detects a signal frame sent by the rescue terminal (the signal frame may be an emergency rescue link establishment request frame or a synchronization frame sent by the rescue terminal), the rescue terminal may proceed to the subsequent step S205. If the distress terminal has not successfully established a link with other rescue terminals after the aforementioned T2 duration, the rescue terminal will proceed to the subsequent step S208.
[0288] S205. The distress terminal selects a corresponding method to access the channel according to the frame format of the received signal.
[0289] Combined with the above description, it can be seen that the signal sent by the rescue terminal to the rescue terminal may include: the emergency rescue link establishment request frame sent by the rescue terminal and the synchronization frame sent by the rescue terminal. Among them, different signal frames have different frame formats. The rescue terminal can identify the type of signal according to the frame format of the signal it receives and adopt the corresponding link establishment method to establish a link with the rescue terminal; for details, please refer to the above description of the emergency rescue link establishment request frame and the synchronization frame sent by the rescue terminal. Figure 7 and Figure 8 The relevant instructions will not be repeated here.
[0290] S206: The emergency terminal determines whether the link is established successfully.
[0291] After receiving the signal sent by the rescue terminal and attempting to establish a link with the rescue terminal with the support of the signal, if the rescue terminal successfully establishes a link with the rescue terminal, the rescue terminal can execute step S207; if after the rescue terminal receives the signal sent by the rescue terminal, due to some other reasons (such as signal delay, interference between signals, etc.), the two terminals fail to successfully establish a link, if the rescue terminal has not continuously listened for the T1 time length at this time, then before the listening time length reaches the above-mentioned T1 time length, the rescue terminal will continue to listen for the continuous alternating listening signal and send emergency rescue link establishment request frames, and continue to work according to the execution process of the aforementioned steps S202-step S206.
[0292] S207: The distress terminal sends a distress message to the rescue terminal.
[0293] If the rescue terminal successfully establishes a connection with the rescue terminal within the time period corresponding to the T1 duration, the rescue terminal can send a distress message to the rescue terminal.
[0294] S208. The emergency terminal enters a dormant state until the next cycle begins.
[0295] After the T1 period ends, if the rescue terminal has not yet established a connection with other rescue terminals, the rescue terminal will enter a long-term dormant state in order to save power. For example, if the rescue terminal continuously listens for T1 at the beginning of each rescue cycle (i.e., Figure 4 As shown in (B), the moment when the distress terminal starts listening is the starting moment of the entire search and rescue work cycle), if the distress terminal fails to establish a connection with other rescue terminals after the end of the period corresponding to the above T1 duration, the distress terminal will enter a dormant period of T0 until the next search and rescue work cycle begins.
[0296] It should be noted that the T1 duration in a complete search and rescue working cycle (T0+T1) of the rescue terminal in low power mode can be regarded as the post-duration between two consecutive search and rescue working cycles T0. This post-duration can prevent the electronic device from being used as a rescue terminal. When sending a request frame for link establishment in each cycle, the surrounding rescue terminals in basic rescue mode are also in their own dormant period, resulting in link establishment failure. For details, please refer to the above Figure 8 The relevant instructions in will not be repeated here.
[0297] Figure 11 A flowchart of a communication method provided in an embodiment of the present application. The method can be implemented based on the above-mentioned electronic device 100 or electronic device 200 in the working mode of the strong rescue mode. The terminal used to implement this method can be called a strong rescue terminal. When implementing this method, the strong rescue terminal periodically performs search and rescue work, and effectively plans the proportion of its transmission, listening, and sleep time in a search and rescue work cycle, and can relatively quickly establish a communication connection with the rescue terminal in the strong rescue mode and the basic rescue mode. Figure 9 As shown, the method provided in the embodiment of the present application may include:
[0298] S301: The rescue terminal wakes up from the dormant state and starts working with a duration of T0 as a cycle.
[0299] The rescue terminal may be the electronic device 100 or the electronic device 200 in the foregoing description.
[0300] Specifically, the rescue terminal may receive an operation instruction from a user, and determine and activate the rescue mode of the rescue terminal to be a strong rescue mode.
[0301] In the embodiment of the application, before the rescue terminal successfully establishes a link with other rescue terminals or runs out of power, the rescue terminal will periodically perform signal transmission and reception, sleep, etc. with a duration of T0 as a period. Among them, T0 can be any duration, such as 8192ms.
[0302] S302: Whether the rescue terminal is a synchronization node.
[0303] S303: The rescue terminal sends a synchronization frame.
[0304] In the case that the rescue terminal itself is the master node or synchronization node of the self-organizing network, it will periodically send synchronization frames on the broadcast channel, and the rescue terminal can initiate access on the random access channel indicated by the synchronization frame sent by the rescue terminal. The synchronization frame contains the precise timestamp and node information of the sending node. The device that receives the synchronization frame (such as the rescue terminal) can calculate the time-frequency position of each working channel of the sending node through the above-mentioned precise timestamp and node information and establish a connection with the sending node at the corresponding time-frequency position. The sending cycle duration of the synchronization frame can be T2 duration. In the case that the rescue terminal is not the master node or synchronization node of the self-organizing network, the rescue terminal will only send out emergency rescue link establishment request frames and emergency rescue link establishment request response frames, and will not send out synchronization frames, that is, the rescue terminal does not execute this step S303.
[0305] S304: During the time period T2, the rescue terminal continuously monitors and periodically sends emergency rescue link establishment request frames.
[0306] When the rescue terminal exits its dormant state and enters a working cycle, during a complete search and rescue working cycle of duration T0, the rescue terminal will continue to listen to signals in the environment during a certain period of time T2 in the cycle. During this period of time T2, the rescue terminal will also periodically and proactively send out an emergency rescue link establishment request frame, which can be received by the rescue terminal in the environment. After receiving the emergency rescue link establishment request frame, the rescue terminal can send an emergency rescue link establishment response frame to the rescue terminal to complete the establishment of the communication connection between them. Among them, T2 can be any duration, such as 512ms.
[0307] It should be understood that within the T2 time period, the rescue terminal listens to the signal and sends the emergency rescue link establishment request frame alternately. That is, when the rescue terminal is listening to the signal, the rescue terminal will not send the emergency rescue link establishment request frame. When the rescue terminal starts to send the emergency rescue link establishment request frame, the rescue terminal will temporarily suspend the process of listening to the signal. For the specific process, please refer to the above description. Figure 4 See the relevant instructions for (C) in the .
[0308] S305: The rescue terminal determines whether a signal sent by other devices is received.
[0309] S306: The rescue terminal determines whether it has continuously monitored for a period of time T2.
[0310] The rescue terminal continuously and alternately listens for signals and sends emergency rescue link establishment request frames within the above-mentioned T2 duration. Within the above-mentioned T2 duration, if the rescue terminal detects a signal frame sent by the distress terminal (the signal frame can be an emergency rescue link establishment request frame sent by the distress terminal, an access request signal replied by the distress terminal after receiving a synchronization frame sent by the rescue terminal, or an emergency rescue link establishment response frame replied by the distress terminal after receiving an emergency rescue link establishment request frame sent by the rescue terminal), the rescue terminal can proceed to the subsequent step 307; if the period corresponding to the above-mentioned T2 duration expires and the rescue terminal has not successfully established a link with other distress terminals, the rescue terminal will execute the subsequent step S309.
[0311] S307: The rescue terminal selects a corresponding method to access the channel according to the frame format of the received signal.
[0312] As can be seen from the foregoing description, the signal received by the rescue terminal from the rescue terminal may include: an emergency rescue link establishment request frame sent by the rescue terminal, a response frame sent by the rescue terminal after receiving a synchronization frame sent by the rescue terminal, or an emergency rescue link establishment response frame sent by the rescue terminal after receiving an emergency rescue link establishment request frame sent by the rescue terminal. Different signal frames have different frame formats. The rescue terminal can determine the type of signal based on the frame format of the received signal and adopt the corresponding link establishment method to establish a link with the rescue terminal.
[0313] After receiving the signal sent by the rescue equipment, the rescue terminal can select the corresponding way to access the channel according to the frame format of the signal. Figure 5 and Figure 7 The relevant instructions will not be repeated here.
[0314] Furthermore, during an actual rescue operation, there is a high probability that other trapped individuals may be present, and therefore there may also be emergency rescue link establishment request frames sent by other rescue terminals. While the rescue terminal can also receive emergency rescue link establishment request frames sent by other rescue terminals, the rescue terminal can also distinguish, by the frame format, whether the emergency rescue link establishment request frame is sent by another rescue terminal or by the rescue terminal. If the emergency rescue link establishment request frame is sent by another terminal that is also a rescue terminal, the rescue terminal can ignore the emergency rescue link establishment request frame and not process it.
[0315] S308: The rescue terminal determines whether the link is established successfully.
[0316] After receiving the signal sent by the distress terminal and attempting to establish a link with the rescue terminal with the support of the signal, if the rescue terminal successfully establishes a link with the distress terminal, the rescue terminal can execute step S311; if the rescue terminal receives the signal sent by the distress terminal, due to some other reasons (such as signal delay, interference between signals, etc.), the two terminals fail to successfully establish a link, if the rescue terminal has not continuously listened for T2 time at this time, then before the listening time reaches the above T2 time, the rescue terminal will continue to listen for the continuous alternating listening signal and send emergency rescue link establishment request frame, and continue to work according to the execution process of the aforementioned steps S302-step S308.
[0317] S309: The rescue terminal tries again for a duration of T2.
[0318] When the rescue terminal has been continuously listening for T2 time and has not been able to establish a connection with other rescue terminals, the rescue terminal will immediately try to listen for T2 time again at the end of the period corresponding to the first T2 time. It should be understood that in this search and rescue work cycle, it can include two slice periods of duration T2, and the aforementioned steps S302-step S306 are all completed within the first slice period. When the rescue terminal fails to establish a connection with other rescue terminals in the first slice period, it may be because the rescue terminal and the rescue terminal have been synchronously receiving signals or synchronously sending signals in their respective search and rescue work cycles, resulting in the two terminals being unable to successfully establish a link. Therefore, since the rescue terminal in the strong rescue mode will be offset backward for a period of time in the second slice period, that is, the aforementioned duration T b , then in the second slicing cycle, the rescue terminal can successfully establish a link with the rescue terminal in the strong rescue mode. Figure 5 The relevant description of (A) in the above description will not be repeated here.
[0319] S310: The rescue terminal determines whether the link is established successfully.
[0320] After the second slicing period of T2 ends, that is, after the rescue terminal has continuously listened for T2 again, if the rescue terminal has not been able to establish a connection with other rescue terminals, it means that the rescue personnel may not have been able to approach the trapped person, and the rescue terminal will execute step S312; if the rescue terminal successfully establishes a link with the rescue terminal within the second slicing period, the rescue terminal can execute step S311.
[0321] S311. The rescue terminal receives information sent by the rescue terminal.
[0322] If the rescue terminal successfully establishes a connection with the rescue terminal within the first slicing period (first T2 duration) or the second slicing period (second T2 duration), the rescue terminal can receive the distress message sent by the rescue terminal. For details, please refer to the above description of step S109, which will not be repeated here.
[0323] S312: The rescue terminal enters a dormant state until the next cycle begins.
[0324] After the second slicing period of T2 ends, if the rescue terminal has not yet established a connection with other rescue terminals, it means that the rescuers are likely to have not yet reached the trapped person, and the rescue terminal can enter a longer period of dormancy. For example, if the rescue terminal continuously listens for T2 at the beginning of each search and rescue cycle (i.e., Figure 4 As shown in (C), the start time of the first slicing cycle is the start time of the entire search and rescue work cycle), if the rescue terminal fails to establish a connection with other rescue terminals after the end of the second slicing cycle of T2, the rescue terminal will enter a dormant period of (T0-2T2) until the next search and rescue work cycle begins.
[0325] Figure 12 A flowchart of a communication method provided in an embodiment of the present application. The method can be implemented based on the above-mentioned electronic device 100 or electronic device 200 in the working mode of the basic rescue mode. The terminal used to implement the method can be called a basic rescue terminal. When implementing the method, the basic rescue terminal periodically performs search and rescue work, and can establish a communication connection with the rescue terminal in the strong rescue mode more quickly while greatly saving the power of the rescue terminal. Figure 12 As shown, the method provided in the embodiment of the present application may include:
[0326] S401: The rescue terminal wakes up from the dormant state and starts working with a duration of T0 as a cycle.
[0327] The rescue terminal may be the electronic device 100 or the electronic device 200 in the foregoing description.
[0328] Specifically, the rescue terminal may receive an operation instruction from a user, and determine and start the rescue mode of the rescue terminal as the basic rescue mode.
[0329] In the embodiment of the application, before the rescue terminal successfully establishes a link with other rescue terminals or runs out of power, the rescue terminal will periodically perform signal transmission and reception, sleep, etc. with a duration of T0 as a period. Among them, T0 can be any duration, such as 8192ms.
[0330] S402: Whether the rescue terminal is a synchronization node.
[0331] S403: The rescue terminal sends a synchronization frame.
[0332] The details of step S402-step S403 can be referred to the aforementioned description of step S302-step S303, which will not be repeated here.
[0333] S404: During the duration T2, the rescue terminal continuously monitors for the duration T1.
[0334] When the rescue terminal ends its dormant state and enters a working cycle, in a complete search and rescue working cycle of duration T0, the rescue terminal will determine a period of duration T1 within a certain period of duration T2 in the cycle, and continuously listen to the signals in the environment during the period of duration T1. T2 can be any duration, such as 512ms; T1 can be any duration shorter than T2, such as 64ms. The specific process can be referred to the above description. Figure 4 See the relevant instructions for (D) in the .
[0335] S405: The rescue terminal determines whether a signal sent by other devices is received.
[0336] S406: The rescue terminal determines whether it has continuously monitored for a period of time T1.
[0337] The rescue terminal listens for signals during the aforementioned T1 duration. If, during T1, the rescue terminal detects a signal frame sent by the distress terminal (the signal frame may be an emergency rescue link establishment request frame sent by the distress terminal, or an access request signal sent by the distress terminal in response to a synchronization frame sent by the distress terminal), the rescue terminal may proceed to step 307. If, at the end of the T1 duration, the rescue terminal has not yet successfully established a link with another distress terminal, the rescue terminal will proceed to step S309.
[0338] S407: The rescue terminal selects a corresponding method to access the channel according to the frame format of the received signal.
[0339] As can be seen from the preceding description, the signal received by the rescue terminal in basic rescue mode includes an emergency rescue link establishment request frame or a response frame sent by the rescue terminal after receiving a synchronization frame sent by the rescue terminal. The rescue terminal can establish a link with the rescue terminal using the appropriate link establishment method based on the frame format of the received signal.
[0340] For details, please refer to the above Figure 6 and Figure 8 The relevant instructions will not be repeated here.
[0341] Furthermore, during an actual rescue operation, there is a high probability that other trapped individuals may be present, and therefore there may also be emergency rescue link establishment request frames sent by other rescue terminals. While the rescue terminal can also receive emergency rescue link establishment request frames sent by other rescue terminals, the rescue terminal can also distinguish, by the frame format, whether the emergency rescue link establishment request frame is sent by another rescue terminal or by the rescue terminal. If the emergency rescue link establishment request frame is sent by another terminal that is also a rescue terminal, the rescue terminal can ignore the emergency rescue link establishment request frame and not process it.
[0342] S408: The rescue terminal determines whether the link is established successfully.
[0343] After receiving the signal sent by the distress terminal and attempting to establish a link with the rescue terminal with the support of the signal, if the rescue terminal successfully establishes a link with the distress terminal, the rescue terminal can execute step S311; if the rescue terminal receives the signal sent by the distress terminal, due to some other reasons (such as signal delay, interference between signals, etc.), the two terminals fail to successfully establish a link, and if the rescue terminal has not continuously listened for the T1 time at this time, then before the listening time reaches the above T1 time, the rescue terminal will continue to listen for the continuous listening signal and continue to work according to the execution process of the aforementioned steps S302-step S308.
[0344] S409: The rescue terminal tries again for a time period of T2. During the time period of T2, the rescue terminal continuously listens for a time period of T1 again.
[0345] When the rescue terminal has been continuously listening for T1 time and has not been able to establish a connection with other rescue terminals, the rescue terminal will try to listen for T1 time again in the same time period of the next T2 time at the end of the period corresponding to the first T2 time. It should be understood that in this search and rescue work cycle, it may include two slice periods of duration T2, and the aforementioned steps S402-step S406 are all completed in the first slice period. When the rescue terminal fails to establish a connection with other rescue terminals in the first slice period, it may be because the terminal in the low-power rescue mode is listening for the signal while the surrounding rescue terminals in the basic rescue mode are in their own dormant period, resulting in a failure to establish a link. Therefore, since the rescue terminal in the low-power rescue mode will be offset backward by a time period in the second slice period, that is, the aforementioned duration T1, after several cycles, the rescue terminal will successfully establish a link with the rescue terminal in the low-power rescue mode in the second slice period of a subsequent search and rescue work cycle. For details, please refer to the aforementioned Figure 8 The relevant instructions will not be repeated here.
[0346] S410: The rescue terminal determines whether the link is established successfully.
[0347] After the second slicing period of T1 ends, that is, after the rescue terminal has continuously listened for T1 time again, if the rescue terminal has not been able to establish a connection with other rescue terminals, it means that the rescue personnel may not have been able to approach the trapped person, and the rescue terminal will execute step S412; if the rescue terminal successfully establishes a link with the rescue terminal within the second slicing period, the rescue terminal can execute step S411.
[0348] S411. The rescue terminal receives information sent by the rescue terminal.
[0349] If the rescue terminal successfully establishes a connection with the rescue terminal within the first slicing period (first T1 duration) or the second slicing period (second T1 duration), the rescue terminal can receive the distress message sent by the rescue terminal. For details, please refer to the above description of step S109, which will not be repeated here.
[0350] S412: The rescue terminal enters a dormant state until the next cycle begins.
[0351] After the second slicing period of T2 ends, if the rescue terminal has not yet established a connection with other rescue terminals, it means that the rescuers are likely to have not yet reached the trapped person, and the rescue terminal can enter a dormant state. Figure 4 As shown in (D), the rescue terminal will enter a sleep period of (T0-2T2) until the next search and rescue work cycle begins.
[0352] Next, an embodiment of the present application provides a search and rescue system, which includes a rescue terminal 1301 and a rescue terminal 1302. The rescue terminal 1301 can be the aforementioned electronic device 100; the rescue terminal 1302 can be the aforementioned electronic device 200. During the search and rescue process, the rescue terminal 1301 can operate in a strong rescue mode or a low-power rescue mode; the rescue terminal 1302 can operate in a strong rescue mode or a basic rescue mode. In the case where the rescue terminal 1301 and the rescue terminal 1302 operate in different mode combinations, the link establishment process between the two terminals can be as follows. Figure 13 This can be accomplished by one or more of the link building methods shown in (A), (B) and (C).
[0353] exist Figure 13 In (A), after the rescue terminal 1301 receives the synchronization frame sent by the rescue terminal, it sends an access request on the random access channel indicated by the synchronization frame. The open system authentication method is adopted between the rescue terminal 1301 and the rescue terminal 1302, which includes two steps: open system access request (Mg1) and access response (Mg2). No authentication is required.
[0354] exist Figure 13In (C), after the rescue terminal 1301 receives the emergency rescue link establishment request frame sent by the rescue terminal 1302, it reads the timestamp (timestamp) indicated by the rescue terminal from the emergency rescue link establishment request frame, and replies with an emergency rescue link establishment response frame to the rescue terminal 1302. After receiving the emergency rescue link establishment response frame, the rescue terminal 1302 listens on all access channels and emergency rescue channels thereafter. The rescue terminal 1301 calculates the access channel and rescue channel positions based on the above timestamp, and initiates random access on the access channel and rescue channel to complete the link establishment. In this method, random access can adopt an open system authentication method, which includes two steps: open system access request (Msg1) and access response (Msg2), and does not require authentication.
[0355] exist Figure 13 In (B), after the rescue terminal 1302 receives the emergency rescue link establishment request frame sent by the rescue terminal 1301, it replies with an emergency rescue link establishment response frame, which includes a timestamp. After receiving the emergency rescue link establishment request frame, the rescue terminal 1302 listens on all access channels and emergency rescue channels thereafter. The rescue terminal 1301 calculates the access channel and rescue channel positions based on the above timestamp, and initiates random access on the access channel and rescue channel to complete the link establishment. In this method, random access can adopt an open system authentication method, which includes two steps: open system access request (Msg1) and access response (Msg2), and does not require authentication.
[0356] When the rescue terminal 1301 is a strong rescue terminal and the rescue terminal 1302 is a strong rescue terminal, the link establishment process between the two terminals can be as follows: Figure 13 This is accomplished as shown in (A), (B) and (C).
[0357] When the rescue terminal 1301 is a strong rescue terminal and the rescue terminal 1302 is a basic rescue terminal, the link establishment process between the two terminals can be as follows: Figure 13 This is accomplished as shown in (A) and (B).
[0358] When the rescue terminal 1301 is a low-power rescue terminal and the rescue terminal 1302 is a powerful rescue terminal, the link establishment process between the two terminals can be as follows: Figure 13 This is accomplished as shown in (A) and (C).
[0359] When the rescue terminal 1301 is a low-power rescue terminal and the rescue terminal 1302 is a basic rescue terminal, the link establishment process between the two terminals can be as follows: Figure 13 This is accomplished as shown in (A).
[0360] The specific process and steps of using different mode combinations of the distress terminal 1301 and the rescue terminal 1302, and using corresponding link establishment methods under the established mode combination, can refer to the above-mentioned relevant descriptions and will not be repeated here.
[0361] An embodiment of the present application also provides an electronic device, which includes: one or more processors and a memory; wherein the memory is coupled to the one or more processors, and the memory is used to store computer program code, and the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the method shown in the aforementioned embodiment.
[0362] As used in the above embodiments, the term “when…” may be interpreted to mean “if…” or “after…” or “in response to determining…” or “in response to detecting…”, depending on the context. Similarly, the phrases “upon determining…” or “if (stated condition or event) is detected” may be interpreted to mean “if determining…” or “in response to determining…” or “upon detecting (stated condition or event)” or “in response to detecting (stated condition or event)”, depending on the context.
[0363] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk).
[0364] Those skilled in the art will appreciate that all or part of the process steps in the above-described method embodiments can be implemented by a computer program instructing the relevant hardware. The program can be stored in a computer-readable storage medium, and when executed, the program can include the process steps in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A communication method, applied to a first terminal, characterized in that: receiving an operation instruction from a user, determining and starting a rescue mode of the first terminal, the rescue mode including a low-power rescue mode and a strong rescue mode; The first terminal establishes a first network link with the second terminal; The second terminal is in a basic rescue mode or a strong rescue mode; within the same working time, the power consumption of the first terminal in the low-power rescue mode is less than the power consumption of the first terminal in the strong rescue mode; the power consumption of the second terminal in the basic rescue mode is less than the power consumption of the second terminal in the strong rescue mode; When the first terminal is in the strong distress mode, the first terminal alternately sends a first signal and listens for a second signal sent by the second terminal with a first duration as a period, and each period includes at least two groups of the first terminals alternately performing listening and sending operations; the two groups of the first terminals alternately perform listening and sending operations with an interval of a second duration, and the second duration is less than the sum of the durations required for the first terminal to send the first signal and listen for the second signal; the first signal and the second signal are used to establish the first network link with the second terminal; When the first terminal is in the low-power rescue mode, the first terminal listens in the environment for whether the second signal sent by the second terminal exists, and the duration of the listening by the first terminal is the third duration; if not heard, the first terminal listens again in the environment for whether the second signal exists with a fourth duration at the end of the listening and an offset of the fifth duration until the first terminal hears the second signal.
2. The method according to claim 1, characterized in that The first terminal establishing a first network link with the second terminal includes: After the first terminal detects the second signal sent by the second terminal in the strong rescue mode, the first terminal replies with a response signal to the second terminal; when the second terminal accesses the channel under the instruction of the response signal, the first terminal establishes the first network link with the second terminal; The second signal is a second request signal for requesting to establish a first network link with the first terminal; Alternatively, after the first terminal intercepts the second signal sent by the second terminal, the first terminal sends an access request to the second terminal on the channel indicated by the second signal; when the second terminal responds to the access request, the first terminal establishes the first network link with the second terminal; The second signal is a synchronization signal sent by the second terminal; Alternatively, after the first signal sent by the first terminal in the strong distress mode is intercepted by the second terminal, the first terminal accesses the channel under the instruction of a response signal replied by the second terminal, and the first terminal establishes the first network link with the second terminal; The first signal is a first request signal sent by the first terminal for requesting to establish a first network link with the second terminal.
3. The method according to claim 1 or 2, characterized in that When the first terminal is in the strong distress mode, the first terminal sends a first signal and listens for a second signal sent by the second terminal with a first duration as a period, including: in a first time period corresponding to each cycle, the first terminal continuously and alternately sends the first signal and listens for the second signal for a sixth time period; if the first terminal fails to listen to the second signal within the first time period, and the second terminal fails to receive the first signal within the first time period, the first terminal enters a dormant state at the end of the first time period, and after the second time period, in a second time period corresponding to each cycle, the first terminal continuously and alternately sends the first signal and listens for the second signal for a seventh time period; When the first terminal is in the low-power rescue mode, the first terminal listens again for whether the second signal exists in the environment at a fourth time interval and a fifth time offset from the moment when the listening ends, including: the first terminal enters a sleep state at the moment when the listening ends; after the fourth time interval and the fifth time interval, the first terminal wakes up from the sleep state and listens again for whether the second signal exists in the environment, and the duration of the first terminal's listening is the third time interval.
4. The method according to claim 3, characterized in that The sixth time duration is equal to the seventh time duration, and / or the eighth time duration is twice the seventh time duration; the eighth time duration is the sum of the time durations required for the first terminal to send the first signal and listen to the second signal in the strong distress mode.
5. The method according to claim 4, characterized in that The third duration is equal to the fifth duration, and / or the third duration is equal to the eighth duration.
6. A communication method, characterized in that: The method is applied to the second terminal, receiving an operation instruction from a user, determining and starting a rescue mode of the second terminal, the rescue mode including a basic rescue mode and a powerful rescue mode; The second terminal establishes a first network link with the first terminal; The first terminal is in a low-power rescue mode or a strong rescue mode; under the same operating time, the power consumption of the second terminal in the basic rescue mode is less than the power consumption of the second terminal in the strong rescue mode, and the power consumption of the first terminal in the low-power rescue mode is less than the power consumption of the first terminal in the strong rescue mode; When the second terminal is in the strong rescue mode, the second terminal alternately sends the second signal and listens to the first signal with a first duration as a period, and the duration of the second terminal alternately sending the second signal and listening to the first signal in each period is a ninth duration; the second signal includes a second request signal and a synchronization signal; if the second terminal fails to hear the first signal and the second signal fails to be heard by the first terminal within the corresponding time period, the second terminal sleeps for a tenth duration until the end of the current period, and again alternately sends the second signal and listens to the first signal until the second terminal hears the first signal or the second signal is heard by the first terminal; the second request signal is a signal sent by the second terminal to request to establish a first network link with the first terminal; the first signal is a first request signal sent by the first terminal to request to establish a first network link with the second terminal; When the second terminal is in the basic rescue mode, the second terminal listens to the first signal with the first duration as a period; and each period includes at least one time period in which the second terminal listens to the first signal; if the second terminal fails to hear the first signal within the corresponding time period, the second terminal sleeps for the tenth time period until the end of the current period, and listens to the first signal again until the second terminal hears the first signal.
7. The method according to claim 6, characterized in that The second terminal is an online device. When the second terminal is in the basic rescue mode, the second terminal also sends a synchronization signal with the first duration as a period, and each period includes at least one time period in which the second terminal sends the synchronization signal.
8. The method according to claim 7, characterized in that The second terminal establishing a first network link with the first terminal includes: After the second terminal detects the first request signal sent by the first terminal in the strong rescue mode, it replies with a response signal to the first terminal; when the first terminal accesses the channel under the instruction of the response signal, the second terminal establishes the first network link with the first terminal; Alternatively, after the first terminal detects the synchronization signal sent by the second terminal, the first terminal sends an access request to the second terminal on the channel indicated by the synchronization signal; when the second terminal responds to the access request, the second terminal establishes the first network link with the first terminal; Or, after the second request signal sent by the second terminal in the strong rescue mode is intercepted by the first terminal, the second terminal accesses the channel under the instruction of the response signal replied by the first terminal, and the second terminal establishes the first network link with the first terminal.
9. The method according to any one of claims 6 to 8, characterized in that The tenth period is longer than the ninth period.
10. A communication system, characterized in that: The communication system includes a first terminal and a second terminal, When a first trigger condition is met, the first terminal and the second terminal establish a first network link; the first trigger condition is one of the following conditions: The first terminal is in a strong distress mode and the second terminal is in a strong rescue mode; The first terminal is in a strong rescue mode and the second terminal is in a basic rescue mode; The first terminal is in a low-power rescue mode and the second terminal is in a strong rescue mode; The first terminal is in a low-power rescue mode and the second terminal is in a basic rescue mode; Under the same working duration, the power consumption of the second terminal when operating in the basic rescue mode is less than the power consumption when operating in the strong rescue mode, and the power consumption of the first terminal when operating in the low-power rescue mode is less than the power consumption when operating in the strong rescue mode; When the first terminal is in the strong distress mode, the first terminal alternately sends a first signal and listens for a second signal sent by the second terminal with a first duration as a period, and each period includes at least two groups of the first terminals alternately performing listening and sending operations; the two groups of the first terminals alternately perform listening and sending operations with an interval of a second duration, and the second duration is less than the sum of the durations required for the first terminal to send the first signal and listen for the second signal; the first signal and the second signal are used to establish the first network link with the second terminal; When the first terminal is in the low-power distress mode, the first terminal listens in the environment for whether the second signal sent by the second terminal exists, and the first terminal performs the listening for a third duration; if no second signal is detected, the first terminal listens again for whether the second signal exists in the environment after a fourth duration and a fifth duration, starting from the time when the listening ends, until the first terminal detects the second signal; When the second terminal is in the strong rescue mode, the second terminal alternately sends the second signal and listens to the first signal with the first duration as a period, and the duration of the second terminal alternately sending the second signal and listening to the first signal in each period is a ninth duration; the second signal includes a second request signal and a synchronization signal; if the second terminal fails to hear the first signal and the second signal fails to be heard by the first terminal within the corresponding time period, the second terminal sleeps for the tenth duration until the end of the current period, and again alternately sends the second signal and listens to the first signal until the second terminal hears the first signal or the second signal is heard by the first terminal; the second request signal is a signal sent by the second terminal to request to establish a first network link with the first terminal; the first signal is a first request signal sent by the first terminal to request to establish a first network link with the second terminal; When the second terminal is in the basic rescue mode, the second terminal listens to the first signal with the first duration as a period; and each period includes at least one time period in which the second terminal listens to the first signal; If the second terminal fails to detect the first signal within the corresponding time period, the second terminal sleeps for the tenth time period until the end of the current cycle, and listens to the first signal again until the second terminal detects the first signal.
11. The system according to claim 10, wherein: The first terminal and the second terminal establish a first network link, including: The second terminal in the strong rescue mode sends the second signal, and the first terminal in the low power rescue mode or the strong rescue mode responds with a first response signal to the second terminal after hearing the second signal; after the second terminal accesses the channel under the instruction of the first response signal, the first terminal establishes the first network link with the second terminal; The second signal is a second request signal for requesting to establish a first network link with the first terminal; Alternatively, the second terminal sends a second signal, and after the first terminal in the low-power distress mode or the strong distress mode detects the second signal, the first terminal sends an access request to the second terminal on the channel indicated by the second signal; after the second terminal responds to the access request, the first network link is established with the second terminal; The second signal is a synchronization signal sent by the second terminal; Alternatively, the first terminal in the strong rescue mode sends the first signal, and the second terminal in the basic rescue mode or the strong rescue mode responds to the first terminal with a second response signal after hearing the first signal. The first terminal accesses the channel under the instruction of the second response signal, and the first terminal establishes the first network link with the second terminal. The first signal is a first request signal sent by the first terminal for requesting to establish a first network link with the second terminal.
12. A method for selecting an operating mode, applied to an electronic device, characterized in that: include: In response to a user instruction, display a first user interface, wherein the first user interface includes a first control, a second control, a third control, and a fourth control; The electronic device enters a strong rescue mode in response to a first operation instruction of the user on the first control; or, the electronic device enters a low-power rescue mode in response to a second operation instruction of the user on the second control; or, the electronic device enters a strong rescue mode in response to a third operation instruction of the user on the third control; or, the electronic device enters a basic rescue mode in response to a fourth operation instruction of the user on the fourth control; under the same working time, the power consumption of the electronic device in the basic rescue mode is less than the power consumption when working in the strong rescue mode, and the power consumption of the electronic device in the low-power rescue mode is less than the power consumption when working in the strong rescue mode; When the electronic device is in the strong distress mode, the electronic device alternately sends a first signal and listens for a second signal sent by another device with a first duration as a cycle, wherein each cycle includes at least two groups of the electronic devices alternately performing the listening and sending operations; a second duration is passed between the two groups of electronic devices alternately performing the listening and sending operations, and the second duration is less than the sum of the durations required for the electronic device to send the first signal and listen for the second signal; the first signal and the second signal are used to establish a first network link with the other device; When the electronic device is in the low-power emergency mode, the electronic device listens in the environment for whether the second signal sent by the other device exists, and the duration of the listening by the electronic device is a third time duration; if no second signal is detected, the electronic device listens again in the environment for whether the second signal exists at a fourth time duration and a fifth time duration after the end of the listening, until the electronic device detects the second signal; When the electronic device is in the strong rescue mode, the electronic device alternately sends the second signal and listens to the first signal with the first duration as a period, and the duration of the electronic device alternately sending the second signal and listening to the first signal in each period is a ninth duration; the second signal includes a second request signal and a synchronization signal; if the electronic device fails to detect the first signal and the second signal fails to be detected by the other device within the corresponding time period, the electronic device sleeps for a tenth duration until the end of the current period, and again alternately sends the second signal and listens to the first signal until the electronic device detects the first signal or the second signal is detected by the other device; the second request signal is a signal sent by the electronic device to request to establish a first network link with the other device; the first signal is a first request signal sent by the other device to request to establish a first network link with the electronic device; When the electronic device is in the basic rescue mode, the electronic device listens to the first signal with the first time length as a cycle; and each cycle includes at least one time period in which the electronic device listens to the first signal; If the electronic device fails to detect the first signal within the corresponding time period, the electronic device sleeps for the tenth time period until the end of the current cycle, and listens to the first signal again until the electronic device detects the first signal.
13. The method according to claim 12, characterized in that The first user interface further includes a fifth control, and the method further includes: The electronic device automatically enters the low-power rescue mode or the strong rescue mode in response to the user's fifth operation instruction on the fifth control, based on the current power level of the electronic device and / or the user's current vital signs information.
14. The method according to claim 12 or 13, characterized in that The first user interface further includes a sixth control, and the method further includes: The electronic device displays a second user interface in response to a sixth operation instruction of the user on the sixth control, where the second user interface includes at least one text box and a seventh control, where the at least one text box is used to display the user's personal information; The electronic device saves the personal information of the user displayed in the at least one text box in response to the seventh operation instruction for the seventh control.
15. An electronic device, characterized in that: The electronic device includes: one or more processors, a memory and a display screen; The memory is coupled to the one or more processors, and the memory is used to store computer program code, where the computer program code includes computer instructions. The one or more processors call the computer instructions to enable the electronic device to execute the method according to any one of claims 1 to 5 or the method according to any one of claims 6 to 9.
16. A chip system, applied to an electronic device, comprising one or more processors, wherein the processors are configured to call computer instructions so that the electronic device executes the method according to any one of claims 1 to 5 or the method according to any one of claims 6 to 9.
17. A computer program product comprising instructions, characterized in that When the computer program product is run on an electronic device, the electronic device is enabled to perform the method according to any one of claims 1 to 5 or the method according to any one of claims 6 to 9.
18. A computer-readable storage medium comprising instructions, characterized in that: When the instruction is executed on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 5 or the method according to any one of claims 6 to 9.
Citation Information
Patent Citations
Communication method and device
CN101790145A
Method and apparatus for receiving tone signal in synchronous wireless distributed communicaton system
US20200413398A1
Cited By
Communication method, communication system, and electronic device
EP4387292B1