CN106850928B - Incoming call and SMS processing method, device and mobile terminal - Google Patents

Incoming call and SMS processing method, device and mobile terminal Download PDF

Info

Publication number
CN106850928B
CN106850928B CN201710025279.2A CN201710025279A CN106850928B CN 106850928 B CN106850928 B CN 106850928B CN 201710025279 A CN201710025279 A CN 201710025279A CN 106850928 B CN106850928 B CN 106850928B
Authority
CN
China
Prior art keywords
user
event
short message
information
application
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.)
Active
Application number
CN201710025279.2A
Other languages
Chinese (zh)
Other versions
CN106850928A (en
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.)
Xi'an ousiqi Software Co., Ltd
Original Assignee
Beijing Anyun Century 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 Beijing Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN201710025279.2A priority Critical patent/CN106850928B/en
Publication of CN106850928A publication Critical patent/CN106850928A/en
Application granted granted Critical
Publication of CN106850928B publication Critical patent/CN106850928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/57Arrangements for indicating or recording the number of the calling subscriber at the called subscriber's set
    • H04M1/575Means for retrieving and displaying personal data about calling party
    • 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/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

The present invention relates to the terminal communications fields, and in particular to it is a kind of incoming call and SMS processing method, device and mobile terminal, described method includes following steps: monitoring the calling event or short message event of terminal;When the event is triggered, and current system is in the safe mode logged in second user, the inquiry request comprising pre- protocol information is sent to the service processes constructed based on system process communication mechanism;Obtain the event handling instruction information of the service processes respective feedback, the event handling instruction information is determined that the data resource is suitable for by first user's sign-on access according to the pre- protocol information with being matched to the inaccessible data resource of the second user;The response to corresponding calling event or short message event is executed according to event handling instruction information.The present invention adjusts the processing logic of incoming call and short message under multi-user mode, solves the problems, such as that multi-user mode interaction is upper not convenient, improves user experience, promote the utilization rate of safe mode.

Description

Incoming call and SMS processing method, device and mobile terminal
[technical field]
The present invention relates to the terminal communications fields, and in particular to it is a kind of incoming call and SMS processing method, device and mobile terminal.
[background technique]
Some mobile terminals due to safety concerns, are provided with corresponding safe mode, to protect user in online transaction, net The safety of upper payment, bank's inquiry etc. occasion, for example, the property shielding system of 360 mobile phones, on the one hand which passes through built-in The mode in security application shop prevents from stealing the invasion of wooden horse, counterfeit application, guarantees the safe source of application from source, together When, the data such as finance and money management are subjected to isolation of system, malicious application is forbidden illegally to read, have fundamentally ensured that user pays ring The safety in border.
The safe mode of Android system is created based on Android multi-user mode at present, and generally, user will commonly answer With being mounted under system general mode, the higher application of safety is mounted under system safe mode, and due to multi-user's mould The data between different user under formula can not directly be shared, and cause not showing when system is in when safe mode receives incoming call Incoming number brings inconvenience to user in the corresponding name of contact person of general mode;In addition, being connect when system is in safe mode The note number can not be shown in the corresponding name of contact person of general mode, if not in addition being distinguish institute by receiving short message equally There is short message to save to safe mode, for some normal short messages, user is required to switch to system safe mode when checking It is just checked, is similarly the manufacturer that user brings inconvenience, and has at present and uses short message while storing depositing for each user It stores up under catalogue, causes the waste of terminal resource.
In conclusion existing under multi-user mode at present not convenient in interaction, causes user experience poor, can not lift User uses the interest of safe mode, causes the utilization rate of safe mode to reduce, so as to cause the system safety nothing of mobile terminal Method is guaranteed.
[summary of the invention]
The primary purpose of the present invention is that providing a kind of incoming call and SMS processing method and device;
Another object of the present invention is to improve a kind of mobile terminal for realizing the incoming call and SMS processing method.
To realize the purpose, the present invention adopts the following technical scheme:
In a first aspect, the present invention provides a kind of incoming call and SMS processing method, include the following steps:
Monitor the calling event or short message event of terminal;
When the event is triggered, and current system is in the safe mode logged in second user, to the system of being based on The service processes of Interprocess Communication Mechanism building send the inquiry request comprising pre- protocol information;
The event handling instruction information of the service processes respective feedback is obtained, the event handling instruction information is according to described in Pre- protocol information is determined that the data resource is suitable for quilt with being matched to the inaccessible data resource of the second user First user's sign-on access;
The response to corresponding calling event or short message event is executed according to event handling instruction information.
With reference to first aspect, the possible implementation of the first of the invention, the data resource are that system is in the The data resource for the general mode that one user logs in, the data resource includes application program itself, application program configuration data With the user data wherein at least one of the application program.
With reference to first aspect, of the invention second possible implementation, the system safe mode are configured with and are used for The safe space of operation resource is provided for the operation of scheduled application, which is inaccessible by under system general mode 's.
Second of implementation with reference to first aspect, the third possible implementation of the invention are described to make a reservation for answer With include pay relevant application, it is at least one of in relevant with the bank application of relevant application of managing money matters.
With reference to first aspect, the 4th kind of possible implementation of the invention, it is described when the calling event is triggered Pre- protocol information includes the identity of second user, the target data of inquiry and authentication information.
The 4th kind of implementation with reference to first aspect, the 5th kind of possible implementation of the invention, the inquiry Target data includes database, incoming number and the contact name field of the target application of inquiry.
With reference to first aspect, the 6th kind of possible implementation of the invention, it is described when the short message event is triggered Pre- protocol information includes the identity of second user, the number of short message and preset number white list field.
With reference to first aspect, the 7th kind of possible implementation of the invention, the event handling instruction information includes pair The processing instruction information of the calling event indicates information to the processing of the short message event.
The 7th kind of implementation with reference to first aspect, the 8th kind of possible implementation of the invention, according to the thing Part processing instruction information executes the response to corresponding calling event, specifically includes:
Information is indicated according to the event handling, in the incoming call call interface under the safe mode logged in second user Show the contact information of incoming number.
The 7th kind of implementation with reference to first aspect, the 9th kind of possible implementation of the invention, according to the thing Part processing instruction information executes the response to corresponding short message event, specifically includes:
When the number of the short message is present in preset number white list, the short message is saved to system safe mode Under default storage catalogue under;
Or
When the number of the short message is not present in preset number white list, the short message is saved to the common mould of system Under the storage catalogue of corresponding first user of formula.
The 9th kind of implementation with reference to first aspect, the tenth kind of possible implementation of the invention, described default number It is corresponding for sending the telephone number of short message comprising the scheduled application in code white list.
Correspondingly, second aspect, the present invention provide a kind of incoming call and short message processing device, which, which has, realizes above-mentioned the The function of application program installation method in one side, the function can also execute phase by hardware by hardware realization The software realization answered, the hardware or software include one or more modules corresponding with above-mentioned function, are specifically included:
Monitoring modular: for monitoring the calling event or short message event of terminal;
Enquiry module: for being triggered when the event, and current system is in the safe mode logged in second user When, the inquiry request comprising pre- protocol information is sent to the service processes constructed based on system process communication mechanism;
Obtain module: the event handling for obtaining the service processes respective feedback indicates information, and the event handling refers to Show that information is determined according to the pre- protocol information with being matched to the inaccessible data resource of the second user, it is described Data resource is suitable for by first user's sign-on access;
Execution module: for executing according to event handling instruction information to corresponding calling event or short message event Response.
In conjunction with second aspect, the possible implementation of the first of the invention, the data resource is that system is in the The data resource for the general mode that one user logs in, the data resource includes application program itself, application program configuration data With the user data wherein at least one of the application program.
In conjunction with second aspect, the possible implementation of of the invention second, the system safe mode is configured with and is used for The safe space of operation resource is provided for the operation of scheduled application, which is inaccessible by under system general mode 's.
In conjunction with second of implementation of second aspect, the third possible implementation of the invention is described to make a reservation for answer With include pay relevant application, it is at least one of in relevant with the bank application of relevant application of managing money matters.
In conjunction with second aspect, the 4th kind of possible implementation of the invention is described when the calling event is triggered Pre- protocol information includes the identity of second user, the target data of inquiry and authentication information.
In conjunction with the 4th kind of implementation of second aspect, the 5th kind of possible implementation of the invention, the inquiry Target data includes database, incoming number and the contact name field of the target application of inquiry.
In conjunction with second aspect, the 6th kind of possible implementation of the invention is described when the short message event is triggered Pre- protocol information includes the identity of second user, the number of short message and preset number white list field.
In conjunction with second aspect, the 7th kind of possible implementation of the invention, the event handling instruction information includes pair The processing instruction information of the calling event indicates information to the processing of the short message event.
In conjunction with the 7th kind of implementation of second aspect, the 8th kind of possible implementation of the invention, the execution mould Block is specifically used for:
Information is indicated according to the event handling, in the incoming call call interface under the safe mode logged in second user Show the contact information of incoming number.
In conjunction with the 7th kind of implementation of second aspect, the 9th kind of possible implementation of the invention, the execution mould Block is specifically used for:
When the number of the short message is present in preset number white list, the short message is saved to system safe mode Under default storage catalogue under;
Or
When the number of the short message is not present in preset number white list, the short message is saved to the common mould of system Under the storage catalogue of corresponding first user of formula.
In conjunction with the 9th kind of implementation of second aspect, the tenth kind of possible implementation of the invention, described default number It is corresponding for sending the telephone number of short message comprising the scheduled application in code white list.
The third aspect, the present invention also provides a kind of mobile terminals characterized by comprising
Touch-sensitive display: for showing that this method realizes the average information generated in the process and result information;
Memory: for storing the candidate intermediate data and result data that generate during the above method is realized;
One or more processors: the processor is configured to for executing the step of realizing the above method.
Compared with prior art, the present invention has following advantage:
The present invention is in calling event or short message event under safe mode by monitoring system, is inquired according to incoming number Then the contact information of the number in the normal mode shows corresponding contact person's surname in call interface in the secure mode Name, or judge whether the number is that scheduled application in safe mode is corresponding and disappears for sending notice class according to note number The number of breath, such as the identifying code short message of bank's class application, if then in the secure mode by short message storage, being effectively prevented from short Letter is monitored by the pernicious application of third party, otherwise in the normal mode by short message storage, avoids repetition from storing short message and terminal is caused to provide The waste in source;
In conclusion the present invention adjusts the processing logic of incoming call and short message under multi-user mode, solve under user mode Not convenient in interaction, contact information when especially sending a telegram here synchronizes storage location when showing and receive short message, mentions High user experience lifts the interest that user uses safe mode, promotes the utilization rate of safe mode, guarantee the system of mobile terminal Safety.
Obviously, it is subsequent to be that recapitulative, more advantage description will be embodied in for the above-mentioned description in relation to advantage of the present invention During embodiment discloses, and, the content that those skilled in the art can also be disclosed reasonably finds of the invention its His plurality of advantages.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
[Detailed description of the invention]
Fig. 1 is an embodiment flow diagram of present invention incoming call and SMS processing method;
Fig. 2 is the C/S model schematic of Binder communication mechanism;
Fig. 3 is an embodiment schematic diagram of present invention incoming call and short message processing device;
One embodiment schematic block diagram of Fig. 4 mobile terminal part-structure provided in an embodiment of the present invention.
[specific embodiment]
The present invention is further described with exemplary embodiment with reference to the accompanying drawing, wherein identical label in attached drawing All refer to identical component.In addition, if the detailed description of known technology is for showing the invention is characterized in that unnecessary , then it omits it.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication The equipment of number receiver, only has the equipment of the wireless signal receiver of non-emissive ability, and including receiving and emitting hardware Equipment, have on bidirectional communication link, can execute two-way communication reception and emit hardware equipment.This equipment It may include: honeycomb or other communication equipments, shown with single line display or multi-line display or without multi-line The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), can With combine voice, data processing, fax and/or communication ability;PDA (Personal Digital Assistant, it is personal Digital assistants), it may include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day It goes through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm Type computer or other equipment, have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or its His equipment." terminal " used herein above, " mobile terminal ", " terminal device " can be it is portable, can transport, be mounted on traffic In tool (aviation, sea-freight and/or land), or it is suitable for and/or is configured in local runtime, and/or with distribution form, Operate in any other position operation in the earth and/or space." terminal " used herein above, " mobile terminal ", " terminal is set It is standby " it can also be communication terminal, access terminals, music/video playback terminal, such as can be PDA, MID (Mobile Internet Device, mobile internet device) and/or mobile phone with music/video playing function, it is also possible to The equipment such as smart television, set-top box.
Those skilled in the art of the present technique are appreciated that remote network devices used herein above comprising but be not limited to count The cloud that calculation machine, network host, single network server, multiple network server collection or multiple servers are constituted.Here, Yun Youji It is constituted in a large number of computers or network servers of cloud computing (Cloud Computing), wherein cloud computing is distributed computing One kind, a super virtual computer consisting of a loosely coupled set of computers.In the embodiment of the present invention, distal end It can be realized and be communicated by any communication mode between the network equipment, terminal device and WNS server, including but not limited to, is based on The mobile communication of 3GPP, LTE, WIMAX, based on TCP/IP, the computer network communication of udp protocol and based on bluetooth, infrared The low coverage wireless transmission method of transmission standard.
Those skilled in the art of the present technique are appreciated that user interface of the present invention/operation interface refers to can be used in The display interface of control instruction is sent to intelligent terminal, for example, can be an option in the setting page of android system (or key, wherein by application program addition, similarly hereinafter), is also possible to from the notification bar or interaction page that desktop breathes out An option, can also be an option in the page that a movable component of the application program is constructed.
It will be appreciated by those skilled in the art that so-called " application ", " application program ", " application software " and class of the invention It is same concept well known to those skilled in the art like the concept of statement, refers to and instructed by series of computation machine and related data The computer software for being suitable for electronics operation of the organic construction of resource.Unless specified, this name itself is not by programming language Type, rank, the operating system of operation of also not rely by it or platform are limited.In the nature of things, this genus also not by appoint The terminal of what form is limited.
In the following description, system is the operating system of mobile terminal, such as Android system, iOS Mobile operating system Etc..In the following description, using Android system as exemplary illustration.
In a first aspect, be an embodiment flow diagram of present invention incoming call and SMS processing method as shown in Figure 1, including Following steps:
Step S100: the calling event or short message event of terminal are monitored.
The short message event is specially to receive short message event, in Android system, in Framework layers of RIL RILReceiver thread monitors the message that bottom sends the unsolicited type come up, the corresponding data of short message event always Type is RIL_UNSOL_RESPONSE_NEW_SMS, and the corresponding data type of calling event is then RIL_UNSOL_CALL_ Then RING notifies upper layer is dealt with to answer with transmit message event one by one by message registration-response mechanism With layer, the present embodiment handles logic to it before short message event or calling event are transmitted to application layer and modifies, to monitor The subsequent operation of the present embodiment is executed when to calling event or short message event.
Step S200: when the event is triggered, and current system is in the safe mode logged in second user, to Service processes based on the building of system process communication mechanism send the inquiry request comprising pre- protocol information.
When monitoring the calling event or short message event, determines that the event is triggered, then judge current system Whether in the safe mode logged in second user, specifically, the terminal system is based on Android multi-user in the present embodiment Mode creates a new user, can be in/data/system/users/userlist.xml file after creating new user The middle id (uid) for saving new user, then creation/data/system/users/uid catalogue, and user information is saved to it Under uid.xml file in, while each user is assigned with independent memory space, respective using data for storing And user data.Default user (i.e. administrator) uid of Android system is 0, and default user corresponds to the of the present embodiment One user, newly created first user (i.e. ordinary user) uid are 10, and newly created user corresponds to the second of the present embodiment User, Android multi-user mode is supported to create multiple new users, if creating a new user, uid again after creating 10 users When being 11, be similarly the embodiment of the present invention second user, and defining system in the present embodiment in the first user login For system general mode, as system safe mode when being logged in using second user, since the data resource under multi-user mode is mutual It independently and using interlayer can not directly be written and read, the embodiment of the present invention system safe mode is configured with for being pre- Surely the operation applied provides the safe space of operation resource, what which was inaccessible by under system general mode, and The higher application of security requirement is installed under system safe mode by guidance user.Specifically, the scheduled application includes branch Pay relevant application (such as Alipay APP), the relevant application (such as Lu Jin institute APP) of financing and the relevant application (example of bank As at least one of in industrial and commercial bank APP).The operation resource, can also be with either be interpreted as application program itself It is interpreted as the configuration data of application program, it is also understood that being the user data of application program, certainly, operation resource can also be managed Solution is running protection strategy, and the safe space for memory space and its corresponding running protection strategy it can be understood that configure Environment, running protection strategy configuration surroundings are as follows: starting antivirus, checking and killing Trojan etc. safety precautions when running the application Configuration surroundings.
It can be seen from the above, system is that each user is assigned respective uid, the uid of the first user is 0, if currently The user uid of system operation is not 0, then may determine that current system is logged in second user, in the present embodiment with creation First new user is illustrated for second user, and the uid of the second user is 10, when monitoring calling event or short message event Afterwards, the uid for obtaining the currently running user of system determines that current system is in the peace logged in second user if uid is 10 Then syntype sends the inquiry request comprising pre- protocol information to the service processes constructed based on system process communication mechanism.
Specifically, the system process communication mechanism is the Binder mechanism of Android system, Binder be Android system into One of (IPC) mode is communicated between journey, most of services (Service) in Android system are communicated by Binder, Binder communication mechanism is by C/S model realization simultaneously, is the C/S model signal of Binder communication mechanism as shown in Figure 2 Figure, wherein service managerZ-HU, client, server-side respectively correspond Service Manager, Client in Android system and Server, Service Manager are an independent processes in system, it is the finger daemon of entire Binder mechanism, are used Carry out the various Server of management development person's creation, and provides the function of inquiry Server remote interface to Client;Server Service Manager is first gone to infuse when Server provides service to Client for the owner of numerous services (Service) The service of volume oneself, corresponding Service is added in svcList and is informed by Service Manager after succeeding in registration Server service registration success, Server can register one or more services to Service Manager;Client is service User, when it want using service when, obtain the service required for Service Manager application oneself, Service Manager returns to client Client after searching corresponding Service, likewise, Client can apply for one or more Service, after Client application services successfully, Client can use service.Wherein, the communication mode of three is Binder mechanism, Server are communicated to Service Manager registration service using Binder, and Client is to Service Manager application service, use be also Binder communication, Client and Server are to be present in user's space, Client with The realization of Server communication is to be realized by Binder driving in kernel spacing.Binder communication is actually to be located at different processes In thread between communication provide Binder entity if process S is the end Server, thread T1 passes through from process C The reference of Binder sends to process S and requests, and process S needs to start thread T2 to handle this request, and thread T1 at this time In the wait state for receiving returned data, T2, which has handled request, will return to processing result T1, and T1 is waken up everywhere Manage result.
In the present embodiment, utilize Binder to the service constructed based on system process communication mechanism by process C1 Process S sends the inquiry request comprising pre- protocol information, and the inquiry request comprising pre- protocol information is process C and process S The data structure communicate that both sides set in advance.
In a kind of embodiment, when monitoring calling event, connection of the incoming number under system general mode is inquired People's name, corresponding pre- protocol information includes the identity of second user, the target data of inquiry and authentication information, wherein The identity (uid) of two users second user for identification, authentication credit is in judging whether the second user is legal use Family, the inquiry request including the second user identity and authentication information is just considered as legitimate request, further, described to look into The target data of inquiry includes database, incoming number and the contact name field of the target application of inquiry, for example, inquiry request For vividerly " uid=10, com.Android.providers.contacts, uid=0,136XXX, Name " explain this Inquiry request be " I is second user (uid=10), I to inquire under the user of uid=0 wrap it is entitled The database of the application of com.Android.providers.contacts, inquiring telephone number in the database is 136XXX's Name of contact person ".
In another embodiment, when monitoring short message event, inquiring the note number whether there is in preset number In code white list, corresponding pre- protocol information includes the identity of second user, the number of short message and preset number white list, For example, inquiry request is that " uid=10,136XXX, Whitelist " explain the inquiry request as " I is the second use vividerly Family (uid=10), it is 136XXX with the presence or absence of in Whitelist (preset number white list) that I, which wants enquiring telephone number, ".
Step S300: the event handling instruction information of the service processes respective feedback, the event handling instruction letter are obtained It ceases and is determined according to the pre- protocol information with being matched to the inaccessible data resource of the second user, the data Resource is suitable for by first user's sign-on access.
After service processes S receives the inquiry request comprising pre- protocol information, after determining that user is legal identity, according to It is matched, is determined anti-after the event indicates information according to the pre- protocol information data resource inaccessible with second user Process of feeding C.Since the data resource under multi-user mode is mutually indepedent, the data resource under system general mode can only be by being Application query, acquisition under corresponding first user of system general mode, i.e., the data money in the case where needing inquiry system general mode When source, confirmation issuer is just returns to query result after the first user, and in the present embodiment, the second user of uid=10 has obtained To the authorization of the first user, when the inquiry request includes uid=10 and corresponding authentication information, allow the of uid=10 Data resource under two user inquiring system general modes.
Correspondingly, the event handling instruction information includes that the processing to the calling event indicates information or to described short The processing of letter event indicates information.Specifically, the processing instruction information of calling event is incoming number under system general mode Data resource corresponding name of contact person;The processing instruction information of short message event is that note number whether there is in preset In number white list, specifically, corresponding for sending the phone of short message comprising the scheduled application in the number white list Number, such as the short massage notice number of industrial and commercial bank is 95588, the short massage notice number of China Merchants Bank is 1065795555 Hes 95555, more preferably, the number in the number white list can be obtained by cloud server, be updated.
Step S400: the sound to corresponding calling event or short message event is executed according to event handling instruction information It answers.
The event handling instruction information includes that the processing to the calling event indicates information or to the short message event Processing indicate information.
After the processing that system receives the calling event in the secure mode indicates information, in the secure mode The corresponding name of contact person of the data resource of the incoming number in the normal mode is shown in electric call interface.
After the processing that system receives the short message event in the secure mode indicates information, when the number of the short message When being present in preset number white list, the short message is saved under the default storage catalogue to system safe mode;Or work as When the number of the short message is not present in preset number white list, the short message is saved to system general mode corresponding Under the storage catalogue of one user.
The corresponding application scenarios of the present embodiment are that terminal system creates new user uid=10 (i.e. second user), user The higher application of security requirement is mounted under the corresponding second user storage catalogue of safe mode, such as using " Chinese work The installation directory of quotient bank " is /data/user/10/com.icbc/, when user operates in the secure mode, and User's not storing contact information generally under system safe mode, when system monitoring is to calling event, in the safe mould of system Under formula search less than contact information, then to based on one service processes inquiry system of Binder mechanism construction commonly under connection People's information shows contact person on the incoming call call interface under system safe mode after obtaining the name of contact person of the incoming number Name;When system monitoring is to short message event, whether the note number is inquired based on one service processes of Binder mechanism construction It is present in preset number white list, such as short message is the identifying code short message of the Industrial and Commercial Bank of China, judges that the note number is deposited It is in number white list, then is stored in the short message under the storage catalogue of the corresponding second user of system safe mode, when this When short message is normal short message, which is stored under the storage catalogue of corresponding first user of system general mode, avoids weight Storage short message causes the waste of terminal resource again, while the storage of identifying code short message can be effectively avoided in the secure mode short Letter is monitored by the pernicious application of third party.
Second aspect is an embodiment schematic diagram of present invention incoming call and short message processing device as shown in Figure 3, comprising:
Monitoring modular 100: for monitoring the calling event or short message event of terminal.
The short message event is specially to receive short message event, in Android system, in Framework layers of RIL RILReceiver thread monitors the message that bottom sends the unsolicited type come up, the corresponding data of short message event always Type is RIL_UNSOL_RESPONSE_NEW_SMS, and the corresponding data type of calling event is then RIL_UNSOL_CALL_ Then RING notifies upper layer is dealt with to answer with transmit message event one by one by message registration-response mechanism With layer, the present embodiment handles logic to it before short message event or calling event are transmitted to application layer and modifies, and utilizes monitoring Module 100 is monitoring calling event or short message event, the execution when monitoring modular 100 monitors calling event or short message event The subsequent operation of the present embodiment.
Enquiry module 200: for being triggered when the event, and current system is in the safe mould logged in second user When formula, the inquiry request comprising pre- protocol information is sent to the service processes constructed based on system process communication mechanism.
It when monitoring modular 100 monitors the calling event or short message event, determines that the event is triggered, inquires mould Block 200 first determines whether current system is in the safe mode logged in second user, specifically, in the present embodiment, it is described Terminal system creates a new user based on Android multi-user mode, can be in/data/system/ after creating new user The id (uid) of new user is saved in users/userlist.xml file, then creation/data/system/users/uid mesh Record, and user information is saved into the uid.xml file under it, while each user is assigned with independent storage sky Between, for storing respective application data and user data.Default user (i.e. administrator) uid of Android system is 0, is write from memory Recognize the first user that user corresponds to the present embodiment, newly created first user (i.e. ordinary user) uid is 10, newly created User corresponds to the second user of the present embodiment, and Android multi-user mode is supported to create multiple new users, if creating 10 users Create a new user again afterwards, uid 11 is similarly the embodiment of the present invention second user, and defines in the present embodiment System is in when being logged in using the first user as system general mode, as system safe mode when being logged in using second user, due to more Data resource under user mode is mutually indepedent and can not directly be written and read using interlayer, the embodiment of the present invention system System safe mode, which is configured with, provides the safe space of operation resource for the operation for scheduled application, and the safe space is general in system It is inaccessible by under logical mode, and guides user that the higher application of security requirement is installed under system safe mode.Tool Body, the scheduled application includes paying that relevant application (such as Alipay APP), financing are relevant to apply (such as Lu Jin institute APP at least one of) and in the relevant application (such as industrial and commercial bank APP) of bank.The operation resource is either reason Solution is application program itself, it is understood that is the configuration data of application program, it is also understood that being the number of users of application program According to, certainly, operation resource is also understood that as running protection strategy, the safe space it can be understood that for memory space and Its corresponding running protection strategy configuration surroundings, running protection strategy configuration surroundings are as follows: when running the application, starting is killed virus, looked into Kill the configuration surroundings of wooden horse etc. safety precautions.
It can be seen from the above, system is that each user is assigned respective uid, the uid of the first user is 0, if currently The user uid of system operation is not 0, then enquiry module 200 may determine that current system is logged in second user, in the present embodiment In be illustrated using first of creation new user as second user, the uid of the second user is 10, when monitoring modular 100 is supervised After measuring calling event or short message event, enquiry module 200 obtains the uid of the currently running user of system, if uid is 10 really Determine current system and be in the safe mode that logs in second user, then to the service constructed based on system process communication mechanism into Journey sends the inquiry request comprising pre- protocol information.
In a kind of embodiment, when monitoring calling event, enquiry module 200 inquires the incoming number in the common mould of system Name of contact person under formula, corresponding pre- protocol information include the target data and authentication of the identity of second user, inquiry Information, the wherein identity (uid) of second user second user for identification, authentication credit is in judging that the second user is No is legitimate user, and the inquiry request including the second user identity and authentication information is just considered as legitimate request, into one Step, the target data of the inquiry includes database, incoming number and the contact name field of the target application of inquiry, example Such as, inquiry request is " uid=10, com.Android.providers.contacts, uid=0,136XXX, Name ", more shape As ground explain the inquiry request as " I is second user (uid=10), I to inquire under the user of uid=0 wrap it is entitled The database of the application of com.Android.providers.contacts, inquiring telephone number in the database is 136XXX's Name of contact person ".
In another embodiment, when monitoring short message event, enquiry module 200, which inquires the note number, whether there is In preset number white list, corresponding pre- protocol information includes the identity of second user, the number of short message and default Number white list, for example, inquiry request be " uid=10,136XXX, Whitelist ", explain vividerly the inquiry request as " I is second user (uid=10), and it is 136XXX with the presence or absence of Whitelist (the white name of preset number that I, which wants enquiring telephone number, It is single) in ".
Obtain module 300: the event handling for obtaining the service processes respective feedback indicates information, the event handling Indicate that information is determined according to the pre- protocol information with being matched to the inaccessible data resource of the second user, institute Data resource is stated to be suitable for by first user's sign-on access.
The event handling instruction information that module 300 obtains the service processes respective feedback is obtained, due under multi-user mode Data resource it is mutually indepedent, the data resource under system general mode can only be by under corresponding first user of system general mode Application query, obtain, i.e., when needing the data resource under inquiry system general mode, confirmation issuer be the first user after Query result is just returned to, in the present embodiment, the second user of uid=10 has obtained the authorization of the first user, when the inquiry When request includes uid=10 and corresponding authentication information, allow the number under the second user inquiry system general mode of uid=10 According to resource.
Correspondingly, the event handling instruction information includes that the processing to the calling event indicates information or to described short The processing of letter event indicates information.Specifically, the processing instruction information of calling event is incoming number under system general mode Data resource corresponding name of contact person;The processing instruction information of short message event is that note number whether there is in preset In number white list, specifically, corresponding for sending the phone of short message comprising the scheduled application in the number white list Number, such as the short massage notice number of industrial and commercial bank is 95588, the short massage notice number of China Merchants Bank is 1065795555 Hes 95555, more preferably, the number in the number white list can be obtained by cloud server, be updated.
Execution module 400: for executing according to event handling instruction information to corresponding calling event or short message The response of event.
The event handling instruction information includes that the processing to the calling event indicates information or to the short message event Processing indicate information.
After the processing that system receives calling event in the secure mode indicates information, execution module 400 is in response to institute The processing instruction information of calling event is stated, shows the incoming number in common mould in incoming call call interface in the secure mode The corresponding name of contact person of data resource under formula.
After the processing that system receives short message event in the secure mode indicates information, execution module 400 is in response to institute The processing instruction information for stating short message event, when the number of the short message is present in preset number white list, by the short message It saves to the default storage catalogue under system safe mode;Or when the number of the short message is not present in preset number white list When middle, the short message is saved to the storage catalogue of corresponding first user of system general mode.
Fig. 4 shows the block diagram of the part-structure of mobile phone relevant to mobile terminal provided in an embodiment of the present invention.Ginseng Fig. 4 is examined, mobile phone includes: baseband processing module 410, memory 420, input unit 430, display unit 440, sensor 450, sound The portions such as frequency circuit 460, Wireless Fidelity (wireless fidelity, WiFi) module 470, processor 480 and power supply 490 Part.It will be understood by those skilled in the art that handset structure shown in Fig. 4 does not constitute the restriction to mobile phone, it may include ratio More or fewer components are illustrated, certain components or different component layouts are perhaps combined.
Baseband processing module 410 can be used for synthesizing the baseband signal that will emit, or carry out to the baseband signal received Decoding.Specifically, being exactly that audio signal is compiled into the base band code for emitting when emitting;When reception, the base band received Code is interpreted as audio signal.Meanwhile being also responsible for address information (cell-phone number, station address), text information (news in brief text, website Text), the compiling of pictorial information (multimedia message).
Memory 420 can be used for storing software program and module, and processor 480 is stored in memory 420 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 420 can mainly include Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for mobile phone Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 420 may include high-speed random access memory Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.
Input unit 430 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 430 may include that touch panel 431 and other inputs are set Standby 432.Touch panel 431, also referred to as touch screen, collect user on it or nearby touch operation (such as user use The operation of any suitable object or attachment such as finger, stylus on touch panel 431 or near touch panel 431), and root Corresponding attachment device is driven according to preset formula.Optionally, touch panel 431 may include touch detecting apparatus and touch Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinate, then gives processor 480, and can receive order that processor 480 is sent and be executed.Furthermore, it is possible to using electricity The multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touch panel 431.In addition to touch panel 431, input Unit 430 can also include other input equipments 432.Specifically, other input equipments 432 can include but is not limited to secondary or physical bond One of disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 440 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 440 may include display panel 441, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 441.Further, touch panel 431 can cover display panel 441, when touch panel 431 detect it is on it or attached After close touch operation, processor 480 is sent to determine the type of touch event, is followed by subsequent processing device 480 according to touch event Type corresponding visual output is provided on display panel 441.Although in Fig. 4, touch panel 431 and display panel 441 It is that the input and input function of mobile phone are realized as two independent components, but in some embodiments it is possible to by touch-control Panel 431 and display panel 441 are integrated and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 450, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 441, proximity sensor can close display panel 441 when mobile phone is moved in one's ear And/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three axis) acceleration in all directions Size, can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture, (for example horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensor of configuration, details are not described herein.
Voicefrequency circuit 460, loudspeaker 461, microphone 462 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 461, be converted to sound by loudspeaker 461 by road 460 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 462, is turned after being received by voicefrequency circuit 460 It is changed to audio data, then by after the processing of audio data output processor 480, such as another mobile phone is sent to through RF circuit 410, Or audio data is exported to memory 420 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 470 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 4 is shown WiFi module 470, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely Become in the range of the essence of invention and omits.
Processor 480 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 420, and call and be stored in memory 420 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 480 can wrap Include one or more processing units;Preferably, processor 480 can integrate application processor and modem processor, wherein answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 480.
Mobile phone further includes the power supply 490 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 480 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In embodiments of the present invention, processor 480 included by the terminal is also with the following functions:
Monitor the calling event or short message event of terminal;
When the event is triggered, and current system is in the safe mode logged in second user, to the system of being based on The service processes of Interprocess Communication Mechanism building send the inquiry request comprising pre- protocol information;
The event handling instruction information of the service processes respective feedback is obtained, the event handling instruction information is according to described in Pre- protocol information is determined that the data resource is suitable for quilt with being matched to the inaccessible data resource of the second user First user's sign-on access;
The response to corresponding calling event or short message event is executed according to event handling instruction information.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Those of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with Relevant hardware is instructed to complete by program, the program can store in a kind of computer readable storage medium, on Stating the storage medium mentioned can be read-only memory, disk or CD etc..
In summary, technical solution provided by the invention is as follows:
A1, a kind of incoming call and SMS processing method, include the following steps:
Monitor the calling event or short message event of terminal;
When the event is triggered, and current system is in the safe mode logged in second user, to the system of being based on The service processes of Interprocess Communication Mechanism building send the inquiry request comprising pre- protocol information;
The event handling instruction information of the service processes respective feedback is obtained, the event handling instruction information is according to described in Pre- protocol information is determined that the data resource is suitable for quilt with being matched to the inaccessible data resource of the second user First user's sign-on access;
The response to corresponding calling event or short message event is executed according to event handling instruction information.
A2, method according to a1, the data resource are that system is in the general mode logged in the first user Data resource, the data resource include the user data of application program itself, application program configuration data and the application program Wherein at least one.
A3, method according to a1, the system safe mode are configured with for providing fortune for the operation of scheduled application The safe space of row resource, what which was inaccessible by under system general mode.
A4, method according to a3, the scheduled application include paying relevant application, manage money matters relevant application and silver It is at least one of in the relevant application of row.
A5, method according to a1, when the calling event is triggered, the pre- protocol information includes second user Identity, inquiry target data and authentication information.
A6, method according to a5, the target data of the inquiry include the database of the target application of inquiry, incoming call Number and contact name field.
A7, method according to a1, when the short message event is triggered, the pre- protocol information includes second user Identity, short message number and preset number white list field.
A8, method according to a1, the event handling instruction information include the instruction of the processing to the calling event Information indicates information to the processing of the short message event.
A9, the method according to A8 are executed according to event handling instruction information to corresponding calling event Response, specifically includes:
Information is indicated according to the event handling, in the incoming call call interface under the safe mode logged in second user Show the contact information of incoming number.
A10, the method according to A8 are executed according to event handling instruction information to corresponding short message event Response, specifically includes:
When the number of the short message is present in preset number white list, the short message is saved to system safe mode Under default storage catalogue under;
Or
When the number of the short message is not present in preset number white list, the short message is saved to the common mould of system Under the storage catalogue of corresponding first user of formula.
A11, the method according to A10 are used for comprising the scheduled application is corresponding in the preset number white list Send the telephone number of short message.
B12, a kind of incoming call and short message processing device, comprising:
Monitoring modular: for monitoring the calling event or short message event of terminal;
Enquiry module: for being triggered when the event, and current system is in the safe mode logged in second user When, the inquiry request comprising pre- protocol information is sent to the service processes constructed based on system process communication mechanism;
Obtain module: the event handling for obtaining the service processes respective feedback indicates information, and the event handling refers to Show that information is determined according to the pre- protocol information with being matched to the inaccessible data resource of the second user, it is described Data resource is suitable for by first user's sign-on access;
Execution module: for executing according to event handling instruction information to corresponding calling event or short message event Response.
B13, device according to b12, the data resource are that system is in the general mode logged in the first user Data resource, the data resource includes the number of users of application program itself, application program configuration data and the application program According to wherein at least one.
B14, device according to b12, the system safe mode are configured with for providing for the operation of scheduled application The safe space of resource is run, what which was inaccessible by under system general mode.
A15, the device according to A14, the scheduled application include pay it is relevant application, manage money matters it is relevant application and It is at least one of in the relevant application of bank.
B16, device according to b12, when the calling event is triggered, the pre- protocol information includes the second use The identity at family, the target data of inquiry and authentication information.
B17, the device according to B16, the target data of the inquiry include the database of the target application of inquiry, come Electric number and contact name field.
B18, device according to b12, when the short message event is triggered, the pre- protocol information includes the second use The identity at family, the number of short message and preset number white list field.
B19, device according to b12, the event handling instruction information includes referring to the processing of the calling event Show information or information is indicated to the processing of the short message event.
B20, the device according to B19, the execution module are specifically used for:
Information is indicated according to the event handling, in the incoming call call interface under the safe mode logged in second user Show the contact information of incoming number.
B21, the device according to B19, the execution module are specifically used for:
When the number of the short message is present in preset number white list, the short message is saved to system safe mode Under default storage catalogue under;
Or
When the number of the short message is not present in preset number white list, the short message is saved to the common mould of system Under the storage catalogue of corresponding first user of formula.
B22, the device according to B21 are used for comprising the scheduled application is corresponding in the preset number white list Send the telephone number of short message.
C23, a kind of mobile terminal, which is characterized in that including memory, processor, which is characterized in that the processor is used In call execute with program form be stored in the memory such as the step of A1~A11 any one the method.
The present invention is in calling event or short message event under safe mode by monitoring system, is inquired according to incoming number Then the contact information of the number in the normal mode shows corresponding contact person's surname in call interface in the secure mode Name, or judge whether the number is that scheduled application in safe mode is corresponding and disappears for sending notice class according to note number The number of breath, such as the identifying code short message of bank's class application, if then in the secure mode by short message storage, being effectively prevented from short Letter is monitored by the pernicious application of third party, otherwise in the normal mode by short message storage, avoids repetition from storing short message and terminal is caused to provide The waste in source;
In conclusion the present invention adjusts the processing logic of incoming call and short message under multi-user mode, solve under user mode Not convenient in interaction, contact information when especially sending a telegram here synchronizes storage location when showing and receive short message, mentions High user experience lifts the interest that user uses safe mode, promotes the utilization rate of safe mode, guarantee the system of mobile terminal Safety.
Although having been illustrated with some exemplary embodiments of the invention above, those skilled in the art will be managed Solution, in the case where not departing from the principle of the present invention or spirit, can make a change these exemplary embodiments, of the invention Range is defined by the claims and their equivalents.

Claims (17)

1. a kind of incoming call and SMS processing method, which comprises the steps of:
Monitor the calling event or short message event of terminal;
When the event is triggered, and current system is in the safe mode logged in second user, to based on system process The service processes of communication mechanism building send the inquiry request comprising pre- protocol information;
The event handling instruction information of the service processes respective feedback is obtained, the event handling instruction information is according to the pre- association View information is determined that the data resource is suitable for by first with being matched to the inaccessible data resource of the second user User's sign-on access;The event handling instruction information includes that the processing to the calling event indicates information or to the short message The processing of event indicates information;
If the event handling instruction information is the instruction information of the processing to the calling event, stepped on second user The contact information of incoming number is shown in incoming call call interface under the safe mode of record;
If the event handling instruction information is the instruction information of the processing to the short message event, when number of the short message When code is present in preset number white list, the short message is saved under the default storage catalogue to system safe mode, or, When the number of the short message is not present in preset number white list, the short message is saved corresponding to system general mode Under the storage catalogue of first user.
2. the method according to claim 1, wherein the data resource is that system is in the first user login General mode data resource, the data resource include application program itself, application program configuration data and this using journey The user data wherein at least one of sequence.
3. the method according to claim 1, wherein the system safe mode is configured with for being scheduled application Operation provide operation resource safe space, what which was inaccessible by under system general mode.
4. according to the method described in claim 3, it is characterized in that, the scheduled application includes paying relevant application, financing It is at least one of in relevant with the bank application of relevant application.
5. the method according to claim 1, wherein the pre- agreement is believed when the calling event is triggered Breath includes the target data and authentication information of identity, the inquiry of second user.
6. according to the method described in claim 5, it is characterized in that, the target data of the inquiry includes the target application of inquiry Database, incoming number and contact name field.
7. the method according to claim 1, wherein the pre- agreement is believed when the short message event is triggered Breath includes the number and preset number white list field of the identity of second user, short message.
8. the method according to claim 1, wherein corresponding comprising scheduled application in the preset number white list For sending the telephone number of short message.
9. a kind of incoming call and short message processing device characterized by comprising
Monitoring modular: for monitoring the calling event or short message event of terminal;
Enquiry module: for being triggered when the event, and when current system is in the safe mode logged in second user, to Service processes based on the building of system process communication mechanism send the inquiry request comprising pre- protocol information;
Obtain module: the event handling for obtaining the service processes respective feedback indicates information, the event handling instruction letter It ceases and is determined according to the pre- protocol information with being matched to the inaccessible data resource of the second user, the data Resource is suitable for by first user's sign-on access;The event handling instruction information includes the instruction letter of the processing to the calling event Breath indicates information to the processing of the short message event;
Execution module: if being the instruction information of the processing to the calling event for event handling instruction information, The contact information of incoming number is shown in incoming call call interface under the safe mode logged in second user;If described Event handling instruction information be the processing to the short message event instruction information, then when the number of the short message be present in it is default When in number white list, the short message is saved under the default storage catalogue to system safe mode, or, when the short message When number is not present in preset number white list, the short message is saved into depositing to corresponding first user of system general mode It stores up under catalogue.
10. device according to claim 9, which is characterized in that the data resource is in for system and is stepped on the first user The data resource of the general mode of record, the data resource include application program itself, application program configuration data and the application The user data wherein at least one of program.
11. device according to claim 9, which is characterized in that the system safe mode is configured with for answering to be predetermined Operation provides the safe space of operation resource, what which was inaccessible by under system general mode.
12. device according to claim 11, which is characterized in that the scheduled application includes paying relevant application, reason It is at least one of in the relevant application of wealth application relevant with bank.
13. device according to claim 9, which is characterized in that when the calling event is triggered, the pre- agreement letter Breath includes the target data and authentication information of identity, the inquiry of second user.
14. device according to claim 13, which is characterized in that the target data of the inquiry includes that the target of inquiry is answered Database, incoming number and contact name field.
15. device according to claim 9, which is characterized in that when the short message event is triggered, the pre- agreement letter Breath includes the number and preset number white list field of the identity of second user, short message.
16. device according to claim 9, which is characterized in that include scheduled application pair in the preset number white list That answers is used to send the telephone number of short message.
17. a kind of mobile terminal, which is characterized in that including memory, processor, which is characterized in that the processor is for adjusting With execute with program form be stored in the memory such as the step of claim 1-8 any one the method.
CN201710025279.2A 2017-01-13 2017-01-13 Incoming call and SMS processing method, device and mobile terminal Active CN106850928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710025279.2A CN106850928B (en) 2017-01-13 2017-01-13 Incoming call and SMS processing method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710025279.2A CN106850928B (en) 2017-01-13 2017-01-13 Incoming call and SMS processing method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106850928A CN106850928A (en) 2017-06-13
CN106850928B true CN106850928B (en) 2019-08-06

Family

ID=59123327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710025279.2A Active CN106850928B (en) 2017-01-13 2017-01-13 Incoming call and SMS processing method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106850928B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769411B (en) * 2018-05-29 2021-06-11 青岛海信移动通信技术股份有限公司 Method and terminal for protecting incoming call number
CN109813955B (en) * 2019-02-25 2022-11-04 北京元点未来科技有限公司 Charging voltage abnormity prompting method and system, wearable device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598309A (en) * 2014-12-31 2015-05-06 中科创达软件股份有限公司 Multi-mode OS (operating system) based on OS virtualization and creating and switching method thereof
CN105049638A (en) * 2015-08-26 2015-11-11 北京元心科技有限公司 Method and device for communicating in terminal equipment with multi-operation system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101907934B1 (en) * 2012-02-16 2018-10-15 삼성전자주식회사 Apparatus and method for playing contents in portable electronic device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598309A (en) * 2014-12-31 2015-05-06 中科创达软件股份有限公司 Multi-mode OS (operating system) based on OS virtualization and creating and switching method thereof
CN105049638A (en) * 2015-08-26 2015-11-11 北京元心科技有限公司 Method and device for communicating in terminal equipment with multi-operation system

Also Published As

Publication number Publication date
CN106850928A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN105824958B (en) A kind of methods, devices and systems of inquiry log
US9703971B2 (en) Sensitive operation verification method, terminal device, server, and verification system
CN106874037A (en) application program installation method, device and mobile terminal
CN107203630A (en) Application program page collecting method, device and corresponding mobile terminal
CN106791168A (en) Information of mobile terminal guard method, device and mobile terminal
CN108536783A (en) Data processing method and device, terminal, computer readable storage medium
CN107040609A (en) A kind of network request treating method and apparatus
CN110213318A (en) A kind of method of Data Transmission Controlling, equipment and storage medium
CN107085617A (en) Application program page collecting method, device and corresponding mobile terminal
CN106332020A (en) Short message merging method and apparatus, and terminal device
CN109905380A (en) Node control method and relevant apparatus in a kind of distributed system
CN108881103A (en) A kind of method and device accessing network
CN106201484A (en) The collocation method of application program, device and terminal unit
CN109413098A (en) Method, apparatus, terminal and the storage medium that web page element is shown
CN106790915B (en) Number Reorganization control method, device and corresponding server and mobile terminal
CN106850928B (en) Incoming call and SMS processing method, device and mobile terminal
CN108809805A (en) A kind of information interacting method, system and public's account client
CN106933633A (en) Right management method, device and mobile terminal
CN106203015A (en) The collocation method of application program, device and terminal unit
WO2015014173A1 (en) Method, device and system for automatically locking service offline
CN106535174A (en) Number identification control method and device in double-card mode and mobile terminal
CN106528284A (en) Application configuration method and apparatus, and terminal device
CN111309307B (en) Method and device for integrating VUE page and workflow system
CN108319432A (en) A kind of application operation method and terminal
CN105898738A (en) Method and device for obtaining auxiliary numbers and portable multifunctional device

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170726

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200212

Address after: 710065 17 / F, building B, Singapore Tengfei Kehui City, No.88, tianguqi Road, hi tech Zone, Xi'an City, Shaanxi Province

Patentee after: Xi'an ousiqi Software Co., Ltd

Address before: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Patentee before: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.