WO2017071205A1 - Sms processing method and terminal - Google Patents

Sms processing method and terminal Download PDF

Info

Publication number
WO2017071205A1
WO2017071205A1 PCT/CN2016/084076 CN2016084076W WO2017071205A1 WO 2017071205 A1 WO2017071205 A1 WO 2017071205A1 CN 2016084076 W CN2016084076 W CN 2016084076W WO 2017071205 A1 WO2017071205 A1 WO 2017071205A1
Authority
WO
WIPO (PCT)
Prior art keywords
short message
domain
terminal
feature information
application
Prior art date
Application number
PCT/CN2016/084076
Other languages
French (fr)
Chinese (zh)
Inventor
周满辉
Original Assignee
宇龙计算机通信科技(深圳)有限公司
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 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2017071205A1 publication Critical patent/WO2017071205A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Definitions

  • the present invention relates to the field of electronic device technologies, and in particular, to a short message processing method and a terminal.
  • a security domain In a multi-domain system, a security domain is generally set, and the user should also be able to set up a scenario-type short message (bank electronic payment, water and electricity coal, group purchase Taobao) by the SMS application in the security domain under certain scenarios, and limit
  • a scenario-type short message bank electronic payment, water and electricity coal, group purchase Taobao
  • the terminal When the terminal switches to the security domain, the content information of the scenario type message can be displayed through the application interface of the short message application in the security domain, so that the information can be ensured not to be leaked.
  • the terminal first pulls up the interface of different domains by the system. Secondly, after receiving the short message, the terminal reports the short message to the message reporting state machine of the application framework frame layer through the modem modem, and reports the message in the short message. The message is dispatched to the specified domain by the activity manager ActivityManager and the user manager UserManager. This scheme can send a scenario-like short message broadcast to the specified domain.
  • the terminal determines the domain corresponding to the received short message by using the short message reporting state machine of the framework layer, and distributes the short message to the determined domain, and the mapping relationship between the short message and the domain is generally written and solidified before the terminal leaves the factory.
  • the framework layer of the Android system of the terminal this makes certain certain types of short messages not automatically included in the above mapping relationship, and will be automatically dispatched by the terminal to the SMS application of the default domain of the system, which obviously affects the user to the terminal. Management of received text messages.
  • the invention provides a short message processing method and a terminal, so as to improve the convenience and efficiency of short message management of the terminal device.
  • a first aspect of the embodiments of the present invention provides a method for processing a short message, including:
  • the terminal detects whether the application icon of the SMS application installed in the i-th domain currently running by the terminal is selected.
  • the i-th field is any one of the N domains of the terminal, and N is a positive integer greater than 1.
  • the terminal displays the content information of the short message in the content interface of the short message application;
  • the short message receiving domain management service of the application layer of the terminal is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and the receiving domain corresponding to the short message is determined as After the i-th domain, it is stored in the SMS application installed in the i-th domain.
  • the terminal first detects whether the application icon of the short message application installed in the i-th domain currently running by the terminal is selected, and displays the content information of the short message in the content interface of the short message application when the application icon of the short message application is selected.
  • the short message receiving domain management service of the application layer of the terminal is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and determining the receiving of the short message. After the domain is the i-th domain, it is stored in the SMS application installed in the i-th domain.
  • mapping relationship between the feature information of the short message and the N domains is managed by the short message receiving domain management service of the application layer of the terminal, the mapping relationship can be directly modified and updated from the user level, that is, the user can establish the relationship independently.
  • the method before detecting whether the application icon of the SMS application installed by the i-th domain currently running by the terminal is selected, the method further includes:
  • the terminal detects whether the application icon of the SMS application installed in the i-th domain in the feature information associated domain setting interface of the preset feature information set is selected, where the preset feature information set includes the feature information of the short message;
  • the terminal establishes a mapping relationship between the short message application and the feature information set when the application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface is selected;
  • the user can autonomously establish a mapping relationship between the short message application and the feature information set by using the feature information association domain setting interface, thereby facilitating the convenience of short message management of the terminal.
  • the terminal detects a preset in the associated feature information setting interface of the short message application installed for the i-th domain Whether the identifier of the feature information set is selected, wherein the preset feature information set includes the feature information of the jth short message;
  • the terminal When the identifier of the preset feature information set in the associated feature information setting interface is selected, the terminal establishes a mapping relationship between the short message application and the feature information set.
  • the user can autonomously establish a mapping relationship between the short message application and the feature information set through the associated feature information setting interface, thereby facilitating the convenience of short message management of the terminal.
  • the short message application in the display interface corresponding to the i-th domain currently running by the terminal is detected.
  • the method also includes:
  • the terminal receiving the domain management service of the application layer determines that the receiving domain corresponding to the short message is the i-th domain according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message. ;
  • the terminal detects whether the domain currently running by the terminal is the i-th domain
  • the short message is stored in the SMS application installed in the i-th domain.
  • the method further includes:
  • the terminal currently running the domain is not the i-th domain
  • the terminal currently running the handover terminal is the i-th domain
  • the terminal stores the short message in the SMS application installed in the i-th domain.
  • the short message receiving domain management service of the application layer of the terminal is started by loading a software development kit SDK that stores the short message receiving domain management service;
  • the short message receiving domain management service of the application layer of the terminal is started by loading a database file storing the short message receiving domain management service.
  • a second aspect of the present invention provides a terminal, including:
  • a detecting unit configured to detect whether an application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, where the i-th domain is any one of the N domains of the terminal, and N is a positive integer greater than 1. ;
  • a display unit configured to display content information of the short message in a content interface of the short message application when the application icon of the short message application is selected;
  • the short message receiving domain management service of the application layer of the terminal is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and the receiving domain corresponding to the short message is determined as After the i-th domain, it is stored in the SMS application installed in the i-th domain.
  • the terminal first detects whether the application icon of the short message application installed in the i-th domain currently running by the terminal is selected, and displays the content information of the short message in the content interface of the short message application when the application icon of the short message application is selected.
  • the short message receiving domain management service of the application layer of the terminal is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and determining the receiving of the short message. After the domain is the i-th domain, it is stored in the SMS application installed in the i-th domain.
  • mapping relationship between the feature information of the short message and the N domains is managed by the short message receiving domain management service of the application layer of the terminal, the mapping relationship can be directly modified and updated from the user level, that is, the user can establish the relationship independently.
  • the detecting unit is further configured to: before detecting whether an application icon of the short message application installed in the i-th domain currently running by the terminal is selected, detecting an i-th domain in the feature information associated domain setting interface of the preset feature information set Whether the application icon of the installed short message application is selected, wherein the preset feature information set includes the feature information of the short message;
  • the terminal also includes:
  • a first establishing unit configured to establish a mapping relationship between the short message application and the feature information set when the application icon of the SMS application installed in the i-th domain in the feature information associated domain setting interface is selected;
  • the detecting unit is further configured to detect a short message application installed in an i-th domain in which the terminal is currently running. Whether the identifier of the preset feature information set in the associated feature information setting interface of the short message application installed for the i-th domain is selected is selected before the application icon is selected, wherein the preset feature information set includes the feature of the j-th message information;
  • the terminal also includes:
  • the second establishing unit is configured to establish a mapping relationship between the short message application and the feature information set when the identifier of the preset feature information set in the associated feature information setting interface is selected.
  • the terminal further includes:
  • a receiving unit configured to receive the short message before the detecting unit detects whether an application icon of the short message application in the display interface corresponding to the i-th domain currently running by the terminal is selected;
  • a determining unit configured to determine, according to a mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, the receiving domain corresponding to the short message is The i-th domain;
  • the detecting unit is further configured to detect whether a domain currently running by the terminal is an i-th domain
  • the storage unit is configured to store the short message in the SMS application installed in the i-th domain when the domain currently running by the terminal is the i-th domain.
  • the terminal further includes:
  • a switching unit configured to: when the domain currently running by the terminal is not the i-th domain, the domain currently running by the switching terminal is the i-th domain;
  • the storage unit is further configured to store a short message in a short message application installed in the i-th domain.
  • the application layer SMS receiving domain management service is started by loading a software development kit SDK that stores the short message receiving domain management service; or
  • the SMS receiving domain management service of the application layer is started by loading a database file storing the short message receiving domain management service.
  • FIG. 1 is a schematic flowchart of a short message processing method according to a first embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a short message processing method according to a second embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a short message processing method according to a third embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a short message processing method according to a fourth embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal according to a fifth embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a terminal according to a sixth embodiment of the present invention.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art understand explicitly and implicitly that the embodiments described herein may be Its embodiment is combined.
  • the invention provides a short message processing method and a terminal, so as to improve the convenience and efficiency of short message management of the terminal device.
  • the terminal described in the embodiment of the present invention may be, for example, a tablet computer, a smart phone, a smart TV, an in-vehicle device, a wearable device (a smart watch, a smart ring), and the like, and a mobile electronic device equipped with an Android Android operating system, Android 5.1 version.
  • the concept of multiple domains in an operating system is equivalent to the concept of multiple spaces, specifically referring to different spatial attributes from the application layer of the operating system, and the terminal essentially runs an operating system at all times, and the domain described in the present invention is similar to Windows.
  • the terminal is configured to have at least N domains, wherein each domain is pre-installed with a short message application. After receiving the short message sent by the network side, the terminal may send the short message to a domain associated with the feature information of the short message. In the SMS application, the classification management of SMS is realized.
  • FIG. 1 is a flowchart of a method for processing a short message according to a first embodiment of the present invention. As shown in FIG. 1 , the method for processing a short message may specifically include the following steps:
  • the terminal detects whether an application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, where the i-th domain is any one of the N domains in the terminal, and the N is greater than a positive integer of 1;
  • the i-th domain currently running by the terminal may be started by the user when the user selects the identifier of the i-th domain when the user displays the optional interface of the multiple domains.
  • the i-th domain in which the terminal is currently running may also be a verification notification that the terminal pops up the i-th domain in performing a domain switching operation, and detects that the password input by the user for the verification notification matches the preset password. Started.
  • the terminal displays content information of the short message in a content interface of the short message application when the application icon of the short message application is selected;
  • the short message receiving domain management service of the application layer of the terminal determines the short message according to the mapping relationship between the feature information of the short message and the N domains, and the received feature information of the short message. After the corresponding receiving domain is the i th domain, it is stored in the short message application, and the mapping relationship is preset by the user.
  • the short message receiving domain management service of the application layer of the terminal is started by loading a software development kit SDK that stores the short message receiving domain management service;
  • the short message receiving domain management service of the application layer of the terminal is started by loading a database file storing the short message receiving domain management service.
  • the foregoing SMS receiving domain management service may be written by a developer in advance to the software development kit SDK or the database file.
  • the terminal can load the software development kit SDK or the database file to pull up the device through an intent mechanism (a runtime binding mechanism that can connect two different components during the running of the program).
  • intent mechanism a runtime binding mechanism that can connect two different components during the running of the program.
  • the terminal first detects whether the application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, and displays the content interface of the short message application when the application icon of the short message application is selected.
  • the content information of the text message is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and determining the receiving of the short message.
  • the domain is the i-th domain, it is stored in the SMS application installed in the i-th domain.
  • mapping relationship between the feature information of the short message and the N domains is managed by the short message receiving domain management service of the application layer of the terminal, the mapping relationship can be directly modified and updated from the user level, that is, the user can establish the relationship independently.
  • FIG. 2 is a flowchart of a method for processing a short message according to a second embodiment of the present invention. As shown in FIG. 2, the method for processing a short message may specifically include the following steps:
  • the terminal detects whether an application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface of the preset feature information set is selected, where the preset feature information set includes the Characteristic information of the short message;
  • the terminal establishes a mapping relationship between the short message application and the feature information set when an application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface is selected.
  • the feature information associated domain setting interface is used to set a preset feature information set.
  • Associated domain installed SMS app.
  • the associated domain setting interface displays an application icon of a domain-installed short message application of five terminals, and the five short message applications are SMS APP1, SMS APP2, SMS APP3, SMS APP4, and SMS APP5, respectively.
  • the user selects the application icon of the SMS APP3, and the terminal establishes a mapping relationship between the SMS application SMS APP3 and the feature information set.
  • the terminal detects whether an application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, where the i-th domain is any one of the N domains of the terminal, and the N Is a positive integer greater than one;
  • the i-th domain currently running by the terminal may be started by the user when the user selects the identifier of the i-th domain when the user displays the optional interface of the multiple domains.
  • the i-th domain in which the terminal is currently running may also be a verification notification that the terminal pops up the i-th domain in performing a domain switching operation, and detects that the password input by the user for the verification notification matches the preset password. Started.
  • the application icon of the SMS application installed in the i-th domain currently running by the terminal may be displayed in an application desktop of the i-th domain of the terminal, where the application desktop includes at least the SMS of the i-th domain installation.
  • the application may further include application icons of other applications installed by the i-th domain, such as a QQ application icon, a WeChat application icon, and the like.
  • the terminal displays content information of the short message in a content interface of the short message application.
  • the short message receiving domain management service of the application layer of the terminal determines the short message according to the mapping relationship between the feature information of the short message and the N domains, and the received feature information of the short message. After the corresponding receiving domain is the i th domain, it is stored in the short message application, and the mapping relationship is preset by the user.
  • the short message receiving domain management service of the application layer of the terminal is started by loading a software development kit SDK that stores the short message receiving domain management service;
  • the short message receiving domain management service of the application layer of the terminal is started by loading a database file storing the short message receiving domain management service.
  • the terminal first detects whether the application icon of the short message application installed in the i-th domain currently running by the terminal is selected, and when the application icon of the short message application is selected, the short message is displayed.
  • the content information of the SMS is displayed in the content interface of the application.
  • the short message receiving domain management service of the application layer of the terminal is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and determining the receiving of the short message. After the domain is the i-th domain, it is stored in the SMS application installed in the i-th domain.
  • mapping relationship between the feature information of the short message and the N domains is managed by the short message receiving domain management service of the application layer of the terminal, the mapping relationship can be directly modified and updated from the user level, that is, the user can establish the relationship independently.
  • the terminal before the terminal detects whether the application icon of the short message application in the display interface corresponding to the i-th domain currently running by the terminal is selected, the terminal is further configured to perform the following operations:
  • the terminal determines, according to the mapping relationship between the feature information of the short message preset by the user and the N domains, by using the short message receiving domain of the application layer, and determining the corresponding short message according to the received feature information of the short message.
  • the receiving domain is the i-th domain;
  • the terminal detects whether the domain currently running by the terminal is the i-th domain
  • the terminal When the domain currently running by the terminal is the i-th domain, the terminal stores the short message in the short message application installed in the i-th domain.
  • the terminal is further configured to perform the following operations:
  • the terminal switches the domain currently running by the terminal to the i-th domain;
  • the terminal stores the short message in the short message application installed in the i-th domain.
  • the specific implementation manner in which the terminal switches the current running domain of the terminal to the ith domain is:
  • the short message receiving domain management service of the application layer of the terminal switches the domain currently running by the terminal to the i-th domain.
  • the present invention implements a switching operation scheme of different domains of the terminal through the short message receiving domain management service of the application layer of the Android operating system architecture, Reduced switching The probability of frequent occurrence is beneficial to avoid the occurrence of the loss of the short message caused by the abnormal handover of the domain of the terminal, thereby improving the user experience.
  • FIG. 3 is a flowchart of a method for processing a short message according to a third embodiment of the present invention. As shown in FIG. 3, the method for processing a short message may specifically include the following steps:
  • the terminal detects whether an identifier of the preset feature information set in the association feature information setting interface of the short message application installed in the i-th domain is selected, where the preset feature information set includes the jth Characteristic information of the text message;
  • the terminal establishes a mapping relationship between the short message application and the feature information set when the identifier of the preset feature information set in the associated feature information setting interface is selected.
  • the associated feature information setting interface is configured to set a domain-installed short message application associated with the preset feature information set.
  • the association feature information setting interface displays an identifier of five feature information sets
  • the five feature information sets are SMS CIS1, SMS CIS2, SMS CIS3, SMS CIS4, and SMS CIS5, respectively.
  • the identifier of the SMS CIS3, the terminal establishes a mapping relationship between the short message application and the feature information set SMS CIS3.
  • the terminal detects whether an application icon of the SMS application installed by the i-th domain currently running by the terminal is selected, where the i-th domain is any one of the N domains of the terminal, and the N Is a positive integer greater than one;
  • the i-th domain currently running by the terminal may be started by the user when the user selects the identifier of the i-th domain when the user displays the optional interface of the multiple domains.
  • the i-th domain in which the terminal is currently running may also be a verification notification that the terminal pops up the i-th domain in performing a domain switching operation, and detects that the password input by the user for the verification notification matches the preset password. Started.
  • the terminal displays content information of the short message in a content interface of the short message application.
  • the short message receiving domain management service of the application layer of the terminal determines the short message according to the mapping relationship between the feature information of the short message and the N domains, and the received feature information of the short message. After the corresponding receiving domain is the i-th domain, it is stored in the short message application, The mapping relationship is preset by the user.
  • the short message receiving domain management service of the application layer of the terminal is started by loading a software development kit SDK that stores the short message receiving domain management service;
  • the short message receiving domain management service of the application layer of the terminal is started by loading a database file storing the short message receiving domain management service.
  • the terminal first detects whether the application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, and displays the content interface of the short message application when the application icon of the short message application is selected.
  • the content information of the text message is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and determining the receiving of the short message.
  • the domain is the i-th domain, it is stored in the SMS application installed in the i-th domain.
  • mapping relationship between the feature information of the short message and the N domains is managed by the short message receiving domain management service of the application layer of the terminal, the mapping relationship can be directly modified and updated from the user level, that is, the user can establish the relationship independently.
  • the terminal before the terminal detects whether the application icon of the short message application in the display interface corresponding to the i-th domain currently running by the terminal is selected, the terminal is further configured to perform the following operations:
  • the receiving domain is the i-th domain
  • the terminal detects whether the domain currently running by the terminal is the i-th domain
  • the terminal When the domain currently running by the terminal is the i-th domain, the terminal stores the short message in the short message application installed in the i-th domain.
  • the terminal is further configured to perform the following operations:
  • the terminal switches the current running domain of the terminal to the i-th domain;
  • the terminal stores the short message in the short message application installed in the i-th domain.
  • the specific implementation manner in which the terminal switches the current running domain of the terminal to the ith domain is:
  • the terminal switches the domain currently running by the terminal to the i-th domain by using the short message receiving domain management service of the application layer.
  • the present invention reduces the switching abnormality by using the SMS receiving domain management service of the application layer of the Android operating system architecture to perform the domain switching operation.
  • the probability of occurrence is beneficial to avoid the occurrence of the loss of the short message caused by the abnormal handover of the domain of the terminal, thereby improving the user experience.
  • the device embodiment of the present invention is used to perform the method for implementing the first to fourth embodiments of the present invention.
  • the device embodiment of the present invention is used to perform the method for implementing the first to fourth embodiments of the present invention.
  • the device embodiment of the present invention is used to perform the method for implementing the first to fourth embodiments of the present invention.
  • Only parts related to the embodiment of the present invention are shown, and the specific technical details are not disclosed. Please refer to the first to third embodiments of the present invention.
  • FIG. 4 is a structural diagram of a terminal according to a fourth embodiment of the present invention.
  • the terminal in the embodiment of the present invention includes a detecting unit 401 and a display unit 402, where
  • the detecting unit 401 is configured to detect whether an application icon of the SMS application installed by the i-th domain currently running by the terminal is selected, where the i-th domain is any one of the N domains of the terminal.
  • the N is a positive integer greater than one;
  • the displaying unit 402 is configured to display content information of the short message in a content interface of the short message application when the application icon of the short message application is selected;
  • the short message receiving domain management service of the application layer of the terminal determines the short message according to the mapping relationship between the feature information of the short message and the N domains, and the received feature information of the short message. After the corresponding receiving domain is the i th domain, it is stored in the short message application, and the mapping relationship is preset by the user.
  • the short message receiving domain management service of the application layer of the terminal is started by loading a software development kit SDK that stores the short message receiving domain management service;
  • the short message receiving domain management service of the application layer of the terminal is started by loading a database file storing the short message receiving domain management service.
  • the detecting unit 401 is further configured to: detect an i-th domain installation in which the terminal is currently running. Whether the application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface of the preset feature information set is selected is selected before the application icon of the short message application is selected, wherein The preset feature information set includes feature information of the short message;
  • the terminal further includes:
  • a first establishing unit configured to establish a mapping between the short message application and the feature information set when an application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface is selected relationship
  • the detecting unit 401 is further configured to detect, before detecting whether an application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, detecting the short message application installed for the i-th domain Whether the identifier of the preset feature information set in the associated feature information setting interface is selected, wherein the preset feature information set includes the feature information of the jth short message;
  • the terminal further includes:
  • the second establishing unit is configured to establish a mapping relationship between the short message application and the feature information set when the identifier of the preset feature information set in the associated feature information setting interface is selected.
  • the terminal further includes:
  • a receiving unit configured to receive the short message before the detecting unit detects whether an application icon of the short message application in the display interface corresponding to the i-th domain currently running by the terminal is selected;
  • a determining unit configured to determine, by the short message receiving domain management service of the application layer, according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the received feature information of the short message
  • the receiving domain corresponding to the short message is the i-th domain
  • the detecting unit 401 is further configured to detect whether a domain currently running by the terminal is the i-th domain;
  • a storage unit configured to store the short message in the short message application installed in the i-th domain when the domain currently running by the terminal is the i-th domain.
  • the terminal further includes:
  • a switching unit configured to: when the domain currently running by the terminal is not the i th domain, switch the domain currently running by the terminal to the i th domain;
  • the storage unit is further configured to store the short in the short message application installed in the i-th domain letter.
  • the terminal first detects whether the application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, and displays the content interface of the short message application when the application icon of the short message application is selected.
  • the content information of the text message is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and determining the receiving of the short message.
  • the domain is the i-th domain, it is stored in the SMS application installed in the i-th domain.
  • mapping relationship between the feature information of the short message and the N domains is managed by the short message receiving domain management service of the application layer of the terminal, the mapping relationship can be directly modified and updated from the user level, that is, the user can establish the relationship independently.
  • FIG. 5 is a schematic structural diagram of another terminal according to a fifth embodiment of the present invention.
  • the terminal can include at least one processor 501, such as a CPU, at least one receiver 503, at least one memory 504, at least one transmitter 505, and at least one communication bus 502.
  • the communication bus 502 is used to implement connection communication between these components.
  • the receiver 503 and the transmitter 505 of the device in the embodiment of the present invention may be a wired sending port, or may be a wireless device, for example, including an antenna device, for performing signaling or data communication with other node devices.
  • the memory 504 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 504 can optionally also be at least one storage device located remotely from the aforementioned processor 501.
  • a set of program codes is stored in the memory 504, and the processor 501 is configured to call program code stored in the memory for performing the following operations:
  • the processor 501 is configured to detect whether an application icon of the SMS application installed by the i-th domain currently running by the terminal is selected, where the i-th domain is any one of the N domains of the terminal, and the N Is a positive integer greater than one;
  • the processor 501 displays the content information of the short message in the content interface of the short message application;
  • the short message receiving domain management service of the application layer of the terminal determines the short message according to the mapping relationship between the feature information of the short message and the N domains, and the received feature information of the short message. After the corresponding receiving domain is the i th domain, it is stored in the short message application, and the mapping relationship is preset by the user.
  • the short message receiving domain management service of the application layer of the terminal is started by loading a software development kit SDK that stores the short message receiving domain management service;
  • the short message receiving domain management service of the application layer of the terminal is started by loading a database file storing the short message receiving domain management service.
  • the method further includes:
  • the processor 501 is configured to detect whether an application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface of the preset feature information set is selected, where the preset feature information set includes Characteristic information of the short message;
  • the processor 501 establishes a mapping relationship between the short message application and the feature information set when the application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface is selected;
  • the processor 501 is configured to detect whether an identifier of a preset feature information set in the associated feature information setting interface of the short message application installed in the i-th domain is selected, where the preset feature information set includes the The characteristic information of the jth message;
  • the processor 501 When the identifier of the preset feature information set in the associated feature information setting interface is selected, the processor 501 establishes a mapping relationship between the short message application and the feature information set.
  • the method further includes:
  • the receiver 503 receives the short message
  • the processor 501 receives, according to the mapping relationship between the feature information of the short message preset by the user and the N domains, by the short message receiving domain management service of the application layer, and the received feature of the short message. Determining, by the information, that the receiving domain corresponding to the short message is the i-th domain;
  • the processor 501 detects whether a domain currently running by the terminal is the i-th domain
  • the processor 501 stores the short message in the short message application installed in the i-th domain.
  • the processor 501 switches the domain currently running by the terminal to the i th domain;
  • the processor 501 stores the short message in the short message application installed in the i-th domain.
  • the terminal first detects whether the application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, and displays the content interface of the short message application when the application icon of the short message application is selected.
  • the content information of the text message is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and determining the receiving of the short message.
  • the domain is the i-th domain, it is stored in the SMS application installed in the i-th domain.
  • mapping relationship between the feature information of the short message and the N domains is managed by the short message receiving domain management service of the application layer of the terminal, the mapping relationship can be directly modified and updated from the user level, that is, the user can establish the relationship independently.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or optical disk.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed in the embodiments of the present invention are an SMS processing method and terminal, comprising: detecting whether the application icon of a currently running SMS application installed in the ith domain of a terminal is selected, the ith domain being any domain amongst the N domains of the terminal, N being a positive integer greater than 1; and when the application icon of the SMS application is selected, displaying SMS content information on a content interface of the SMS application. The embodiments of the present invention improve the convenience and efficiency of SMS management in a terminal device.

Description

一种短信处理方法及终端Short message processing method and terminal
本申请要求于2015年10月28日提交中国专利局,申请号为201510716209.2、发明名称为“一种短信处理方法及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510716209.2, entitled "SMS Processing Method and Terminal", filed on October 28, 2015, the entire contents of which is incorporated herein by reference. .
技术领域Technical field
本发明涉及电子设备技术领域,尤其涉及一种短信处理方法及终端。The present invention relates to the field of electronic device technologies, and in particular, to a short message processing method and a terminal.
背景技术Background technique
在多域系统中一般会设定一个安全域,用户也应该可以设置在某种场景下由安全域中的短信应用来接收该情景类短信(银行电子支付、水电煤、团购淘宝),并限制终端在切换至该安全域时,才可以通过该安全域中的短信应用的应用界面来展示该情景类短信的内容信息,如此,可以保证信息不泄露。现有的多域架构的终端,终端初始化时首先由系统拉起不同域的界面,其次,终端接收到短信后,通过调制解调器modem上报该短信到应用框架framework层的短信上报状态机,在短信上报状态机中通过活动管理器ActivityManager和用户管理器UserManager来将该短信派发到指定的域中,此种方案可以向指定的域发送情景类短信的广播。In a multi-domain system, a security domain is generally set, and the user should also be able to set up a scenario-type short message (bank electronic payment, water and electricity coal, group purchase Taobao) by the SMS application in the security domain under certain scenarios, and limit When the terminal switches to the security domain, the content information of the scenario type message can be displayed through the application interface of the short message application in the security domain, so that the information can be ensured not to be leaked. In the existing multi-domain architecture terminal, the terminal first pulls up the interface of different domains by the system. Secondly, after receiving the short message, the terminal reports the short message to the message reporting state machine of the application framework frame layer through the modem modem, and reports the message in the short message. The message is dispatched to the specified domain by the activity manager ActivityManager and the user manager UserManager. This scheme can send a scenario-like short message broadcast to the specified domain.
上述方案中,终端是通过framework层的短信上报状态机确定接收到的短信对应的域,并将该短信派发到确定域中,而短信与域的映射关系一般是在终端出厂前写入并固化在终端的安卓系统的framework层,这使得某些特定类别的短信在未包含在上述映射关系中的情况下,会被终端自动派发至系统默认的域的短信应用中,显然这影响用户对终端接收到的短信的管理。In the above solution, the terminal determines the domain corresponding to the received short message by using the short message reporting state machine of the framework layer, and distributes the short message to the determined domain, and the mapping relationship between the short message and the domain is generally written and solidified before the terminal leaves the factory. In the framework layer of the Android system of the terminal, this makes certain certain types of short messages not automatically included in the above mapping relationship, and will be automatically dispatched by the terminal to the SMS application of the default domain of the system, which obviously affects the user to the terminal. Management of received text messages.
发明内容Summary of the invention
本发明提供一种短信处理方法及终端,以期提升终端设备短信管理的便捷性和效率。The invention provides a short message processing method and a terminal, so as to improve the convenience and efficiency of short message management of the terminal device.
本发明实施例第一方面提供了一种短信处理方法,包括:A first aspect of the embodiments of the present invention provides a method for processing a short message, including:
终端检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取, 其中,第i个域为终端的N个域中的任意一个域,N为大于1的正整数;The terminal detects whether the application icon of the SMS application installed in the i-th domain currently running by the terminal is selected. The i-th field is any one of the N domains of the terminal, and N is a positive integer greater than 1.
终端在短信应用的应用图标被选取时,在短信应用的内容界面中展示短信的内容信息;When the application icon of the short message application is selected, the terminal displays the content information of the short message in the content interface of the short message application;
其中,短信是终端的应用层的短信接收域管理服务根据由用户预设的短信的特征信息与N个域之间的映射关系,以及接收到的短信的特征信息,确定短信对应的接收域为第i个域之后,存储在第i个域安装的短信应用中的。The short message receiving domain management service of the application layer of the terminal is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and the receiving domain corresponding to the short message is determined as After the i-th domain, it is stored in the SMS application installed in the i-th domain.
本发明实施例中,终端首先检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取,在短信应用的应用图标被选取时,在短信应用的内容界面中展示短信的内容信息。由于上述短信是终端的应用层的短信接收域管理服务根据由用户预设的短信的特征信息与N个域之间的映射关系,以及接收到的短信的特征信息,确定所述短信对应的接收域为第i个域之后,存储在第i个域安装的短信应用中的。可见,由于上述短信的特征信息与N个域之间的映射关系是由终端的应用层的短信接收域管理服务来管理,因而该映射关系可以从用户层面直接进行修改更新,即用户可以自主建立该短信的特征信息与所述第i个域的短信应用的映射关系,从而终端的每一个域安装的短信应用展示的短信均是短信的特征信息与所述每一个域安装的短信应用关联的短信,有利于提升终端的短信管理的便捷性和效率。In the embodiment of the present invention, the terminal first detects whether the application icon of the short message application installed in the i-th domain currently running by the terminal is selected, and displays the content information of the short message in the content interface of the short message application when the application icon of the short message application is selected. . The short message receiving domain management service of the application layer of the terminal is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and determining the receiving of the short message. After the domain is the i-th domain, it is stored in the SMS application installed in the i-th domain. It can be seen that, since the mapping relationship between the feature information of the short message and the N domains is managed by the short message receiving domain management service of the application layer of the terminal, the mapping relationship can be directly modified and updated from the user level, that is, the user can establish the relationship independently. The mapping relationship between the feature information of the short message and the short message application of the i-th domain, so that the short message displayed by the short message application installed in each domain of the terminal is the feature information of the short message associated with the short message application installed in each domain. SMS helps improve the convenience and efficiency of SMS management on the terminal.
本发明第一方面第一种可能的实现方式中,检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取之前,方法还包括:In the first possible implementation manner of the first aspect of the present invention, before detecting whether the application icon of the SMS application installed by the i-th domain currently running by the terminal is selected, the method further includes:
终端检测针对预设特征信息集合的特征信息关联域设置界面中的第i个域安装的短信应用的应用图标是否被选取,其中,预设特征信息集合包括短信的特征信息;The terminal detects whether the application icon of the SMS application installed in the i-th domain in the feature information associated domain setting interface of the preset feature information set is selected, where the preset feature information set includes the feature information of the short message;
终端在特征信息关联域设置界面中的第i个域安装的短信应用的应用图标被选取时,建立短信应用与特征信息集合的映射关系;The terminal establishes a mapping relationship between the short message application and the feature information set when the application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface is selected;
本发明实施例中,用户可以自主通过上述特征信息关联域设置界面便捷的建立所述短信应用与所述特征信息集合的映射关系,从而有利于提升终端的短信管理的便捷性。In the embodiment of the present invention, the user can autonomously establish a mapping relationship between the short message application and the feature information set by using the feature information association domain setting interface, thereby facilitating the convenience of short message management of the terminal.
或者,or,
终端检测针对第i个域安装的短信应用的关联特征信息设置界面中的预设 特征信息集合的标识是否被选取,其中,预设特征信息集合包括第j条短信的特征信息;The terminal detects a preset in the associated feature information setting interface of the short message application installed for the i-th domain Whether the identifier of the feature information set is selected, wherein the preset feature information set includes the feature information of the jth short message;
终端在关联特征信息设置界面中的预设特征信息集合的标识被选取时,建立短信应用与特征信息集合的映射关系。When the identifier of the preset feature information set in the associated feature information setting interface is selected, the terminal establishes a mapping relationship between the short message application and the feature information set.
本发明实施例中,用户可以自主通过上述关联特征信息设置界面便捷的建立所述短信应用与所述特征信息集合的映射关系,从而有利于提升终端的短信管理的便捷性。In the embodiment of the present invention, the user can autonomously establish a mapping relationship between the short message application and the feature information set through the associated feature information setting interface, thereby facilitating the convenience of short message management of the terminal.
结合本发明第一方面或第一方面第一种可能的实现方式,在本发明第一方面第二种可能的实现方式中,检测终端当前运行的第i个域对应的显示界面中的短信应用的应用图标是否被选取之前,方法还包括:With reference to the first aspect of the present invention or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect of the present invention, the short message application in the display interface corresponding to the i-th domain currently running by the terminal is detected. Before the application icon is selected, the method also includes:
终端接收所述短信;Receiving, by the terminal, the short message;
终端通过应用层的短信接收域管理服务根据由用户预设的短信的特征信息与N个域之间的映射关系,以及接收到的短信的特征信息,确定短信对应的接收域为第i个域;The terminal receiving the domain management service of the application layer determines that the receiving domain corresponding to the short message is the i-th domain according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message. ;
终端检测终端当前运行的域是否为第i个域;The terminal detects whether the domain currently running by the terminal is the i-th domain;
在终端当前运行的域为第i个域时,在第i个域安装的短信应用中存储短信。When the currently running domain of the terminal is the i-th domain, the short message is stored in the SMS application installed in the i-th domain.
结合本发明第一方面第二种可能的实现方式,在本发明第一方面第三种可能的实现方式中,方法还包括:With reference to the second possible implementation manner of the first aspect of the present invention, in a third possible implementation manner of the first aspect, the method further includes:
终端在终端当前运行的域不是第i个域时,切换终端当前运行的域为第i个域;When the terminal currently running the domain is not the i-th domain, the terminal currently running the handover terminal is the i-th domain;
终端在第i个域安装的短信应用中存储短信。The terminal stores the short message in the SMS application installed in the i-th domain.
结合本发明第一方面或第一方面第一种或第二种或第三种可能的实现方式,在本发明第一方面第四种可能的实现方式中,With reference to the first aspect of the present invention or the first or second or third possible implementation of the first aspect, in a fourth possible implementation manner of the first aspect of the present invention,
终端的应用层的短信接收域管理服务是通过加载存储有短信接收域管理服务的软件开发工具包SDK而启动的;或者,The short message receiving domain management service of the application layer of the terminal is started by loading a software development kit SDK that stores the short message receiving domain management service; or
终端的应用层的短信接收域管理服务是通过加载存储有短信接收域管理服务的数据库文件而启动的。The short message receiving domain management service of the application layer of the terminal is started by loading a database file storing the short message receiving domain management service.
本发明第二方面提供了一种终端,包括: A second aspect of the present invention provides a terminal, including:
检测单元,用于检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取,其中,第i个域为终端的N个域中的任意一个域,N为大于1的正整数;a detecting unit, configured to detect whether an application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, where the i-th domain is any one of the N domains of the terminal, and N is a positive integer greater than 1. ;
展示单元,用于在短信应用的应用图标被选取时,在短信应用的内容界面中展示短信的内容信息;a display unit, configured to display content information of the short message in a content interface of the short message application when the application icon of the short message application is selected;
其中,短信是终端的应用层的短信接收域管理服务根据由用户预设的短信的特征信息与N个域之间的映射关系,以及接收到的短信的特征信息,确定短信对应的接收域为第i个域之后,存储在第i个域安装的短信应用中的。The short message receiving domain management service of the application layer of the terminal is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and the receiving domain corresponding to the short message is determined as After the i-th domain, it is stored in the SMS application installed in the i-th domain.
本发明实施例中,终端首先检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取,在短信应用的应用图标被选取时,在短信应用的内容界面中展示短信的内容信息。由于上述短信是终端的应用层的短信接收域管理服务根据由用户预设的短信的特征信息与N个域之间的映射关系,以及接收到的短信的特征信息,确定所述短信对应的接收域为第i个域之后,存储在第i个域安装的短信应用中的。可见,由于上述短信的特征信息与N个域之间的映射关系是由终端的应用层的短信接收域管理服务来管理,因而该映射关系可以从用户层面直接进行修改更新,即用户可以自主建立该短信的特征信息与所述第i个域的短信应用的映射关系,从而终端的每一个域安装的短信应用展示的短信均是短信的特征信息与所述每一个域安装的短信应用关联的短信,有利于提升终端的短信管理的便捷性和效率。In the embodiment of the present invention, the terminal first detects whether the application icon of the short message application installed in the i-th domain currently running by the terminal is selected, and displays the content information of the short message in the content interface of the short message application when the application icon of the short message application is selected. . The short message receiving domain management service of the application layer of the terminal is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and determining the receiving of the short message. After the domain is the i-th domain, it is stored in the SMS application installed in the i-th domain. It can be seen that, since the mapping relationship between the feature information of the short message and the N domains is managed by the short message receiving domain management service of the application layer of the terminal, the mapping relationship can be directly modified and updated from the user level, that is, the user can establish the relationship independently. The mapping relationship between the feature information of the short message and the short message application of the i-th domain, so that the short message displayed by the short message application installed in each domain of the terminal is the feature information of the short message associated with the short message application installed in each domain. SMS helps improve the convenience and efficiency of SMS management on the terminal.
本发明第二方面第一种可能的实现方式中,In a first possible implementation manner of the second aspect of the present invention,
所述检测单元,还用于在检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取之前,检测针对预设特征信息集合的特征信息关联域设置界面中的第i个域安装的短信应用的应用图标是否被选取,其中,预设特征信息集合包括短信的特征信息;The detecting unit is further configured to: before detecting whether an application icon of the short message application installed in the i-th domain currently running by the terminal is selected, detecting an i-th domain in the feature information associated domain setting interface of the preset feature information set Whether the application icon of the installed short message application is selected, wherein the preset feature information set includes the feature information of the short message;
终端还包括:The terminal also includes:
第一建立单元,用于在特征信息关联域设置界面中的第i个域安装的短信应用的应用图标被选取时,建立短信应用与特征信息集合的映射关系;a first establishing unit, configured to establish a mapping relationship between the short message application and the feature information set when the application icon of the SMS application installed in the i-th domain in the feature information associated domain setting interface is selected;
或者,or,
所述检测单元,还用于在检测终端当前运行的第i个域安装的短信应用的 应用图标是否被选取之前,检测针对第i个域安装的短信应用的关联特征信息设置界面中的预设特征信息集合的标识是否被选取,其中,预设特征信息集合包括第j条短信的特征信息;The detecting unit is further configured to detect a short message application installed in an i-th domain in which the terminal is currently running. Whether the identifier of the preset feature information set in the associated feature information setting interface of the short message application installed for the i-th domain is selected is selected before the application icon is selected, wherein the preset feature information set includes the feature of the j-th message information;
终端还包括:The terminal also includes:
第二建立单元,用于在关联特征信息设置界面中的预设特征信息集合的标识被选取时,建立短信应用与特征信息集合的映射关系。The second establishing unit is configured to establish a mapping relationship between the short message application and the feature information set when the identifier of the preset feature information set in the associated feature information setting interface is selected.
结合本发明第二方面或第二方面第一种可能的实现方式,在本发明第二方面第二种可能的实现方式中,终端还包括:With reference to the second aspect of the present invention or the first possible implementation manner of the second aspect, in the second possible implementation manner of the second aspect of the present invention, the terminal further includes:
接收单元,用于在检测单元检测终端当前运行的第i个域对应的显示界面中的短信应用的应用图标是否被选取之前,接收所述短信;a receiving unit, configured to receive the short message before the detecting unit detects whether an application icon of the short message application in the display interface corresponding to the i-th domain currently running by the terminal is selected;
确定单元,用于通过应用层的短信接收域管理服务根据由用户预设的短信的特征信息与N个域之间的映射关系,以及接收到的短信的特征信息,确定短信对应的接收域为第i个域;a determining unit, configured to determine, according to a mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, the receiving domain corresponding to the short message is The i-th domain;
所述检测单元,还用于检测终端当前运行的域是否为第i个域;The detecting unit is further configured to detect whether a domain currently running by the terminal is an i-th domain;
存储单元,用于在终端当前运行的域为第i个域时,在第i个域安装的短信应用中存储短信。The storage unit is configured to store the short message in the SMS application installed in the i-th domain when the domain currently running by the terminal is the i-th domain.
结合本发明实施例第二方面第二种可能的实现方式,在本发明实施例第二方面第三种可能的实现方式中,终端还包括:With reference to the second possible implementation manner of the second aspect of the embodiments of the present invention, in a third possible implementation manner of the second aspect of the embodiments, the terminal further includes:
切换单元,用于在终端当前运行的域不是第i个域时,切换终端当前运行的域为第i个域;a switching unit, configured to: when the domain currently running by the terminal is not the i-th domain, the domain currently running by the switching terminal is the i-th domain;
所述存储单元,还用于在第i个域安装的短信应用中存储短信。The storage unit is further configured to store a short message in a short message application installed in the i-th domain.
结合本发明第二方面或第二方面第一种或第二种或第三种可能的实现方式,在本发明第二方面第四种可能的实现方式中,With reference to the second aspect of the present invention or the first or second or third possible implementation manner of the second aspect, in the fourth possible implementation manner of the second aspect of the present invention,
应用层的短信接收域管理服务是通过加载存储有短信接收域管理服务的软件开发工具包SDK而启动的;或者,The application layer SMS receiving domain management service is started by loading a software development kit SDK that stores the short message receiving domain management service; or
应用层的短信接收域管理服务是通过加载存储有短信接收域管理服务的数据库文件而启动的。The SMS receiving domain management service of the application layer is started by loading a database file storing the short message receiving domain management service.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明第一实施例提出的一种短信处理方法的流程示意图;1 is a schematic flowchart of a short message processing method according to a first embodiment of the present invention;
图2是本发明第二实施例提出的一种短信处理方法的流程示意图;2 is a schematic flowchart of a short message processing method according to a second embodiment of the present invention;
图3是本发明第三实施例提出的一种短信处理方法的流程示意图;3 is a schematic flowchart of a short message processing method according to a third embodiment of the present invention;
图4是本发明第四实施例提出的一种短信处理方法的流程示意图;4 is a schematic flowchart of a short message processing method according to a fourth embodiment of the present invention;
图5是本发明第五实施例提出的一种终端的结构示意图;FIG. 5 is a schematic structural diagram of a terminal according to a fifth embodiment of the present invention; FIG.
图6是本发明第六实施例提出的一种终端的结构示意图。FIG. 6 is a schematic structural diagram of a terminal according to a sixth embodiment of the present invention.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" and the like in the specification and claims of the present invention and the above drawings are used to distinguish different objects, and are not intended to describe a specific order. Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其 它实施例相结合。References to "an embodiment" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention. The appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art understand explicitly and implicitly that the embodiments described herein may be Its embodiment is combined.
本发明提供一种短信处理方法及终端,以期提升终端设备短信管理的便捷性和效率。The invention provides a short message processing method and a terminal, so as to improve the convenience and efficiency of short message management of the terminal device.
本发明实施例中所描述的终端例如可以是平板电脑、智能手机、智能电视、车载设备、可穿戴设备(智能手表、智能戒指)等安装有安卓Android操作系统的移动电子设备,Android5.1版本操作系统中的多域的概念等同于多空间的概念,具体是指从操作系统的应用层区分不同空间属性,而所述终端实质上始终运行一个操作系统,本发明所描述的域类似于Windows操作系统中多用户的概念。该终端设置有至少设置有N个域,其中每个域中均预装有短信应用,终端接收网络侧发送的短信后,可以将该短信派发至与该短信的特征信息相关联的域所安装的短信应用中,从而实现对短信的分类管理。The terminal described in the embodiment of the present invention may be, for example, a tablet computer, a smart phone, a smart TV, an in-vehicle device, a wearable device (a smart watch, a smart ring), and the like, and a mobile electronic device equipped with an Android Android operating system, Android 5.1 version. The concept of multiple domains in an operating system is equivalent to the concept of multiple spaces, specifically referring to different spatial attributes from the application layer of the operating system, and the terminal essentially runs an operating system at all times, and the domain described in the present invention is similar to Windows. The concept of multiple users in the operating system. The terminal is configured to have at least N domains, wherein each domain is pre-installed with a short message application. After receiving the short message sent by the network side, the terminal may send the short message to a domain associated with the feature information of the short message. In the SMS application, the classification management of SMS is realized.
下面结合附图及具体实施方式,对本发明实施例的技术方案进行详细说明。The technical solutions of the embodiments of the present invention are described in detail below with reference to the accompanying drawings and specific embodiments.
请参考图1,图1是本发明第一实施例提出的一种短信处理方法的流程图,如图1所示,该短信处理方法具体可以包括以下步骤:Please refer to FIG. 1. FIG. 1 is a flowchart of a method for processing a short message according to a first embodiment of the present invention. As shown in FIG. 1 , the method for processing a short message may specifically include the following steps:
S101、终端检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取,其中,所述第i个域为所述终端的N个域中的任意一个域,所述N为大于1的正整数;S101: The terminal detects whether an application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, where the i-th domain is any one of the N domains in the terminal, and the N is greater than a positive integer of 1;
本发明实施例中,上述终端当前运行的第i个域可以是由终端在开机展示多个域的可选界面时,由用户选取所述第i个域的标识的情况下启动的。In the embodiment of the present invention, the i-th domain currently running by the terminal may be started by the user when the user selects the identifier of the i-th domain when the user displays the optional interface of the multiple domains.
上述终端当前运行的第i个域也可以是由终端在执行域切换操作弹出所述第i个域的验证通知,并检测到用户针对所述验证通知输入的密码与预设密码匹配的情况下启动的。The i-th domain in which the terminal is currently running may also be a verification notification that the terminal pops up the i-th domain in performing a domain switching operation, and detects that the password input by the user for the verification notification matches the preset password. Started.
S102、所述终端在所述短信应用的应用图标被选取时,在所述短信应用的内容界面中展示短信的内容信息;S102. The terminal displays content information of the short message in a content interface of the short message application when the application icon of the short message application is selected;
其中,所述短信是所述终端的应用层的短信接收域管理服务根据短信的特征信息与所述N个域之间的映射关系,以及接收到的所述短信的特征信息,确定所述短信对应的接收域为所述第i个域之后,存储在所述短信应用中的,所述映射关系由用户预先设定。 The short message receiving domain management service of the application layer of the terminal determines the short message according to the mapping relationship between the feature information of the short message and the N domains, and the received feature information of the short message. After the corresponding receiving domain is the i th domain, it is stored in the short message application, and the mapping relationship is preset by the user.
具体实现中,所述终端的应用层的短信接收域管理服务是通过加载存储有所述短信接收域管理服务的软件开发工具包SDK而启动的;或者,In a specific implementation, the short message receiving domain management service of the application layer of the terminal is started by loading a software development kit SDK that stores the short message receiving domain management service; or
所述终端的应用层的短信接收域管理服务是通过加载存储有所述短信接收域管理服务的数据库文件而启动的。其中,上述短信接收域管理服务可以有开发人员预先写入所述软件开发工具包SDK或所述数据库文件。The short message receiving domain management service of the application layer of the terminal is started by loading a database file storing the short message receiving domain management service. The foregoing SMS receiving domain management service may be written by a developer in advance to the software development kit SDK or the database file.
例如,终端可以通过intent机制(一种运行时绑定(runtime binding)机制,能在程序运行过程中连接两个不同的组件)加载所述软件开发工具包SDK或所述数据库文件以拉起所述短信接收域管理服务。For example, the terminal can load the software development kit SDK or the database file to pull up the device through an intent mechanism (a runtime binding mechanism that can connect two different components during the running of the program). The short message receiving domain management service is described.
可以看出,本发明实施例中,终端首先检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取,在短信应用的应用图标被选取时,在短信应用的内容界面中展示短信的内容信息。由于上述短信是终端的应用层的短信接收域管理服务根据由用户预设的短信的特征信息与N个域之间的映射关系,以及接收到的短信的特征信息,确定所述短信对应的接收域为第i个域之后,存储在第i个域安装的短信应用中的。可见,由于上述短信的特征信息与N个域之间的映射关系是由终端的应用层的短信接收域管理服务来管理,因而该映射关系可以从用户层面直接进行修改更新,即用户可以自主建立该短信的特征信息与所述第i个域的短信应用的映射关系,从而终端的每一个域安装的短信应用展示的短信均是短信的特征信息与所述每一个域安装的短信应用关联的短信,有利于提升终端的短信管理的便捷性和效率。It can be seen that, in the embodiment of the present invention, the terminal first detects whether the application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, and displays the content interface of the short message application when the application icon of the short message application is selected. The content information of the text message. The short message receiving domain management service of the application layer of the terminal is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and determining the receiving of the short message. After the domain is the i-th domain, it is stored in the SMS application installed in the i-th domain. It can be seen that, since the mapping relationship between the feature information of the short message and the N domains is managed by the short message receiving domain management service of the application layer of the terminal, the mapping relationship can be directly modified and updated from the user level, that is, the user can establish the relationship independently. The mapping relationship between the feature information of the short message and the short message application of the i-th domain, so that the short message displayed by the short message application installed in each domain of the terminal is the feature information of the short message associated with the short message application installed in each domain. SMS helps improve the convenience and efficiency of SMS management on the terminal.
请参考图2,图2是本发明第二实施例提出的一种短信处理方法的流程图,如图2所示,该短信处理方法具体可以包括以下步骤:Referring to FIG. 2, FIG. 2 is a flowchart of a method for processing a short message according to a second embodiment of the present invention. As shown in FIG. 2, the method for processing a short message may specifically include the following steps:
S201、终端检测针对预设特征信息集合的特征信息关联域设置界面中的所述第i个域安装的所述短信应用的应用图标是否被选取,其中,所述预设特征信息集合包括所述短信的特征信息;S201: The terminal detects whether an application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface of the preset feature information set is selected, where the preset feature information set includes the Characteristic information of the short message;
S202、在所述特征信息关联域设置界面中的所述第i个域安装的所述短信应用的应用图标被选取时,所述终端建立所述短信应用与所述特征信息集合的映射关系;S202. The terminal establishes a mapping relationship between the short message application and the feature information set when an application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface is selected.
本发明实施例中,所述特征信息关联域设置界面用于设置预设特征信息集 合关联的域安装的短信应用。In the embodiment of the present invention, the feature information associated domain setting interface is used to set a preset feature information set. Associated domain installed SMS app.
举例来说,假设该关联域设置界面展示有5个终端的域安装的短信应用的应用图标,该5个短信应用分别为SMS APP1、SMS APP2、SMS APP3、SMS APP4、SMS APP5,若检测到用户选取了SMS APP3的应用图标,则终端建立所述短信应用SMS APP3与所述特征信息集合的映射关系。For example, it is assumed that the associated domain setting interface displays an application icon of a domain-installed short message application of five terminals, and the five short message applications are SMS APP1, SMS APP2, SMS APP3, SMS APP4, and SMS APP5, respectively. The user selects the application icon of the SMS APP3, and the terminal establishes a mapping relationship between the SMS application SMS APP3 and the feature information set.
S203、所述终端检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取,其中,所述第i个域为所述终端的N个域中的任意一个域,所述N为大于1的正整数;S203: The terminal detects whether an application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, where the i-th domain is any one of the N domains of the terminal, and the N Is a positive integer greater than one;
本发明实施例中,上述终端当前运行的第i个域可以是由终端在开机展示多个域的可选界面时,由用户选取所述第i个域的标识的情况下启动的。In the embodiment of the present invention, the i-th domain currently running by the terminal may be started by the user when the user selects the identifier of the i-th domain when the user displays the optional interface of the multiple domains.
上述终端当前运行的第i个域也可以是由终端在执行域切换操作弹出所述第i个域的验证通知,并检测到用户针对所述验证通知输入的密码与预设密码匹配的情况下启动的。The i-th domain in which the terminal is currently running may also be a verification notification that the terminal pops up the i-th domain in performing a domain switching operation, and detects that the password input by the user for the verification notification matches the preset password. Started.
其中,所述终端当前运行的第i个域安装的短信应用的应用图标可以展示在所述终端的第i个域的应用桌面中,该应用桌面中至少包括所述第i个域安装的短信应用,还可以包括所述第i个域安装的其他应用的应用图标,如QQ应用图标、微信应用图标等等。The application icon of the SMS application installed in the i-th domain currently running by the terminal may be displayed in an application desktop of the i-th domain of the terminal, where the application desktop includes at least the SMS of the i-th domain installation. The application may further include application icons of other applications installed by the i-th domain, such as a QQ application icon, a WeChat application icon, and the like.
S204、在所述短信应用的应用图标被选取时,所述终端在所述短信应用的内容界面中展示短信的内容信息;S204. When the application icon of the short message application is selected, the terminal displays content information of the short message in a content interface of the short message application.
其中,所述短信是所述终端的应用层的短信接收域管理服务根据短信的特征信息与所述N个域之间的映射关系,以及接收到的所述短信的特征信息,确定所述短信对应的接收域为所述第i个域之后,存储在所述短信应用中的,所述映射关系由用户预先设定。The short message receiving domain management service of the application layer of the terminal determines the short message according to the mapping relationship between the feature information of the short message and the N domains, and the received feature information of the short message. After the corresponding receiving domain is the i th domain, it is stored in the short message application, and the mapping relationship is preset by the user.
具体实现中,所述终端的应用层的短信接收域管理服务是通过加载存储有所述短信接收域管理服务的软件开发工具包SDK而启动的;或者,In a specific implementation, the short message receiving domain management service of the application layer of the terminal is started by loading a software development kit SDK that stores the short message receiving domain management service; or
所述终端的应用层的短信接收域管理服务是通过加载存储有所述短信接收域管理服务的数据库文件而启动的。The short message receiving domain management service of the application layer of the terminal is started by loading a database file storing the short message receiving domain management service.
可以看出,本发明实施例中,终端首先检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取,在短信应用的应用图标被选取时,在短信 应用的内容界面中展示短信的内容信息。由于上述短信是终端的应用层的短信接收域管理服务根据由用户预设的短信的特征信息与N个域之间的映射关系,以及接收到的短信的特征信息,确定所述短信对应的接收域为第i个域之后,存储在第i个域安装的短信应用中的。可见,由于上述短信的特征信息与N个域之间的映射关系是由终端的应用层的短信接收域管理服务来管理,因而该映射关系可以从用户层面直接进行修改更新,即用户可以自主建立该短信的特征信息与所述第i个域的短信应用的映射关系,从而终端的每一个域安装的短信应用展示的短信均是短信的特征信息与所述每一个域安装的短信应用关联的短信,有利于提升终端的短信管理的便捷性和效率。It can be seen that, in the embodiment of the present invention, the terminal first detects whether the application icon of the short message application installed in the i-th domain currently running by the terminal is selected, and when the application icon of the short message application is selected, the short message is displayed. The content information of the SMS is displayed in the content interface of the application. The short message receiving domain management service of the application layer of the terminal is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and determining the receiving of the short message. After the domain is the i-th domain, it is stored in the SMS application installed in the i-th domain. It can be seen that, since the mapping relationship between the feature information of the short message and the N domains is managed by the short message receiving domain management service of the application layer of the terminal, the mapping relationship can be directly modified and updated from the user level, that is, the user can establish the relationship independently. The mapping relationship between the feature information of the short message and the short message application of the i-th domain, so that the short message displayed by the short message application installed in each domain of the terminal is the feature information of the short message associated with the short message application installed in each domain. SMS helps improve the convenience and efficiency of SMS management on the terminal.
可选的,本发明实施例中,所述终端检测终端当前运行的第i个域对应的显示界面中的短信应用的应用图标是否被选取之前,所述终端还用于执行以下操作:Optionally, in the embodiment of the present invention, before the terminal detects whether the application icon of the short message application in the display interface corresponding to the i-th domain currently running by the terminal is selected, the terminal is further configured to perform the following operations:
所述终端接收所述短信;Receiving, by the terminal, the short message;
所述终端通过应用层的短信接收域管理根据由用户预设的短信的特征信息与所述N个域之间的映射关系,以及根据接收到的所述短信的特征信息,确定所述短信对应的接收域为所述第i个域;The terminal determines, according to the mapping relationship between the feature information of the short message preset by the user and the N domains, by using the short message receiving domain of the application layer, and determining the corresponding short message according to the received feature information of the short message. The receiving domain is the i-th domain;
所述终端检测所述终端当前运行的域是否为所述第i个域;The terminal detects whether the domain currently running by the terminal is the i-th domain;
在所述终端当前运行的域为所述第i个域时,所述终端在所述第i个域安装的所述短信应用中存储所述短信。When the domain currently running by the terminal is the i-th domain, the terminal stores the short message in the short message application installed in the i-th domain.
可选的,本发明实施例中,所述终端还用于执行以下操作:Optionally, in the embodiment of the present invention, the terminal is further configured to perform the following operations:
在所述终端当前运行的域不是所述第i个域时,所述终端切换所述终端当前运行的域为所述第i个域;When the domain currently running by the terminal is not the i-th domain, the terminal switches the domain currently running by the terminal to the i-th domain;
所述终端在所述第i个域安装的所述短信应用中存储所述短信。The terminal stores the short message in the short message application installed in the i-th domain.
具体实现中,所述终端切换所述终端当前运行的域为所述第i个域的具体实现方式为:In a specific implementation, the specific implementation manner in which the terminal switches the current running domain of the terminal to the ith domain is:
所述终端的所述应用层的短信接收域管理服务切换所述终端当前运行的域为所述第i个域。相对于从Android操作系统架构的应用框架framework层去执行域的切换操作的技术方案,本发明通过Android操作系统架构的应用层的短信接收域管理服务执行终端的不同的域的切换操作的方案,减少了切换异 常发生的几率,有利于避免因终端的域的切换异常而导致的短信的丢失的情况的发生,提升用户体验。The short message receiving domain management service of the application layer of the terminal switches the domain currently running by the terminal to the i-th domain. Compared with the technical solution of performing the domain switching operation from the application layer framework layer of the Android operating system architecture, the present invention implements a switching operation scheme of different domains of the terminal through the short message receiving domain management service of the application layer of the Android operating system architecture, Reduced switching The probability of frequent occurrence is beneficial to avoid the occurrence of the loss of the short message caused by the abnormal handover of the domain of the terminal, thereby improving the user experience.
请参考图3,图3是本发明第三实施例提出的一种短信处理方法的流程图,如图3所示,该短信处理方法具体可以包括以下步骤:Please refer to FIG. 3. FIG. 3 is a flowchart of a method for processing a short message according to a third embodiment of the present invention. As shown in FIG. 3, the method for processing a short message may specifically include the following steps:
S301、终端检测针对所述第i个域安装的所述短信应用的关联特征信息设置界面中的预设特征信息集合的标识是否被选取,其中,所述预设特征信息集合包括所述第j条短信的特征信息;S301: The terminal detects whether an identifier of the preset feature information set in the association feature information setting interface of the short message application installed in the i-th domain is selected, where the preset feature information set includes the jth Characteristic information of the text message;
S302、所述终端在所述关联特征信息设置界面中的预设特征信息集合的标识被选取时,建立所述短信应用与所述特征信息集合的映射关系。S302. The terminal establishes a mapping relationship between the short message application and the feature information set when the identifier of the preset feature information set in the associated feature information setting interface is selected.
本发明实施例中,所述关联特征信息设置界面用于设置预设特征信息集合关联的域安装的短信应用。In the embodiment of the present invention, the associated feature information setting interface is configured to set a domain-installed short message application associated with the preset feature information set.
举例来说,假设该关联特征信息设置界面展示有5个特征信息集合的标识,该5个特征信息集合分别为SMS CIS1、SMS CIS2、SMS CIS3、SMS CIS4、SMS CIS5,若检测到用户选取了SMS CIS3的标识,则终端建立所述短信应用与所述特征信息集合SMS CIS3的映射关系。For example, if the association feature information setting interface displays an identifier of five feature information sets, the five feature information sets are SMS CIS1, SMS CIS2, SMS CIS3, SMS CIS4, and SMS CIS5, respectively. The identifier of the SMS CIS3, the terminal establishes a mapping relationship between the short message application and the feature information set SMS CIS3.
S303、所述终端检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取,其中,所述第i个域为所述终端的N个域中的任意一个域,所述N为大于1的正整数;S303, the terminal detects whether an application icon of the SMS application installed by the i-th domain currently running by the terminal is selected, where the i-th domain is any one of the N domains of the terminal, and the N Is a positive integer greater than one;
本发明实施例中,上述终端当前运行的第i个域可以是由终端在开机展示多个域的可选界面时,由用户选取所述第i个域的标识的情况下启动的。In the embodiment of the present invention, the i-th domain currently running by the terminal may be started by the user when the user selects the identifier of the i-th domain when the user displays the optional interface of the multiple domains.
上述终端当前运行的第i个域也可以是由终端在执行域切换操作弹出所述第i个域的验证通知,并检测到用户针对所述验证通知输入的密码与预设密码匹配的情况下启动的。The i-th domain in which the terminal is currently running may also be a verification notification that the terminal pops up the i-th domain in performing a domain switching operation, and detects that the password input by the user for the verification notification matches the preset password. Started.
S304、在所述短信应用的应用图标被选取时,所述终端在所述短信应用的内容界面中展示短信的内容信息;S304. When the application icon of the short message application is selected, the terminal displays content information of the short message in a content interface of the short message application.
其中,所述短信是所述终端的应用层的短信接收域管理服务根据短信的特征信息与所述N个域之间的映射关系,以及接收到的所述短信的特征信息,确定所述短信对应的接收域为所述第i个域之后,存储在所述短信应用中的, 所述映射关系由用户预先设定。The short message receiving domain management service of the application layer of the terminal determines the short message according to the mapping relationship between the feature information of the short message and the N domains, and the received feature information of the short message. After the corresponding receiving domain is the i-th domain, it is stored in the short message application, The mapping relationship is preset by the user.
具体实现中,所述终端的应用层的短信接收域管理服务是通过加载存储有所述短信接收域管理服务的软件开发工具包SDK而启动的;或者,In a specific implementation, the short message receiving domain management service of the application layer of the terminal is started by loading a software development kit SDK that stores the short message receiving domain management service; or
所述终端的应用层的短信接收域管理服务是通过加载存储有所述短信接收域管理服务的数据库文件而启动的。The short message receiving domain management service of the application layer of the terminal is started by loading a database file storing the short message receiving domain management service.
可以看出,本发明实施例中,终端首先检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取,在短信应用的应用图标被选取时,在短信应用的内容界面中展示短信的内容信息。由于上述短信是终端的应用层的短信接收域管理服务根据由用户预设的短信的特征信息与N个域之间的映射关系,以及接收到的短信的特征信息,确定所述短信对应的接收域为第i个域之后,存储在第i个域安装的短信应用中的。可见,由于上述短信的特征信息与N个域之间的映射关系是由终端的应用层的短信接收域管理服务来管理,因而该映射关系可以从用户层面直接进行修改更新,即用户可以自主建立该短信的特征信息与所述第i个域的短信应用的映射关系,从而终端的每一个域安装的短信应用展示的短信均是短信的特征信息与所述每一个域安装的短信应用关联的短信,有利于提升终端的短信管理的便捷性和效率。It can be seen that, in the embodiment of the present invention, the terminal first detects whether the application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, and displays the content interface of the short message application when the application icon of the short message application is selected. The content information of the text message. The short message receiving domain management service of the application layer of the terminal is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and determining the receiving of the short message. After the domain is the i-th domain, it is stored in the SMS application installed in the i-th domain. It can be seen that, since the mapping relationship between the feature information of the short message and the N domains is managed by the short message receiving domain management service of the application layer of the terminal, the mapping relationship can be directly modified and updated from the user level, that is, the user can establish the relationship independently. The mapping relationship between the feature information of the short message and the short message application of the i-th domain, so that the short message displayed by the short message application installed in each domain of the terminal is the feature information of the short message associated with the short message application installed in each domain. SMS helps improve the convenience and efficiency of SMS management on the terminal.
可选的,本发明实施例中,所述终端检测终端当前运行的第i个域对应的显示界面中的短信应用的应用图标是否被选取之前,所述终端还用于执行以下操作:Optionally, in the embodiment of the present invention, before the terminal detects whether the application icon of the short message application in the display interface corresponding to the i-th domain currently running by the terminal is selected, the terminal is further configured to perform the following operations:
所述终端接收所述短信;Receiving, by the terminal, the short message;
所述终端通过应用层的短信接收域管理服务根据由用户预设的短信的特征信息与所述N个域之间的映射关系,以及接收到的所述短信的特征信息,确定所述短信对应的接收域为所述第i个域;Determining, by the terminal, the short message receiving domain management service of the application layer, according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the received feature information of the short message, The receiving domain is the i-th domain;
所述终端检测所述终端当前运行的域是否为所述第i个域;The terminal detects whether the domain currently running by the terminal is the i-th domain;
在所述终端当前运行的域为所述第i个域时,所述终端在所述第i个域安装的所述短信应用中存储所述短信。When the domain currently running by the terminal is the i-th domain, the terminal stores the short message in the short message application installed in the i-th domain.
可选的,本发明实施例中,所述终端还用于执行以下操作:Optionally, in the embodiment of the present invention, the terminal is further configured to perform the following operations:
所述终端在所述终端当前运行的域不是所述第i个域时,切换所述终端当前运行的域为所述第i个域; When the terminal currently running the terminal is not the i-th domain, the terminal switches the current running domain of the terminal to the i-th domain;
所述终端在所述第i个域安装的所述短信应用中存储所述短信。The terminal stores the short message in the short message application installed in the i-th domain.
具体实现中,所述终端切换所述终端当前运行的域为所述第i个域的具体实现方式为:In a specific implementation, the specific implementation manner in which the terminal switches the current running domain of the terminal to the ith domain is:
所述终端通过所述应用层的短信接收域管理服务切换所述终端当前运行的域为所述第i个域。相对于从Android操作系统架构的应用框架framework层去执行域的切换操作的技术方案,本发明通过Android操作系统架构的应用层的短信接收域管理服务执行域的切换操作的方案,减少了切换异常发生的几率,有利于避免因终端的域的切换异常而导致的短信的丢失的情况的发生,提升用户体验。The terminal switches the domain currently running by the terminal to the i-th domain by using the short message receiving domain management service of the application layer. Compared with the technical solution of performing the domain switching operation from the application layer framework layer of the Android operating system architecture, the present invention reduces the switching abnormality by using the SMS receiving domain management service of the application layer of the Android operating system architecture to perform the domain switching operation. The probability of occurrence is beneficial to avoid the occurrence of the loss of the short message caused by the abnormal handover of the domain of the terminal, thereby improving the user experience.
下面为本发明装置实施例,本发明装置实施例用于执行本发明方法实施例一至四实现的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明第一实施例至第三实施例。The following is an embodiment of the device of the present invention. The device embodiment of the present invention is used to perform the method for implementing the first to fourth embodiments of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown, and the specific technical details are not disclosed. Please refer to the first to third embodiments of the present invention.
请参考图4,图4是本发明第四实施例提出的一种终端的结构图。如图4所示,本发明实施例中的终端包括检测单元401、展示单元402,其中,Please refer to FIG. 4. FIG. 4 is a structural diagram of a terminal according to a fourth embodiment of the present invention. As shown in FIG. 4, the terminal in the embodiment of the present invention includes a detecting unit 401 and a display unit 402, where
所述检测单元401,用于检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取,其中,所述第i个域为所述终端的N个域中的任意一个域,所述N为大于1的正整数;The detecting unit 401 is configured to detect whether an application icon of the SMS application installed by the i-th domain currently running by the terminal is selected, where the i-th domain is any one of the N domains of the terminal. The N is a positive integer greater than one;
所述展示单元402,用于在所述短信应用的应用图标被选取时,在所述短信应用的内容界面中展示短信的内容信息;The displaying unit 402 is configured to display content information of the short message in a content interface of the short message application when the application icon of the short message application is selected;
其中,所述短信是所述终端的应用层的短信接收域管理服务根据短信的特征信息与所述N个域之间的映射关系,以及接收到的所述短信的特征信息,确定所述短信对应的接收域为所述第i个域之后,存储在所述短信应用中的,所述映射关系由用户预先设定。The short message receiving domain management service of the application layer of the terminal determines the short message according to the mapping relationship between the feature information of the short message and the N domains, and the received feature information of the short message. After the corresponding receiving domain is the i th domain, it is stored in the short message application, and the mapping relationship is preset by the user.
具体实现中,所述终端的应用层的短信接收域管理服务是通过加载存储有所述短信接收域管理服务的软件开发工具包SDK而启动的;或者,In a specific implementation, the short message receiving domain management service of the application layer of the terminal is started by loading a software development kit SDK that stores the short message receiving domain management service; or
所述终端的应用层的短信接收域管理服务是通过加载存储有所述短信接收域管理服务的数据库文件而启动的。The short message receiving domain management service of the application layer of the terminal is started by loading a database file storing the short message receiving domain management service.
可选的,所述检测单元401,还用于在检测终端当前运行的第i个域安装 的短信应用的应用图标是否被选取之前,检测针对预设特征信息集合的特征信息关联域设置界面中的所述第i个域安装的所述短信应用的应用图标是否被选取,其中,所述预设特征信息集合包括所述短信的特征信息;Optionally, the detecting unit 401 is further configured to: detect an i-th domain installation in which the terminal is currently running. Whether the application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface of the preset feature information set is selected is selected before the application icon of the short message application is selected, wherein The preset feature information set includes feature information of the short message;
进一步地,所述终端还包括:Further, the terminal further includes:
第一建立单元,用于在所述特征信息关联域设置界面中的所述第i个域安装的所述短信应用的应用图标被选取时,建立所述短信应用与所述特征信息集合的映射关系;a first establishing unit, configured to establish a mapping between the short message application and the feature information set when an application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface is selected relationship;
或者,or,
可选的,所述检测单元401,还用于在检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取之前,检测针对所述第i个域安装的所述短信应用的关联特征信息设置界面中的预设特征信息集合的标识是否被选取,其中,所述预设特征信息集合包括所述第j条短信的特征信息;Optionally, the detecting unit 401 is further configured to detect, before detecting whether an application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, detecting the short message application installed for the i-th domain Whether the identifier of the preset feature information set in the associated feature information setting interface is selected, wherein the preset feature information set includes the feature information of the jth short message;
进一步地,所述终端还包括:Further, the terminal further includes:
第二建立单元,用于在所述关联特征信息设置界面中的预设特征信息集合的标识被选取时,建立所述短信应用与所述特征信息集合的映射关系。The second establishing unit is configured to establish a mapping relationship between the short message application and the feature information set when the identifier of the preset feature information set in the associated feature information setting interface is selected.
可选的,所述终端还包括:Optionally, the terminal further includes:
接收单元,用于在所述检测单元检测终端当前运行的第i个域对应的显示界面中的短信应用的应用图标是否被选取之前,接收所述短信;a receiving unit, configured to receive the short message before the detecting unit detects whether an application icon of the short message application in the display interface corresponding to the i-th domain currently running by the terminal is selected;
确定单元,用于通过应用层的短信接收域管理服务根据由用户预设的短信的特征信息与所述N个域之间的映射关系,以及接收到的所述短信的特征信息,确定所述短信对应的接收域为所述第i个域;a determining unit, configured to determine, by the short message receiving domain management service of the application layer, according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the received feature information of the short message The receiving domain corresponding to the short message is the i-th domain;
所述检测单元401,还用于检测所述终端当前运行的域是否为所述第i个域;The detecting unit 401 is further configured to detect whether a domain currently running by the terminal is the i-th domain;
存储单元,用于在所述终端当前运行的域为所述第i个域时,在所述第i个域安装的所述短信应用中存储所述短信。a storage unit, configured to store the short message in the short message application installed in the i-th domain when the domain currently running by the terminal is the i-th domain.
可选的,所述终端还包括:Optionally, the terminal further includes:
切换单元,用于在所述终端当前运行的域不是所述第i个域时,切换所述终端当前运行的域为所述第i个域;a switching unit, configured to: when the domain currently running by the terminal is not the i th domain, switch the domain currently running by the terminal to the i th domain;
所述存储单元,还用于在所述第i个域安装的所述短信应用中存储所述短 信。The storage unit is further configured to store the short in the short message application installed in the i-th domain letter.
可以理解的是,本实施例的终端的各模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It is to be understood that the functions of the modules of the terminal in this embodiment may be specifically implemented according to the method in the foregoing method embodiment. For the specific implementation process, reference may be made to the related description of the foregoing method embodiments, and details are not described herein again.
可以看出,本发明实施例中,终端首先检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取,在短信应用的应用图标被选取时,在短信应用的内容界面中展示短信的内容信息。由于上述短信是终端的应用层的短信接收域管理服务根据由用户预设的短信的特征信息与N个域之间的映射关系,以及接收到的短信的特征信息,确定所述短信对应的接收域为第i个域之后,存储在第i个域安装的短信应用中的。可见,由于上述短信的特征信息与N个域之间的映射关系是由终端的应用层的短信接收域管理服务来管理,因而该映射关系可以从用户层面直接进行修改更新,即用户可以自主建立该短信的特征信息与所述第i个域的短信应用的映射关系,从而终端的每一个域安装的短信应用展示的短信均是短信的特征信息与所述每一个域安装的短信应用关联的短信,有利于提升终端的短信管理的便捷性和效率。It can be seen that, in the embodiment of the present invention, the terminal first detects whether the application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, and displays the content interface of the short message application when the application icon of the short message application is selected. The content information of the text message. The short message receiving domain management service of the application layer of the terminal is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and determining the receiving of the short message. After the domain is the i-th domain, it is stored in the SMS application installed in the i-th domain. It can be seen that, since the mapping relationship between the feature information of the short message and the N domains is managed by the short message receiving domain management service of the application layer of the terminal, the mapping relationship can be directly modified and updated from the user level, that is, the user can establish the relationship independently. The mapping relationship between the feature information of the short message and the short message application of the i-th domain, so that the short message displayed by the short message application installed in each domain of the terminal is the feature information of the short message associated with the short message application installed in each domain. SMS helps improve the convenience and efficiency of SMS management on the terminal.
图5是本发明第五实施例提出的另一种终端的结构示意图。如图所示,该终端可以包括:至少一个处理器501,例如CPU,至少一个接收器503,至少一个存储器504,至少一个发送器505,至少一个通信总线502。其中,通信总线502用于实现这些组件之间的连接通信。其中,本发明实施例中装置的接收器503和发送器505可以是有线发送端口,也可以为无线设备,例如包括天线装置,用于与其他节点设备进行信令或数据的通信。存储器504可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器504可选的还可以是至少一个位于远离前述处理器501的存储装置。存储器504中存储一组程序代码,且处理器501用于调用存储器中存储的程序代码,用于执行以下操作:FIG. 5 is a schematic structural diagram of another terminal according to a fifth embodiment of the present invention. As shown, the terminal can include at least one processor 501, such as a CPU, at least one receiver 503, at least one memory 504, at least one transmitter 505, and at least one communication bus 502. Among them, the communication bus 502 is used to implement connection communication between these components. The receiver 503 and the transmitter 505 of the device in the embodiment of the present invention may be a wired sending port, or may be a wireless device, for example, including an antenna device, for performing signaling or data communication with other node devices. The memory 504 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory. The memory 504 can optionally also be at least one storage device located remotely from the aforementioned processor 501. A set of program codes is stored in the memory 504, and the processor 501 is configured to call program code stored in the memory for performing the following operations:
所述处理器501检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取,其中,所述第i个域为所述终端的N个域中的任意一个域,所述N为大于1的正整数; The processor 501 is configured to detect whether an application icon of the SMS application installed by the i-th domain currently running by the terminal is selected, where the i-th domain is any one of the N domains of the terminal, and the N Is a positive integer greater than one;
在所述短信应用的应用图标被选取时,所述处理器501在所述短信应用的内容界面中展示短信的内容信息;When the application icon of the short message application is selected, the processor 501 displays the content information of the short message in the content interface of the short message application;
其中,所述短信是所述终端的应用层的短信接收域管理服务根据短信的特征信息与所述N个域之间的映射关系,以及接收到的所述短信的特征信息,确定所述短信对应的接收域为所述第i个域之后,存储在所述短信应用中的,所述映射关系由用户预先设定。The short message receiving domain management service of the application layer of the terminal determines the short message according to the mapping relationship between the feature information of the short message and the N domains, and the received feature information of the short message. After the corresponding receiving domain is the i th domain, it is stored in the short message application, and the mapping relationship is preset by the user.
具体实现中,所述终端的应用层的短信接收域管理服务是通过加载存储有所述短信接收域管理服务的软件开发工具包SDK而启动的;或者,In a specific implementation, the short message receiving domain management service of the application layer of the terminal is started by loading a software development kit SDK that stores the short message receiving domain management service; or
所述终端的应用层的短信接收域管理服务是通过加载存储有所述短信接收域管理服务的数据库文件而启动的。The short message receiving domain management service of the application layer of the terminal is started by loading a database file storing the short message receiving domain management service.
可选的,所述处理器501检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取之前,所述方法还包括:Optionally, before the processor 501 detects whether an application icon of the SMS application installed by the i-th domain currently running by the terminal is selected, the method further includes:
所述处理器501检测针对预设特征信息集合的特征信息关联域设置界面中的所述第i个域安装的所述短信应用的应用图标是否被选取,其中,所述预设特征信息集合包括所述短信的特征信息;The processor 501 is configured to detect whether an application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface of the preset feature information set is selected, where the preset feature information set includes Characteristic information of the short message;
在所述特征信息关联域设置界面中的所述第i个域安装的所述短信应用的应用图标被选取时,所述处理器501建立所述短信应用与所述特征信息集合的映射关系;The processor 501 establishes a mapping relationship between the short message application and the feature information set when the application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface is selected;
或者,or,
所述处理器501检测针对所述第i个域安装的所述短信应用的关联特征信息设置界面中的预设特征信息集合的标识是否被选取,其中,所述预设特征信息集合包括所述第j条短信的特征信息;The processor 501 is configured to detect whether an identifier of a preset feature information set in the associated feature information setting interface of the short message application installed in the i-th domain is selected, where the preset feature information set includes the The characteristic information of the jth message;
在所述关联特征信息设置界面中的预设特征信息集合的标识被选取时,所述处理器501建立所述短信应用与所述特征信息集合的映射关系。When the identifier of the preset feature information set in the associated feature information setting interface is selected, the processor 501 establishes a mapping relationship between the short message application and the feature information set.
可选的,所述处理器501检测终端当前运行的第i个域对应的显示界面中的短信应用的应用图标是否被选取之前,所述方法还包括:Optionally, before the processor 501 detects whether the application icon of the short message application in the display interface corresponding to the i-th domain that is currently running by the terminal is selected, the method further includes:
所述接收器503接收所述短信;The receiver 503 receives the short message;
所述处理器501通过应用层的短信接收域管理服务根据由用户预设的短信的特征信息与所述N个域之间的映射关系,以及接收到的所述短信的特征 信息,确定所述短信对应的接收域为所述第i个域;The processor 501 receives, according to the mapping relationship between the feature information of the short message preset by the user and the N domains, by the short message receiving domain management service of the application layer, and the received feature of the short message. Determining, by the information, that the receiving domain corresponding to the short message is the i-th domain;
所述处理器501检测所述终端当前运行的域是否为所述第i个域;The processor 501 detects whether a domain currently running by the terminal is the i-th domain;
在所述终端当前运行的域为所述第i个域时,所述处理器501在所述第i个域安装的所述短信应用中存储所述短信。When the domain currently running by the terminal is the i-th domain, the processor 501 stores the short message in the short message application installed in the i-th domain.
可选的,在所述终端当前运行的域不是所述第i个域时,所述处理器501切换所述终端当前运行的域为所述第i个域;Optionally, when the domain currently running by the terminal is not the i th domain, the processor 501 switches the domain currently running by the terminal to the i th domain;
所述处理器501在所述第i个域安装的所述短信应用中存储所述短信。The processor 501 stores the short message in the short message application installed in the i-th domain.
可以理解的是,本实施例的终端的各模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It is to be understood that the functions of the modules of the terminal in this embodiment may be specifically implemented according to the method in the foregoing method embodiment. For the specific implementation process, reference may be made to the related description of the foregoing method embodiments, and details are not described herein again.
可以看出,本发明实施例中,终端首先检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取,在短信应用的应用图标被选取时,在短信应用的内容界面中展示短信的内容信息。由于上述短信是终端的应用层的短信接收域管理服务根据由用户预设的短信的特征信息与N个域之间的映射关系,以及接收到的短信的特征信息,确定所述短信对应的接收域为第i个域之后,存储在第i个域安装的短信应用中的。可见,由于上述短信的特征信息与N个域之间的映射关系是由终端的应用层的短信接收域管理服务来管理,因而该映射关系可以从用户层面直接进行修改更新,即用户可以自主建立该短信的特征信息与所述第i个域的短信应用的映射关系,从而终端的每一个域安装的短信应用展示的短信均是短信的特征信息与所述每一个域安装的短信应用关联的短信,有利于提升终端的短信管理的便捷性和效率。It can be seen that, in the embodiment of the present invention, the terminal first detects whether the application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, and displays the content interface of the short message application when the application icon of the short message application is selected. The content information of the text message. The short message receiving domain management service of the application layer of the terminal is determined according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the feature information of the received short message, and determining the receiving of the short message. After the domain is the i-th domain, it is stored in the SMS application installed in the i-th domain. It can be seen that, since the mapping relationship between the feature information of the short message and the N domains is managed by the short message receiving domain management service of the application layer of the terminal, the mapping relationship can be directly modified and updated from the user level, that is, the user can establish the relationship independently. The mapping relationship between the feature information of the short message and the short message application of the i-th domain, so that the short message displayed by the short message application installed in each domain of the terminal is the feature information of the short message associated with the short message application installed in each domain. SMS helps improve the convenience and efficiency of SMS management on the terminal.
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing various method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。 In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not described in detail in a certain embodiment can be referred to the related descriptions of other embodiments.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or optical disk.
以上对本发明实施例所提供的方法及相关设备进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The methods and related devices provided by the embodiments of the present invention are described in detail above. The principles and implementations of the present invention are described in the following. The description of the foregoing embodiments is only for helping to understand the method of the present invention. At the same time, there will be changes in the specific embodiments and application scopes according to the idea of the present invention, and the contents of the present specification should not be construed as being limit.

Claims (10)

  1. 一种短信处理方法,其特征在于,包括:A short message processing method, comprising:
    检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取,其中,所述第i个域为所述终端的N个域中的任意一个域,所述N为大于1的正整数;Detecting whether an application icon of the SMS application installed in the i-th domain currently running by the terminal is selected, where the i-th domain is any one of the N domains of the terminal, and the N is greater than 1 Integer
    在所述短信应用的应用图标被选取时,在所述短信应用的内容界面中展示短信的内容信息;When the application icon of the short message application is selected, displaying content information of the short message in a content interface of the short message application;
    其中,所述短信是所述终端的应用层的短信接收域管理服务根据短信的特征信息与所述N个域之间的映射关系,以及接收到的所述短信的特征信息,确定所述短信对应的接收域为所述第i个域之后,存储在所述短信应用中的,所述映射关系由用户预先设定。The short message receiving domain management service of the application layer of the terminal determines the short message according to the mapping relationship between the feature information of the short message and the N domains, and the received feature information of the short message. After the corresponding receiving domain is the i th domain, it is stored in the short message application, and the mapping relationship is preset by the user.
  2. 根据权利要求1所述的方法,其特征在于,所述检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取之前,所述方法还包括:The method according to claim 1, wherein the method further comprises: before detecting whether an application icon of the SMS application installed by the i-th domain currently being operated by the terminal is selected, the method further comprising:
    检测针对预设特征信息集合的特征信息关联域设置界面中的所述第i个域安装的所述短信应用的应用图标是否被选取,其中,所述预设特征信息集合包括所述短信的特征信息;Detecting whether an application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface of the preset feature information set is selected, wherein the preset feature information set includes characteristics of the short message information;
    在所述特征信息关联域设置界面中的所述第i个域安装的所述短信应用的应用图标被选取时,建立所述短信应用与所述特征信息集合的映射关系;Establishing a mapping relationship between the short message application and the feature information set when the application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface is selected;
    或者,or,
    检测针对所述第i个域安装的所述短信应用的关联特征信息设置界面中的预设特征信息集合的标识是否被选取,其中,所述预设特征信息集合包括所述第j条短信的特征信息;Detecting whether the identifier of the preset feature information set in the associated feature information setting interface of the short message application installed in the i-th domain is selected, wherein the preset feature information set includes the j-th message Characteristic information
    在所述关联特征信息设置界面中的预设特征信息集合的标识被选取时,建立所述短信应用与所述特征信息集合的映射关系。And establishing a mapping relationship between the short message application and the feature information set when the identifier of the preset feature information set in the associated feature information setting interface is selected.
  3. 根据权利要求1或2任一项所述的方法,其特征在于,所述检测终端当前运行的第i个域对应的显示界面中的短信应用的应用图标是否被选取之前,所述方法还包括:The method according to any one of claims 1 to 2, wherein before the detecting whether the application icon of the short message application in the display interface corresponding to the i-th domain currently running by the terminal is selected, the method further includes :
    接收所述短信;Receiving the short message;
    通过应用层的短信接收域管理服务根据由用户预设的短信的特征信息与 所述N个域之间的映射关系,以及接收到的所述短信的特征信息,确定所述短信对应的接收域为所述第i个域;Receiving the domain management service through the SMS of the application layer according to the feature information of the short message preset by the user Determining, by the mapping relationship between the N domains, and the received feature information of the short message, determining that the receiving domain corresponding to the short message is the i th domain;
    检测所述终端当前运行的域是否为所述第i个域;Detecting whether the domain currently running by the terminal is the i-th domain;
    在所述终端当前运行的域为所述第i个域时,在所述第i个域安装的所述短信应用中存储所述短信。When the domain currently running by the terminal is the i-th domain, the short message is stored in the short-message application installed in the i-th domain.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method of claim 3, wherein the method further comprises:
    在所述终端当前运行的域不是所述第i个域时,切换所述终端当前运行的域为所述第i个域;When the domain currently running by the terminal is not the i-th domain, the domain that the terminal is currently running is the i-th domain;
    在所述第i个域安装的所述短信应用中存储所述短信。The short message is stored in the short message application installed in the i-th domain.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,A method according to any one of claims 1 to 4, characterized in that
    所述终端的应用层的短信接收域管理服务是通过加载存储有所述短信接收域管理服务的软件开发工具包SDK而启动的;或者,The short message receiving domain management service of the application layer of the terminal is started by loading a software development kit SDK that stores the short message receiving domain management service; or
    所述终端的应用层的短信接收域管理服务是通过加载存储有所述短信接收域管理服务的数据库文件而启动的。The short message receiving domain management service of the application layer of the terminal is started by loading a database file storing the short message receiving domain management service.
  6. 一种终端,其特征在于,包括:A terminal, comprising:
    检测单元,用于检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取,其中,所述第i个域为所述终端的N个域中的任意一个域,所述N为大于1的正整数;a detecting unit, configured to detect whether an application icon of the SMS application installed by the i-th domain currently running by the terminal is selected, where the i-th domain is any one of the N domains of the terminal, the N Is a positive integer greater than one;
    展示单元,用于在所述短信应用的应用图标被选取时,在所述短信应用的内容界面中展示短信的内容信息;a display unit, configured to display content information of the short message in a content interface of the short message application when the application icon of the short message application is selected;
    其中,所述短信是所述终端的应用层的短信接收域管理服务根据短信的特征信息与所述N个域之间的映射关系,以及接收到的所述短信的特征信息,确定所述短信对应的接收域为所述第i个域之后,存储在所述短信应用中的,所述映射关系由用户预先设定。The short message receiving domain management service of the application layer of the terminal determines the short message according to the mapping relationship between the feature information of the short message and the N domains, and the received feature information of the short message. After the corresponding receiving domain is the i th domain, it is stored in the short message application, and the mapping relationship is preset by the user.
  7. 根据权利要求6所述的终端,其特征在于,The terminal of claim 6 wherein:
    所述检测单元,还用于在检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取之前,检测针对预设特征信息集合的特征信息关联域设置界面中的所述第i个域安装的所述短信应用的应用图标是否被选取,其中,所述预设特征信息集合包括所述短信的特征信息; The detecting unit is further configured to: before detecting whether an application icon of the short message application installed in the i-th domain currently running by the terminal is selected, detecting the ith in the feature information associated domain setting interface of the preset feature information set Whether the application icon of the short message application installed by the domain is selected, wherein the preset feature information set includes feature information of the short message;
    所述终端还包括:The terminal further includes:
    第一建立单元,用于在所述特征信息关联域设置界面中的所述第i个域安装的所述短信应用的应用图标被选取时,建立所述短信应用与所述特征信息集合的映射关系;a first establishing unit, configured to establish a mapping between the short message application and the feature information set when an application icon of the short message application installed in the i-th domain in the feature information associated domain setting interface is selected relationship;
    或者,or,
    所述检测单元,还用于在检测终端当前运行的第i个域安装的短信应用的应用图标是否被选取之前,检测针对所述第i个域安装的所述短信应用的关联特征信息设置界面中的预设特征信息集合的标识是否被选取,其中,所述预设特征信息集合包括所述第j条短信的特征信息;The detecting unit is further configured to: before detecting whether an application icon of the short message application installed in the i-th domain currently running by the terminal is selected, detecting an association feature information setting interface of the short message application installed for the i-th domain Whether the identifier of the preset feature information set is selected, wherein the preset feature information set includes feature information of the jth short message;
    所述终端还包括:The terminal further includes:
    第二建立单元,用于在所述关联特征信息设置界面中的预设特征信息集合的标识被选取时,建立所述短信应用与所述特征信息集合的映射关系。The second establishing unit is configured to establish a mapping relationship between the short message application and the feature information set when the identifier of the preset feature information set in the associated feature information setting interface is selected.
  8. 根据权利要求6或7任一项所述的终端,其特征在于,所述终端还包括:The terminal according to any one of claims 6 or 7, wherein the terminal further comprises:
    接收单元,用于在所述检测单元检测终端当前运行的第i个域对应的显示界面中的短信应用的应用图标是否被选取之前,接收所述短信;a receiving unit, configured to receive the short message before the detecting unit detects whether an application icon of the short message application in the display interface corresponding to the i-th domain currently running by the terminal is selected;
    确定单元,用于通过应用层的短信接收域管理服务根据由用户预设的短信的特征信息与所述N个域之间的映射关系,以及接收到的所述短信的特征信息,确定所述短信对应的接收域为所述第i个域;a determining unit, configured to determine, by the short message receiving domain management service of the application layer, according to the mapping relationship between the feature information of the short message preset by the user and the N domains, and the received feature information of the short message The receiving domain corresponding to the short message is the i-th domain;
    所述检测单元,还用于检测所述终端当前运行的域是否为所述第i个域;The detecting unit is further configured to detect whether a domain currently running by the terminal is the i-th domain;
    存储单元,用于在所述终端当前运行的域为所述第i个域时,在所述第i个域安装的所述短信应用中存储所述短信。a storage unit, configured to store the short message in the short message application installed in the i-th domain when the domain currently running by the terminal is the i-th domain.
  9. 根据权利要求8所述的终端,其特征在于,所述终端还包括:The terminal according to claim 8, wherein the terminal further comprises:
    切换单元,用于在所述终端当前运行的域不是所述第i个域时,切换所述终端当前运行的域为所述第i个域;a switching unit, configured to: when the domain currently running by the terminal is not the i th domain, switch the domain currently running by the terminal to the i th domain;
    所述存储单元,还用于在所述第i个域安装的所述短信应用中存储所述短信。The storage unit is further configured to store the short message in the short message application installed in the i-th domain.
  10. 根据权利要求6-9任一项所述的终端,其特征在于,A terminal according to any one of claims 6-9, characterized in that
    所述终端的应用层的短信接收域管理服务是通过加载存储有所述短信接 收域管理服务的软件开发工具包SDK而启动的;或者,The short message receiving domain management service of the application layer of the terminal is configured to load and store the short message connection Launched by the Software Development Kit SDK of the Domain Management Service; or,
    所述终端的应用层的短信接收域管理服务是通过加载存储有所述短信接收域管理服务的数据库文件而启动的。 The short message receiving domain management service of the application layer of the terminal is started by loading a database file storing the short message receiving domain management service.
PCT/CN2016/084076 2015-10-28 2016-05-31 Sms processing method and terminal WO2017071205A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510716209.2 2015-10-28
CN201510716209.2A CN105407218B (en) 2015-10-28 2015-10-28 A kind of SMS processing method and terminal

Publications (1)

Publication Number Publication Date
WO2017071205A1 true WO2017071205A1 (en) 2017-05-04

Family

ID=55472459

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084076 WO2017071205A1 (en) 2015-10-28 2016-05-31 Sms processing method and terminal

Country Status (2)

Country Link
CN (1) CN105407218B (en)
WO (1) WO2017071205A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407218B (en) * 2015-10-28 2018-08-24 东莞酷派软件技术有限公司 A kind of SMS processing method and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050107114A1 (en) * 2003-09-29 2005-05-19 Ocock Timothy J. Multi-user mobile telephone
CN102087602A (en) * 2009-12-04 2011-06-08 纬创资通股份有限公司 Account management method and account management device for Android system
CN102932535A (en) * 2012-10-18 2013-02-13 广东欧珀移动通信有限公司 Mobile terminal shared by multiple users and using method for mobile terminal
CN104468986A (en) * 2014-11-20 2015-03-25 深圳市世纪安软信息技术有限公司 Multi-user operation mode managing method and system for mobile phone
CN104598309A (en) * 2014-12-31 2015-05-06 中科创达软件股份有限公司 Multi-mode OS (operating system) based on OS virtualization and creating and switching method thereof
CN105407218A (en) * 2015-10-28 2016-03-16 东莞酷派软件技术有限公司 Short message processing method and terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104008313B (en) * 2013-02-27 2018-02-27 腾讯科技(深圳)有限公司 The guard method of privacy information and device
CN104462991A (en) * 2013-09-16 2015-03-25 中兴通讯股份有限公司 Method and device for protecting privacy information of mobile terminal
CN104793849A (en) * 2015-04-30 2015-07-22 努比亚技术有限公司 Application icon display method and device
CN105260664B (en) * 2015-09-24 2018-05-15 宇龙计算机通信科技(深圳)有限公司 Method for security protection and terminal are applied between a kind of multisystem

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050107114A1 (en) * 2003-09-29 2005-05-19 Ocock Timothy J. Multi-user mobile telephone
CN102087602A (en) * 2009-12-04 2011-06-08 纬创资通股份有限公司 Account management method and account management device for Android system
CN102932535A (en) * 2012-10-18 2013-02-13 广东欧珀移动通信有限公司 Mobile terminal shared by multiple users and using method for mobile terminal
CN104468986A (en) * 2014-11-20 2015-03-25 深圳市世纪安软信息技术有限公司 Multi-user operation mode managing method and system for mobile phone
CN104598309A (en) * 2014-12-31 2015-05-06 中科创达软件股份有限公司 Multi-mode OS (operating system) based on OS virtualization and creating and switching method thereof
CN105407218A (en) * 2015-10-28 2016-03-16 东莞酷派软件技术有限公司 Short message processing method and terminal

Also Published As

Publication number Publication date
CN105407218B (en) 2018-08-24
CN105407218A (en) 2016-03-16

Similar Documents

Publication Publication Date Title
CN108040108B (en) Communication switching method, device, coordination server and readable storage medium
US9021468B1 (en) Bundling extension installation with web browser installation
CN104869043B (en) A kind of method and terminal for establishing VPN connection
WO2016161682A1 (en) Prompt method and device for multisystem terminal notification message
CN1869927B (en) Device controller, method for controlling a device, and program therefor
US20200210200A1 (en) Multi-Operating System Device, Notification Device and Methods Thereof
US8320973B2 (en) Call disconnect system and method for a mobile device
US11736149B2 (en) Data transmission method for Bluetooth card reader and electronic device
WO2014149186A1 (en) Premium messaging challenges
US20190114183A1 (en) Terminal Configuration Method and Terminal Based on Provision Protocol for Transmission
US9560504B2 (en) Secondary mobile device
CN109104292B (en) Update deployment processing method, related device, and computer-readable storage medium
WO2023241613A1 (en) Call establishment method, device and system, terminal, and readable storage medium
WO2017071205A1 (en) Sms processing method and terminal
CN110035496B (en) Cloud platform switching method and system and electronic equipment
CN106060031B (en) Multimedia communication control method, server and system
US10853098B2 (en) Interface processing method, electronic device, and graphical user interface
GB2514093A (en) Receiving a communication event
CN113676894A (en) Service processing method and device
CN107872381B (en) Prompting method and device
CN106487650B (en) Message synchronization method and server
CN112989323A (en) Process detection method, device, terminal and storage medium
CN111447147A (en) Router, detachable intelligent screen, routing equipment and routing configuration method
CN111193717A (en) FTP black and white list control method and device and electronic equipment
CN111083694A (en) Application program login method, device, terminal and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16858649

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16858649

Country of ref document: EP

Kind code of ref document: A1