CN104853040B - The control method of a kind of offline mode and mobile terminal - Google Patents
The control method of a kind of offline mode and mobile terminal Download PDFInfo
- Publication number
- CN104853040B CN104853040B CN201510217907.8A CN201510217907A CN104853040B CN 104853040 B CN104853040 B CN 104853040B CN 201510217907 A CN201510217907 A CN 201510217907A CN 104853040 B CN104853040 B CN 104853040B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- aircraft cabin
- picture
- flight
- described mobile
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000006855 networking Effects 0.000 claims abstract description 28
- 238000012790 confirmation Methods 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 10
- 230000002123 temporal effect Effects 0.000 description 6
- 230000008878 coupling Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 4
- 238000005859 coupling reaction Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000000630 rising effect Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 2
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 1
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000013011 mating Effects 0.000 description 1
- 239000011435 rock Substances 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses control method and the mobile terminal of a kind of offline mode, the method includes: search the Flight Information comprised in social networking application under mobile terminal is in non-offline mode;Obtain the current time information of mobile terminal;Judge whether current time information falls into the time range of Flight Information;When judged result is for being, start photographic head to obtain the picture around mobile terminal;Picture around mobile terminal is mated with the aircraft cabin internal medium picture preset, to determine whether mobile terminal is in inside aircraft cabin;When determining that mobile terminal is in aircraft cabin inside, the mode of operation of mobile terminal is switched to offline mode.When using method of the invention, it is possible to make mobile terminal be on aircraft, timely automated unlatching offline mode.
Description
Technical field
The present invention relates to communication technical field, particularly relate to control method and the mobile terminal of a kind of offline mode.
Background technology
Along with the fast development of science and technology, mobile phone has spread to everyone, and people can use it
Make a phone call, photos and sending messages, take pictures, shopping etc., it may be said that mobile phone has had become as in everyone life
Point.In practice, sometimes mobile phone needs to switch to offline mode, such as, when on passenger's carrying mobile phone
During aircraft, it is necessary to by the offline mode in mobile phone shutdown or starting hand-set, to interrupt mobile phone and extraneous leading to
Letter, thus ensure navigation safety.
In prior art, often there is this situation in mobile phone, and passenger have forgotten unlatching hands after upper aircraft
The offline mode of machine, this brings very big hidden danger to the safe flight of aircraft.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, it is provided that the control method of a kind of offline mode and
Mobile terminal, it is possible to open offline mode after passenger boards a plane in time.
First aspect, the embodiment of the present invention provides the control method of a kind of offline mode, and the method includes:
The Flight Information comprised in social networking application, wherein, institute is searched under mobile terminal is in non-offline mode
State Flight Information include the flight time section of flight, described flight time section be the departure time of described flight extremely
Time between finish time;
Obtain the current time information of described mobile terminal;
In judging the flight time section whether described current time information falls into described flight;
When the current time information judging described mobile terminal falls in the flight time section of described flight,
Start photographic head to obtain the picture around described mobile terminal;
Picture around described mobile terminal is mated with the aircraft cabin internal medium picture preset, with
Determine whether described mobile terminal is in inside described aircraft cabin;
When determining that described mobile terminal is in described aircraft cabin inside, by the work of described mobile terminal
Pattern switches to offline mode.
In conjunction with first aspect, in the first possible implementation of first aspect, described by described movement
The picture of terminal surrounding mates with the aircraft cabin internal medium picture preset, described mobile whole to determine
Whether end is in inside described aircraft cabin, including:
The similarity contrasting picture around described mobile terminal and the aircraft cabin internal medium picture preset is
No exceed predetermined threshold value;
Picture around described mobile terminal exceedes with the similarity of the aircraft cabin internal medium picture preset
During predetermined threshold value, determine that described mobile terminal is in inside described aircraft cabin;Around described mobile terminal
The similarity of picture and described default aircraft cabin internal medium picture not less than described predetermined threshold value time,
Determine that described mobile terminal is not in inside described aircraft cabin.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, described by described movement
The picture of terminal surrounding mates with the aircraft cabin internal medium picture preset, described mobile whole to determine
Whether end is in inside described aircraft cabin, including:
Analyze the picture around described mobile terminal, to draw the spy that the picture around described mobile terminal comprises
Levy element, the aircraft cabin feature included by described characteristic element with the aircraft cabin internal medium picture preset
Element contrasts, and whether comprises at least one and described aircraft cabin characteristic element to determine in described characteristic element
Identical characteristic element;
When described characteristic element comprises at least one characteristic element identical with described aircraft cabin characteristic element
Time, determine that described mobile terminal is in inside described aircraft cabin;When described characteristic element not comprising and institute
When stating the identical characteristic element of aircraft cabin characteristic element, determine that described mobile terminal is not in described aircraft machine
Inside cabin.
The second in conjunction with first aspect, the first possible implementation of first aspect and first aspect can
Any one mode in the implementation of energy, in the third possible implementation of first aspect, described
When determining that described mobile terminal is in described aircraft cabin inside, the mode of operation of described mobile terminal is cut
Shift to offline mode, including:
When determining that described mobile terminal is in described aircraft cabin inside, send inquiry window to ask whether
Open offline mode or send prompt window with prompting unlatching offline mode;
When receiving the instruction confirming unlatching offline mode of the instruction input responding described inquiry window or connecing
When receiving the offline mode open command of the prompting input responding described prompt window, by described mobile terminal
Mode of operation switches to offline mode.
The second in conjunction with first aspect, the first possible implementation of first aspect and first aspect can
Any one mode in the implementation of energy, in the 4th kind of possible implementation of first aspect, described
Before the mode of operation of described mobile terminal is switched to offline mode, also include:
Obtain the position of described mobile terminal;
Judge whether the position of described mobile terminal belongs to default position, airport, if belonging to, perform described will
The mode of operation of described mobile terminal switches to the step of offline mode.
Second aspect, the embodiment of the present invention provides a kind of mobile terminal, and this mobile terminal includes:
Search unit, for searching the flight comprised in social networking application under mobile terminal is in non-offline mode
Information, wherein, described Flight Information includes that the flight time section of flight, described flight time section are described boat
Time between the departure time to finish time of class;
First acquiring unit, for obtaining the current time information of described mobile terminal;
Judging unit, in judging the flight time section whether described current time information falls into described flight;
Start unit, for when judging that the current time information of described mobile terminal falls into flying of described flight
Time in the row time period, start photographic head to obtain the picture around described mobile terminal;
Matching unit, for drawing the picture around described mobile terminal with the aircraft cabin internal medium preset
Face is mated, to determine whether described mobile terminal is in inside described aircraft cabin;
Switch unit, for when determining that described mobile terminal is in described aircraft cabin inside, by described
The mode of operation of mobile terminal switches to offline mode.
In conjunction with second aspect, in the first possible implementation of second aspect, described matching unit bag
Include:
Analyze subelement, for contrasting the picture around described mobile terminal and the aircraft cabin inner loop preset
Whether the similarity of border picture exceedes predetermined threshold value;
Determine subelement, for the picture around described mobile terminal and the aircraft cabin internal medium preset
When the similarity of picture exceedes predetermined threshold value, determine that described mobile terminal is in inside described aircraft cabin;When
The similarity of the picture around described mobile terminal and described default aircraft cabin internal medium picture not less than
During described predetermined threshold value, determine that described mobile terminal is not in inside described aircraft cabin.
In conjunction with second aspect, in the implementation that the second of second aspect is possible, described matching unit bag
Include:
Analyze subelement, for analyzing the picture around described mobile terminal, to draw described mobile terminal week
The characteristic element that the picture enclosed comprises, by described characteristic element and the aircraft cabin internal medium picture bag preset
Whether the aircraft cabin characteristic element contrast included, comprise at least one with described to determine in described characteristic element
The characteristic element that aircraft cabin characteristic element is identical;
Determine subelement, for when described characteristic element comprises at least one and described aircraft cabin characteristic element
During the identical characteristic element of element, determine that described mobile terminal is in inside described aircraft cabin;When described feature
When element does not comprise the characteristic element identical with described aircraft cabin characteristic element, determine described mobile terminal
It is not in inside described aircraft cabin.
The second in conjunction with second aspect, the first possible implementation of second aspect and second aspect can
Any one mode in the implementation of energy, in the third possible implementation of second aspect, described
Switch unit includes:
Remind subelement, for when determining that described mobile terminal is in described aircraft cabin inside, sending inquiry
Ask that window is to ask whether to open offline mode or send prompt window to open offline mode with prompting;
Switching subelement, for opening flight when the confirmation receiving the instruction input responding described inquiry window
When instructing or receive the offline mode open command pointing out input responding described prompt window of pattern,
The mode of operation of described mobile terminal is switched to offline mode.
The second in conjunction with second aspect, the first possible implementation of second aspect and second aspect can
Any one mode in the implementation of energy, in the 4th kind of possible implementation of second aspect, described
Mobile terminal also includes:
Second acquisition unit, for obtaining the position of described mobile terminal;
Contrast unit, for judging whether the position of described mobile terminal belongs to default position, airport, if belonging to
In, trigger described switch unit and perform to switch to the mode of operation of described mobile terminal the operation of offline mode.
By implementing the embodiment of the present invention, obtain the information characterizing flight comprised in mobile terminal, it is judged that when
Whether the front time is in the flight time section of this flight, the most then obtain the picture of mobile terminal surrounding
Surface information, and carry out contrasting to determine mobile terminal with the aircraft cabin image information prestored by this image information
Whether it is in aircraft cabin, the most then automatically turns on the offline mode of mobile terminal, improve aircraft and fly
The safety of row.
Further, before opening offline mode, the display interface of mobile terminal exports information,
To be then turned on offline mode after obtaining user's agreement, improve Consumer's Experience;Obtaining surrounding picture
Before, obtain the positional information of mobile terminal, then positional information is combined with image information judgement and uses
Whether family is in engine room inside, improves the accuracy of judged result.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement
In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below
In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying
On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the control method of a kind of offline mode that the embodiment of the present invention provides;
Figure 1A is the Flight Information interface schematic diagram of a kind of social networking application that the embodiment of the present invention provides;
Figure 1B is a kind of scene graph comprising aircraft cabin characteristic element that the embodiment of the present invention provides;
Fig. 1 C is another scene graph comprising aircraft cabin characteristic element that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the control method of another offline mode that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of mobile terminal that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of matching unit that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of switch unit that the embodiment of the present invention provides;
Fig. 6 is the structural representation of another mobile terminal that the embodiment of the present invention provides;
Fig. 7 is the structural representation of another mobile terminal that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation
The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
It should be noted that the term used in embodiments of the present invention is only merely for describing specific embodiment
Purpose, and be not intended to be limiting the present invention.Used in the embodiment of the present invention and appended claims
" a kind of ", " described " and " being somebody's turn to do " of singulative is also intended to include most form, unless context understands
Ground represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or
Any or all of multiple projects of listing being associated may combination.
Mobile terminal described in the invention can be mobile phone, panel computer, notebook computer, palm PC,
Mobile internet device (MID, mobile internet device), wearable device (such as intelligent watch (as
IWatch etc.), Intelligent bracelet, pedometer etc.) or other can end of installation and deployment instant messaging applications client
End equipment.
Refer to the flow process of control method that Fig. 1, Fig. 1 are a kind of offline mode that the embodiment of the present invention provides show
Being intended to, the method includes but not limited to following steps.
Step S101: search the Flight Information comprised in social networking application under mobile terminal is in non-offline mode,
Wherein, described Flight Information includes that the flight time section of flight, described flight time section are rising of described flight
Fly the time between the moment to finish time.
Specifically, mobile terminal the most all comprises conference model, silent mode, outdoor pattern, offline mode
Etc. mode of operation, wherein offline mode is to close a kind of mode of operation that communication with the outside world connects, by closing
Fetch, with extraneous communication link, the interference avoiding signal of communication to aircraft flight, in the embodiment of the present invention, non-fly
Row mode is all working pattern in addition to offline mode.
Further, mobile terminal is preset data obtaining module, obtained by data obtaining module mobile
Flight Information in each social networking application in terminal, this Flight Information at least includes the origin of flight, purpose
Ground, the departure time and landing time, the time period between the departure time and landing time is then flight
Flight time section.The mode of the Flight Information obtaining social networking application includes but not limited to obtain and airline
Note that telephone number is associated, obtain the wechat account by airline or No. QQ message sent.
It should be noted that data obtaining module can be that mobile terminal automatically turns in the embodiment of the present invention,
Can also be artificially to trigger unlatching, wherein, it can be that mobile terminal is detecting ring that mobile terminal automatically turns on
Border parameter automatically turns on after reaching pre-set level, such as, detects that opening information when mobile terminal electricity is low obtains
Delivery block, detect and open data obtaining module when mobile terminal acutely rocks, open letter when start being detected
Breath acquisition module etc..Artificial triggering unlatching can be to receive user by touch-control predetermined physical button or void
Open during the trigger event intending button and produce.
Yet further, the rule obtaining Flight Information can pre-set, and includes but not limited to periodically obtain
(as 6:00 every morning obtains once) and terminal often receives the message of a social networking application, and (note disappears
Breath, QQ message, wechat message etc.) time, then start to obtain.As shown in Figure 1A, receive for mobile terminal
To the interface schematic diagram of the Flight Information sent from certain airline, wherein, rising of flight message 101
The time of flying is 4: 05 on the 1st April, and the landing time is 17: 10 on the 1st April, i.e. by flight message
Flight time 102 in 101 can analyze the 4:05 17:10 that the flight time section of this flight is April 1,
Further, it is also possible to being deduced by some auxiliary information is which takes off in year, such as, if receiving this
Note is before 1,14 on April, then the concrete flight time section that may determine that flight is 2014
The 4:05 17:10 on April 1, in.
Further, in the optional scheme of one, under mobile terminal is in non-offline mode, search social activity
The Flight Information comprised in application can also particularly as follows:
Under mobile terminal is in non-offline mode, whether lookup social networking application exists content information and comprise sign
The key word of flight;When social networking application exists the content information comprising the key word characterizing flight, then enter
Whether one step analysing content information comprises temporal information;When content information comprises temporal information, the most really
Determining content information is Flight Information, and determines the flight time section that the time period represented by temporal information is flight.
Wherein, key word can be " flight ", " taking off ", " landing ", " airline " etc., certainly
Key word specifically include which content will be according to pre-setting depending on, the content not comprised key word is done
Limit, it addition, when judging whether information content is Flight Information according to key word, can be according only to one
Key word judges, it is also possible to combines multiple key word and judges.
Yet further, when described social networking application has chat feature, described content information includes chat letter
Breath;When described social networking application has information issuing function, described content information includes multidate information.
Step S102: obtain the current time information of described mobile terminal.
Specifically, during mobile terminal flight time section in getting Flight Information and Flight Information, obtain
Take the current time on mobile terminal, can also first system time be updated before obtaining current time, with
Guarantee the accuracy of current time.
Step S103: in judging the flight time section whether described current time information falls into described flight.
Specifically, the current time obtained is contrasted by mobile terminal with the schedule flight time, it is judged that current time
Whether fall into the schedule flight time, do not fall early than the departure time or the landing time of being later than when the time obtained
In flight time section, the current time of such as mobile terminal is 3: 05 on the 1st March in 2014, that
This time point is before taking off, the most not in flight time section, such as during mobile terminal current
Between be 15: 05 on the 1st April in 2014, then this time point after taking off and landing before,
Therefore fall in flight time section.
Step S104: when the current time information judging described mobile terminal falls into the flight of described flight
Between in section time, start photographic head to obtain the picture around described mobile terminal.
Specifically, after contrast, confirm when mobile terminal current time falls in the flight time section of flight,
Start the photographic head of mobile terminal to obtain picture around.
Further, in the optional scheme of one, when confirming that mobile terminal current time falls into flying of flight
Time in the row time period, start mobile terminal photographic head can particularly as follows:
When the current time information of mobile terminal falls in the flight time section of flight, send inquiry message with
Ask the user whether to start the photographic head of mobile terminal or send information to start mobile whole with prompting user
The photographic head of end;When receiving the photographic head confirming to start mobile terminal that user inputs according to inquiry message
During the photographic head open command that instruction or the prompting according to information input, start the shooting of mobile terminal
Head.Inquiry message is that inquiry user wants to open photographic head, now may have a window at display interface,
Having two virtual keys in this window, one of them is "Yes", and another is "No", and user clicks on "Yes"
Photographic head can be started, click on "No" and then abandon starting photographic head;Information is then that prompting user opens
The photographic head of dynamic mobile terminal, now may eject a window, show the message of " please start photographic head ",
User can arrive the photographic head of the entrance startup mobile terminal starting photographic head after obtaining prompting.
It should be noted that the social networking application mentioned in present example includes that mobile terminal carries and follow-up peace
Dress the application with information receiving and transmitting function, include but not limited to note application, wechat, footpath between fields, footpath between fields, QQ and
MSN, it is clear that along with development and the change of people's hobby of communication technology, increasing social activity will be had to answer
With entering in the middle of the life of people, they fall into protection scope of the present invention the most without any exception, and
When obtaining Flight Information, can only obtain the Flight Information of one of them social networking application, it is also possible to obtain simultaneously
The Flight Information of multiple social networking applications, to prevent Flight Information from omitting.Yet further, present social activity should
Have chat feature with have, have have issue multidate information function, have has both functions concurrently, as with
Wechat can be chatted with particular person, it is also possible to issues individual dynamically at wechat circle of friends, and for another example, QQ can be with
Particular person chat, it is also possible to deliver in QQ space and have a talk about, Flight Information except can with particular person chat
Outside the form of it record and the dynamic form of individual present, it is also possible to be other form, as long as permissible
The social networking application being used for information of transmitting both falls within protection scope of the present invention.
Step S105: the picture around mobile terminal is carried out with the aircraft cabin internal medium picture preset
Join, to determine whether mobile terminal is in inside aircraft cabin.
Specifically, obtain each time after picture, this picture obtained and engine room inside environment picture are carried out
At least one picture joined or pick out in multiple picture after obtaining multiple picture and engine room inside environment
Picture mates, and wherein, the picking rule picking out at least one picture from multiple pictures can set in advance
Put, such as, select at least one picture according to definition, color change degree etc., sum it up, need
The picture of acquisition is mated with engine room inside environment picture.
Further, engine room inside environment picture refers to shoot the picture obtained in engine room inside, and such as one
Comprise stewardess, the picture of intensive small window, in embodiments of the present invention, with the picture obtained carry out right
The engine room inside environment picture of ratio is the picture that each position shoots with all angles in cabin in advance, is obtaining
Before taking these pictures, person skilled can simulate the custom of the erect-position (seat) of client, and takes shifting
The angle custom of dynamic terminal, then simulates these custom shooting cabin internal medium pictures, and by these cabins
Internal medium picture is stored for contrast coupling.The picture obtained is contrasted with engine room inside environment picture
According to the object of both shootings is the most identical, coupling, can determine whether mobile terminal is in inside aircraft cabin.
Further, in the optional scheme of one, by the picture around described mobile terminal and flying of presetting
Machine engine room inside environment picture mates, to determine whether described mobile terminal is in described aircraft cabin
Portion can also particularly as follows:
The similarity contrasting picture around described mobile terminal and the aircraft cabin internal medium picture preset is
No exceed predetermined threshold value;Picture around described mobile terminal and the aircraft cabin internal medium picture preset
Similarity when exceeding predetermined threshold value, determine that described mobile terminal is in inside described aircraft cabin;When described
The similarity of the picture around mobile terminal and described default aircraft cabin internal medium picture is not less than described
During predetermined threshold value, determine that described mobile terminal is not in inside described aircraft cabin.
Yet further, in another optional scheme, described by the picture around described mobile terminal with
The aircraft cabin internal medium picture preset mates, to determine described mobile terminal flies described in whether being in
Machine engine room inside can also particularly as follows:
Analyze the picture around described mobile terminal, to draw the spy that the picture around described mobile terminal comprises
Levy element, the aircraft cabin feature included by described characteristic element with the aircraft cabin internal medium picture preset
Element contrasts, and whether comprises at least one and described aircraft cabin characteristic element to determine in described characteristic element
Identical characteristic element, wherein, characteristic element is the element in the picture shot in cabin in advance, as drawn
Stewardess (such as 103 in Figure 1B) in face, intensive small window (such as 104 in Fig. 1 C), top are arc width
Spend the nacelle etc. that little length is big, specifically, for the ease of comparison, comprise cabin characteristic element obtaining these
Picture after, this picture first direction, three-dimensional coordinate relation between second direction and color can be set up,
Go out above-mentioned stewardess and/or intensive small window and/or top is arc width is little, length is big nacelle etc. in coordinate
Data characteristics, follow-up can carry out coordinate analysis to the photo that obtains of shooting, it is judged that in the coordinate that this photo is corresponding
Whether comprising the data characteristics identical with above-mentioned data characteristics, if having, judging the photo that shooting obtains comprises
There is cabin characteristic element.When described characteristic element comprises at least one and described aircraft cabin characteristic element phase
With characteristic element time, determine that described mobile terminal is in inside described aircraft cabin;When described characteristic element
In when not comprising the characteristic element identical with described aircraft cabin characteristic element, determine at described mobile terminal
Inside described aircraft cabin.
It should be noted that content exemplified above is only the attainable mode of part, by enumerate
Example can be to derive other attainable modes, it is clear that other attainable modes fall into this equally
Bright protection domain.
Step S106: when determining that mobile terminal is in aircraft cabin inside, by the mode of operation of mobile terminal
Switch to offline mode.
Specifically, after contrast is mated, confirm when mobile terminal is in aircraft cabin inside, will be mobile whole
The mode of operation of end switches to offline mode.
Further, in the optional scheme of one, when determining that described mobile terminal is in described aircraft cabin
Time internal, the mode of operation of described mobile terminal is switched to offline mode can particularly as follows:
When determining that described mobile terminal is in described aircraft cabin inside, send inquiry window to ask whether
Open offline mode or send prompt window with prompting unlatching offline mode;When receiving the described inquiry of response
Instructing or receiving of the confirmation unlatching offline mode of the instruction input of window responds carrying of described prompt window
When showing the offline mode open command of input, the mode of operation of described mobile terminal is switched to offline mode.
Wherein, inquiry message is that inquiry user wants to open offline mode, now may have one at display interface
Window, has two virtual keys in this window, one of them is "Yes", and another is "No", user
Click on "Yes" and can trigger mobile terminal unlatching offline mode, click on "No" and then abandon opening offline mode.
Information is then that prompting user opens offline mode, now may eject a window, and display " please be opened
Open offline mode " message, user can arrive after obtaining prompting open offline mode entrance open flight mould
Formula.
In the control method of the offline mode described by Fig. 1, what acquisition for mobile terminal comprised characterizes flight
Information, it is judged that whether current time is in the flight time section of this flight, the most then obtain mobile terminal
The image information of surrounding, and carry out this image information and the aircraft cabin image information prestored contrasting with
Determine whether mobile terminal is in aircraft cabin, the most then automatically turn on the offline mode of mobile terminal,
Improve the safety of aircraft flight.
Refer to the flow process that Fig. 2, Fig. 2 are the control methods of another offline mode that the embodiment of the present invention provides
Schematic diagram, the method includes but are not limited to following steps.
Step S201: search the Flight Information comprised in social networking application under mobile terminal is in non-offline mode,
Wherein, described Flight Information includes that the flight time section of flight, described flight time section are rising of described flight
Fly the time between the moment to finish time.
Step S202: obtain the current time information of mobile terminal.
Step S203: in judging the flight time section whether current time information falls into flight.
Step S204: when the current time information judging described mobile terminal falls into the flight of described flight
Between in section time, start photographic head to obtain the picture around described mobile terminal.
Step S205: the picture around mobile terminal is carried out with the aircraft cabin internal medium picture preset
Join, to determine whether mobile terminal is in inside aircraft cabin.
Specifically, the step during step S201~S205 can respectively refer to embodiment corresponding to Fig. 1
S101~S105, here is omitted.
Step S206: when judging that terminal is in aircraft cabin inside, obtain the position of mobile terminal.
Specifically, when judging that mobile terminal is in aircraft cabin inside, mobile terminal opens built-in determining
Position system to obtain the geographical position of mobile terminal, open the mode of this alignment system can be mobile terminal from
Move and open, it is also possible to be that mobile terminal prompting user's triggering is opened.
Step S207: judge whether the position of mobile terminal belongs to default position, airport.
Specifically, after getting positional information, by the position of this positional information with the airport, various places obtained in advance
Information contrasts, to judge that this mobile terminal is whether within the scope of airport.
Step S208: when judging that mobile terminal is in the range of airport, by the mode of operation of mobile terminal
Switch to offline mode.
Specifically, when judging that mobile terminal is within the scope of airport really, open with reference to step S106
The offline mode of mobile terminal.
It should be noted that, the present embodiment obtains mobile terminal geographic position information after obtaining picture,
And if it practice, first obtain the geographical location information of mobile terminal, judging that mobile terminal is in airport model
Obtaining picture time within enclosing again is also a kind of scheme that can realize, and the program falls into the protection of the present invention equally
Scope.
In the control method of the offline mode described by Fig. 2, what acquisition for mobile terminal comprised characterizes flight
Information, it is judged that whether current time is in the flight time section of this flight, the most then obtain mobile terminal
The image information of surrounding, and carry out this image information and the aircraft cabin image information prestored contrasting with
Determine whether mobile terminal is in aircraft cabin, the most then automatically turn on the offline mode of mobile terminal,
Improve the safety of aircraft flight.
Further, before opening offline mode, the display interface of mobile terminal exports information,
To be then turned on offline mode after obtaining user's agreement, improve Consumer's Experience;Obtaining surrounding picture
Before, obtain the positional information of mobile terminal, then positional information is combined with image information judgement and uses
Whether family is in engine room inside, improves the accuracy of judged result.
The above-mentioned method illustrating the embodiment of the present invention, following for being easy to preferably implement the present invention in fact
Execute the such scheme of example, correspondingly, provide below the mobile terminal of the embodiment of the present invention.
Refer to the structural representation that Fig. 3, Fig. 3 are a kind of mobile terminals 30 that the embodiment of the present invention provides,
This mobile terminal 30 includes searching unit the 301, first acquiring unit 302, judging unit 303, start unit
304, matching unit 305 and switch unit 306, wherein, the function of each unit is described in detail as follows.
Search unit 301 for searching the boat comprised in social networking application under mobile terminal is in non-offline mode
Class's information, wherein, Flight Information includes the flight time section of flight, and flight time section is when taking off of flight
Carve the time between finish time;
Specifically, mobile terminal 30 typically all comprises conference model, silent mode, outdoor pattern, flight mould
The mode of operations such as formula, wherein offline mode is to close a kind of mode of operation that communication with the outside world connects, by closing
Close and fetch, with extraneous communication link, the interference avoiding signal of communication to aircraft flight, in the embodiment of the present invention, non-
Offline mode is all working pattern in addition to offline mode.
Further, search the Flight Information that unit 301 obtains in mobile terminal 30 in each social networking application,
This Flight Information at least includes the origin of flight, destination, the departure time and landing time, between taking off
Time period between time and landing time is then the flight time section of flight.Search unit 301 and obtain social activity
The mode of Flight Information of application include but not limited to obtain be associated with the telephone number of airline note,
Obtain the wechat account by airline or No. QQ message sent.It should be noted that the present invention is real
Executing and search unit 301 in example can be that mobile terminal 30 automatically turns on, it is also possible to be artificially to trigger unlatching, its
In, it can be that mobile terminal 30 is detecting that ambient parameter reaches pre-set level that mobile terminal 30 automatically turns on
After automatically turn on, such as, detect when mobile terminal 30 electricity is low open data obtaining module, shifting detected
Open data obtaining module when dynamic terminal 30 is acutely rocked, open data obtaining module etc. when start being detected.
Artificial triggering unlatching can be received user and be produced by touch-control predetermined physical button or virtual key
Open during trigger event.
Yet further, search unit 301 and obtain the rule of Flight Information and can pre-set, including but not
It is limited to periodically to obtain (as 6:00 every morning obtains once) and mobile terminal 30 often receives social networking application
Message (short message, QQ message, wechat message etc.) then start obtain.As shown in Figure 1A, for moving
The interface schematic diagram of the Flight Information sent from certain airline that dynamic terminal 30 receives, wherein, flight
The departure time of information 101 is 4: 05 on the 1st April, and the landing time is 17: 10 on the 1st April,
Therefore the 4:05 17:10 that flight time section is April 1 of this flight can be analyzed according to the flight time 102,
Further, it is also possible to being deduced by some auxiliary information is which takes off in year, such as, if receiving this
Note is before 1,14 on April, then the concrete flight time section that may determine that flight is 2014 4
The 4:05 17:10 on the moon 1.
Further, in the optional scheme of one, search unit 301 and be in non-flight at mobile terminal 30
Search in social networking application under pattern the Flight Information that comprises can also particularly as follows:
Under mobile terminal 30 is in non-offline mode, whether lookup social networking application exists content information and comprise table
Levy the key word of flight;When social networking application exists the content information comprising the key word characterizing flight, then
Further whether analysing content information comprises temporal information;When content information comprises temporal information, then
Determine that content information is Flight Information, and determine the flight time that the time period represented by temporal information is flight
Section.Wherein, key word can be " flight ", " taking off ", " landing ", " airline " etc.,
Certainly key word specifically include which content will be according to pre-setting depending on, in key word not being comprised
Appearance limits, it addition, when judging whether information content is Flight Information according to key word, can be according only to
One key word judges, it is also possible to combines multiple key word and judges.
Yet further, when described social networking application has chat feature, described content information includes chat letter
Breath;When described social networking application has information issuing function, described content information includes multidate information.
First acquiring unit 302 is for obtaining the current time information of mobile terminal;
Specifically, after searching the unit 301 flight time section in getting Flight Information and Flight Information,
First acquiring unit 302 obtains the current time on mobile terminal 30, and the first acquiring unit 302 is worked as in acquisition
First system time can also be updated, to guarantee the accuracy of current time before the front time.
Judging unit 303 is in judging the flight time section whether current time information falls into flight;
Specifically, it is judged that the current time obtained is contrasted by unit 303 with the schedule flight time, it is judged that current
Whether the time falls into the schedule flight time, equal early than flight time or the landing time of being later than when the time obtained
Not falling within flight time section, the such as current time of mobile terminal 30 is 1 day 3: 05 March in 2014
Point, then this time point is before taking off, the most not in flight time section, and such as mobile terminal 30
Current time be 15: 05 on the 1st April in 2014, then this time point after taking off and
Before landing, therefore fall in flight time section.
Start unit 304 is for when judging that the current time information of mobile terminal falls into the flight time of flight
Time in section, start photographic head to obtain the picture around mobile terminal;
Specifically, after contrast, in confirming the flight time section that mobile terminal 30 current time falls into flight
Time, start unit 304 starts the photographic head of mobile terminal 30 to obtain picture around.
Matching unit 305 is for by the picture around mobile terminal and the aircraft cabin internal medium picture preset
Mate, to determine whether mobile terminal is in inside aircraft cabin;
Specifically, after obtaining picture each time, matching unit 305 is by this picture obtained and engine room inside ring
At least one picture that border picture carries out mating or pick out after obtaining multiple picture in multiple picture with
Engine room inside environment picture mates, and wherein, picks out selecting of at least one picture from multiple pictures
Rule can pre-set, such as, select at least one picture according to definition, color change degree etc.,
Sum it up, need to mate the picture of acquisition with engine room inside environment picture.
Further, engine room inside environment picture refers to shoot the picture obtained in engine room inside, and such as one
Open and comprise stewardess (such as 103 in Figure 1B), the picture of intensive small window (such as 104 in Fig. 1 C),
In embodiments of the present invention, the engine room inside environment picture carrying out with the picture obtained contrasting is in advance in cabin
The picture that each position interior shoots with all angles, before obtaining these pictures, person skilled can head
First speculate the custom of the erect-position (seat) of client, and take the angle of mobile terminal 30 to be accustomed to, then simulate
These custom shooting cabin internal medium pictures, and these engine room inside environment pictures are stored for right
Than coupling.The picture obtained is mated by matching unit 305 with the contrast of engine room inside environment picture, can be according to two
The object of person's shooting is the most identical determines whether mobile terminal 30 is in inside aircraft cabin.
Switch unit 306 is for when determining that mobile terminal is in aircraft cabin inside, by mobile terminal
Mode of operation switches to offline mode.
Specifically, after contrast coupling, confirm that, when mobile terminal 30 is in aircraft cabin inside, switching is single
The mode of operation of mobile terminal 30 is switched to offline mode by unit 306.
Further, referring to Fig. 4, Fig. 4 is the matching unit 305 in the mobile terminal 30 shown in Fig. 3
Structural representation, matching unit 305 includes analyzing subelement 3051 and determining subelement 3052.
In the optional mode of one, the function introduction of each subelement is as follows.
Analyze subelement 3051 inside the picture contrasting around mobile terminal 30 and the aircraft cabin preset
Whether the similarity of environment picture exceedes predetermined threshold value.
Determine that subelement 3052 is for the picture around mobile terminal 30 and the aircraft cabin inner loop preset
When the similarity of border picture exceedes predetermined threshold value, determine that mobile terminal 30 is in inside aircraft cabin;Work as movement
When the similarity of the picture around terminal 30 and default aircraft cabin internal medium picture is not less than predetermined threshold value,
Determine that mobile terminal 30 is not in inside aircraft cabin.
In another optional mode, the function introduction of each subelement is as follows.
Analyze subelement 3051 for analyzing the picture around mobile terminal 30, to draw mobile terminal 30 weeks
The characteristic element that the picture enclosed comprises, includes characteristic element and the aircraft cabin internal medium picture preset
Aircraft cabin characteristic element contrasts, and whether comprises at least one and aircraft cabin feature to determine in characteristic element
The characteristic element that element is identical.
Determine that subelement 3052 is for identical with aircraft cabin characteristic element when comprising at least one in characteristic element
Characteristic element time, determine that mobile terminal 30 is in inside aircraft cabin;When characteristic element not comprising and flying
During the identical characteristic element of machine cabin characteristic element, determine that mobile terminal 30 is not in inside aircraft cabin.
Further, referring to Fig. 5, Fig. 5 is the switch unit 306 in the mobile terminal 30 shown in Fig. 3
Structural representation, switch unit 306 includes reminding subelement 3061 and son switching subelement 3062, wherein,
The function of each subelement is described in detail as follows.
Remind subelement 3061 for when determining that mobile terminal 30 is in aircraft cabin inside, sending inquiry
Window is to ask whether to open offline mode or send prompt window to open offline mode with prompting.
Switching subelement 3062 is for opening flight mould when the confirmation of the instruction input receiving response inquiry window
During the offline mode open command that the prompting instructing or receiving response prompt window of formula inputs, will move
The mode of operation of terminal 30 switches to offline mode.
In the mobile terminal 30 described by Fig. 3, implementing of unit can also be to should refer to Fig. 1
The associated description of corresponding embodiment of the method.
In the mobile terminal 30 described by Fig. 3, mobile terminal 30 obtains the information characterizing flight comprised,
Judge whether current time is in the flight time section of this flight, the most then obtain around mobile terminal 30
The image information of environment, and carry out contrasting to determine with the aircraft cabin image information prestored by this image information
Whether mobile terminal 30 is in aircraft cabin, the most then automatically turn on the offline mode of mobile terminal 30,
Improve the safety of aircraft flight.
Refer to the structural representation that Fig. 6, Fig. 6 are another mobile terminals 30 that the embodiment of the present invention provides,
This mobile terminal 30 is except including lookup unit the 301, first acquiring unit in mobile terminal 30 shown in Fig. 3
302, outside judging unit 303, start unit 304, matching unit 305 and switch unit 306, also wrap
Including second acquisition unit 307 and comparing unit 308, wherein, the function of each unit is described in detail as follows.
Second acquisition unit 307 is for when judging that terminal is in aircraft cabin inside, obtaining mobile terminal
Position.
Specifically, when judging that mobile terminal 30 is in aircraft cabin inside, second acquisition unit 307 dozens
Open the mobile terminal 30 built-in alignment system geographical position with acquisition mobile terminal 30, open this location system
The mode of system can be that mobile terminal 30 automatically opens up, it is also possible to is after mobile terminal 30 points out user to trigger
Open.
Contrast unit 308 is for judging whether the position of mobile terminal belongs to default position, airport, if belonging to,
Trigger switch unit 306 and the mode of operation of mobile terminal is switched to offline mode.
It should be noted that the implementing of unit in the mobile terminal 30 shown in Fig. 6 can also be right
Should refer to the concrete description of embodiment illustrated in fig. 2.
In the mobile terminal 30 described by Fig. 6, mobile terminal 30 obtains the information characterizing flight comprised,
Judge whether current time is in the flight time section of this flight, the most then obtain around mobile terminal 30
The image information of environment, and carry out contrasting to determine with the aircraft cabin image information prestored by this image information
Whether mobile terminal 30 is in aircraft cabin, the most then automatically turn on the offline mode of mobile terminal 30,
Improve the safety of aircraft flight.
Further, before opening offline mode, mobile terminal 30 exports information on display interface,
To be then turned on offline mode after obtaining user's agreement, improve Consumer's Experience;Obtaining surrounding picture
Before, obtain the positional information of mobile terminal 30, then positional information is combined judgement with image information
Whether user is in engine room inside, improves the accuracy of judged result.
Refer to the structural representation that Fig. 7, Fig. 7 are another mobile terminals 70 that the embodiment of the present invention provides.
Wherein, as it is shown in fig. 7, this mobile terminal 70 may include that at least one processor 701, such as CPU,
At least one network interface 704, user interface 703, memorizer 705, at least one communication bus 702 with
And display screen 706.Wherein, communication bus 702 is for realizing the connection communication between these assemblies.Wherein,
User interface 703 can include that display screen (Display) 706, optional user interface 703 can also include mark
The wireline interface of standard, wave point.Communication interface 704 optionally can include standard wireline interface (as
Data line interface, cable interface etc.), wave point is (as WI-FI interface, blue tooth interface, near-field communication connect
Mouthful).Memorizer 705 can be high-speed RAM memorizer, it is also possible to be non-labile memorizer
(non-volatile memory), for example, at least one disk memory.Memorizer 705 optionally can also is that
At least one is located remotely from the storage device of aforementioned processor 701.As it is shown in fig. 7, as a kind of computer
The memorizer 705 of storage medium can include operating system, network communication module, Subscriber Interface Module SIM with
And offline mode opening program.
In the mobile terminal 70 shown in Fig. 7, communication interface 704 is mainly used in connecting the second terminal, with
Two terminals carry out data communication;And processor 701 may be used for calling the flight mould of storage in memorizer 705
Formula opening program, and perform following operation:
The Flight Information comprised in social networking application, wherein, institute is searched under mobile terminal is in non-offline mode
State Flight Information include the flight time section of flight, described flight time section be the departure time of described flight extremely
Time between finish time;
Obtain the current time information of described mobile terminal;
In judging the flight time section whether described current time information falls into described flight;
When the current time information judging described mobile terminal falls in the flight time section of described flight,
Start photographic head to obtain the picture around described mobile terminal;
Picture around described mobile terminal is mated with the aircraft cabin internal medium picture preset, with
Determine whether described mobile terminal is in inside described aircraft cabin;
When determining that described mobile terminal is in described aircraft cabin inside, by the work of described mobile terminal
Pattern switches to offline mode.
Further, described by the picture around described mobile terminal with preset aircraft cabin internal medium draw
Face is mated, to determine whether described mobile terminal is in inside described aircraft cabin, including:
The similarity contrasting picture around described mobile terminal and the aircraft cabin internal medium picture preset is
No exceed predetermined threshold value;
Picture around described mobile terminal exceedes with the similarity of the aircraft cabin internal medium picture preset
During predetermined threshold value, determine that described mobile terminal is in inside described aircraft cabin;Around described mobile terminal
The similarity of picture and described default aircraft cabin internal medium picture not less than described predetermined threshold value time,
Determine that described mobile terminal is not in inside described aircraft cabin.
Further, described by the picture around described mobile terminal with preset aircraft cabin internal medium draw
Face is mated, to determine whether described mobile terminal is in inside described aircraft cabin, including:
Analyze the picture around described mobile terminal, to draw the spy that the picture around described mobile terminal comprises
Levy element, the aircraft cabin feature included by described characteristic element with the aircraft cabin internal medium picture preset
Element contrasts, and whether comprises at least one and described aircraft cabin characteristic element to determine in described characteristic element
Identical characteristic element;
When described characteristic element comprises at least one characteristic element identical with described aircraft cabin characteristic element
Time, determine that described mobile terminal is in inside described aircraft cabin;When described characteristic element not comprising and institute
When stating the identical characteristic element of aircraft cabin characteristic element, determine that described mobile terminal is not in described aircraft machine
Inside cabin.
Further, described when determining that described mobile terminal is in described aircraft cabin inside, by described shifting
The mode of operation of dynamic terminal switches to offline mode, including:
When determining that described mobile terminal is in described aircraft cabin inside, send inquiry window to ask whether
Open offline mode or send prompt window with prompting unlatching offline mode;
When receiving the instruction confirming unlatching offline mode of the instruction input responding described inquiry window or connecing
When receiving the offline mode open command of the prompting input responding described prompt window, by described mobile terminal
Mode of operation switches to offline mode.
Further, before the described mode of operation by described mobile terminal switches to offline mode, also include:
Obtain the position of described mobile terminal;
Judge whether the position of described mobile terminal belongs to default position, airport, if belonging to, perform described will
The mode of operation of described mobile terminal switches to the step of offline mode.
In sum, by implementing the embodiment of the present invention, by implementing the embodiment of the present invention, obtain mobile whole
The information characterizing flight comprised in end, it is judged that whether current time is in the flight time section of this flight,
The most then obtain the image information of mobile terminal surrounding, and by this image information and the aircraft machine prestored
Cabin image information carries out contrasting to determine whether mobile terminal is in aircraft cabin, the most then automatically turn on
The offline mode of mobile terminal, improves the safety of aircraft flight.
Further, before opening offline mode, the display interface of mobile terminal exports information,
To be then turned on offline mode after obtaining user's agreement, improve Consumer's Experience;Obtaining surrounding picture
Before, obtain the positional information of mobile terminal, then positional information is combined with image information judgement and uses
Whether family is in engine room inside, improves the accuracy of judged result.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method,
Can be by computer program and complete to instruct relevant hardware, program can be stored in a computer can
Reading in storage medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Its
In, storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM)
Or random store-memory body (Random Access Memory, RAM) etc..
Above disclosed only one preferred embodiment of the present invention, can not limit this with this certainly
Bright interest field, one of ordinary skill in the art will appreciate that all or part of stream realizing above-described embodiment
Journey, and according to the equivalent variations that the claims in the present invention are made, still fall within the scope that invention is contained.
Claims (10)
1. the control method of an offline mode, it is characterised in that including:
The Flight Information comprised in social networking application, wherein, institute is searched under mobile terminal is in non-offline mode
State Flight Information include the flight time section of flight, described flight time section be the departure time of described flight extremely
Time between finish time;
Obtain the current time information of described mobile terminal;
In judging the flight time section whether described current time information falls into described flight;
When the current time information judging described mobile terminal falls in the flight time section of described flight,
Start photographic head to obtain the picture around described mobile terminal;
Picture around described mobile terminal is mated with the aircraft cabin internal medium picture preset, with
Determine whether described mobile terminal is in inside described aircraft cabin;
When determining that described mobile terminal is in described aircraft cabin inside, by the work of described mobile terminal
Pattern switches to offline mode.
Method the most according to claim 1, it is characterised in that described by around described mobile terminal
Picture mates with the aircraft cabin internal medium picture preset, to determine whether described mobile terminal is in
Inside described aircraft cabin, including:
The similarity contrasting picture around described mobile terminal and the aircraft cabin internal medium picture preset is
No exceed predetermined threshold value;
Picture around described mobile terminal exceedes with the similarity of the aircraft cabin internal medium picture preset
During predetermined threshold value, determine that described mobile terminal is in inside described aircraft cabin;Around described mobile terminal
The similarity of picture and described default aircraft cabin internal medium picture not less than described predetermined threshold value time,
Determine that described mobile terminal is not in inside described aircraft cabin.
Method the most according to claim 1, it is characterised in that described by around described mobile terminal
Picture mates with the aircraft cabin internal medium picture preset, to determine whether described mobile terminal is in
Inside described aircraft cabin, including:
Analyze the picture around described mobile terminal, to draw the spy that the picture around described mobile terminal comprises
Levy element, the aircraft cabin feature included by described characteristic element with the aircraft cabin internal medium picture preset
Element contrasts, and whether comprises at least one and described aircraft cabin characteristic element to determine in described characteristic element
Identical characteristic element;
When described characteristic element comprises at least one characteristic element identical with described aircraft cabin characteristic element
Time, determine that described mobile terminal is in inside described aircraft cabin;When described characteristic element not comprising and institute
When stating the identical characteristic element of aircraft cabin characteristic element, determine that described mobile terminal is not in described aircraft machine
Inside cabin.
4. according to the method described in any one of claims 1 to 3, it is characterised in that described when determining described shifting
When dynamic terminal is in described aircraft cabin inside, the mode of operation of described mobile terminal is switched to offline mode,
Including:
When determining that described mobile terminal is in described aircraft cabin inside, send inquiry window to ask whether
Open offline mode or send prompt window with prompting unlatching offline mode;
When receiving the instruction confirming unlatching offline mode of the instruction input responding described inquiry window or connecing
When receiving the offline mode open command of the prompting input responding described prompt window, by described mobile terminal
Mode of operation switches to offline mode.
5. according to the method described in any one of claims 1 to 3, it is characterised in that described by described mobile whole
Before the mode of operation of end switches to offline mode, also include:
Obtain the position of described mobile terminal;
Judge whether the position of described mobile terminal belongs to default position, airport, if belonging to, perform described will
The mode of operation of described mobile terminal switches to the step of offline mode.
6. a mobile terminal, it is characterised in that including:
Search unit, for searching the flight comprised in social networking application under mobile terminal is in non-offline mode
Information, wherein, described Flight Information includes that the flight time section of flight, described flight time section are described boat
Time between the departure time to finish time of class;
First acquiring unit, for obtaining the current time information of described mobile terminal;
Judging unit, in judging the flight time section whether described current time information falls into described flight;
Start unit, for when judging that the current time information of described mobile terminal falls into flying of described flight
Time in the row time period, start photographic head to obtain the picture around described mobile terminal;
Matching unit, for drawing the picture around described mobile terminal with the aircraft cabin internal medium preset
Face is mated, to determine whether described mobile terminal is in inside described aircraft cabin;
Switch unit, for when determining that described mobile terminal is in described aircraft cabin inside, by described
The mode of operation of mobile terminal switches to offline mode.
Mobile terminal the most according to claim 6, it is characterised in that described matching unit includes:
Analyze subelement, for contrasting the picture around described mobile terminal and the aircraft cabin inner loop preset
Whether the similarity of border picture exceedes predetermined threshold value;
Determine subelement, for the picture around described mobile terminal and the aircraft cabin internal medium preset
When the similarity of picture exceedes predetermined threshold value, determine that described mobile terminal is in inside described aircraft cabin;When
The similarity of the picture around described mobile terminal and described default aircraft cabin internal medium picture not less than
During described predetermined threshold value, determine that described mobile terminal is not in inside described aircraft cabin.
Mobile terminal the most according to claim 6, it is characterised in that described matching unit includes:
Analyze subelement, for analyzing the picture around described mobile terminal, to draw described mobile terminal week
The characteristic element that the picture enclosed comprises, by described characteristic element and the aircraft cabin internal medium picture bag preset
Whether the aircraft cabin characteristic element contrast included, comprise at least one with described to determine in described characteristic element
The characteristic element that aircraft cabin characteristic element is identical;
Determine subelement, for when described characteristic element comprises at least one and described aircraft cabin characteristic element
During the identical characteristic element of element, determine that described mobile terminal is in inside described aircraft cabin;When described feature
When element does not comprise the characteristic element identical with described aircraft cabin characteristic element, determine described mobile terminal
It is not in inside described aircraft cabin.
9. according to the mobile terminal described in any one of claim 6~8, it is characterised in that described switch unit
Including:
Remind subelement, for when determining that described mobile terminal is in described aircraft cabin inside, sending inquiry
Ask that window is to ask whether to open offline mode or send prompt window to open offline mode with prompting;
Switching subelement, for opening flight when the confirmation receiving the instruction input responding described inquiry window
When instructing or receive the offline mode open command pointing out input responding described prompt window of pattern,
The mode of operation of described mobile terminal is switched to offline mode.
10. according to the mobile terminal described in any one of claim 6~8, it is characterised in that described mobile whole
End also includes:
Second acquisition unit, for obtaining the position of described mobile terminal;
Contrast unit, for judging whether the position of described mobile terminal belongs to default position, airport, if belonging to
In, trigger described switch unit and perform to switch to the mode of operation of described mobile terminal the operation of offline mode.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510217907.8A CN104853040B (en) | 2015-04-30 | 2015-04-30 | The control method of a kind of offline mode and mobile terminal |
PCT/CN2016/077080 WO2016173343A1 (en) | 2015-04-30 | 2016-03-23 | Airplane-mode control method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510217907.8A CN104853040B (en) | 2015-04-30 | 2015-04-30 | The control method of a kind of offline mode and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104853040A CN104853040A (en) | 2015-08-19 |
CN104853040B true CN104853040B (en) | 2016-12-14 |
Family
ID=53852387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510217907.8A Expired - Fee Related CN104853040B (en) | 2015-04-30 | 2015-04-30 | The control method of a kind of offline mode and mobile terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104853040B (en) |
WO (1) | WO2016173343A1 (en) |
Families Citing this family (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104853040B (en) * | 2015-04-30 | 2016-12-14 | 广东欧珀移动通信有限公司 | The control method of a kind of offline mode and mobile terminal |
CN104853041B (en) * | 2015-04-30 | 2017-03-01 | 广东欧珀移动通信有限公司 | A kind of control method of offline mode and mobile terminal |
CN106612363A (en) * | 2015-10-21 | 2017-05-03 | 深圳富泰宏精密工业有限公司 | Method and mobile device for automatic scene mode switching |
CN105335844A (en) * | 2015-10-23 | 2016-02-17 | 广东小天才科技有限公司 | Method and system for controlling terminal to turn off based on identity information |
CN105262902A (en) * | 2015-10-30 | 2016-01-20 | 宁波萨瑞通讯有限公司 | Automatic flight mode starting method and system and mobile terminal |
CN105391861B (en) * | 2015-11-23 | 2019-04-19 | 小米科技有限责任公司 | Reminding method and device |
CN105657157B (en) * | 2015-12-07 | 2019-05-14 | 东莞酷派软件技术有限公司 | A kind of switching method and device of mobile terminal mode |
CN105682118B (en) * | 2016-01-12 | 2019-07-23 | 深圳多尼卡互联技术有限公司 | A kind of terminal communication monitoring and managing method and system, terminal and WIFI server |
CN106254633B (en) * | 2016-07-25 | 2019-07-09 | 北京小米移动软件有限公司 | Handset mode method of adjustment and device |
WO2018023740A1 (en) * | 2016-08-05 | 2018-02-08 | 胡明祥 | Data collection method for automatic handset setting matching technology, and handset |
CN108401064B (en) * | 2017-02-07 | 2021-08-31 | 中兴通讯股份有限公司 | Terminal work control method and device and terminal |
CN107395849B (en) * | 2017-08-09 | 2021-09-07 | 维沃移动通信有限公司 | Call method, mobile terminal and computer readable storage medium |
CN110020217B (en) * | 2017-09-05 | 2023-09-26 | 上海博泰悦臻网络技术服务有限公司 | Method/system for controlling/displaying information of connecting machine, medium, server side and vehicle-mounted side |
CN108513007A (en) * | 2018-03-27 | 2018-09-07 | 维沃移动通信有限公司 | A kind of method and mobile terminal of control offline mode |
CN108813858A (en) * | 2018-05-21 | 2018-11-16 | 浙江吉利控股集团有限公司 | Trolley case and trolley case system |
CN109309759A (en) * | 2018-10-19 | 2019-02-05 | 如皋福大工程技术研究院有限公司 | Offline mode autocontrol method and system |
TWI711333B (en) * | 2019-02-12 | 2020-11-21 | 宏碁股份有限公司 | Method for automatically turning off transceiver and mobile device thereof |
CN110418016B (en) * | 2019-07-25 | 2021-06-22 | 中国联合网络通信集团有限公司 | Method and system for quickly identifying state of mobile phone |
CN113034979A (en) * | 2021-02-24 | 2021-06-25 | 飞天联合(北京)系统技术有限公司 | Scene-based intelligent aviation container communication opening and closing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101448340A (en) * | 2007-11-26 | 2009-06-03 | 联想(北京)有限公司 | Mobile terminal state detection method and system and mobile terminal |
WO2015026622A1 (en) * | 2013-08-20 | 2015-02-26 | Ebay Inc. | Systems and methods for location-based device security |
CN104484112A (en) * | 2014-12-31 | 2015-04-01 | 魅族科技(中国)有限公司 | Work mode switching method and terminal |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006067488A (en) * | 2004-08-30 | 2006-03-09 | Mitsubishi Electric Corp | Mobile communication terminal |
KR101584058B1 (en) * | 2009-08-07 | 2016-01-12 | 삼성전자주식회사 | Mobile terminal providing environment adapted to present situation and method for operating the same |
US9026770B2 (en) * | 2010-08-05 | 2015-05-05 | Verizon Patent And Licensing Inc. | Context-sensitive user device control profile |
CN102938815A (en) * | 2012-11-07 | 2013-02-20 | 广东欧珀移动通信有限公司 | Contextual model switching method and system for mobile phone |
CN104580696A (en) * | 2014-12-09 | 2015-04-29 | 东莞宇龙通信科技有限公司 | Switching method and system for contextual model |
CN104853040B (en) * | 2015-04-30 | 2016-12-14 | 广东欧珀移动通信有限公司 | The control method of a kind of offline mode and mobile terminal |
-
2015
- 2015-04-30 CN CN201510217907.8A patent/CN104853040B/en not_active Expired - Fee Related
-
2016
- 2016-03-23 WO PCT/CN2016/077080 patent/WO2016173343A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101448340A (en) * | 2007-11-26 | 2009-06-03 | 联想(北京)有限公司 | Mobile terminal state detection method and system and mobile terminal |
WO2015026622A1 (en) * | 2013-08-20 | 2015-02-26 | Ebay Inc. | Systems and methods for location-based device security |
CN104484112A (en) * | 2014-12-31 | 2015-04-01 | 魅族科技(中国)有限公司 | Work mode switching method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104853040A (en) | 2015-08-19 |
WO2016173343A1 (en) | 2016-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104853040B (en) | The control method of a kind of offline mode and mobile terminal | |
CN104902081B (en) | Control method of flight mode and mobile terminal | |
CN110945858B (en) | Chat dockbar for messaging applications | |
US11877093B2 (en) | User interfaces to facilitate electronic communication | |
CN105930073A (en) | Method And Apparatus For Supporting Communication In Electronic Device | |
KR102577968B1 (en) | Augmented reality object manipulation | |
CN105530607B (en) | user recommending method, device and system | |
CN109690479B (en) | Method and device for associating notification message and mobile terminal | |
CN106059894B (en) | Message processing method and device | |
CN104503691A (en) | Equipment control method and device | |
KR20160087268A (en) | Mobile terminal and control method for the same | |
CN106292799B (en) | Unmanned plane, remote control and its control method | |
EP2998705B1 (en) | Mobile terminal and control method for the mobile terminal | |
CN105208216A (en) | Control method and device for terminal, and terminal | |
CN108334265B (en) | A kind of document handling method and mobile terminal | |
CN109167884A (en) | A kind of method of servicing and device based on user speech | |
CN110049185A (en) | Image processing method and terminal device | |
CN109284144A (en) | A kind of fast application processing method and mobile terminal | |
CN105911573A (en) | Aerial device retrieving method and device | |
CN109639569A (en) | A kind of social communication method and terminal | |
CN104853041B (en) | A kind of control method of offline mode and mobile terminal | |
CN107688350A (en) | Unmanned aerial vehicle (UAV) control method and apparatus | |
WO2017193343A1 (en) | Media file sharing method, media file sharing device and terminal | |
CN110502295A (en) | A kind of interface switching method and terminal device | |
CN109889654A (en) | A kind of information display method and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20161214 |
|
CF01 | Termination of patent right due to non-payment of annual fee |