Invention content
This application provides a kind of sending method of assistance message and electronic equipments, it is therefore intended that solve electronic equipment because
The restriction of cruising ability and be difficult play emergency effect the problem of.
The first aspect of the application provides a kind of sending method of assistance message, includes the following steps:Electronic equipment obtains
It wins the confidence breath, in the case where described information meets condition, the electronic equipment starts rescue mode, and the rescue mode includes institute
Stating electronic equipment reduces power consumption and is sent out the pattern of distress signals, and under the rescue mode, the electronic equipment can be swept
The quantity for the frequency point retouched is less than the quantity of the electronic equipment scannable frequency point under non-rescue mode, also, belongs to described
The function of rescue mode is less than the function of belonging to the non-rescue mode.Under the rescue mode, the electronic equipment scanning
One or more preset frequency point;After network corresponding with the frequency point scanned establishes connection, the electronic equipment
Send the distress signals.Wherein, described information include the sign information of the user of the electronic equipment, environmental information and
One or more of the running state information of the electronic equipment.Because of the scannable frequency point of electronic equipment under rescue mode
Quantity be less than the quantity of the electronic equipment scannable frequency point under non-rescue mode, and belong to the work(of the rescue mode
It can be less than the function of belonging to the non-rescue mode, it is seen then that energy consumption of the electronic equipment under rescue mode reduces, thus it is possible to
Improve the cruising ability of electronic equipment.Under the premise of herein, electronic equipment scanning network concurrent send having higher success rate for distress signals,
Thus it is possible to give full play to the emergency effect of electronic equipment.
The second aspect of the application provides a kind of electronic equipment, including communication component and processor.Wherein, communication component
For obtaining information.Described information includes sign information, environmental information and the electronics of the user of the electronic equipment
One or more of running state information of equipment.Processor is used in the case where described information meets condition, described
Electronic equipment starts rescue mode.The rescue mode, which includes the electronic equipment, to be reduced power consumption and is sent out distress signals
Pattern, under the rescue mode, the quantity of the scannable frequency point of electronic equipment is less than the electronic equipment in non-rescue
The quantity of scannable frequency point under pattern;Also, the function of belonging to the rescue mode, which is less than, belongs to the non-rescue mode
Function.Communication component is additionally operable under the rescue mode, scans one or more preset frequency point;It is arrived with scanning
The corresponding network of frequency point establish connection after, send the distress signals.The electronic equipment can take into account cruising ability and net
Two aspect of network search efficiency, can give full play to emergency effect.
In one implementation, it includes below one or more that described information, which meets condition,:The body of the user
Reference breath meets first condition, the environmental information meets second condition, running state information instruction is not attached to network
Time be more than preset time threshold and the running state information instruction be not attached to network time be more than preset time
The sign information of threshold value and the user meet third condition.The setting of different condition allows electronic equipment in a variety of fields
Enter rescue mode under scape.
In one implementation, before the electronic equipment starts rescue mode, further include:The electronic equipment hair
The inquiry for whether starting the rescue mode gone out.In the case, described in the case where described information meets condition, the electricity
The specific implementation that sub- equipment starts rescue mode is:In the case where described information meets the condition, if described do not have
There are the response message for receiving the inquiry, the electronic equipment to start the rescue mode, is touched to avoid the mistake of rescue mode
Hair.
In one implementation, the electronic equipment scans the specific implementation of one or more preset frequency point
Mode is:The electronic equipment with it is preset when a length of interval, one or more preset frequency described in periodic scan
Point.Wherein, the following any one of determination process concrete mode of the preset duration:The remaining capacity of the electronic equipment is got over
More, the preset duration of setting is shorter, and the remaining capacity of electronic equipment is fewer, and the preset duration of setting is longer, according to electronic equipment
In preset scan mode and the movement speed and area coverage of mobile base station, preset duration is set.According to electronic equipment
Remaining capacity, can further increase the cruising ability of electronic equipment, improve electronic equipment and be successfully accessed before electricity exhausts
The possibility of network.And the scan period is arranged in the case where scan mode according to electronic equipment and mobile base station, it can be into one
Step improves the possibility that electronic equipment is successfully accessed network before electricity exhausts.
In one implementation, under the rescue mode, the electronic equipment uses the first power supply and/or the second electricity
Source powers;Under the non-rescue mode, the electronic equipment uses first power supply power supply.That is, electronic equipment
In for rescue mode be provided with power source special, to further increase cruising ability of the electronic equipment under rescue mode, to carry
High electronic equipment is successfully accessed the possibility of network before electricity exhausts.
In one implementation, under the rescue mode, the electronic equipment closing is not belonging to the rescue mode
Function, to reduce the power consumption of electronic equipment, to further increase cruising ability of the electronic equipment under rescue mode, to carry
High electronic equipment is successfully accessed the possibility of network before electricity exhausts.
In one implementation, after the electronic equipment sends the distress signals, electronic equipment receives scanning
The corresponding network of frequency point arrived can not feedback information can play stable electronics for example, feedback information can be short message etc.
The effect of the mood of the user of equipment.
Specific implementation mode
The sending method of assistance message disclosed in the embodiment of the present application, applying can not cover or cover in mobile communication signal
Cover bad region, such as unfrequented field.In such region, electronic equipment such as mobile phone usually be in search less than
The state of network.
The purpose of the following embodiment of the application is, takes into account the cruising ability of electronic equipment and the search efficiency of network,
The possibility that network concurrent goes out distress signals is successfully connected to improve electronic equipment before electricity exhausts.
Below in conjunction with attached drawing, embodiments herein is described in detail.Each embodiment uses in this specification
Progressive mode describes, the highlights of each of the examples are the difference with other embodiments, between each embodiment
Just to refer each other for same or similar part.
Fig. 1 is a kind of sending method of assistance message disclosed in the embodiment of the present application, is included the following steps:
S101:Electronic equipment obtains information.
In the present embodiment, the information that electronic equipment is collected includes that sign information, environmental information and the electronics of user is set
One or more of standby running state information.
For example, electronic equipment can acquire the heart of user by the heart rate sensor on wearable device (such as bracelet)
The sign informations such as rate.It is presently in the temperature of environment in another example electronic equipment can be acquired by temperature sensor or passes through
Positioning device acquires the environmental informations such as current position.In another example electronic equipment acquires the operations such as current network connection information
Status information.
S102:In the case where the information got meets predetermined condition, electronic equipment starts rescue mode, is being collected into
Information be unsatisfactory for the predetermined condition in the case of, electronic equipment continues to execute S101~S102.
In the present embodiment, rescue mode, which includes the electronic equipment, to be reduced power consumption and is sent out the pattern of distress signals.
Specifically, electronic equipment starts the specific implementation of rescue mode in the case where the information got meets condition
Mode can include but is not limited to any one following mode and combinations thereof:
1, electronic equipment starts rescue mode in the case where the sign information of user meets first condition.For example, making
The heart rate of user is more than first threshold, then electronic equipment starts rescue mode.
2, electronic equipment starts rescue mode in the case where environmental information meets second condition.Specifically, electronic equipment
The information of presently described environment can be acquired by various sensors.For example, the collected temperature of electronic equipment is more than the second threshold
Value is less than third threshold value, then electronic equipment starts rescue mode.
3, the network connection information of electronic equipment indicates that the time for being not attached to network is more than preset time threshold, then electronics
Equipment starts rescue mode.
4, the network connection information of electronic equipment indicates that the time for being not attached to network is more than preset time threshold, and uses
The sign information of person meets third condition, such as electronic equipment is collected into the step number of user in preset time range default
In range, i.e., user is in ambulatory status (can be detected by the step function of bracelet) in preset time range, then opens
Dynamic rescue mode.
Start a kind of mode of rescue mode automatically it should be noted that S101~S102 is only electronic equipment, except this it
Outside, electronic equipment can also receive enabled instruction input by user, directly initiate rescue mode, and without the acquisition of information or
Person is not using collected information as startup foundation.
In practical applications, error starting, electronic equipment can be sent out before starting rescue mode automatically in order to prevent
Start inquiry, user, which can respond to start, not to be started electronic equipment either and start or do not start according to the response of user.
If being not received by the response (it is possible that user has had no ability to respond) that user sends out, electronic equipment starts rescue mould
Formula, further, electronic equipment can wait for the preset time, if being not received by the sound of user within the preset time
It answers, then starts rescue mode.
S103:Under rescue mode, the preset one or more frequency points of electronic equipment scanning, if electronic equipment at
Work(scanning executes S104 to frequency point, otherwise, executes S105.
One or more of frequency points are to make an appointment and disclosed rescue frequency point.Specifically, in advance in the electronic device
The one or more frequency points of storage, frequency point is the number of the fixed frequency of network in space.The frequency point corresponds network,
For electronic equipment under rescue mode, it is that find frequency point successively corresponding for electronic equipment to scan one or more of frequency points successively
Network.
It should be noted that the quantity of preset frequency point is less than electronic equipment scannable frequency under non-rescue mode
The quantity of point, that is to say, that electronic equipment only scans preset network, and stops sweeping to the network except preset network
It retouches.Purpose is, the time of electronic equipment scanning is reduced, to save electricity, to improve the cruising ability of electronic equipment.
It should be noted that preset frequency point can be provided by the fixed base stations being arranged in one's respective area, it can also
It is provided by the mobile base station (such as carrying the helicopter of communication network) cruised in one's respective area.Either which kind of mode, is both needed to
Situation is laid according to the base station of one's respective area, carry out needing the frequency point being scanned under rescue mode in advance in the electronic device
Setting.
S104:Electronic equipment to successful scan to the corresponding network of frequency point send current location information.
It should be noted that location information is only an example of the present embodiment, electronic equipment can also be to successful scan
The corresponding network of frequency point arrived sends other rescue informations other than location information, for example, note of crying for help etc..Electronic equipment
The corresponding network of frequency point that successful scan arrives can also be directed to and carry out other operations, for example, initiating video calling etc..
S105:Electronic equipment stops scanning frequency point and executes S103 again after preset duration.Preset duration is set
Purpose is, during scanning frequency point, takes into account the electricity of electronic equipment, to improve the cruising ability of electronic equipment.
In the present embodiment, preset duration can be pre-set fixed duration, or according to electronic equipment
Electricity and network provide any one in equipment the two factors or all determine preset duration.
Specifically, it provides equipment according to the electricity of electronic equipment and/or network and determines that the strategy of preset duration is:
1, the remaining capacity of electronic equipment is more, and the preset duration of setting is shorter, and the remaining capacity of electronic equipment is fewer, if
The preset duration set is longer.It is possible to further prestore several different durations in the electronic device, electronic equipment remains
Remaining electricity is fewer, then selects longer duration, on the contrary, the duration that selection is shorter.Alternatively, can also deposit in advance in the electronic device
The correspondence of duration and remaining capacity is stored up, the setting of correspondence is also in compliance with mentioned above principle.
2, according to preset scan mode and the movement speed and area coverage of mobile base station in electronic equipment, setting is pre-
If duration.For example, the overlay area of mobile base station is sector region, radius is 1000 meters, and angle is 60 °, mobile speed
Degree is 20 kilometers/hour, and the movement speed of electronic equipment area coverage and itself calculates preset duration.
From above step as can be seen that in terms of electronic equipment takes into account web search and cruising ability two, it is ensured that
In the case of electronic equipment remaining capacity is limited, the possibility of network connection is improved, location information is sent out to improve
Possibility.
Optionally, after S104, can also include the following steps:
S106:Electronic equipment receives the feedback information that network is sent.
The purpose of S106 is, psychological comfort is provided to trapped person.In addition to this, electronic equipment can also be received and be rescued
The calling for the side of helping, in order to rescue party confirm trapped person the case where.
Other than periodicity is scanned specific frequency point, in order to further increase the cruising ability of electronic equipment,
Under rescue mode, following steps can also be performed:
S107:Electronic equipment closes the function of being not belonging to rescue mode.
That is, the function under rescue mode can be arranged in electronic equipment, for example, network connecting function, positioning work(
Energy and message function belong to rescue mode.These functions are the required function of rescue, can be deposited in the electronic device in advance
Default option is stored up, can also be in the electronic device set in advance by user.Without be arranged to rescue mode function, then for
It is not belonging to the function of rescue mode.Under rescue mode, these functions are closed, are conducive to the electricity for further saving electronic equipment
Amount.
Specifically, user can select the application for belonging to rescue mode on an electronic device, for example, by short message, exhale
It cries, connect network and positioning etc. and belong in the list of application of rescue mode using being added, and video playback class application and interaction
Class application is then added without the list of application for belonging to rescue mode such as wechat.
S108:Electronic equipment starts rescue powering mode.
Specifically, rescue powering mode is:By the first power supply and second source be used as power supply, to electronic equipment into
Row power supply.That is, power source special (the independent battery or from main electricity of rescue mode can be pre-set in the electronic device
Mark off and in the logic of pond), i.e. second source, under non-rescue mode, this power supply is not involved in power supply, into rescue mode
Afterwards, be the first power supply of non-rescue mode power supply and power source special is power electronic equipment, specifically, in the first power depletion
In the case of, second source starts to power, and can further increase the cruising ability of electronic equipment.
And this power source special does not allow to use under non-rescue mode, alternatively, only allowing to use under given conditions, example
Such as, in the case of user's Special Empower, allow to use.
Wherein, the execution sequence of S106, S107 and S108 can exchange.
After having sent rescue information, electronic equipment can automatically exit from rescue mode.
The above process is illustrated below:User's carrying mobile phone enters field, unfortunately in danger to lose behavior energy
Power (as gone into a coma), mobile phone receive the heart rate data that bracelet is sent, and determine that heart rate is more than predetermined threshold value.Mobile phone enters rescue mould
Formula, under rescue mode, mobile phone starts rescue powering mode, and closes the function of being not belonging to rescue mode.Meanwhile mobile phone recalls
Stored network frequency point simultaneously carries out periodic scan according to preset duration, after accessing network, is currently located to network transmission
Position information.Base station can purposefully search and rescue the user of mobile phone after receiving location information.
As it can be seen that compared with the mode blindly made a phone call after in danger with existing user, method shown in FIG. 1 can be according to
Network is purposefully connected according to the electricity of mobile phone, location information is sent out before electricity exhausts to improve electronic equipment
Possibility.
Other than the mode that electronic equipment shown in FIG. 1 is actively sent out location information, base station can also actively be searched for
Electronic equipment.Include the following steps:
1, electronic equipment starts rescue mode, and concrete mode may refer to embodiment shown in FIG. 1, and which is not described herein again.
2, under rescue mode, electronic equipment is using preset duration as interval, preset one or more of periodic scan
A frequency point, until electronic equipment successful scan to frequency point.
3, electronic equipment is searched in base station in the corresponding network of preset one or more frequency point.
Specifically, in the mark for the electronic equipment for being previously obtained trapped person (such as electronic equipment use telephone number)
In the case of, for ground base station, the log-on message of electronic equipment can be searched in the corresponding network of frequency point of offer, and pass through
Log-on message judge whether be trapped person electronic equipment, if it is, to this electronic equipment initiate communicate, for example, initiate language
Sound calls or sends information.Alternatively, initiating to communicate to electronic equipment if cannot succeed, peripherad base station is initiated temporary
Power enhancing require, in the hope of covering trapped person, in order to this electronic equipment initiate communicate.
For mobile base station, in the case where being previously obtained the mark of electronic equipment of trapped person, carries network and set out, with
Certain speed carries out cruise search and rescue to certain region, after searching the log-on message of electronic equipment in a network, then to this electricity
Sub- equipment initiates communication.
Fig. 2 is a kind of electronic equipment disclosed in the embodiment of the present application, including:Communication component and processor.Wherein, communication set
Part and processor carry out the interaction of data by bus.
Specifically, communication component includes the sign letter of the user of the electronic equipment for obtaining information, described information
One or more of the running state information of breath, environmental information and the electronic equipment.Processor is used in the letter
In the case that breath meets condition, the electronic equipment starts rescue mode.Communication component is additionally operable under the rescue mode, is swept
Retouch one or more preset frequency point;After network corresponding with the frequency point scanned establishes connection, asked described in transmission
Rescue information.
Optionally, electronic equipment can also include some output precisions, such as display module, sound player module etc..This
A little components can provide the function of multimedia under non-rescue mode.After starting switch mode, processor disables these
The function of component, to realize the purpose for saving electricity.
It should be noted that communication component and processor realize that the concrete mode of function may refer to the above method, here
It repeats no more.