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 onlyBe advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mixGround 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 boardComputer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portableMedia player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. moveDynamic 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 specialOutside 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 shiftingDynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit108th, 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. 1Mobile 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 stationDownlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrateFrequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communicationStandard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunicationsSystem), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (CodeDivision Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code DivisionMultiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous CodeDivision Multiple Access, TD SDMA), FDD-LTE (Frequency DivisionDuplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time DivisionDuplexing-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 102Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 showsGo 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 needTo 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 100When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving orIt is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappearedBreath 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 modeOr the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried outReason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be depositedStorage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.MikeWind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing canTo 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 soundCaused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographiesSensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environmentThe 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 earDisplay panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generalFor 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 wrapDisplay panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be usedForms 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 terminalThe key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 withAnd 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 1071Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detectionTwo parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bandThe signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by itContact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, canTo realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrapInclude 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 orAfter neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thingThe type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, canInput and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specificallyLimit.
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 nothingLine FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) endMouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, numberIt is believed that breath, electric power etc.) and at least one element that the input received is transferred in mobile terminal 100 or can useIn 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 areaAnd storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one functionSound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such asVoice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easyThe 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 connectionIndividual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storageData in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.PlaceReason device 110 may include at least one processing unit;Preferably, processor 110 can integrate application processor and modulation /demodulation processingDevice, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainly locatedManage 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 111Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, putThe 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 entersRow 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 systemUnite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is usedFamily equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS landsGround wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation204。
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 returningJourney (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 andCharging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 andThe control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registersSuch 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 IPAddress is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resourcesPoint, 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 multimediaSystem) 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 onlySuitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA withAnd following new network system etc., do not limit herein.
Based on the above-mentioned hardware configuration of mobile terminal 100 and communications network system, each embodiment of the inventive method is proposed.
Refering to Fig. 3, Fig. 3 is a kind of step flow chart of message management method provided in an embodiment of the present invention, methods describedApplied in a mobile terminal, as shown in figure 3, methods described includes:
Step 301, receive the read requests that destination application reads target message.
In the step, methods described receives the read requests that destination application reads target message.The embodiment of the present inventionIn, when an application program will read the content of short message, the application program can send to mobile terminal and read the short messageRead requests, methods described receive the application program transmission reading the short message read requests.
Step 302, the authority information for obtaining the target message.
In the step, methods described obtains the authority information of the target message.It is described in some embodiments of the present inventionThe authority information of target message can be in the carrying in the target message, i.e., the sender of described target message is to instituteState when mobile terminal sends the target message and carry the authority information of the target message in the target message, the realityApply in example, the mobile terminal receives the target message for carrying the authority information, and is receiving the intended application journeySequence obtains the authority information after reading the read requests of target message from the target message.
In other embodiments of the invention, the authority information can not also be carried in the target message, methods describedThe mode for obtaining the authority information of the target message can obtain the transmission information of the target message, such as send the meshThe transmission number of short message is marked, the acquisition request for carrying the transmission information is then sent to server, for acquisition request instituteState the authority information of target message.The server is after the acquisition request is received based on the acquisition acquisition request and instituteState and send authority information corresponding to information, and authority information corresponding to the transmission information is sent to the mobile terminal, it is describedMethod receives the authority information that the server is sent.For Android system, because its note data storehouse includesAddress (address) field, the mode that methods described obtains the transmission number of the target message can be described in acquisitionThe value of address fields is as transmission number.
It is understood that in the embodiment, multiple transmission numbers and each transmission number are stored with the serverAuthority information corresponding to code.Methods described can send the acquisition when receiving the target message to the server pleaseAsk, can also be sent after the read requests of the destination application reading target message are received to the serverIt is described to obtain request.
Described in methods described can obtain when receiving the destination application and reading the read requests of target messageThe authority information of target message, can also be it is determined that the target message be to obtain the power of the target message after identifying code short messageLimit information.Specifically, methods described can judge whether the target message is checking after the read requests are receivedCode short message, if the target message is identifying code short message, methods described obtains the authority information of the target message;If the meshIt is not identifying code short message to mark short message, then the target message is individual privacy short message, and methods described does not allow any application programRead the target message.Methods described can judge whether the target message is checking when receiving the target messageCode short message, can also judge whether the target message is identifying code short message when receiving the read requests, and the present invention is realExample is applied to be not specifically limited this.
Methods described can be judged by way of obtaining keyword target message whether be identifying code short message mode, sentenceWhether disconnected short message is that identifying code short message belongs to prior art category, and here is omitted.
Step 303, according to the authority information of the target message judge whether the destination application is the targetThe authority application program of short message.
In the step, methods described according to the authority information of the target message judge the destination application whether beThe authority application program of the target message, if the destination application is not the authority application program of the target message,Perform step 304;If on the contrary, the destination application be the target message authority application program, flow terminate orPerson performs step 305, and the embodiment shown in Fig. 3 is not limited thereto exemplified by performing step 305.
The authority information of the target message can be the mark for the authority application program for allowing to read the target messageInformation.Methods described judges whether the destination application is the target message according to the authority information of the target messageThink that authority application program includes:Judge the mark for whether including the destination application in the authority information of the target messageInformation, if the authority information of the target message includes the identification information of the destination application, determine that the target shouldWith the authority application program that program is the target message;Should if not including the target in the authority information of the target messageWith the identification information of program, it is not the authority application program of the target message to determine the destination application.It is appreciated that, the identification information of application program is can be with the information of application program described in unique mark, such as can be application programTitle or installation kit title etc..
Step 304, the destination application is not allowed to read the target message.
In the step, when the destination application is not the authority application program of the target message, methods describedDo not allow the destination application to read the target message, that is, refuse the destination application and read the target messageRead requests.So, methods described can effectively prevent unauthorized software from reading the content of target message, so as to effectively protectThe privacy information of user, ensure the account safety or property safety of user.
In some embodiments of the invention, methods described reads the reading of the target message refusing the destination applicationTake to read in user interface display reminding information reminding user after asking and fail, such as shown in figure 4, work as application program A notFor short message a authority application program, when causing short message reading a failures, methods described can be shown as shown in Figure 4 in user interfacePrompt message, for prompt user application A short message readings a fail.
Step 305, the destination application is allowed to read the target message.
In the step, when the destination application is the authority application program of the target message, methods described permitsPerhaps described destination application reads the target message.In such manner, it is possible to the convenient application program with authority is directly obtained and testedDemonstrate,prove the identifying code in code short message, it is not necessary to which user checks that identifying code is manually entered again, simplifies the operation of user, provides the user withIt is convenient.
In some embodiments of the invention, methods described can allow the destination application to read the target messageAfterwards the target message is successfully read in user interface display reminding information alert ownership goal application program.For example, whenWhen methods described allows application program A short message reading a, methods described can show as shown in Figure 5 on the mobile terminalFor interface, for notifying user application A success short message readings a.
In the embodiment, the message management method receives the read requests that destination application reads target message;ObtainTake the authority information of the target message;According to the authority information of the target message judge the destination application whether beThe authority application program of the target message;If the destination application is not the authority application program of the target message,The destination application is not allowed to read the target message.So, the authority application program of only target message could be readThe content of the target message is taken, can effectively protect the account safety or property safety of user.
Referring to Fig. 6, Fig. 6 is the schematic flow sheet of another message management method provided in an embodiment of the present invention, such as Fig. 6 institutesShow, methods described includes:
Step 601, receive the read requests that destination application reads target message.
In the step, methods described receives the read requests that destination application reads target message.The embodiment of the present inventionIn, when an application program will read the content of short message, the application program can send to mobile terminal and read the short messageRead requests, methods described receive the application program transmission reading the short message read requests.
Step 602, judge whether the target message is identifying code short message.
In the step, methods described judges whether the target message is identifying code short message, if the target message is to testCode short message is demonstrate,proved, performs step 603;If on the contrary, the target message is not identifying code short message, step 605 is performed.NamelySay, if the target message is identifying code short message, methods described further obtains the authority information of the target message;It is if describedTarget message is not identifying code short message, and methods described does not allow the destination application to read the target message, so, energyEnough individual privacy short messages for effectively preventing application program from reading user, avoid causing privacy of user to reveal.In some realities of the inventionApply in example, when the target message does not refuse destination application and read the target message for identifying code short message and methods describedWhen, methods described can provide user interface as shown in Figure 7 in the mobile terminal.
Methods described can be judged by way of obtaining keyword target message whether be identifying code short message mode, sentenceWhether disconnected short message is that identifying code short message belongs to prior art category, and here is omitted.
Step 603, the authority information for obtaining the target message.
In the step, methods described obtains the authority information of the target message.It is described in some embodiments of the present inventionThe authority information of target message can be in the carrying in the target message, i.e., the sender of described target message is to instituteState when mobile terminal sends the target message and carry the authority information of the target message in the target message, the realityApply in example, the mobile terminal receives the target message for carrying the authority information, and is receiving the intended application journeySequence obtains the authority information after reading the read requests of target message from the target message.
In other embodiments of the invention, the authority information can not also be carried in the target message, methods describedThe mode for obtaining the authority information of the target message can obtain the transmission information of the target message, such as send the meshThe transmission number of short message is marked, the acquisition request for carrying the transmission information is then sent to server, for acquisition request instituteState the authority information of target message.The server is after the acquisition request is received based on the acquisition acquisition request and instituteState and send authority information corresponding to information, and authority information corresponding to the transmission information is sent to the mobile terminal, it is describedMethod receives the authority information that the server is sent.For Android system, because its note data storehouse includesAddress (address) field, the mode that methods described obtains the transmission number of the target message can be described in acquisitionThe value of address fields is as transmission number.
It is understood that in the embodiment, multiple transmission numbers and each transmission number are stored with the serverAuthority information corresponding to code.Methods described can send the acquisition when receiving the target message to the server pleaseAsk, can also be sent after the read requests of the destination application reading target message are received to the serverIt is described to obtain request.
Step 604, according to the authority information of the target message judge whether the destination application is the targetThe authority application program of short message.
In the step, methods described according to the authority information of the target message judge the destination application whether beThe authority application program of the target message, if the destination application is not the authority application program of the target message,Perform step 605;If on the contrary, the destination application be the target message authority application program, flow terminate orPerson performs step 606, and the embodiment shown in Fig. 6 is not limited thereto exemplified by performing step 606.
The authority information of the target message can be the mark for the authority application program for allowing to read the target messageInformation.Methods described judges whether the destination application is the target message according to the authority information of the target messageThink that authority application program includes:Judge the mark for whether including the destination application in the authority information of the target messageInformation, if the authority information of the target message includes the identification information of the destination application, determine that the target shouldWith the authority application program that program is the target message;Should if not including the target in the authority information of the target messageWith the identification information of program, it is not the authority application program of the target message to determine the destination application.It is appreciated that, the identification information of application program is can be with the information of application program described in unique mark, such as can be application programTitle or installation kit title etc..
Step 605, the destination application is not allowed to read the target message.
In the step, when the destination application is not the authority application program of the target message, methods describedDo not allow the destination application to read the target message, that is, refuse the destination application and read the target messageRead requests.So, methods described can effectively prevent unauthorized software from reading the content of target message, so as to effectively protectThe privacy information of user, ensure the account safety or property safety of user.
Step 606, the destination application is allowed to read the target message.
In the step, when the destination application is the authority application program of the target message, methods described permitsPerhaps described destination application reads the target message.In such manner, it is possible to the convenient application program with authority is directly obtained and testedDemonstrate,prove the identifying code in code short message, it is not necessary to which user checks that identifying code is manually entered again, simplifies the operation of user, provides the user withIt is convenient.
In the embodiment, the message management method receives the read requests that destination application reads target message;SentenceWhether the target message of breaking is identifying code short message, if the target message is identifying code short message, obtains the target messageAuthority information;According to the authority information of the target message judge the destination application whether be the target message powerLimit application program;If the destination application is not the authority application program of the target message, do not allow the target shouldThe target message is read with program.So, the authority application program of only target message could read the target messageContent, it can effectively protect the account safety or property safety of user.
Referring to Fig. 8, Fig. 8 is the schematic flow sheet of another message management method provided in an embodiment of the present invention, such as Fig. 8 institutesShow, methods described includes:
Step 801, receive the read requests that destination application reads target message.
In the step, methods described receives the read requests that destination application reads target message.The embodiment of the present inventionIn, when an application program will read the content of short message, the application program can send to mobile terminal and read the short messageRead requests, methods described receive the application program transmission reading the short message read requests.
Step 802, the transmission information for obtaining the target message.
In the step, methods described obtains the transmission information of the target message.In the present embodiment, the transmission information isThe transmission number of the target message is sent, for example, for Android system, because its note data storehouse includesAddress (address) field, the mode that methods described obtains the transmission number of the target message can be described in acquisitionThe value of address fields is as transmission number.
Described in methods described can obtain when receiving the destination application and reading the read requests of target messageThe transmission information of target message, can also be it is determined that the target message be to obtain the hair of the target message after identifying code short messageDeliver letters breath.Specifically, methods described can judge whether the target message is checking after the read requests are receivedCode short message, if the target message is identifying code short message, methods described obtains the transmission information of the target message;If the meshIt is not identifying code short message to mark short message, then the target message is individual privacy short message, and methods described does not allow any application programRead the target message.Methods described can judge whether the target message is checking when receiving the target messageCode short message, can also judge whether the target message is identifying code short message when receiving the read requests, and the present invention is realExample is applied to be not specifically limited this.Methods described can judge whether target message is identifying code by way of obtaining keywordThe mode of short message, judge whether short message is that identifying code short message belongs to prior art category, and here is omitted.
Step 803, the acquisition request for carrying the transmission information is sent to server, for target described in acquisition requestThe authority information of short message.
In the step, methods described sends the acquisition request for carrying the transmission information to server, for asking to obtainTake the authority information of the target message.The server is based on the acquisition acquisition request after the acquisition request is receivedAuthority information corresponding with the transmission information, and send authority information corresponding to the transmission information to the mobile terminal.It is understood that in the embodiment, it is stored with the server corresponding to multiple transmission numbers and each transmission numberAuthority information.
Step 804, the authority information for receiving the target message that the server is sent.
In the step, methods described receives the authority information for the target message that the server is sent.
Step 805, according to the authority information of the target message judge whether the destination application is the targetThe authority application program of short message.
In the step, methods described according to the authority information of the target message judge the destination application whether beThe authority application program of the target message, if the destination application is not the authority application program of the target message,Perform step 806;If on the contrary, the destination application be the target message authority application program, flow terminate orPerson performs step 807, and the embodiment shown in Fig. 8 is not limited thereto exemplified by performing step 807.
The authority information of the target message can be the mark for the authority application program for allowing to read the target messageInformation.Methods described judges whether the destination application is the target message according to the authority information of the target messageThink that authority application program includes:Judge the mark for whether including the destination application in the authority information of the target messageInformation, if the authority information of the target message includes the identification information of the destination application, determine that the target shouldWith the authority application program that program is the target message;Should if not including the target in the authority information of the target messageWith the identification information of program, it is not the authority application program of the target message to determine the destination application.It is appreciated that, the identification information of application program is can be with the information of application program described in unique mark, such as can be application programTitle or installation kit title etc..
Step 806, the destination application is not allowed to read the target message.
In the step, when the destination application is not the authority application program of the target message, methods describedDo not allow the destination application to read the target message, that is, refuse the destination application and read the target messageRead requests.So, methods described can effectively prevent unauthorized software from reading the content of target message, so as to effectively protectThe privacy information of user, ensure the account safety or property safety of user.
Step 807, the destination application is allowed to read the target message.
In the step, when the destination application is the authority application program of the target message, methods described permitsPerhaps described destination application reads the target message.In such manner, it is possible to the convenient application program with authority is directly obtained and testedDemonstrate,prove the identifying code in code short message, it is not necessary to which user checks that identifying code is manually entered again, simplifies the operation of user, provides the user withIt is convenient.
In the embodiment, the message management method receives the read requests that destination application reads target message;ObtainTake the transmission information of the target message;The acquisition request for carrying the transmission information is sent to server, for asking to obtainTake the authority information of the target message;Receive the authority information for the target message that the server is sent;According to describedThe authority information of target message judge the destination application whether be the target message authority application program;It is if describedDestination application is not the authority application program of the target message, does not allow the destination application to read the targetShort message.So, the authority application program of only target message could read the content of the target message, can effectively protect useThe account safety or property safety at family.
Alternatively, the authority information of the target message is the identification information of the authority application program of the target message;
The authority information according to the target message judges whether the destination application is the target messageAuthority application permission, including:
Judge the identification information for whether including the destination application in the authority information of the target message;
If not including the identification information of the destination application in the entitlement messages of the target message, the mesh is determinedMark the authority application program that application program is not the target message;
If the authority information of the target message includes the identification information of the destination application, the target is determinedApplication program is the authority application program of the target message.
Referring to Fig. 9, Fig. 9 is a kind of high-level schematic functional block diagram of mobile terminal provided in an embodiment of the present invention, such as Fig. 9 institutesShow, the mobile terminal 900 includes:
Receiving module 901, the read requests of target message are read for receiving destination application;
Acquisition module 902, for obtaining the authority information of the target message;
First judge module 903, for judging that the destination application is according to the authority information of the target messageThe no authority application program for the target message;
First control module 904, if being not the authority application program of the target message for the destination application,The destination application is not allowed to read the target message.
Alternatively, referring to Figure 10, Figure 10 is the functional module signal of another mobile terminal provided in an embodiment of the present inventionFigure, as shown in Figure 10, the mobile terminal 900 also includes:
Second control module 905, if for the authority application program that the destination application is the target message, permitPerhaps described destination application reads the target message.
Alternatively, referring to Figure 11, Figure 11 is the functional module signal of another mobile terminal provided in an embodiment of the present inventionFigure, as shown in figure 11, the mobile terminal 900 also includes:
Second judge module 906, for judging whether the target message is identifying code short message;
3rd control module 907, if being not identifying code short message for the target message, the intended application journey is not allowedSequence reads the target message;
The acquisition module 902, is specifically used for:
If the target message is the short breath of identifying code, the authority information of the target message is obtained.
Alternatively, referring to Figure 12, Figure 12 is the functional module signal of another mobile terminal provided in an embodiment of the present inventionFigure, as shown in figure 12, the acquisition module 902 includes:
Acquiring unit 9021, for obtaining the transmission information of the target message;
Transmitting element 9022, the acquisition that the transmission information is carried for being sent to server is asked, for asking to obtainTake the authority information of the target message;
Receiving unit 9023, the authority information of the target message sent for receiving the server.
Alternatively, the authority information of the target message is the identification information of the authority application program of the target message;
Referring to Figure 13, Figure 13 is the high-level schematic functional block diagram of another mobile terminal provided in an embodiment of the present invention, is such as schemedShown in 13, first judge module 903 includes:
Judging unit 9031, whether include the destination application in the authority information for judging the target messageIdentification information;
First determining unit 9032, if for not including the destination application in the entitlement messages of the target messageIdentification information, determine the destination application be the target message authority application program;
Second determining unit 9033, if the authority information for the target message includes the destination applicationIdentification information, determine the authority application program that the destination application is the target message.
Mobile terminal 900 can mobile terminal is realized in above-described embodiment each process, to avoid repeating, herein no longerRepeat.
One of ordinary skill in the art will appreciate that all or part of step for realizing above-described embodiment method is can be withCompleted by the related hardware of at least one programmed instruction, at least one program can be stored in shifting as shown in Figure 1In the memory 109 of dynamic terminal 100, and can the processor 110 perform, at least one program is by the processor110 realize following steps when performing:
Receive the read requests that destination application reads target message;
Obtain the authority information of the target message;
According to the authority information of the target message judge the destination application whether be the target message powerLimit application program;
If the destination application is not the authority application program of the target message, the intended application journey is not allowedSequence reads the target message.
Alternatively, the processor 110 can also be realized:
If the destination application is the authority application program of the target message, it is allowed to which the destination application is readTake the target message.
Alternatively, before the authority information for obtaining the target message, the processor 110 can also be realized:
Judge whether the target message is identifying code short message;
If the target message is not identifying code short message, the destination application is not allowed to read the target message;
The authority information for obtaining the target message, including:
If the target message is the short breath of identifying code, the authority information of the target message is obtained.
Alternatively, the authority information for obtaining the target message, including:
Obtain the transmission information of the target message;
The acquisition request for carrying the transmission information, the power for target message described in acquisition request are sent to serverLimit information;
Receive the authority information for the target message that the server is sent.
Alternatively, the authority information of the target message is the identification information of the authority application program of the target message;
The authority information according to the target message judges whether the destination application is the target messageAuthority application permission, including:
Judge the identification information for whether including the destination application in the authority information of the target message;
If not including the identification information of the destination application in the entitlement messages of the target message, the mesh is determinedMark the authority application program that application program is not the target message;
If the authority information of the target message includes the identification information of the destination application, the target is determinedApplication program is the authority application program of the target message.
One of ordinary skill in the art will appreciate that all or part of step for realizing above-described embodiment method is can be withCompleted by the related hardware of at least one programmed instruction, at least one program can be stored in one and computer-readable depositIn storage media, at least one program upon execution, comprises the following steps:
Receive the read requests that destination application reads target message;
Obtain the authority information of the target message;
According to the authority information of the target message judge the destination application whether be the target message powerLimit application program;
If the destination application is not the authority application program of the target message, the intended application journey is not allowedSequence reads the target message.
Alternatively, when at least one program is performed, following steps can also be realized:
If the destination application is the authority application program of the target message, it is allowed to which the destination application is readTake the target message.
Alternatively, before the authority information for obtaining the target message, when at least one program is performed, alsoFollowing steps can be achieved:
Judge whether the target message is identifying code short message;
If the target message is not identifying code short message, the destination application is not allowed to read the target message;
The authority information for obtaining the target message, including:
If the target message is the short breath of identifying code, the authority information of the target message is obtained.
Alternatively, the authority information for obtaining the target message, including:
Obtain the transmission information of the target message;
The acquisition request for carrying the transmission information, the power for target message described in acquisition request are sent to serverLimit information;
Receive the authority information for the target message that the server is sent.
Alternatively, the authority information of the target message is the identification information of the authority application program of the target message;
The authority information according to the target message judges whether the destination application is the target messageAuthority application permission, including:
Judge the identification information for whether including the destination application in the authority information of the target message;
If not including the identification information of the destination application in the entitlement messages of the target message, the mesh is determinedMark the authority application program that application program is not the target message;
If the authority information of the target message includes the identification information of the destination application, the target is determinedApplication program is the authority application program of the target message.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-rowHis property includes, so that process, method, article or device including a series of elements not only include those key elements, andAnd also include the other element being not expressly set out, or also include for this process, method, article or device institute inherentlyKey element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including thisOther 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 sideMethod can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many casesThe former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other wordsGoing out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage mediumIn (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, computer, clothesBe engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hairThe equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skillsArt field, is included within the scope of the present invention.