CN107659726A - A kind of method, equipment and computer-readable recording medium for recovering end message - Google Patents

A kind of method, equipment and computer-readable recording medium for recovering end message Download PDF

Info

Publication number
CN107659726A
CN107659726A CN201710896803.3A CN201710896803A CN107659726A CN 107659726 A CN107659726 A CN 107659726A CN 201710896803 A CN201710896803 A CN 201710896803A CN 107659726 A CN107659726 A CN 107659726A
Authority
CN
China
Prior art keywords
terminal
information
end message
quick response
current sessions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710896803.3A
Other languages
Chinese (zh)
Inventor
李周华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Publication of CN107659726A publication Critical patent/CN107659726A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/54Arrangements for diverting calls for one subscriber to another predetermined subscriber

Abstract

Invention describes a kind of method for recovering end message, including:When receiving session information transfer instruction, the current sessions information of the first terminal is obtained;By the current sessions synchronizing information to second terminal, to continue executing with the current sessions by the second terminal.The present invention also describes a kind of equipment and computer-readable recording medium for recovering end message, in the case where first terminal is in and will shut down, by the way that the session information of first terminal is transferred into second terminal, so as to prevent the session information of first terminal from stopping or lose.

Description

A kind of method, equipment and computer-readable recording medium for recovering end message
Technical field
The present invention relates to mobile communication technology field, more particularly to a kind of method, equipment and calculating for recovering end message Machine readable storage medium storing program for executing.
Background technology
During user's using terminal, if run into when terminal is because of not enough power supply and automatic shutdown, terminal are because of the system failure When crashing or restart suddenly, the current sessions that can cause just performing in terminal are lost.The loss of session very maximum probability can cause Serious consequence, such as:The document or code write lose, has authorized loss of state, the webpage for be ready submitting filled in Information loss etc., so as to which serious influence can be caused to Consumer's Experience.
Further, since different user can all have different use habits in using mobile terminal, so user is using System setting can be carried out during mobile terminal according to personal habits.When a user replaces a mobile terminal, it is necessary to re-start System is set, comparatively laborious, and elapsed time, user experience are bad.
The content of the invention
It is a primary object of the present invention to propose a kind of method, equipment and computer-readable storage medium for recovering end message Matter, in the case where first terminal is in and will shut down, by the way that the session information of first terminal is transferred into second terminal, so as to Prevent the session information of first terminal from stopping or losing.
To achieve the above object, it is described applied to first terminal the invention provides a kind of method for recovering end message Method includes:
When receiving session information transfer instruction, the current sessions information of the first terminal is obtained;
By the current sessions synchronizing information to second terminal, to continue executing with the current meeting by the second terminal Words.
Optionally, methods described also includes:
When the electricity for detecting the first terminal is less than predetermined threshold value, or to detect that system occurs in the first terminal different Chang Shi, send session information transfer instruction.
Optionally, it is described by the current sessions synchronizing information to second terminal, including:
According to pre-arranged code rule, the current sessions information is encoded to the first Quick Response Code, and it is two-dimentional by described first Code is sent to the second terminal, so that the second terminal goes out included in described first according to the pre-arranged code rule parsing Current sessions information in Quick Response Code.
Optionally, methods described also includes:
The current sessions information of the second terminal sent by the second terminal is received, and by described first eventually The display screen at end shows the current sessions information received.
Optionally, the current sessions information for receiving the second terminal sent by the second terminal, including:
The second Quick Response Code sent by the second terminal is received, and goes out to include according to the pre-arranged code rule parsing The current sessions information of the second terminal in second Quick Response Code.
Optionally, the current sessions information includes:The currently used application information of terminal, and each currently make The interface information of application program.
Optionally, methods described also includes:
When the system that receives sets transfer instruction, the current system configuration information of the first terminal is obtained;
According to pre-arranged code rule, the current system configuration information is encoded to the 3rd Quick Response Code;
By the 3rd synchronous two-dimension code to the second terminal, so that the second terminal is according to included in the described 3rd System set-up information in Quick Response Code sets the second terminal.
Optionally, methods described also includes:
Receive the 4th Quick Response Code sent by the second terminal;
According to pre-arranged code rule, the system set-up information included in the 4th Quick Response Code is parsed;
According to the system set-up information parsed, the first terminal is set.
In addition, to achieve the above object, the present invention also proposes a kind of equipment for recovering end message, applied to first eventually End, the equipment include:Processor, memory and communication bus;
The communication bus is used to realize the connection communication between the processor and the memory;
The processor is used for the program for performing the recovery end message stored in the memory, to realize above-mentioned introduction Recovery end message method the step of.
In addition, to achieve the above object, the present invention also proposes that a kind of computer-readable recording medium is applied to first terminal, The computer-readable recording medium storage has the program for recovering end message;
When the program of the recovery end message is by least one computing device, cause at least one processor The step of performing the method for recovery end message of above-mentioned introduction.
Method, equipment and the computer-readable recording medium proposed by the present invention for recovering end message, there is provided Yi Zhonggeng The session information way to manage of facilitation, in the case where first terminal is in and will shut down, by the current sessions of first terminal Quick Response Code corresponding to information generation, second terminal reduce the session information on first terminal, to reach by obtaining the Quick Response Code The purpose of seamless switching session, so as to prevent the session information of first terminal from stopping or lose.In addition, changed in user mobile whole Before end, can according to corresponding to the system set-up information generation in old mobile terminal (i.e. first terminal) Quick Response Code, it is new Mobile terminal (i.e. second terminal) is by obtaining the Quick Response Code, according to the system set-up information in old mobile terminal to new shifting Dynamic terminal carries out system setting.Using aforesaid way, the time not only can be saved, moreover it is possible to improve user experience and satisfaction.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention;
Fig. 2 is the communications network system Organization Chart of mobile terminal as shown in Figure 1;
Fig. 3 is the flow chart of the method for the recovery end message of first embodiment of the invention;
Fig. 4 is the flow chart of the method for the recovery end message of second embodiment of the invention;
Fig. 5 is the flow chart of the method for the recovery end message of third embodiment of the invention;
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc. The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
As shown in figure 3, the first embodiment of the present invention proposes a kind of method for recovering end message, applied to first eventually End, methods described specifically include following steps:
Step S301:When receiving session information transfer instruction, the current sessions information of the first terminal is obtained.
Specifically, step S301, including:
When the electricity for detecting the first terminal is less than predetermined threshold value, or to detect that system occurs in the first terminal different Chang Shi, send session information transfer instruction.
When the first terminal is faced because i.e. by power down condition caused by not enough power supply, or lead because of the system failure When being likely to occur the situation for crashing or restarting of cause, the first terminal sends session information transfer instruction, so as to perform session The transfer operation of information.In addition, when the above situation occurs in the first terminal, the first terminal can also pass through described The display screen of one terminal sends reminder message to terminal user, to remind terminal user's triggering session information transfer instruction;When connecing When receiving the session information transfer instruction of terminal user's triggering, the transfer operation of session information is performed.
Further, the current sessions information includes:The currently used application information of terminal, and each currently make The interface information of application program.
In order to prevent the first terminal from the situation of session loss occur, when receiving session information transfer instruction, obtain The information for all application programs that the first terminal is being currently used is taken, and obtains the application program being each used and works as The interface information of preceding stop and the information that terminal user has inputted in the interface currently stopped.In addition, described first is whole End can also be according to the prior setting of terminal user, and obtaining terminal user needs to perform on another station terminal (i.e. second terminal) Recover information required during session, such as:The link address information for the audio/video that the first terminal is currently played And playback progress information, all document roads edited that the application program being being currently used with the first terminal associates Footpath and document content, the operation history of the application cache that the first terminal is being currently used and clipbook it is interior Hold.
Step S302:By the current sessions synchronizing information to second terminal, to be continued executing with by the second terminal The current sessions.
Specifically, it is described by the current sessions synchronizing information to second terminal, including:
According to pre-arranged code rule, the current sessions information is encoded to the first Quick Response Code, and it is two-dimentional by described first Code is sent to the second terminal, so that the second terminal goes out included in described first according to the pre-arranged code rule parsing Current sessions information in Quick Response Code.
By the current sessions information got in step S301 according to default coding rule with key:Value key-value pairs Coding is in first Quick Response Code.All terminal users are contained in the first Quick Response Code generated after coding to be needed second eventually Information required when recovering session is performed on end.
When the second terminal receives the first Quick Response Code sent by the first terminal, according to default coding Rule, according to the key included in first Quick Response Code:Value key-value pairs, corresponding session information is parsed, and pass through institute The display screen for stating second terminal shows the session information parsed, so that terminal user continues executing with it by the second terminal The preceding session operation not completed on the first terminal, so as to prevent when first terminal causes to shut down because of not enough power supply, Or first terminal when causing to crash because of the system failure or restarting caused by session information situation about losing occur.
Preferably, the first terminal can send first Quick Response Code to the second terminal, or, described Two terminals can obtain first Quick Response Code by way of camera scans Quick Response Code.
Further, methods described also includes:
The current sessions information of the second terminal sent by the second terminal is received, and by described first eventually The display screen at end shows the current sessions information received.
When the electricity for detecting the second terminal is less than predetermined threshold value, or to detect that system occurs in the second terminal different Chang Shi, the second terminal can conversate the transfer operation of information.
Further, the current sessions information for receiving the second terminal sent by the second terminal, Including:
The second Quick Response Code sent by the second terminal is received, and goes out to include according to the pre-arranged code rule parsing The current sessions information of the second terminal in second Quick Response Code.
In order to prevent the second terminal from the situation of session loss occur, when the second terminal can conversate information During transfer operation, the information for all application programs that the second terminal is being currently used is obtained, and acquisition each makes The interface information that application program currently stops and the information that terminal user has inputted in the interface currently stopped.
By the above-mentioned session information got according to default coding rule with key:Value key-value pairs coding is described the In two Quick Response Codes.All terminal users are contained in the second Quick Response Code generated after coding to be needed to perform recovery on first terminal Required information during session.
When the first terminal receives the second Quick Response Code sent by the second terminal, according to default coding Rule, according to the key included in second Quick Response Code:Value key-value pairs, corresponding session information is parsed, and pass through institute The display screen for stating first terminal shows the session information parsed, so that terminal user continues executing with it by the first terminal The preceding session operation not completed in the second terminal, so as to prevent when second terminal causes to shut down because of not enough power supply, Or second terminal when causing to crash because of the system failure or restarting caused by session information situation about losing occur.
A kind of method of easily recovery terminal session is present embodiments provided, and is reduced by way of scanning Quick Response Code Taking when terminal user performs conversation shift work on mobile terminals, improves mobile terminal in terms of user conversation holding Experience Degree and satisfaction.
As shown in figure 4, the second embodiment of the present invention proposes a kind of method for recovering end message, applied to first eventually In end, methods described specifically includes following steps:
Step S401:When the system that receives sets transfer instruction, the current system for obtaining the first terminal sets letter Breath.
Specifically, step S401 includes:
When terminal user needs to change mobile terminal, terminal user can touch on old mobile terminal (i.e. first terminal) Hair system sets transfer instruction;When receiving the system setting transfer instruction by terminal user's triggering, described first is obtained eventually The current system configuration information at end.
Further, the current system configuration information includes:
Subject information that terminal user is set on the first terminal, terminal user are set on the first terminal Personal settings item information.For example, the silent mode information that terminal user is set on first terminal, terminal user is whole first The quarter-bell information set on end, the font size information that terminal user is set on first terminal.
Preferably, in order to reduce the information content of acquisition, the system set-up information compared with Default Value and have change is only obtained, Terminal user need not obtain without the system set-up information of change.
Step S402:According to pre-arranged code rule, the current system configuration information is encoded to the 3rd Quick Response Code.
By the current system configuration information got in step S401 according to default coding rule with key:Value keys Value is to encoding in the 3rd Quick Response Code.All terminal users are contained in the 3rd Quick Response Code generated after coding to be needed new Mobile terminal (i.e. second terminal) on perform required information when recovery system is set.
Step S403:By the 3rd synchronous two-dimension code to second terminal, so that the second terminal is according to included in institute The system set-up information stated in the 3rd Quick Response Code sets the second terminal.
When the second terminal receives three Quick Response Code sent by the first terminal, according to default coding Rule, according to the key included in the 3rd Quick Response Code:Value key-value pairs, parse corresponding system set-up information, and root According to the system set-up information parsed, the second terminal is set.
Further, methods described also includes:
Step A1:Receive the 4th Quick Response Code sent by the second terminal.
Wherein, the 4th Quick Response Code is to set transfer by the system of terminal user's triggering when the second terminal receives During instruction, according to the current system configuration information of the second terminal and according to pre-arranged code rule generation.
Preferably, in the 4th Quick Response Code only comprising compared with Default Value have change in the second terminal be System configuration information.
Step A2:According to pre-arranged code rule, the system parsed included in the 4th Quick Response Code sets letter Breath.
Step A3:According to the system set-up information parsed, the first terminal is set.
, can be according to old mobile terminal (i.e. first terminal) before user changes mobile terminal by the present embodiment In system set-up information generation corresponding to Quick Response Code, new mobile terminal (i.e. second terminal) pressed by obtaining the Quick Response Code The system set-up information in mobile terminal as before carries out system setting to new mobile terminal.Using the present embodiment, not only may be used To save the time, moreover it is possible to improve user experience and satisfaction.
As shown in figure 5, the third embodiment of the present invention proposes a kind of method for recovering end message, applied to first eventually End and second terminal, methods described specifically include following steps:
Step S501:When not enough power supply or the system failure occurs in first terminal, first terminal obtains current session shape State.
Specifically, step S501, including:
When first terminal is faced because i.e. by power down condition caused by not enough power supply, or because of caused by the system failure When being likely to occur the situation for crashing or restarting, first terminal obtains the letter for all application programs that first terminal is being currently used Breath, and obtain interface information and the terminal use in the interface currently stopped that the application program being each used currently stops The information that family has inputted.In addition, first terminal can also be according to the prior setting of terminal user, obtaining terminal user needs Information required when recovering session is performed on another station terminal (i.e. second terminal), such as:First terminal is currently played Audio/video link address information and playback progress information, associated with the application program that first terminal is being currently used All document paths edited and document content, the operation for the application cache that first terminal is being currently used go through The content of history and clipbook.
Step S502:First terminal generates Quick Response Code according to the session status got.
Specifically, step S502, including:
By the current sessions information got in step S501 according to default coding rule with key:Value key-value pairs Coding is in Quick Response Code.Terminal user is contained in the Quick Response Code generated after coding and needs to perform in second terminal and recovers session When required information.
Step S503:The Quick Response Code of first terminal generation is obtained by second terminal.
Specifically, step S503, including:
First terminal sends Quick Response Code to second terminal, or, second terminal scans the side of Quick Response Code by camera Formula obtains Quick Response Code.
Step S504:Second terminal parses the session status included in Quick Response Code.
Specifically, step S504, including:
When second terminal gets Quick Response Code, according to default coding rule, according to the key included in Quick Response Code: Value key-value pairs, parse corresponding session information.
Step S505:Second terminal rebuilds the unfinished session of first terminal according to the session status parsed.
Specifically, step S505, including:
The session information parsed is shown by the display screen of second terminal, so that terminal user is continued by second terminal The session operation not completed before execution on first terminal
Step S506:The session established by second terminal continues to complete remaining work.
The fourth embodiment of the present invention proposes a kind of equipment for recovering end message, the mobile end applied to above-mentioned introduction End, as shown in figure 1, the equipment for recovering end message specifically includes:Processor 110, memory 109 and communication bus;
The communication bus is used to realize the connection communication between processor 110 and memory 109;
Processor 110 is used for the program for performing the recovery end message stored in memory 109, to realize following steps:
When receiving session information transfer instruction, the current sessions information of the first terminal is obtained;
By the current sessions synchronizing information to second terminal, to continue executing with the current meeting by the second terminal Words.
Specifically, processor 110 is additionally operable to perform the program of the recovery end message stored in memory 109, to realize Following steps:
When the electricity for detecting the first terminal is less than predetermined threshold value, or to detect that system occurs in the first terminal different Chang Shi, send session information transfer instruction.
When the first terminal is faced because i.e. by power down condition caused by not enough power supply, or lead because of the system failure When being likely to occur the situation for crashing or restarting of cause, the first terminal sends session information transfer instruction, so as to perform session The transfer operation of information.In addition, when the above situation occurs in the first terminal, the first terminal can also pass through described The display screen of one terminal sends reminder message to terminal user, to remind terminal user's triggering session information transfer instruction;When connecing When receiving the session information transfer instruction of terminal user's triggering, the transfer operation of session information is performed.
Further, the current sessions information includes:The currently used application information of terminal, and each currently make The interface information of application program.
In order to prevent the first terminal from the situation of session loss occur, when receiving session information transfer instruction, obtain The information for all application programs that the first terminal is being currently used is taken, and obtains the application program being each used and works as The interface information of preceding stop and the information that terminal user has inputted in the interface currently stopped.In addition, described first is whole End can also be according to the prior setting of terminal user, and obtaining terminal user needs to perform on another station terminal (i.e. second terminal) Recover information required during session, such as:The link address information for the audio/video that the first terminal is currently played And playback progress information, all document roads edited that the application program being being currently used with the first terminal associates Footpath and document content, the operation history of the application cache that the first terminal is being currently used and clipbook it is interior Hold.
Further, processor 110 is when performing the step by the current sessions synchronizing information to second terminal, specifically Including:
According to pre-arranged code rule, the current sessions information is encoded to the first Quick Response Code, and it is two-dimentional by described first Code is sent to the second terminal, so that the second terminal goes out included in described first according to the pre-arranged code rule parsing Current sessions information in Quick Response Code.
By the current sessions information got according to default coding rule with key:Value key-value pairs coding is described the In one Quick Response Code.All terminal users are contained in the first Quick Response Code generated after coding to be needed to perform recovery in second terminal Required information during session.
When the second terminal receives the first Quick Response Code sent by the first terminal, according to default coding Rule, according to the key included in first Quick Response Code:Value key-value pairs, corresponding session information is parsed, and pass through institute The display screen for stating second terminal shows the session information parsed, so that terminal user continues executing with it by the second terminal The preceding session operation not completed on the first terminal, so as to prevent when first terminal causes to shut down because of not enough power supply, Or first terminal when causing to crash because of the system failure or restarting caused by session information situation about losing occur.
Further, processor 110 is additionally operable to perform the program of the recovery end message stored in memory 109, with reality Existing following steps:
The current sessions information of the second terminal sent by the second terminal is received, and by described first eventually The display screen at end shows the current sessions information received.
When the electricity for detecting the second terminal is less than predetermined threshold value, or to detect that system occurs in the second terminal different Chang Shi, the second terminal can conversate the transfer operation of information.
Further, processor 110 perform receive sent by the second terminal the second terminal it is current During the step of session information, specifically include:
The second Quick Response Code sent by the second terminal is received, and goes out to include according to the pre-arranged code rule parsing The current sessions information of the second terminal in second Quick Response Code.
In order to prevent the second terminal from the situation of session loss occur, when the second terminal can conversate information During transfer operation, the information for all application programs that the second terminal is being currently used is obtained, and acquisition each makes The interface information that application program currently stops and the information that terminal user has inputted in the interface currently stopped.
By the above-mentioned session information got according to default coding rule with key:Value key-value pairs coding is described the In two Quick Response Codes.All terminal users are contained in the second Quick Response Code generated after coding to be needed to perform recovery on first terminal Required information during session.
When the first terminal receives the second Quick Response Code sent by the second terminal, according to default coding Rule, according to the key included in second Quick Response Code:Value key-value pairs, corresponding session information is parsed, and pass through institute The display screen for stating first terminal shows the session information parsed, so that terminal user continues executing with it by the first terminal The preceding session operation not completed in the second terminal, so as to prevent when second terminal causes to shut down because of not enough power supply, Or second terminal when causing to crash because of the system failure or restarting caused by session information situation about losing occur.
Further, processor 110 is additionally operable to perform the program of the recovery end message stored in memory 109, to realize Following steps:
When the system that receives sets transfer instruction, the current system configuration information of the first terminal is obtained;
According to pre-arranged code rule, the current system configuration information is encoded to the 3rd Quick Response Code;
By the 3rd synchronous two-dimension code to the second terminal, so that the second terminal is according to included in the described 3rd System set-up information in Quick Response Code sets the second terminal.
Further, the current system configuration information includes:
Subject information that terminal user is set on the first terminal, terminal user are set on the first terminal Personal settings item information.For example, the silent mode information that terminal user is set on first terminal, terminal user is whole first The quarter-bell information set on end, the font size information that terminal user is set on first terminal.
Preferably, in order to reduce the information content of acquisition, the system set-up information compared with Default Value and have change is only obtained, Terminal user need not obtain without the system set-up information of change.
Further, processor 110 is additionally operable to perform the program of the recovery end message stored in memory 109, to realize Following steps:
Receive the 4th Quick Response Code sent by the second terminal;
According to pre-arranged code rule, the system set-up information included in the 4th Quick Response Code is parsed;
According to the system set-up information parsed, the first terminal is set.
The fifth embodiment of the present invention proposes a kind of computer-readable recording medium, the computer-readable recording medium It is stored with the program for recovering end message;
When the program of the recovery end message is by least one computing device, cause at least one processor Perform following operate:
When receiving session information transfer instruction, the current sessions information of the first terminal is obtained;
By the current sessions synchronizing information to second terminal, to continue executing with the current meeting by the second terminal Words.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

  1. A kind of 1. method for recovering end message, it is characterised in that applied to first terminal, methods described includes:
    When receiving session information transfer instruction, the current sessions information of the first terminal is obtained;
    By the current sessions synchronizing information to second terminal, to continue executing with the current sessions by the second terminal.
  2. 2. the method according to claim 1 for recovering end message, it is characterised in that methods described also includes:
    When the electricity for detecting the first terminal is less than predetermined threshold value, or detect that system exception occurs in the first terminal When, send session information transfer instruction.
  3. 3. the method according to claim 1 for recovering end message, it is characterised in that described by the current sessions information Second terminal is synchronized to, including:
    According to pre-arranged code rule, the current sessions information is encoded to the first Quick Response Code, and first Quick Response Code is sent out The second terminal is delivered to, so that the second terminal goes out included in the described first two dimension according to the pre-arranged code rule parsing Current sessions information in code.
  4. 4. the method according to claim 1 for recovering end message, it is characterised in that methods described also includes:
    The current sessions information of the second terminal sent by the second terminal is received, and passes through the first terminal Display screen shows the current sessions information received.
  5. 5. the method according to claim 4 for recovering end message, it is characterised in that the reception is by the second terminal The current sessions information of the second terminal sent, including:
    The second Quick Response Code sent by the second terminal is received, and is gone out according to the pre-arranged code rule parsing included in institute State the current sessions information of the second terminal in the second Quick Response Code.
  6. 6. the method according to claim 1 for recovering end message, it is characterised in that the current sessions information includes: The currently used application information of terminal, and the interface information of each currently used application program.
  7. 7. the method according to claim 1 for recovering end message, it is characterised in that methods described also includes:
    When the system that receives sets transfer instruction, the current system configuration information of the first terminal is obtained;
    According to pre-arranged code rule, the current system configuration information is encoded to the 3rd Quick Response Code;
    By the 3rd synchronous two-dimension code to the second terminal, so that the second terminal is according to included in the described 3rd two dimension System set-up information in code sets the second terminal.
  8. 8. the method according to claim 1 for recovering end message, it is characterised in that methods described also includes:
    Receive the 4th Quick Response Code sent by the second terminal;
    According to pre-arranged code rule, the system set-up information included in the 4th Quick Response Code is parsed;
    According to the system set-up information parsed, the first terminal is set.
  9. 9. a kind of equipment for recovering end message, it is characterised in that applied to first terminal, the equipment includes:Processor, deposit Reservoir and communication bus;
    The communication bus is used to realize the connection communication between the processor and the memory;
    The processor is used for the program for performing the recovery end message stored in the memory, to realize claim 1 to 8 Any one of recovery end message method the step of.
  10. A kind of 10. computer-readable recording medium, it is characterised in that applied to first terminal, the computer-readable storage medium Matter is stored with the program for recovering end message;
    When the program of the recovery end message is by least one computing device, cause at least one computing device The step of method of recovery end message any one of claim 1 to 8.
CN201710896803.3A 2017-08-23 2017-09-28 A kind of method, equipment and computer-readable recording medium for recovering end message Pending CN107659726A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710729112 2017-08-23
CN2017107291124 2017-08-23

Publications (1)

Publication Number Publication Date
CN107659726A true CN107659726A (en) 2018-02-02

Family

ID=61116375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710896803.3A Pending CN107659726A (en) 2017-08-23 2017-09-28 A kind of method, equipment and computer-readable recording medium for recovering end message

Country Status (1)

Country Link
CN (1) CN107659726A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108536529A (en) * 2018-03-30 2018-09-14 努比亚技术有限公司 A kind of multitask regulation and control method, equipment and computer readable storage medium
CN109462829A (en) * 2018-12-29 2019-03-12 努比亚技术有限公司 A kind of call transfer method, equipment and computer readable storage medium
CN110806951A (en) * 2019-10-11 2020-02-18 青岛海信移动通信技术股份有限公司 Data transmission method of terminal
WO2020258247A1 (en) * 2019-06-28 2020-12-30 Citrix Systems, Inc. Distance based session roaming

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140089431A1 (en) * 2012-09-21 2014-03-27 Tencent Technology (Shenzhen) Company Limited Instant messaging method, terminal, server, and system
CN104639985A (en) * 2013-11-14 2015-05-20 深圳市快播科技有限公司 Multimedia playing control method and system
CN105573845A (en) * 2015-03-06 2016-05-11 深圳酷派技术有限公司 Information processing method and system and terminals

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140089431A1 (en) * 2012-09-21 2014-03-27 Tencent Technology (Shenzhen) Company Limited Instant messaging method, terminal, server, and system
CN104639985A (en) * 2013-11-14 2015-05-20 深圳市快播科技有限公司 Multimedia playing control method and system
CN105573845A (en) * 2015-03-06 2016-05-11 深圳酷派技术有限公司 Information processing method and system and terminals

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108536529A (en) * 2018-03-30 2018-09-14 努比亚技术有限公司 A kind of multitask regulation and control method, equipment and computer readable storage medium
CN109462829A (en) * 2018-12-29 2019-03-12 努比亚技术有限公司 A kind of call transfer method, equipment and computer readable storage medium
CN109462829B (en) * 2018-12-29 2022-04-19 努比亚技术有限公司 Call transfer method, device and computer readable storage medium
WO2020258247A1 (en) * 2019-06-28 2020-12-30 Citrix Systems, Inc. Distance based session roaming
US11057777B2 (en) 2019-06-28 2021-07-06 Citrix Systems, Inc. Distance based session roaming
US11770704B2 (en) 2019-06-28 2023-09-26 Citrix Systems, Inc. Distance based session roaming
CN110806951A (en) * 2019-10-11 2020-02-18 青岛海信移动通信技术股份有限公司 Data transmission method of terminal

Similar Documents

Publication Publication Date Title
CN107229402A (en) Dynamic screenshotss method, device and the readable storage medium storing program for executing of terminal
CN107436779A (en) A kind of application management method, equipment and computer-readable recording medium
CN107395858A (en) A kind of reminding method of notification message, terminal and computer-readable recording medium
CN107704571A (en) Information intelligent recommends method, apparatus and computer-readable recording medium
CN107748645A (en) Reading method, mobile terminal and computer-readable recording medium
CN107343083A (en) One kind lifting game experiencing method, apparatus and computer-readable recording medium
CN107145385A (en) A kind of multitask interface display methods, mobile terminal and computer-readable storage medium
CN107038245A (en) Page switching method, mobile terminal and storage medium
CN107181700A (en) Control method, mobile terminal and the storage medium of application program for mobile terminal
CN107133302A (en) Realize method, system, terminal and the computer-readable recording medium of data consistency
CN109032466A (en) Long screenshot method, mobile terminal and storage medium based on double screen
CN107181865A (en) Processing method, terminal and the computer-readable recording medium of unread short messages
CN107786749A (en) A kind of information processing method, terminal and computer-readable recording medium
CN107659726A (en) A kind of method, equipment and computer-readable recording medium for recovering end message
CN110180181A (en) Screenshot method, device and the computer readable storage medium of Wonderful time video
CN107341067A (en) A kind of keys deactivation processing method, equipment and computer-readable recording medium
CN107390856A (en) A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption
CN107172605A (en) A kind of Emmergency call method, mobile terminal and computer-readable recording medium
CN107239193A (en) A kind of contact person's adding method, mobile terminal and computer-readable recording medium
CN107360558A (en) Emergency call control method, communication terminal and computer-readable recording medium
CN107368241A (en) A kind of information processing method, equipment and computer-readable recording medium
CN107729104A (en) A kind of display methods, mobile terminal and computer-readable storage medium
CN107480003A (en) A kind of method, equipment and the computer-readable recording medium of backup radio frequency parameter
CN107222525A (en) Data network connection status display methods, terminal and computer-readable recording medium
CN109068084A (en) Video calling picture display process, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180202