CN117376459A - Emergency information transmission method, electronic device and storage medium - Google Patents

Emergency information transmission method, electronic device and storage medium Download PDF

Info

Publication number
CN117376459A
CN117376459A CN202311347390.5A CN202311347390A CN117376459A CN 117376459 A CN117376459 A CN 117376459A CN 202311347390 A CN202311347390 A CN 202311347390A CN 117376459 A CN117376459 A CN 117376459A
Authority
CN
China
Prior art keywords
state change
information
electronic device
change information
folding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311347390.5A
Other languages
Chinese (zh)
Inventor
林曦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Douku Software Technology Co Ltd
Original Assignee
Hangzhou Douku Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Douku Software Technology Co Ltd filed Critical Hangzhou Douku Software Technology Co Ltd
Priority to CN202311347390.5A priority Critical patent/CN117376459A/en
Publication of CN117376459A publication Critical patent/CN117376459A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0241Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call
    • H04M1/0245Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call using open/close detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • H04M1/0216Foldable in one direction, i.e. using a one degree of freedom hinge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72418User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services
    • H04M1/72424User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services with manual activation of emergency-service functions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • Alarm Systems (AREA)

Abstract

The application discloses a sending method of emergency information, electronic equipment and a storage medium, and relates to the technical field of electronic equipment. The method is applied to the folding electronic equipment, and comprises the following steps: under the condition that an emergency information sending function of the folding electronic equipment is started, opening and closing operation acting on the folding electronic equipment is detected, state change information corresponding to the folding electronic equipment in a first preset time length based on the opening and closing operation is obtained, and if the state change information meets preset state change information, emergency information is sent. According to the method and the device, the emergency information is sent through the opening and closing operation acting on the folding electronic equipment, so that the emergency information can be sent under the condition of abnormal screen, and the success rate of sending the emergency information is improved.

Description

Emergency information transmission method, electronic device and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a method for sending emergency information, an electronic device, and a storage medium.
Background
With the development of science and technology, electronic devices are increasingly widely used, and have more and more functions, and become one of the necessities in daily life. At present, the electronic equipment can be used for sending the emergency information, however, the main emergency information sending scheme is to use an emergency call service to send the emergency information when a power key is pressed for a long time and a shutdown interface is entered, and the emergency information sending mode is complex in operation and low in sending success rate.
Disclosure of Invention
In view of the above, the present application proposes a method for transmitting emergency information, an electronic device, and a storage medium to solve the above problems.
In a first aspect, an embodiment of the present application provides a method for sending emergency information, which is applied to a foldable electronic device, where the method includes: detecting an opening and closing operation acting on the folding electronic device in the case that an emergency information transmission function of the folding electronic device is turned on; acquiring state change information corresponding to the folding electronic equipment in a first preset duration based on the opening and closing operation; and if the state change information meets the preset state change information, sending emergency information.
In a second aspect, an embodiment of the present application provides a sending device of emergency information, applied to a foldable electronic device, where the device includes: the folding operation detection module is used for detecting the folding operation acted on the folding electronic equipment when the emergency information sending function of the folding electronic equipment is started; the state change information acquisition module is used for acquiring state change information corresponding to the folding electronic equipment in a first preset duration based on the opening and closing operation; and the emergency information sending module is used for sending emergency information if the state change information meets the preset state change information.
In a third aspect, embodiments of the present application provide an electronic device comprising a memory coupled to a processor and a processor, the memory storing instructions that when executed by the processor perform the above-described method.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having program code stored therein, the program code being callable by a processor to perform the above method.
According to the emergency information sending method, the electronic equipment and the storage medium, when the emergency information sending function of the folding electronic equipment is started, the opening and closing operation acting on the folding electronic equipment is detected, the state change information corresponding to the folding electronic equipment in a first preset duration based on the opening and closing operation is obtained, if the state change information meets the preset state change information, the emergency information is sent, so that the emergency information sending is triggered through the opening and closing operation acting on the folding electronic equipment, the emergency information sending can be achieved under the condition of abnormal screen, and the emergency information sending success rate is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of an electronic device in a folded state according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device in an unfolded state according to an embodiment of the present application;
fig. 3 is a flow chart illustrating a method for sending emergency information according to an embodiment of the present application;
fig. 4 is a flow chart illustrating a method for sending emergency information according to an embodiment of the present application;
fig. 5 is a flow chart illustrating a method for sending emergency information according to an embodiment of the present application;
fig. 6 is a flow chart illustrating a method for sending emergency information according to an embodiment of the present application;
fig. 7 is a flow chart illustrating a method for sending emergency information according to an embodiment of the present application;
fig. 8 is a flow chart illustrating a method for sending emergency information according to an embodiment of the present application;
Fig. 9 shows a block diagram of an emergency information transmitting apparatus according to an embodiment of the present application.
Fig. 10 shows a block diagram of an electronic device for performing a method for transmitting emergency information according to an embodiment of the present application;
fig. 11 illustrates a storage unit for storing or carrying program codes for implementing a transmission method of emergency information according to an embodiment of the present application.
Detailed Description
In order to enable those skilled in the art to better understand the present application, the following description will make clear and complete descriptions of the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application.
Currently, the mainstream emergency information sending scheme is to send emergency information (such as SOS dialing) by using an emergency call service when a power key is pressed for a long time and a shutdown interface is entered. When a call is placed through the SOS, a local emergency number is automatically dialed and location information is shared with the emergency services organization. In certain countries and regions it may be desirable to select the desired service, for example police, fire or ambulance. If SOS is displayed in the status bar of the electronic device, this means that an emergency call can be placed over the cellular network.
In addition, emergency contacts may be added. Then, after the emergency call is ended, the emergency contact can be notified by a short message, and unless cancellation is selected, the current position information is sent to the emergency contact, and after the SOS mode is entered, updated information is sent to the emergency contact according to the change of the position.
Currently, the transmission mode of emergency information adopted by the main-stream folding electronic equipment on the market is the same as that adopted by the straight-board type electronic equipment. However, the screen of the folder-type electronic device is more easily damaged, and emergency information is easily not transmitted.
In order to solve the problems, the inventor discovers and proposes the method for sending the emergency information, the electronic device and the storage medium provided by the embodiment of the application through long-term research, and the sending of the emergency information is triggered through the opening and closing operation acting on the folding electronic device, so that the sending of the emergency information can be realized under the condition of abnormal screen, and the sending success rate of the emergency information is improved. The specific method for transmitting the emergency information is described in detail in the following embodiments.
An application environment applicable to the transmission method of emergency information provided in the embodiment of the present application will be described below.
Referring to fig. 1, an electronic device 100 may be, but is not limited to, an electronic device such as a mobile phone, a tablet computer, a game console, a smart wearable device, a vehicle-mounted device, etc. The electronic device 100 of the present embodiment will be described by taking a mobile phone as an example.
The electronic device 100 includes a foldable housing assembly 110, a foldable display screen 120, and an electronic assembly (not shown) disposed within the foldable housing assembly 110, the foldable display screen 120 being disposed on the foldable housing assembly 110. The foldable housing assembly 110 is used to carry the foldable display screen 120 while protecting the electronic components. The electronic components may include, but are not limited to, a central processing unit, a memory, a camera, a receiver, a fingerprint module, etc., and the specific electronic components may not be limited in the embodiments of the present application.
The foldable housing assembly 110 includes a first housing 111, a second housing 112, and a rotating shaft 113, and the first housing 111 and the second housing 112 are respectively connected to two sides of the rotating shaft 113. The second casing 112 can be folded or unfolded relative to the first casing 111 through the rotating shaft 113, so that the foldable casing assembly 110 drives the foldable display screen 120 to fold or unfold, when the foldable casing assembly 110 and the foldable display screen 120 are in a folded shape, the volume of the electronic device 100 is relatively small, the electronic device is convenient to store and carry, and when the foldable casing assembly 110 and the foldable display screen 120 are in an unfolded shape, the volume of the electronic device 100 is relatively large, and the information is convenient to display.
Referring to fig. 2, in the present embodiment, the folding display screen 120 includes a first display portion 121 connected to the first housing 111, a second display portion 122 connected to the second housing 112, and a bending display portion 123 connected to the first display portion 121 and the second display portion 122. The first display portion 121, the second display portion 122, and the bending display portion 123 may be formed in a plurality of display regions (e.g., two display regions, three display regions, four display regions … …, and N display regions). The first display part 121 and the second display part 122 are folded or unfolded relatively with the first case 111 and the second case 112, respectively. The bending display part 123 is bent or flattened according to the folding or unfolding of the first display part 121 and the second display part 122. In some embodiments, the first display portion 121, the second display portion 122, and the bending display portion 123 may be integrally configured, so that the folding display screen 120 is a one-piece folding display screen; alternatively, in other embodiments, the bending display part 123 is a bendable flexible part, and the first display part 121 and the second display part 122 may be inflexible parts, and the first display part 121 and the second display part 122 are relatively folded or unfolded by the bending display part 123. In the present embodiment, when the first casing 111 and the second casing 112 are in a stacked state, the first display portion 121 and the second display portion 122 are away from each other, so that the electronic device 100 is in an outward folded screen structure, and a user can observe the display content of the folded display screen 120 even when the electronic device is folded, thereby improving the convenience of use of the electronic device 100. In other embodiments, when the first housing 111 and the second housing 112 are stacked, the first display portion 121 and the second display portion 122 are close to each other, so that the electronic device 100 is in an inward folded screen structure, and the folded display screen 120 is protected from scratch damage.
It should be understood that the designations of the first display portion 121, the second display portion 122 and the bending display portion 123 are provided only for convenience of description, and are not limiting as to the structure of the folding display screen 120, and in an actual application scenario, the first display portion 121, the second display portion 122 and the bending display portion 123 may have no obvious limitation, or the folding display screen 120 may appear in other divided structures, for example, the folding display screen 120 includes the first display portion 121 and the second display portion 122 connected to the first display portion 121, and the first display portion 121 and the second display portion 122 can relatively rotate to fold or unfold.
Referring to fig. 3, fig. 3 is a flowchart illustrating a method for sending emergency information according to an embodiment of the present application. The method is used for triggering the transmission of the emergency information through the opening and closing operation acting on the folding electronic equipment, so that the transmission of the emergency information can be realized under the condition of abnormal screen, and the transmission success rate of the emergency information is improved. In a specific embodiment, the transmission method of emergency information is applied to the transmission apparatus 200 of emergency information as shown in fig. 9 and the foldable electronic device 100 (fig. 10) provided with the transmission apparatus 200 of emergency information. The specific flow of the embodiment will be described below by taking a foldable electronic device as an example, and it will be understood that, of course, the electronic device applied in the embodiment may include a smart phone, a tablet computer, a wearable electronic device, and the like, which is not limited herein. The following details about the procedure shown in fig. 3 will be described, and the method for sending emergency information may specifically include the following steps:
Step S110: and detecting opening and closing operations acting on the folding electronic equipment when the emergency information sending function of the folding electronic equipment is started.
Alternatively, the foldable electronic device may be provided with an emergency information transmission function, that is, emergency information may be transmitted (e.g., SOS dialing) through the emergency information transmission function of the foldable electronic device. In this embodiment, the emergency information sending function of the foldable electronic device may be selectively turned on or off through user setting.
In some embodiments, in a case where the emergency information transmission function of the foldable electronic device is turned on, it is characterized that the foldable electronic device currently supports transmission of the emergency information, and detection of whether the emergency information is transmitted, that is, detection of an opening and closing operation acting on the foldable electronic device, may be performed. In the case where the emergency information transmission function of the foldable electronic device is turned off, it is characterized that the foldable electronic device does not currently support transmission of the emergency information, and it may be possible to detect whether or not the emergency information is transmitted, that is, not to transmit the emergency information by default.
Optionally, the opening and closing operation applied to the foldable electronic device may include: a folding operation acting on the foldable electronic device and an unfolding operation acting on the foldable electronic device, wherein the folding operation acting on the foldable electronic device may cause the foldable electronic device to fold to a certain extent (e.g., fold partially or fully); the folding operation applied to the foldable electronic device may cause the foldable electronic device to be unfolded to a certain extent (e.g., to be unfolded partially or completely), etc., which is not limited herein.
As one implementation, a foldable electronic device may include a target functionality control, where the target functionality control is configured to control turning on or off an emergency information sending function. Based on the above, the state of the target function control can be detected, if the state of the target function control is the first state, the emergency sending function of the foldable electronic device can be determined to be started, and if the state of the target function control is the second state, the emergency sending function of the foldable electronic device can be determined to be closed.
As an embodiment, the foldable electronic device may include an angle sensor, by which an opening and closing operation acting on the foldable electronic device may be detected; the folder type electronic device may include a hall sensor, and an opening and closing operation acting on the folder type electronic device may be detected by the hall sensor. In the case of detecting an opening and closing operation of the folding electronic device by using a hall sensor, when an electric current passes through the semiconductor perpendicular to an external magnetic field, carriers are deflected, an additional electric field is generated perpendicular to the directions of the electric current and the magnetic field, so that a potential difference is generated at two ends of the semiconductor, the phenomenon is a hall effect, the potential difference is also called a hall potential difference, and when the electric current is fixed and the magnet is moved, the relative displacement between the magnet and the semiconductor can be detected by detecting the hall potential difference, so that the distance or the angle can be detected.
In some embodiments, in the case where the emergency information transmission function of the folder type electronic device is turned on, the opening and closing operation acting on the folder type electronic device may be detected in a fixed time polling manner.
In some embodiments, when the emergency information transmission function of the foldable electronic device is turned on, a state in which the foldable electronic device is located may be determined, and when the state in which the electronic device is located satisfies a preset state, an opening and closing operation acting on the foldable electronic device is detected. Optionally, the preset state is a motion state, that is, in a case where it is determined that the state in which the folding electronic device is located is a motion state, an opening and closing operation acting on the folding electronic device is detected; in the case where it is determined that the state in which the folding electronic apparatus is in the non-moving state (stationary state), the opening and closing operation acting on the folding electronic apparatus is not detected.
Step S120: and acquiring state change information corresponding to the folding electronic equipment in a first preset duration based on the opening and closing operation.
In this embodiment, when the opening and closing operation acting on the foldable electronic device is detected, state change information corresponding to the foldable electronic device in a first preset time period based on the opening and closing operation may be acquired.
In some embodiments, obtaining the state change information corresponding to the folding electronic device in the first preset duration based on the opening and closing operation may include: and acquiring the corresponding state change times of the folding electronic equipment in a first preset time based on the opening and closing operation.
In some embodiments, obtaining the state change information corresponding to the folding electronic device in the first preset duration based on the opening and closing operation may include: and acquiring the corresponding state change frequency of the folding electronic equipment in a first preset time based on the opening and closing operation.
As an implementation manner, the foldable electronic device may include a hall sensor, and the state change information corresponding to the foldable electronic device in a first preset time period based on the opening and closing operation may be acquired through the hall sensor.
Optionally, the first preset duration may be preset in factory setting and applied in a fixed manner in a use stage, or the first preset duration may be dynamically set and updated according to requirements in the use stage, which is not limited herein.
Step S130: and if the state change information meets the preset state change information, sending emergency information.
In some embodiments, the foldable electronic device may preset and store preset state change information, where the preset state change information is used as a criterion for determining state change information corresponding to the foldable electronic device in a first preset duration based on the opening and closing operation. Therefore, in the present embodiment, in the case of obtaining the state change information, the state change information may be compared with the preset state change information to determine whether the state change information satisfies the preset state change information.
If the state change information meets the preset state change information, it can be determined that the foldable electronic device meets the condition of sending the emergency information, that is, the user expects to trigger sending of the emergency information through opening and closing operation acting on the foldable electronic device, and the emergency information can be sent as a response.
If the state change information does not meet the preset state change information, it may be determined that the foldable electronic device does not meet the condition for sending the emergency information, that is, the user expects to trigger other events through the opening and closing operation acting on the foldable electronic device or the user performs the misoperation, and the emergency information may not be sent.
As an implementation manner, if the state change information meets the preset state change information, the foldable electronic device may also alarm. For example, the folding electronic device may sound an alarm.
As one implementation, after transmitting the emergency information, the foldable electronic device may also cancel transmission of subsequent emergency information in response to a cancel operation acting on the foldable electronic device.
According to the emergency information sending method provided by the embodiment of the application, under the condition that the emergency information sending function of the folding electronic equipment is started, the opening and closing operation acting on the folding electronic equipment is detected, the state change information corresponding to the folding electronic equipment in a first preset duration based on the opening and closing operation is obtained, and if the state change information meets the preset state change information, the emergency information is sent, so that the emergency information sending is triggered through the opening and closing operation acting on the folding electronic equipment, the emergency information sending can be realized under the condition that a screen is abnormal, and the emergency information sending success rate is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a method for sending emergency information according to an embodiment of the present application. The method is applied to the foldable electronic device, and will be described in detail with respect to the flow shown in fig. 4, and the method for sending the emergency information specifically includes the following steps:
step S210: and detecting opening and closing operations acting on the folding electronic equipment when the emergency information sending function of the folding electronic equipment is started.
Step S220: and acquiring state change information corresponding to the folding electronic equipment in a first preset duration based on the opening and closing operation.
The specific description of step S210 to step S220 refers to step S110 to step S120, and will not be repeated here.
Step S230: and determining the number of times of corresponding opening and closing state change of the folding electronic equipment within the first preset duration based on the state change information, wherein the opening and closing state change represents that the folding electronic equipment is changed from a folded state to an unfolded state or from the unfolded state to the folded state.
In this embodiment, when state change information corresponding to the folding electronic device in the first preset duration based on the opening and closing operation is obtained, the number of times of opening and closing state change corresponding to the folding electronic device in the first preset duration may be determined based on the state change information. Optionally, the open-close state change characterizes a change from being in a folded state to being in an unfolded state or from being in an unfolded state to being in a folded state of the foldable electronic device.
As an example, if it is determined that the foldable electronic device changes from being in an unfolded state (e.g., angle greater than 180-n) to being in a folded state (e.g., angle less than n) based on the state change information, it may be determined that the one-time open-close state change is completed; alternatively, if it is determined that the foldable electronic device is changed from the fully folded state to the fully unfolded state based on the state change information, it may be determined that the one-time opening/closing state change is completed.
As an implementation manner, the foldable electronic device may be provided with a counter, and accordingly, the number of times of the corresponding opening and closing state change may be accumulated by the counter within the first preset period.
Step S240: and if the number of times of the opening and closing state change reaches a first time threshold value, determining that the state change information meets the preset state change information.
In some embodiments, the foldable electronic device may preset and store a first time threshold, where the first time threshold is used as a basis for determining the number of times of the opening and closing state change. Therefore, in the present embodiment, when the number of times of the opening-closing state change is obtained, the number of times of the opening-closing state change may be compared with the first time threshold to determine whether the number of times of the opening-closing state change reaches the first time threshold.
If the number of times of the opening and closing state change reaches the first time threshold, the state change information can be determined to meet the preset state change information; if the number of times of the opening and closing state change is not up to the first time threshold, the state change information can be determined to not meet the preset state change information.
Alternatively, the first time threshold may be preset at factory setting and applied fixedly during the use period, or the first time threshold may be dynamically set and updated according to the requirement during the use period, which is not limited herein.
Step S250: and if the state change information meets the preset state change information, sending emergency information.
The specific description of step S250 is referred to step S130, and will not be repeated here.
Compared with the embodiment shown in fig. 3, the method for sending emergency information provided in the embodiment of the present application further sends the emergency information when the number of times of the corresponding opening and closing state change of the foldable electronic device in the first preset duration reaches the first time threshold, thereby improving the sending accuracy of the emergency information.
Referring to fig. 5, fig. 5 is a flowchart illustrating a method for sending emergency information according to an embodiment of the present application. The method is applied to the foldable electronic device, and will be described in detail with respect to the flow shown in fig. 5, and the method for sending the emergency information specifically includes the following steps:
Step S310: and detecting opening and closing operations acting on the folding electronic equipment when the emergency information sending function of the folding electronic equipment is started.
Step S320: and acquiring state change information corresponding to the folding electronic equipment in a first preset duration based on the opening and closing operation.
The specific description of step S310 to step S320 refer to step S110 to step S120, and are not described herein.
Step S330: and determining the times of corresponding folding state changes of the folding electronic equipment within the first preset duration based on the state change information, wherein the folding state changes represent that the folding electronic equipment is changed from being at a first folding angle to being at a second folding angle or from being at the second folding angle to being at the first folding angle.
In this embodiment, when state change information corresponding to the folding electronic device in the first preset duration based on the opening and closing operation is obtained, the number of times of corresponding folding state change of the folding electronic device in the first preset duration may be determined based on the state change information, and optionally, the folding state change characterizes that the folding electronic device is changed from being at the first folding angle to being at the second folding angle, or from being at the second folding angle to being at the first folding angle.
As one example, if it is determined that the foldable electronic device is changed from being at a first folding angle (e.g., 45 °) to being at a second folding angle (e.g., 135 °) based on the state change information, it may be determined that the one-fold state change is completed; alternatively, if it is determined that the foldable electronic device is changed from being at the second folding angle to being at the first folding angle based on the state change information, it may be determined that the one-time folding state change is completed.
As an implementation manner, the foldable electronic device may be provided with a counter, and accordingly, the number of times of the corresponding folding state change may be accumulated by the counter within the first preset period.
In some embodiments, the foldable electronic device may include a rotating shaft, where a first identifier may be added at a position of the rotating shaft corresponding to the first folding angle of the foldable electronic device, and a second identifier may be added at a position of the rotating shaft corresponding to the second folding angle of the foldable electronic device, based on which, angle change for assisting a user in preparation may be implemented, so as to avoid false triggering. Alternatively, the first indicia may comprise score lines having a first color and the second indicia may comprise score lines having a second color.
Step S340: and if the number of times of the folding state change reaches a second time threshold, determining that the state change information meets the preset state change information.
In some embodiments, the folding electronic device may preset and store a second number of times threshold, where the second number of times threshold is used as a basis for determining the number of times the folding state changes. Therefore, in the present embodiment, in the case where the number of times of folding state change is obtained, the number of times of folding state change may be compared with the second number-of-times threshold to determine whether the number of times of folding state change reaches the second number-of-times threshold.
If the number of times of the folding state change reaches the second number threshold, the state change information can be determined to meet the preset state change information; if the number of times of the folding state change is not up to the second number of times threshold, it can be determined that the state change information does not meet the preset state change information.
Alternatively, the second time threshold may be preset at factory setting and applied fixedly during the use period, or the second time threshold may be dynamically set and updated according to the requirement during the use period, which is not limited herein.
Step S350: and if the state change information meets the preset state change information, sending emergency information.
The specific description of step S350 is referred to step S130, and will not be repeated here.
Compared with the embodiment shown in fig. 3, the method for sending emergency information provided in the embodiment of the present application further sends the emergency information when the number of times of the corresponding folding state change of the folding electronic device in the first preset duration reaches the second time threshold, thereby improving the sending accuracy of the emergency information.
Referring to fig. 6, fig. 6 is a flowchart illustrating a method for sending emergency information according to an embodiment of the present application. The method is applied to the foldable electronic device, and will be described in detail with respect to the flow shown in fig. 6, in this embodiment, the first preset duration is composed of a first time period, a second time period, and a third time period, and the method for sending the emergency information specifically may include the following steps:
step S410: and detecting opening and closing operations acting on the folding electronic equipment when the emergency information sending function of the folding electronic equipment is started.
Step S420: and acquiring state change information corresponding to the folding electronic equipment in a first preset duration based on the opening and closing operation.
The specific description of step S410 to step S420 refer to step S110 to step S120, and are not described herein.
Step S430: and if the number of times of state change corresponding to the first time period of the folding electronic equipment reaches a third number of times threshold, the state is kept unchanged in the second time period, and the number of times of state change corresponding to the third time period reaches a fourth number of times threshold based on the state change information, determining that the state change information meets the preset state change information.
Alternatively, the first preset time period may be composed of a first time period, a second time period, and a third time period. For example, assuming that the first preset time period is 8 to 11 seconds, the first time period may be the first 3 seconds, the second time period may be the middle 2 to 5 seconds, and the third time period may be the last 3 seconds.
In this embodiment, when state change information corresponding to the foldable electronic device in the first preset duration based on the opening and closing operation is obtained, the number of times of state change corresponding to the foldable electronic device in the first time period, the second time period, and the third time period may be determined based on the state change information. If it is determined that the number of times of state change of the foldable electronic device corresponding to the first time period reaches a third number of times threshold, the state of the foldable electronic device is kept unchanged in the second time period, and the number of times of state change corresponding to the third time period reaches a fourth number of times threshold, it may be determined that the state change information satisfies preset state change information.
As an implementation manner, if it is determined that the number of times of the corresponding opening and closing state change of the foldable electronic device in the first period reaches the third number of times threshold, the state is kept unchanged in the second period, and the number of times of the corresponding opening and closing state change in the third period reaches the fourth number of times threshold, it may be determined that the state change information satisfies the preset state change information. For example, if it is determined that the foldable electronic device is opened and closed 3 times within 3 seconds, then is paused for 2-5 seconds to keep the state unchanged, and is opened and closed 3 times within 3 seconds, it may be determined that the state change information satisfies the preset state change information.
As still another implementation manner, if it is determined that the number of times the folding electronic device changes corresponding to the folding state in the first period reaches the third number of times threshold, the state is kept unchanged in the second period, and the number of times the folding state changes corresponding to the third period reaches the fourth number of times threshold, it may be determined that the state change information satisfies the preset state change information. For example, if it is determined that the folding angle of the folding electronic device is changed 3 times within 3 seconds, then the state is kept unchanged by pausing for 2 to 5 seconds, and then the folding angle is changed 3 times within 3 seconds, it may be determined that the state change information satisfies the preset state change information.
Step S440: and if the state change information meets the preset state change information, sending emergency information.
The specific description of step S440 refers to step S130, and is not repeated here.
Compared with the embodiment shown in fig. 3, the method for sending emergency information according to the embodiment of the present invention further sends the emergency information when the number of times of the state change corresponding to the first time period of the foldable electronic device reaches the third time threshold, the state is kept unchanged in the second time period, and the number of times of the state change corresponding to the third time period reaches the fourth time threshold, thereby improving the sending accuracy of the emergency information.
Referring to fig. 7, fig. 7 is a flowchart illustrating a method for sending emergency information according to an embodiment of the present application. The method is applied to the foldable electronic device, and will be described in detail with respect to the flow shown in fig. 7, and the method for sending the emergency information specifically includes the following steps:
step S510: and detecting opening and closing operations acting on the folding electronic equipment when the emergency information sending function of the folding electronic equipment is started.
Step S520: and acquiring state change information corresponding to the folding electronic equipment in a first preset duration based on the opening and closing operation.
The specific description of step S510 to step S520 refers to step S110 to step S120, and is not repeated here.
Step S530: and if the state change information meets the preset state change information, determining the state information corresponding to the folding electronic equipment, wherein the state information comprises a starting state or a closing state.
In this embodiment, if the state change information satisfies the preset state change information, it may be determined that the foldable electronic device satisfies a condition for transmitting emergency information, and at this time, the state information corresponding to the foldable electronic device may be determined, so that the emergency information is transmitted according to the state information corresponding to the foldable electronic device. Optionally, the state information may include an on state or an off state, and it is understood that, when the foldable electronic device is in the on state, the touch screen of the foldable electronic device may be used to display information, and when the foldable electronic device is in the off state, the touch screen of the foldable electronic device cannot be used to display information.
In some embodiments, the first state value may correspond to a case where the foldable electronic device is in an on state, and the second state value may correspond to a case where the foldable electronic device is in an off state. Based on the above, if the state change information satisfies the preset state change information, it may be determined whether the state value corresponding to the foldable electronic device is a first state value or a second state value, where if it is determined that the state value corresponding to the foldable electronic device is the first state value, it may be determined that the foldable electronic device is in the on state, and if it is determined that the state value corresponding to the foldable electronic device is the second state value, it may be determined that the foldable electronic device is in the off state.
Step S540: and if the foldable electronic equipment is in the shutdown state based on the state information, sending the emergency information.
In this embodiment, if it is determined that the foldable electronic device is in the off state based on the state information, it may be determined that the touch screen of the foldable electronic device cannot display information, and based on this, emergency information may be directly sent.
In some embodiments, if it is determined that the foldable electronic device is in the power-off state based on the state information, the radio frequency module corresponding to the foldable electronic device may be awakened to send the emergency information through the radio frequency module, so that the sending of the emergency information may be realized with lower power consumption by waking up a part of modules of the foldable electronic device.
In some embodiments, if it is determined that the foldable electronic device is in the power-off state based on the state information, the radio frequency module and the audio module corresponding to the foldable electronic device may be awakened to send the emergency information through the radio frequency module, and the audio module sounds an alarm, so that by means of awakening part of the modules of the foldable electronic device, the sending and the alarm of the emergency information can be realized with lower power consumption.
Step S550: and if the foldable electronic equipment is in the starting-up state based on the state information, displaying a first target window, wherein the first target window is used for prompting whether emergency information is sent or not.
In this embodiment, if it is determined that the foldable electronic device is in the on state based on the state information, it may be determined that the touch screen of the foldable electronic device may display information, and based on this, a first target window for prompting selection of whether to send emergency information may be displayed. Optionally, the first target window may include text information of "whether emergency assistance is needed.
In some implementations, the first target window can occupy all of the touch screen of the foldable electronic device, or the first target window can occupy a portion of the touch screen of the foldable electronic device; the first target window may be displayed in a popup window manner, may be displayed in a page skip manner, and the like, and is not limited herein.
In some embodiments, the foldable electronic device may sound an alarm while displaying the first target window.
Step S560: and if the touch operation for the first target window is not detected within the second preset time period, sending the emergency information.
In some embodiments, the touch operation for the first target window may be continuously detected within a second preset time period for displaying the first target window. Optionally, if the touch operation for the first target window is not detected within the second preset time period, emergency information may be sent. Alternatively, if the first touch operation (cancel operation) for the first target window is detected within the second preset time period, the transmission of the urgent information may be canceled. Alternatively, if a second touch operation (confirmation operation) for the first target window is detected within a second preset time period, emergency information may be transmitted.
As an implementation manner, the foldable electronic device may continuously sound an alarm within the second preset time period.
Compared with the embodiment shown in fig. 3, the method for sending emergency information provided in the embodiment of the present invention also directly sends the emergency information when the foldable electronic device is in the off state, or displays the first target window when the foldable electronic device is in the on state, and sends the emergency information when the touch operation on the first target window is not detected within the second preset time period, so that the method can adapt to the multi-scenario application of sending the emergency information, and improve the use experience of the user.
Referring to fig. 8, fig. 8 is a flowchart illustrating a method for sending emergency information according to an embodiment of the present application. The method is applied to the foldable electronic device, and will be described in detail with respect to the flow shown in fig. 8, and the method for sending the emergency information specifically includes the following steps:
step S610: and detecting opening and closing operations acting on the folding electronic equipment when the emergency information sending function of the folding electronic equipment is started.
Step S620: and acquiring state change information corresponding to the folding electronic equipment in a first preset duration based on the opening and closing operation.
The specific description of step S610 to step S620 refer to step S110 to step S120, and are not repeated here.
Step S630: and if the state change information meets the preset state change information, determining the residual electric quantity corresponding to the folding electronic equipment.
In this embodiment, if the state change information satisfies the preset state change information, it may be determined that the foldable electronic device satisfies a condition for transmitting emergency information, and at this time, the remaining power corresponding to the foldable electronic device may be determined, so as to transmit the emergency information according to the remaining power corresponding to the foldable electronic device.
In some embodiments, the electronic device may be preset with power monitoring software, and the remaining power corresponding to the foldable electronic device may be determined based on the power monitoring software.
In some embodiments, the foldable electronic device may preset and store an electric quantity threshold, where the electric quantity threshold is used as a basis for determining a remaining electric quantity corresponding to the foldable electronic device. Therefore, in the present embodiment, in the case where the remaining power is obtained, the remaining power may be compared with the power threshold to determine whether the remaining power is lower than the power threshold. If the remaining power is determined to be lower than the power threshold, it may be determined that the foldable electronic device does not have enough power support for information display, and if the remaining power is determined to be equal to or higher than the power threshold, it may be determined that the foldable electronic device has enough power support for information display.
Step S640: and if the residual electric quantity is lower than an electric quantity threshold value, sending the emergency information.
In this embodiment, if it is determined that the remaining power is lower than the power threshold, it may be determined that the foldable electronic device does not have enough power to display information, and based on this, emergency information may be directly sent.
Step S650: and if the residual electric quantity is equal to or higher than an electric quantity threshold value, displaying a second target window, wherein the second target window is used for prompting whether to select whether to send emergency information or not.
In this embodiment, if the remaining power is equal to or higher than the power threshold, it may be determined that the power of the foldable electronic device is sufficient to support display of information, and based on this, a second target window for prompting selection of whether to transmit emergency information may be displayed. Optionally, the second target window may include text information of "whether emergency assistance is needed.
In some implementations, the second target window can occupy all of the touch screen of the foldable electronic device, or the second target window can occupy a portion of the touch screen of the foldable electronic device; the second target window may be displayed in a popup window manner, may be displayed in a page skip manner, and the like, and is not limited herein.
In some implementations, the foldable electronic device may also sound an alarm while displaying the second target window.
Step S660: and if the touch operation for the second target window is not detected within a third preset time period, sending the emergency information.
In some embodiments, the touch operation for the second target window may be continuously detected within a third preset time period for displaying the second target window. Optionally, if the touch operation for the second target window is not detected within the third preset time period, emergency information may be sent. Alternatively, if the first touch operation (cancel operation) for the second target window is detected within the third preset time period, the transmission of the urgent information may be canceled. Alternatively, if a second touch operation (confirmation operation) for the second target window is detected within a third preset time period, emergency information may be transmitted.
As an implementation manner, the foldable electronic device may continuously sound an alarm within the third preset time period.
Compared with the embodiment shown in fig. 3, the method for sending emergency information provided in the embodiment of the present invention further directly sends the emergency information when the remaining power corresponding to the foldable electronic device is lower than the power threshold, or displays the second target window when the remaining power of the foldable electronic device is equal to or higher than the power threshold, and sends the emergency information when the touch operation on the second target window is not detected within the third preset duration, so that the method can adapt to multi-scenario application of sending the emergency information, and improve the user experience of the user.
Referring to fig. 9, fig. 9 is a block diagram illustrating a transmission apparatus of emergency information according to an embodiment of the present application. The emergency information transmission apparatus 200 is applied to the above-described foldable electronic device, and will be described below with respect to a block diagram shown in fig. 9, and the emergency information transmission apparatus 200 includes: the opening and closing operation detection module 210, the status change information acquisition module 220, and the emergency information transmission module 230, wherein:
and an opening and closing operation detection module 210, configured to detect an opening and closing operation acting on the foldable electronic device when the emergency information transmission function of the foldable electronic device is turned on.
The state change information obtaining module 220 is configured to obtain state change information corresponding to the foldable electronic device in a first preset duration based on the opening and closing operation.
Further, the foldable electronic device includes a hall sensor, and the state change information obtaining module 230 includes: a state change information acquisition sub-module, wherein:
the state change information acquisition sub-module is used for acquiring state change information corresponding to the folding electronic equipment in the first preset duration based on the opening and closing operation through the Hall sensor.
The emergency information sending module 230 is configured to send emergency information if the state change information meets the preset state change information.
Further, the emergency information transmitting module 230 includes: a status information determination sub-module and a first emergency information transmission sub-module, wherein:
and the state information determining submodule is used for determining state information corresponding to the folding electronic equipment if the state change information meets preset state change information, wherein the state information comprises a starting state or a closing state.
And the first emergency information sending sub-module is used for sending the emergency information if the foldable electronic equipment is determined to be in the power-off state based on the state information.
Further, the emergency information transmitting module 230 further includes: the system comprises a first target window display sub-module and a second emergency information sending sub-module, wherein:
and the first target window display sub-module is used for displaying a first target window if the foldable electronic equipment is determined to be in the starting-up state based on the state information, wherein the first target window is used for prompting whether emergency information is sent or not.
And the second emergency information sending sub-module is used for sending the emergency information if the touch operation for the first target window is not detected within a second preset time period.
Further, the emergency information transmitting module 230 includes: a remaining power determination sub-module and a third emergency information transmission sub-module, wherein:
and the residual electric quantity determining sub-module is used for determining the residual electric quantity corresponding to the folding electronic equipment if the state change information meets the preset state change information.
And the third emergency information sending sub-module is used for sending the emergency information if the residual electric quantity is lower than an electric quantity threshold value.
Further, the emergency information transmitting module 230 further includes: the system comprises a second target window display sub-module and a fourth emergency information sending sub-module, wherein:
the second target window display sub-module is used for displaying a second target window if the residual electric quantity is equal to or higher than an electric quantity threshold value, wherein the second target window is used for prompting whether emergency information is sent or not;
and the fourth emergency information sending sub-module is used for sending the emergency information if the touch operation for the second target window is not detected within the third preset time.
Further, the emergency information transmitting apparatus 200 further includes: a first number of times determination module and a first change determination module, wherein:
The first time number determining module is used for determining the number of times of corresponding opening and closing state change of the folding electronic equipment within the first preset time length based on the state change information, wherein the opening and closing state change represents that the folding electronic equipment is changed from a folded state to an unfolded state or from the unfolded state to the folded state.
And the first change determining module is used for determining that the state change information meets the preset state change information if the number of times of the opening and closing state change reaches a first time threshold value.
Further, the emergency information transmitting apparatus 200 further includes: a second number of times determination module and a second change determination module, wherein:
and the second time determining module is used for determining the times of corresponding folding state changes of the folding electronic equipment within the first preset time based on the state change information, wherein the folding state changes represent that the folding electronic equipment is changed from being at a first folding angle to being at a second folding angle or from being at the second folding angle to being at the first folding angle.
And the second change determining module is used for determining that the state change information meets the preset state change information if the number of times of the folding state change reaches a second number threshold.
Further, the first preset duration is composed of a first time period, a second time period, and a third time period, and the sending device 200 of emergency information further includes: a third state determination module, wherein:
and the third state determining module is used for determining that the state change information meets the preset state change information if the state change information determines that the number of times of state change of the foldable electronic device corresponding to the first time period reaches a third number threshold, the state is kept unchanged in the second time period and the number of times of state change corresponding to the third time period reaches a fourth number threshold.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus and modules described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
In several embodiments provided herein, the coupling of the modules to each other may be electrical, mechanical, or other.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
Referring to fig. 10, a block diagram of an electronic device 100 according to an embodiment of the present application is shown. The electronic device 100 may be a smart phone, a tablet computer, an electronic book, or the like capable of running an application program. The electronic device 100 in this application may include one or more of the following components: processor 130, memory 140, and one or more application programs, wherein the one or more application programs may be stored in memory 140 and configured to be executed by the one or more processors 130, the one or more program(s) configured to perform the method as described in the foregoing method embodiments.
Wherein the processor 130 may include one or more processing cores. The processor 130 utilizes various interfaces and lines to connect various portions of the overall electronic device 100, perform various functions of the electronic device 100, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 140, and invoking data stored in the memory 140. Alternatively, the processor 130 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 130 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing the content to be displayed; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 130 and may be implemented solely by a single communication chip.
The Memory 140 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Memory 140 may be used to store instructions, programs, code sets, or instruction sets. The memory 140 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing functions (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described below, etc. The storage data area may also store data created by the electronic device 100 in use (e.g., phonebook, audiovisual data, chat log data), and the like.
Referring to fig. 11, a block diagram of a computer readable storage medium according to an embodiment of the present application is shown. The computer readable medium 300 has stored therein program code which can be invoked by a processor to perform the methods described in the method embodiments described above.
The computer readable storage medium 300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 300 comprises a non-volatile computer readable medium (non-transitory computer-readable storage medium). The computer readable storage medium 300 has storage space for program code 310 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. Program code 310 may be compressed, for example, in a suitable form.
In summary, according to the method for sending emergency information, the electronic device and the storage medium provided by the embodiments of the present application, when the emergency information sending function of the foldable electronic device is started, the opening and closing operation acting on the foldable electronic device is detected, the state change information corresponding to the foldable electronic device in a first preset duration based on the opening and closing operation is obtained, and if the state change information meets the preset state change information, the emergency information is sent, so that the sending of the emergency information is triggered by the opening and closing operation acting on the foldable electronic device, the sending of the emergency information can be realized under the condition of abnormal screen, and the sending success rate of the emergency information is improved.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, one of ordinary skill in the art will appreciate that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (12)

1. A method for transmitting emergency information, which is applied to a foldable electronic device, the method comprising:
detecting an opening and closing operation acting on the folding electronic device in the case that an emergency information transmission function of the folding electronic device is turned on;
acquiring state change information corresponding to the folding electronic equipment in a first preset duration based on the opening and closing operation;
and if the state change information meets the preset state change information, sending emergency information.
2. The method according to claim 1, further comprising, before the sending the emergency information if the state change information satisfies a preset state change information:
determining the number of times of corresponding opening and closing state change of the folding electronic equipment within the first preset duration based on the state change information, wherein the opening and closing state change represents that the folding electronic equipment is changed from a folded state to an unfolded state or from the unfolded state to the folded state;
and if the number of times of the opening and closing state change reaches a first time threshold value, determining that the state change information meets the preset state change information.
3. The method according to claim 1, further comprising, before the sending the emergency information if the state change information satisfies a preset state change information:
determining the number of times of corresponding folding state change of the folding electronic equipment within the first preset duration based on the state change information, wherein the folding state change represents that the folding electronic equipment is changed from being at a first folding angle to being at a second folding angle or from being at the second folding angle to being at the first folding angle;
and if the number of times of the folding state change reaches a second time threshold, determining that the state change information meets the preset state change information.
4. The method of claim 3, wherein the foldable electronic device includes a spindle with a first identifier added corresponding to a position of the foldable electronic device at the first folding angle and a second identifier added corresponding to a position of the foldable electronic device at the second folding angle.
5. The method according to any one of claims 1-4, wherein the first preset duration is composed of a first time period, a second time period, and a third time period, and further comprising, before the sending of the emergency information if the state change information satisfies the preset state change information:
And if the number of times of state change corresponding to the first time period of the folding electronic equipment reaches a third number of times threshold, the state is kept unchanged in the second time period, and the number of times of state change corresponding to the third time period reaches a fourth number of times threshold based on the state change information, determining that the state change information meets the preset state change information.
6. The method according to any one of claims 1-4, wherein sending emergency information if the state change information satisfies a preset state change information comprises:
if the state change information meets preset state change information, determining state information corresponding to the folding electronic equipment, wherein the state information comprises a starting state or a closing state;
and if the foldable electronic equipment is in the shutdown state based on the state information, sending the emergency information.
7. The method of claim 6, wherein the method further comprises:
if the foldable electronic equipment is in the starting-up state based on the state information, displaying a first target window, wherein the first target window is used for prompting whether emergency information is sent or not;
And if the touch operation for the first target window is not detected within the second preset time period, sending the emergency information.
8. The method according to any one of claims 1-4, wherein sending emergency information if the state change information satisfies a preset state change information comprises:
if the state change information meets preset state change information, determining the residual electric quantity corresponding to the folding electronic equipment;
and if the residual electric quantity is lower than an electric quantity threshold value, sending the emergency information.
9. The method of claim 8, wherein the method further comprises:
if the residual electric quantity is equal to or higher than an electric quantity threshold value, displaying a second target window, wherein the second target window is used for prompting whether to send emergency information or not;
and if the touch operation for the second target window is not detected within a third preset time period, sending the emergency information.
10. The method according to any one of claims 1-4, wherein the foldable electronic device includes a hall sensor, and the obtaining state change information corresponding to the foldable electronic device in a first preset time period based on the opening and closing operation includes:
And acquiring state change information corresponding to the folding electronic equipment in the first preset time period based on the opening and closing operation through the Hall sensor.
11. An electronic device comprising a memory and a processor, the memory coupled to the processor, the memory storing instructions that when executed by the processor perform the method of any of claims 1-10.
12. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a program code, which is callable by a processor for executing the method according to any one of claims 1-10.
CN202311347390.5A 2023-10-17 2023-10-17 Emergency information transmission method, electronic device and storage medium Pending CN117376459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311347390.5A CN117376459A (en) 2023-10-17 2023-10-17 Emergency information transmission method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311347390.5A CN117376459A (en) 2023-10-17 2023-10-17 Emergency information transmission method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN117376459A true CN117376459A (en) 2024-01-09

Family

ID=89388714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311347390.5A Pending CN117376459A (en) 2023-10-17 2023-10-17 Emergency information transmission method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN117376459A (en)

Similar Documents

Publication Publication Date Title
CN110058828B (en) Application display method, device, electronic device and storage medium
CN106921560B (en) Voice communication method, device and system
CN108093099B (en) Mobile terminal falling protection method and system and mobile terminal
EP3163854B1 (en) Reduced notifications for same push messages
CN107943374B (en) Method for starting application program in foldable terminal and foldable terminal
EP3644172B1 (en) Application control method and terminal
CN106873834B (en) Method and device for identifying triggering of key and mobile terminal
RU2693912C1 (en) Method and device for displaying with switched off screen
CN105159640A (en) Display interface rotation method and device, and mobile terminal
CN110162254B (en) Display method and terminal equipment
US20150065207A1 (en) Electronic device and method of expanding function in electronic device
CN117413245A (en) Display control method, electronic device, and computer storage medium
US20110043530A1 (en) Electronic apparatus and method of controlling display
CN106598392A (en) Notification message display method and device
CN108632460A (en) Rights management method, device, mobile terminal and storage medium
CN108958357A (en) Screen switching, device, terminal and computer readable storage medium
CN105426065B (en) Browse position mark method and device
CN114879894B (en) Function starting method, user interface and electronic equipment
CN117376459A (en) Emergency information transmission method, electronic device and storage medium
US20170171374A1 (en) Method and electronic device for user manual callouting in smart phone
CN106527863A (en) Interface display method and device based on protective sleeve
CN108184014B (en) Notification message reminding method and mobile terminal
CN111309133A (en) Power saving control method and electronic equipment
US20220229620A1 (en) Information processing method, apparatus, electronic device, and storage medium
CN108924292B (en) Terminal control method, device, mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination