Invention content
A kind of SMS processing method of present invention offer and terminal, to promote the convenience and effect of terminal device short message managing
Rate.
First aspect of the embodiment of the present invention provides a kind of SMS processing method, including:
Whether the application icon of the short message application of currently running i-th of domain installation of terminal detection terminal is selected, wherein
I-th of domain is any one domain in N number of domain of terminal, and N is the positive integer more than 1;
When the application icon that terminal is applied in short message is selected, the content of short message is shown in the content interface of short message application
Information;
Wherein, short message is the short message reception domain management service of the application layer of terminal according to the feature of the short message by user preset
Mapping relations between information and N number of domain, and the characteristic information of short message that receives determine that the corresponding reception domain of short message is the
After i domain, it is stored in the short message application of i-th of domain installation.
In the embodiment of the present invention, the application of the short message application of currently running i-th of domain installation of terminal detection terminal first
Whether icon is selected, when the application icon of short message application is selected, the displaying short message in the content interface of short message application
Content information.Since the short message that said short message is the application layer of terminal receives domain management service according to the short message by user preset
Mapping relations between characteristic information and N number of domain, and the characteristic information of short message that receives, determine that the short message is corresponding and connect
After domain is received as i-th of domain, it is stored in the short message application of i-th of domain installation.As it can be seen that due to the characteristic information of said short message
Mapping relations between N number of domain are to receive domain management service by the short message of the application layer of terminal to manage, thus the mapping is closed
It is the update that can directly modify from user level, i.e. user can independently establish the characteristic information and described i-th of the short message
The mapping relations of the short message application in a domain, to which the short message that the short message application that each domain of terminal is installed is shown is short message
The short message of characteristic information and the short message association of each described domain installation is conducive to the convenient of the short message managing for promoting terminal
Property and efficiency.
In the first possible realization method of first aspect present invention, currently running i-th of domain installation of detection terminal
Before whether the application icon of short message application is selected, method further includes:
Terminal detection is for i-th of domain installation in the characteristic information associated domain setting interface of default characteristic information set
Whether the application icon of short message application is selected, wherein default characteristic information set includes the characteristic information of short message;
Terminal is selected in the application icon of the short message application of i-th of domain that characteristic information associated domain is arranged in interface installation
When, short message is established using the mapping relations with characteristic information set;
In the embodiment of the present invention, user independently can be arranged interface by features described above information association domain and easily establish institute
Short message is stated using mapping relations with the characteristic information set, to be conducive to be promoted terminal short message managing convenience.
Alternatively,
Terminal detection is for the default feature letter in the linked character information setting interface of the short message application of i-th of domain installation
Breath set identifies whether to be selected, wherein default characteristic information set includes the characteristic information of j-th strip short message;
Terminal establishes short message when the mark for the default characteristic information set that linked character information is arranged in interface is selected
Using the mapping relations with characteristic information set.
In the embodiment of the present invention, user can be independently arranged by above-mentioned linked character information described in interface easily establishes
Short message using mapping relations with the characteristic information set, to be conducive to be promoted terminal short message managing convenience.
In conjunction with first aspect present invention or first aspect the first possible realization method, in first aspect present invention second
In the possible realization method of kind, the application of the short message application in the corresponding display interface in currently running i-th of the domain of detection terminal
Before whether icon is selected, method further includes:
Terminal receives the short message;
Terminal by the short message of application layer receive domain management service according to the characteristic information of the short message by user preset with it is N number of
Mapping relations between domain, and the characteristic information of short message that receives, determine that the corresponding reception domain of short message is i-th of domain;
Whether the currently running domain of terminal detection terminal is i-th of domain;
When the currently running domain of terminal is i-th of domain, short message is stored in the short message application of the domain installation at i-th.
In conjunction with second of possible realization method of first aspect present invention, the third possible reality in first aspect present invention
In existing mode, method further includes:
For terminal when the currently running domain of terminal is not i-th of domain, the currently running domain of switching terminal is i-th of domain;
Terminal stores short message in the short message application that i-th of domain is installed.
In conjunction with first aspect present invention or first aspect the first or second or the third possible realization method, at this
In the 4th kind of possible realization method of invention first aspect,
It is to have short message to receive domain management service by load store that the short message of the application layer of terminal, which receives domain management service,
Software Development Kit SDK and start;Alternatively,
It is to have short message to receive domain management service by load store that the short message of the application layer of terminal, which receives domain management service,
Database file and start.
Second aspect of the present invention provides a kind of terminal, including:
Detection unit, the application icon of the short message application for the installation of detection terminal currently running i-th of domain whether by
It chooses, wherein i-th of domain is any one domain in N number of domain of terminal, and N is the positive integer more than 1;
Display unit when the application icon for being applied in short message is selected, is shown in the content interface of short message application
The content information of short message;
Wherein, short message is the short message reception domain management service of the application layer of terminal according to the feature of the short message by user preset
Mapping relations between information and N number of domain, and the characteristic information of short message that receives determine that the corresponding reception domain of short message is the
After i domain, it is stored in the short message application of i-th of domain installation.
In the embodiment of the present invention, the application of the short message application of currently running i-th of domain installation of terminal detection terminal first
Whether icon is selected, when the application icon of short message application is selected, the displaying short message in the content interface of short message application
Content information.Since the short message that said short message is the application layer of terminal receives domain management service according to the short message by user preset
Mapping relations between characteristic information and N number of domain, and the characteristic information of short message that receives, determine that the short message is corresponding and connect
After domain is received as i-th of domain, it is stored in the short message application of i-th of domain installation.As it can be seen that due to the characteristic information of said short message
Mapping relations between N number of domain are to receive domain management service by the short message of the application layer of terminal to manage, thus the mapping is closed
It is the update that can directly modify from user level, i.e. user can independently establish the characteristic information and described i-th of the short message
The mapping relations of the short message application in a domain, to which the short message that the short message application that each domain of terminal is installed is shown is short message
The short message of characteristic information and the short message association of each described domain installation is conducive to the convenient of the short message managing for promoting terminal
Property and efficiency.
In the first possible realization method of second aspect of the present invention,
The detection unit is additionally operable to the application drawing in the short message application of currently running i-th of domain installation of detection terminal
Before whether mark is selected, detection is for i-th of domain in the characteristic information associated domain setting interface of default characteristic information set
Whether the application icon of the short message application of installation is selected, wherein default characteristic information set includes the characteristic information of short message;
Terminal further includes:
First establishing unit, the short message application that i-th of domain for being arranged in characteristic information associated domain in interface is installed
When application icon is selected, short message is established using the mapping relations with characteristic information set;
Alternatively,
The detection unit is additionally operable to the application drawing in the short message application of currently running i-th of domain installation of detection terminal
Before whether mark is selected, detection is for default in the linked character information setting interface of the short message application of i-th of domain installation
Characteristic information set identifies whether to be selected, wherein default characteristic information set includes the characteristic information of j-th strip short message;
Terminal further includes:
Second establishes unit, and the mark for the default characteristic information set in interface to be arranged in linked character information is selected
When taking, short message is established using the mapping relations with characteristic information set.
In conjunction with second aspect of the present invention or second aspect the first possible realization method, in second aspect of the present invention second
In the possible realization method of kind, terminal further includes:
Receiving unit, for short in the corresponding display interface in currently running i-th of the domain of detection unit detection terminal
Before whether the application icon of letter application is selected, the short message is received;
Determination unit, the feature for receiving domain management service according to the short message by user preset by the short message of application layer
Mapping relations between information and N number of domain, and the characteristic information of short message that receives determine that the corresponding reception domain of short message is the
I domain;
The detection unit is additionally operable to whether the currently running domain of detection terminal is i-th of domain;
Storage unit is used for when the currently running domain of terminal is i-th of domain, in the short message application of the domain installation at i-th
Store short message.
In conjunction with second of possible realization method of second aspect of the embodiment of the present invention, in second aspect of the embodiment of the present invention
In three kinds of possible realization methods, terminal further includes:
Switch unit, for when the currently running domain of terminal is not i-th of domain, the currently running domain of switching terminal is the
I domain;
The storage unit is additionally operable to store short message in the short message application of the domain installation at i-th.
In conjunction with second aspect of the present invention or second aspect the first or second or the third possible realization method, at this
In the 4th kind of possible realization method of invention second aspect,
It is that the software for having short message to receive domain management service by load store is opened that the short message of application layer, which receives domain management service,
It sends out kit SDK and starts;Alternatively,
It is to have the database that short message receives domain management service by load store that the short message of application layer, which receives domain management service,
File and start.
Term " first ", " second " and " third " in description and claims of this specification and above-mentioned attached drawing etc. is
For distinguishing different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any changes
Shape, it is intended that cover and non-exclusive include.Such as contain the process of series of steps or unit, method, system, product or
Equipment is not limited to the step of having listed or unit, but further includes the steps that optionally not listing or unit or optional
Ground further includes for the intrinsic other steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
A kind of SMS processing method of present invention offer and terminal, to promote the convenience and effect of terminal device short message managing
Rate.
Terminal described in the embodiment of the present invention for example can be tablet computer, smart mobile phone, smart television, vehicle-mounted set
Standby, wearable device (smartwatch, intelligent ring) etc. is equipped with the mobile electronic device of Android Android operation system,
The concept of multiple domain in Android5.1 Edition operating systems is equal to the concept in more spaces, in particular to answering from operating system
Different spaces attribute is distinguished with layer, and the terminal substantially runs an operating system, domain class described in the invention always
It is similar to the concept of multi-user in Windows operating system.The terminal is provided at least provided with N number of domain, wherein in each domain
It is preinstalled with short message application, after terminal receives the short message that network side is sent, which can be distributed to the feature of the short message and be believed
In the short message application that the associated domain of manner of breathing is installed, to realize the Classification Management to short message.
Below in conjunction with the accompanying drawings and specific implementation mode, the technical solution of the embodiment of the present invention is described in detail.
Referring to FIG. 1, Fig. 1 is a kind of flow chart for SMS processing method that first embodiment of the invention proposes, such as Fig. 1 institutes
Show, which can specifically include following steps:
Whether the application icon of the short message application of currently running i-th of domain installation of S101, terminal detection terminal is selected,
Wherein, i-th of domain is any one domain in N number of domain of the terminal, and the N is the positive integer more than 1;
In the embodiment of the present invention, above-mentioned currently running i-th of the domain of terminal can show multiple domains in booting by terminal
Optional interface when, start in the case of the mark that i-th of domain is chosen by user.
Above-mentioned currently running i-th of the domain of terminal can also be to execute described i-th of domain handover operation pop-up by terminal
The verification in domain notifies, and detects and start in the case that user notifies the password and preset password match that input for the verification
's.
When the application icon that S102, the terminal are applied in the short message is selected, in content circle of short message application
The content information of short message is shown in face;
Wherein, the short message is the short message reception domain management service of the application layer of the terminal according to the characteristic information of short message
With the mapping relations between N number of domain, and the characteristic information of the short message that receives, determines that the short message is corresponding and connect
Domain is received after i-th of domain, to be stored in the short message application, the mapping relations are preset by user.
In the specific implementation, the application layer of the terminal short message receive domain management service be have by load store it is described short
Letter receives the Software Development Kit SDK of domain management service and starts;Alternatively,
It is to have the short message to receive domain pipe by load store that the short message of the application layer of the terminal, which receives domain management service,
It manages the database file of service and starts.Wherein, said short message, which receives domain management service, to have developer to be previously written
The Software Development Kit SDK or described database files.
For example, terminal can (a kind of run-time binding (runtime binding) mechanism, can be by intent mechanism
Two different components are connected in program operation process) the load Software Development Kit SDK or described database files with
Short message described in pull-up receives domain management service.
As can be seen that in the embodiment of the present invention, the short message of currently running i-th of domain installation of terminal detection terminal first is answered
Whether application icon is selected, and when the application icon of short message application is selected, is opened up in the content interface of short message application
Show the content information of short message.Since the short message that said short message is the application layer of terminal receives domain management service according to by user preset
Short message characteristic information and N number of domain between mapping relations, and the characteristic information of short message that receives determines the short message
After i-th of domain is in corresponding reception domain, it is stored in the short message application of i-th of domain installation.As it can be seen that due to said short message
Mapping relations between characteristic information and N number of domain are managed by the short message reception domain management service of the application layer of terminal, thus
The mapping relations can directly modify update from user level, i.e., user can independently establish the characteristic information of the short message with
The mapping relations of the short message application in i-th of domain, to which the short message of the short message application displaying of each domain installation of terminal is equal
It is the short message of the characteristic information and the short message association of each described domain installation of short message, is conducive to the short message pipe for promoting terminal
The convenience and efficiency of reason.
Referring to FIG. 2, Fig. 2 is a kind of flow chart for SMS processing method that second embodiment of the invention proposes, such as Fig. 2 institutes
Show, which can specifically include following steps:
S201, terminal detection are for described i-th in the characteristic information associated domain setting interface of default characteristic information set
Whether the application icon of the short message application of a domain installation is selected, wherein the default characteristic information set includes described
The characteristic information of short message;
S202, the short message application installed in i-th of domain in interface is set in the characteristic information associated domain
When application icon is selected, the terminal establishes the short message using the mapping relations with the characteristic information set;
In the embodiment of the present invention, the characteristic information associated domain setting interface is for being arranged default characteristic information set associative
Domain installation short message application.
As an example it is assumed that associated domain setting showing interface has the application drawing of the short message application of the domain installation of 5 terminals
Mark, which is respectively SMS APP1, SMS APP2, SMS APP3, SMS APP4, SMS APP5, if detecting use
Family has chosen the application icon of SMS APP3, then terminal establishes the short message application SMS APP3 and the characteristic information set
Mapping relations.
The application icon of the short message application of S203, the terminal detection terminal currently running i-th of domain installation whether by
It chooses, wherein i-th of domain is any one domain in N number of domain of the terminal, and the N is the positive integer more than 1;
In the embodiment of the present invention, above-mentioned currently running i-th of the domain of terminal can show multiple domains in booting by terminal
Optional interface when, start in the case of the mark that i-th of domain is chosen by user.
Above-mentioned currently running i-th of the domain of terminal can also be to execute described i-th of domain handover operation pop-up by terminal
The verification in domain notifies, and detects and start in the case that user notifies the password and preset password match that input for the verification
's.
Wherein, the application icon of the short message application of currently running i-th of domain installation of the terminal can be illustrated in described
In the application desktop in i-th of domain of terminal, this may be used also using the short message application for including at least i-th of domain installation in desktop
Application icon with the other application installed including i-th of domain, such as QQ application icons, wechat application icon.
S204, when the application icon of short message application is selected, content circle that the terminal is applied in the short message
The content information of short message is shown in face;
Wherein, the short message is the short message reception domain management service of the application layer of the terminal according to the characteristic information of short message
With the mapping relations between N number of domain, and the characteristic information of the short message that receives, determines that the short message is corresponding and connect
Domain is received after i-th of domain, to be stored in the short message application, the mapping relations are preset by user.
In the specific implementation, the application layer of the terminal short message receive domain management service be have by load store it is described short
Letter receives the Software Development Kit SDK of domain management service and starts;Alternatively,
It is to have the short message to receive domain pipe by load store that the short message of the application layer of the terminal, which receives domain management service,
It manages the database file of service and starts.
As can be seen that in the embodiment of the present invention, the short message of currently running i-th of domain installation of terminal detection terminal first is answered
Whether application icon is selected, and when the application icon of short message application is selected, is opened up in the content interface of short message application
Show the content information of short message.Since the short message that said short message is the application layer of terminal receives domain management service according to by user preset
Short message characteristic information and N number of domain between mapping relations, and the characteristic information of short message that receives determines the short message
After i-th of domain is in corresponding reception domain, it is stored in the short message application of i-th of domain installation.As it can be seen that due to said short message
Mapping relations between characteristic information and N number of domain are managed by the short message reception domain management service of the application layer of terminal, thus
The mapping relations can directly modify update from user level, i.e., user can independently establish the characteristic information of the short message with
The mapping relations of the short message application in i-th of domain, to which the short message of the short message application displaying of each domain installation of terminal is equal
It is the short message of the characteristic information and the short message association of each described domain installation of short message, is conducive to the short message pipe for promoting terminal
The convenience and efficiency of reason.
Optionally, in the embodiment of the present invention, the corresponding display interface in currently running i-th of the domain of terminal detection terminal
In short message application application icon whether be selected before, the terminal is additionally operable to execute following operation:
The terminal receives the short message;
The terminal receives characteristic information and institute of the domain management according to the short message by user preset by the short message of application layer
The mapping relations between N number of domain are stated, and according to the characteristic information of the short message received, determines that the short message is corresponding and connect
Receipts domain is i-th of domain;
The terminal detects whether the currently running domain of terminal is i-th of domain;
When the currently running domain of the terminal is i-th of domain, the terminal is described in the installation of i-th of domain
The short message is stored in short message application.
Optionally, in the embodiment of the present invention, the terminal is additionally operable to execute following operation:
When the currently running domain of the terminal is not i-th of domain, the terminal switches the terminal and currently runs
Domain be i-th of domain;
The terminal stores the short message in the short message application that i-th of domain is installed.
In the specific implementation, the terminal switches the specific implementation side that the currently running domain of the terminal is i-th of domain
Formula is:
It is institute that the short message of the application layer of the terminal, which receives domain management service to switch the currently running domain of terminal,
State i-th of domain.Relative to the handover operation for going to execution domain from framework layers of the application framework of Android operation system framework
Technical solution, the present invention receives domain management service by the short message of the application layer of Android operation system framework and executes terminal
Different domains handover operation scheme, reduce the abnormal odds of switching, be conducive to avoid cutting for the domain because of terminal
Generation caused by transversion is normal the case where the loss of short message promotes user experience.
Referring to FIG. 3, Fig. 3 is a kind of flow chart for SMS processing method that third embodiment of the invention proposes, such as Fig. 3 institutes
Show, which can specifically include following steps:
Interface is arranged for the linked character information of the short message application of i-th of domain installation in S301, terminal detection
In default characteristic information set identify whether to be selected, wherein the default characteristic information set includes that the j-th strip is short
The characteristic information of letter;
The mark that the default characteristic information set in interface is arranged in the linked character information for S302, the terminal is selected
When taking, the short message is established using the mapping relations with the characteristic information set.
In the embodiment of the present invention, the linked character information setting interface is for being arranged default characteristic information set associative
The short message application of domain installation.
As an example it is assumed that linked character information setting showing interface has the marks of 5 characteristic information set, this 5
Characteristic information set is respectively SMS CIS1, SMS CIS2, SMS CIS3, SMS CIS4, SMS CIS5, if detecting, user selects
The mark of SMS CIS3 is taken, then terminal is established the short message and closed using the mapping with the characteristic information set SMS CIS3
System.
The application icon of the short message application of S303, the terminal detection terminal currently running i-th of domain installation whether by
It chooses, wherein i-th of domain is any one domain in N number of domain of the terminal, and the N is the positive integer more than 1;
In the embodiment of the present invention, above-mentioned currently running i-th of the domain of terminal can show multiple domains in booting by terminal
Optional interface when, start in the case of the mark that i-th of domain is chosen by user.
Above-mentioned currently running i-th of the domain of terminal can also be to execute described i-th of domain handover operation pop-up by terminal
The verification in domain notifies, and detects and start in the case that user notifies the password and preset password match that input for the verification
's.
S304, when the application icon of short message application is selected, content circle that the terminal is applied in the short message
The content information of short message is shown in face;
Wherein, the short message is the short message reception domain management service of the application layer of the terminal according to the characteristic information of short message
With the mapping relations between N number of domain, and the characteristic information of the short message that receives, determines that the short message is corresponding and connect
Domain is received after i-th of domain, to be stored in the short message application, the mapping relations are preset by user.
In the specific implementation, the application layer of the terminal short message receive domain management service be have by load store it is described short
Letter receives the Software Development Kit SDK of domain management service and starts;Alternatively,
It is to have the short message to receive domain pipe by load store that the short message of the application layer of the terminal, which receives domain management service,
It manages the database file of service and starts.
As can be seen that in the embodiment of the present invention, the short message of currently running i-th of domain installation of terminal detection terminal first is answered
Whether application icon is selected, and when the application icon of short message application is selected, is opened up in the content interface of short message application
Show the content information of short message.Since the short message that said short message is the application layer of terminal receives domain management service according to by user preset
Short message characteristic information and N number of domain between mapping relations, and the characteristic information of short message that receives determines the short message
After i-th of domain is in corresponding reception domain, it is stored in the short message application of i-th of domain installation.As it can be seen that due to said short message
Mapping relations between characteristic information and N number of domain are managed by the short message reception domain management service of the application layer of terminal, thus
The mapping relations can directly modify update from user level, i.e., user can independently establish the characteristic information of the short message with
The mapping relations of the short message application in i-th of domain, to which the short message of the short message application displaying of each domain installation of terminal is equal
It is the short message of the characteristic information and the short message association of each described domain installation of short message, is conducive to the short message pipe for promoting terminal
The convenience and efficiency of reason.
Optionally, in the embodiment of the present invention, the corresponding display interface in currently running i-th of the domain of terminal detection terminal
In short message application application icon whether be selected before, the terminal is additionally operable to execute following operation:
The terminal receives the short message;
The terminal receives characteristic information of the domain management service according to the short message by user preset by the short message of application layer
With the mapping relations between N number of domain, and the characteristic information of the short message that receives, determines that the short message is corresponding and connect
Receipts domain is i-th of domain;
The terminal detects whether the currently running domain of terminal is i-th of domain;
When the currently running domain of the terminal is i-th of domain, the terminal is described in the installation of i-th of domain
The short message is stored in short message application.
Optionally, in the embodiment of the present invention, the terminal is additionally operable to execute following operation:
The terminal switches the terminal and currently runs when the currently running domain of the terminal is not i-th of domain
Domain be i-th of domain;
The terminal stores the short message in the short message application that i-th of domain is installed.
In the specific implementation, the terminal switches the specific implementation side that the currently running domain of the terminal is i-th of domain
Formula is:
The terminal receives the domain management service switching currently running domain of terminal by the short message of the application layer
I-th of domain.The switching for executing domain is gone to grasp relative to from framework layers of the application framework of Android operation system framework
The technical solution of work, the present invention receive domain management service by the short message of the application layer of Android operation system framework and execute domain
Handover operation scheme, reduce the abnormal odds of switching, be conducive to avoid leading because the switching in the domain of terminal is abnormal
The generation of the case where loss of the short message of cause promotes user experience.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is for executing the method for the present invention embodiment one to four
The method of realization is illustrated only and is not disclosed with the relevant part of the embodiment of the present invention, particular technique details for convenience of description
, first embodiment of the invention is please referred to 3rd embodiment.
Referring to FIG. 4, Fig. 4 is a kind of structure chart for terminal that fourth embodiment of the invention proposes.As shown in figure 4, this hair
Terminal in bright embodiment includes detection unit 401, display unit 402, wherein
The detection unit 401, the application icon of the short message application for currently running i-th of domain installation of detection terminal
Whether it is selected, wherein i-th of domain is any one domain in N number of domain of the terminal, and the N is just whole more than 1
Number;
The display unit 402, when the application icon for being applied in the short message is selected, in short message application
The content information of short message is shown in content interface;
Wherein, the short message is the short message reception domain management service of the application layer of the terminal according to the characteristic information of short message
With the mapping relations between N number of domain, and the characteristic information of the short message that receives, determines that the short message is corresponding and connect
Domain is received after i-th of domain, to be stored in the short message application, the mapping relations are preset by user.
In the specific implementation, the application layer of the terminal short message receive domain management service be have by load store it is described short
Letter receives the Software Development Kit SDK of domain management service and starts;Alternatively,
It is to have the short message to receive domain pipe by load store that the short message of the application layer of the terminal, which receives domain management service,
It manages the database file of service and starts.
Optionally, the detection unit 401 is additionally operable to answer in the short message of currently running i-th of domain installation of detection terminal
Before whether application icon is selected, detection is in the characteristic information associated domain setting interface of default characteristic information set
I-th of domain installation the short message application application icon whether be selected, wherein the default characteristic information set
Include the characteristic information of the short message;
Further, the terminal further includes:
First establishing unit, the institute for i-th of domain installation in interface to be arranged in the characteristic information associated domain
The application icon of short message application is stated when being selected, establishes the short message using the mapping relations with the characteristic information set;
Alternatively,
Optionally, the detection unit 401 is additionally operable to answer in the short message of currently running i-th of domain installation of detection terminal
Before whether application icon is selected, linked character letter of the detection for the short message application of i-th of domain installation
Default characteristic information set in breath setting interface identifies whether to be selected, wherein the default characteristic information set includes
The characteristic information of the j-th strip short message;
Further, the terminal further includes:
Second establishes unit, the mark for the default characteristic information set in interface to be arranged in the linked character information
When being selected, the short message is established using the mapping relations with the characteristic information set.
Optionally, the terminal further includes:
Receiving unit, in the corresponding display interface in currently running i-th of the domain of the detection unit detection terminal
Short message application application icon whether be selected before, receive the short message;
Determination unit, the feature for receiving domain management service according to the short message by user preset by the short message of application layer
Mapping relations between information and N number of domain, and the characteristic information of the short message that receives, determine that the short message corresponds to
Reception domain be i-th of domain;
The detection unit 401 is additionally operable to detect whether the currently running domain of the terminal is i-th of domain;
Storage unit, for when the currently running domain of the terminal is i-th of domain, being installed in i-th of domain
The short message application in store the short message.
Optionally, the terminal further includes:
Switch unit, for when the currently running domain of the terminal is not i-th of domain, it is current to switch the terminal
The domain of operation is i-th of domain;
The storage unit is additionally operable to store the short message in the short message application that i-th of domain is installed.
It is understood that the function of each module of the terminal of the present embodiment can be according to the method in above method embodiment
Specific implementation, specific implementation process are referred to the associated description of above method embodiment, and details are not described herein again.
As can be seen that in the embodiment of the present invention, the short message of currently running i-th of domain installation of terminal detection terminal first is answered
Whether application icon is selected, and when the application icon of short message application is selected, is opened up in the content interface of short message application
Show the content information of short message.Since the short message that said short message is the application layer of terminal receives domain management service according to by user preset
Short message characteristic information and N number of domain between mapping relations, and the characteristic information of short message that receives determines the short message
After i-th of domain is in corresponding reception domain, it is stored in the short message application of i-th of domain installation.As it can be seen that due to said short message
Mapping relations between characteristic information and N number of domain are managed by the short message reception domain management service of the application layer of terminal, thus
The mapping relations can directly modify update from user level, i.e., user can independently establish the characteristic information of the short message with
The mapping relations of the short message application in i-th of domain, to which the short message of the short message application displaying of each domain installation of terminal is equal
It is the short message of the characteristic information and the short message association of each described domain installation of short message, is conducive to the short message pipe for promoting terminal
The convenience and efficiency of reason.
Fig. 5 is the structural schematic diagram for another terminal that fifth embodiment of the invention proposes.As shown, the terminal can be with
Including:At least one processor 501, such as CPU, at least one receiver 503, at least one processor 504, at least one hair
Send device 505, at least one communication bus 502.Wherein, communication bus 502 is for realizing the connection communication between these components.Its
In, the receiver 503 of device and transmitter 505 can be wired sending ports in the embodiment of the present invention, or wirelessly set
It is standby, such as including antenna assembly, the communication for carrying out signaling or data with other node devices.Memory 504 can be high
Fast RAM memory, can also be non-labile memory (non-volatile memory), and a for example, at least disk is deposited
Reservoir.Memory 504 optionally can also be at least one storage device for being located remotely from aforementioned processor 501.Memory 504
Middle storage batch processing code, and processor 501 is used to call the program code stored in memory, for executing following behaviour
Make:
The application icon of the short message application of 501 detection terminal of the processor currently running i-th of domain installation whether by
It chooses, wherein i-th of domain is any one domain in N number of domain of the terminal, and the N is the positive integer more than 1;
When the application icon of short message application is selected, content circle that the processor 501 is applied in the short message
The content information of short message is shown in face;
Wherein, the short message is the short message reception domain management service of the application layer of the terminal according to the characteristic information of short message
With the mapping relations between N number of domain, and the characteristic information of the short message that receives, determines that the short message is corresponding and connect
Domain is received after i-th of domain, to be stored in the short message application, the mapping relations are preset by user.
In the specific implementation, the application layer of the terminal short message receive domain management service be have by load store it is described short
Letter receives the Software Development Kit SDK of domain management service and starts;Alternatively,
It is to have the short message to receive domain pipe by load store that the short message of the application layer of the terminal, which receives domain management service,
It manages the database file of service and starts.
Optionally, the application icon of the short message application of currently running i-th of domain installation of 501 detection terminal of the processor
Whether before being selected, the method further includes:
The detection of the processor 501 is for described in the characteristic information associated domain setting interface of default characteristic information set
Whether the application icon of the short message application of i-th of domain installation is selected, wherein the default characteristic information set includes institute
State the characteristic information of short message;
The application drawing of the short message application of i-th of domain installation in interface is set in the characteristic information associated domain
When mark is selected, the processor 501 establishes the short message using the mapping relations with the characteristic information set;
Alternatively,
Linked character information setting of the detection of the processor 501 for the short message application of i-th of domain installation
Default characteristic information set in interface identifies whether to be selected, wherein the default characteristic information set includes the jth
The characteristic information of short message;
When the mark for the default characteristic information set that the linked character information is arranged in interface is selected, the processing
Device 501 establishes the short message using the mapping relations with the characteristic information set.
Optionally, the short message in the corresponding display interface in currently running i-th of the domain of 501 detection terminal of the processor is answered
Before whether application icon is selected, the method further includes:
The receiver 503 receives the short message;
The processor 501 receives feature of the domain management service according to the short message by user preset by the short message of application layer
Mapping relations between information and N number of domain, and the characteristic information of the short message that receives, determine that the short message corresponds to
Reception domain be i-th of domain;
The processor 501 detects whether the currently running domain of the terminal is i-th of domain;
When the currently running domain of the terminal is i-th of domain, the processor 501 is installed in i-th of domain
The short message application in store the short message.
Optionally, when the currently running domain of the terminal is not i-th of domain, the processor 501 switches described
The currently running domain of terminal is i-th of domain;
The processor 501 stores the short message in the short message application that i-th of domain is installed.
It is understood that the function of each module of the terminal of the present embodiment can be according to the method in above method embodiment
Specific implementation, specific implementation process are referred to the associated description of above method embodiment, and details are not described herein again.
As can be seen that in the embodiment of the present invention, the short message of currently running i-th of domain installation of terminal detection terminal first is answered
Whether application icon is selected, and when the application icon of short message application is selected, is opened up in the content interface of short message application
Show the content information of short message.Since the short message that said short message is the application layer of terminal receives domain management service according to by user preset
Short message characteristic information and N number of domain between mapping relations, and the characteristic information of short message that receives determines the short message
After i-th of domain is in corresponding reception domain, it is stored in the short message application of i-th of domain installation.As it can be seen that due to said short message
Mapping relations between characteristic information and N number of domain are managed by the short message reception domain management service of the application layer of terminal, thus
The mapping relations can directly modify update from user level, i.e., user can independently establish the characteristic information of the short message with
The mapping relations of the short message application in i-th of domain, to which the short message of the short message application displaying of each domain installation of terminal is equal
It is the short message of the characteristic information and the short message association of each described domain installation of short message, is conducive to the short message pipe for promoting terminal
The convenience and efficiency of reason.
It should be noted that for each embodiment of the method above-mentioned, for simple description, therefore it is all expressed as to a system
The combination of actions of row, but those skilled in the art should understand that, the present invention is not limited by the described action sequence, because
For according to the present invention, certain some step can be performed in other orders or simultaneously.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily this hair
Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in some embodiment
Part, may refer to the associated description of other embodiment.
One of ordinary skill in the art will appreciate that all or part of step 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:Flash disk, read-only memory (English:Read-Only Memory, referred to as:ROM), random access device (English
Text:Random Access Memory, referred to as:RAM), disk or CD etc..
It is provided for the embodiments of the invention method above and relevant device is described in detail, tool used herein
Principle and implementation of the present invention are described for body example, and the explanation of above example is only intended to help to understand this hair
Bright method and its core concept;Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, specific real
There will be changes in mode and application range are applied, in conclusion the content of the present specification should not be construed as the limit to the present invention
System.