WO2017097138A1 - Notification message processing method and device - Google Patents

Notification message processing method and device Download PDF

Info

Publication number
WO2017097138A1
WO2017097138A1 PCT/CN2016/107593 CN2016107593W WO2017097138A1 WO 2017097138 A1 WO2017097138 A1 WO 2017097138A1 CN 2016107593 W CN2016107593 W CN 2016107593W WO 2017097138 A1 WO2017097138 A1 WO 2017097138A1
Authority
WO
WIPO (PCT)
Prior art keywords
user interface
database
notification message
calling number
interface component
Prior art date
Application number
PCT/CN2016/107593
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 WO2017097138A1 publication Critical patent/WO2017097138A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/57Arrangements for indicating or recording the number of the calling subscriber at the called subscriber's set
    • H04M1/575Means for retrieving and displaying personal data about calling party
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27467Methods of retrieving data
    • H04M1/27475Methods of retrieving data using interactive graphical means or pictorial representations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/275Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips implemented by means of portable electronic directories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/2753Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content
    • H04M1/2757Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content by data transmission, e.g. downloading
    • 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
    • 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/72445User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting Internet browser applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a method and an apparatus for processing a notification message.
  • mobile terminals such as mobile phones have become a necessary mobile communication tool, and have evolved from simple call tools to intelligent development, and evolved into a mobile personal information collection and processing platform. .
  • Short messages and MMS as common information notification methods, have a wide range of application scenarios.
  • the mobile communication operator can notify the user of the usage of the phone bill through the short message
  • the courier company can notify the user of the courier information through the short message
  • the bank can notify the user of the account income and expenditure through the short message, so that the user can conveniently and timely obtain various information.
  • various Internet-based services can be provided, for example, mobile communication operators can provide online mobile phone recharge services, mobile service services, etc., and banks can provide Online payment, transfer, account inquiry, credit card repayment and other services.
  • the mobile terminal only supports the viewing function for the short message sent by the above specific information sender. For example, after receiving a short message of a mobile phone arrears sent by the mobile communication carrier, the mobile terminal displays the content of the short message only on the user interface when the user selects the view. If the user needs to further perform the mobile phone recharge operation, the mobile terminal needs to be able to use the mobile phone.
  • the embodiment of the present application provides a method and an apparatus for processing a notification message.
  • the first user interface is configured to display the notification message and a user interface component corresponding to the calling number, the user interface component is configured to execute with the main when triggered Call the operation corresponding to the number.
  • the method further includes:
  • the determining whether the calling number of the notification message is a service number includes:
  • the first database is a database that is locally cached by the terminal
  • the second database is a database stored on the network side
  • the first database and the second database are used to store a service number and a user interface corresponding to the service number. Component information.
  • the acquiring user interface component information corresponding to the calling number includes:
  • the user interface component information corresponding to the calling number is obtained in the second database.
  • the method further includes:
  • the method further comprises:
  • the user interface component information includes:
  • Attribute information of the user interface component and/or,
  • the operation information corresponding to the user interface component is a registered trademark of Microsoft Corporation.
  • the operation information corresponding to the user interface component includes one or any combination of the following information:
  • the corresponding webpage is opened when the user interface component is triggered;
  • a program script that is executed when the user interface component is triggered.
  • the user interface component comprises a menu comprising a first level menu or a multi-level menu.
  • the first user interface further includes a user interface component for implementing an interface switching function, where the user interface component for implementing the interface switching function is switched from the first user interface to the second user interface when triggered.
  • the second user interface is configured to display the notification message, a message reply content input box, and the user interface component for implementing an interface switching function.
  • An obtaining module configured to obtain a calling number of the notification message
  • a determining module configured to determine whether the calling number of the notification message is a service number
  • a processing module configured to: when the determining module determines that the calling number of the notification message is a service number, display a first user interface, where the first user interface is configured to display the notification message and the calling number corresponding to User interface component for performing an operation corresponding to the calling number when triggered.
  • the processing module is further configured to:
  • the determining module determines that the calling number of the notification message is a service number, and displays the first user interface, acquiring user interface component information corresponding to the calling number, and according to the user interface corresponding to the calling number Component information generates user interface components.
  • the determining module is specifically configured to:
  • the first database is a database that is locally cached by the terminal
  • the second database is a database stored on the network side
  • the first database and the second database are used to store a service number and a user interface corresponding to the service number. Component information.
  • the processing module is specifically configured to:
  • the user interface component information corresponding to the calling number is obtained in the second database.
  • the method further includes an update module, configured to: match the calling number in the second database in the second database when the calling number of the notification message is queried in the second database
  • the service number and the user interface component information corresponding to the service number are saved in the first database.
  • the method further includes: an update module, configured to send an update request to the network side, receive a service number returned by the network side according to the request, and corresponding user interface component information, according to the service number returned by the network side and corresponding
  • the user interface component information updates the first database; and/or receives an update command sent by the network side, and updates the first database according to the service number carried in the update command and corresponding user interface component information.
  • the user interface component information includes:
  • Attribute information of the user interface component and/or,
  • the operation information corresponding to the user interface component is a registered trademark of Microsoft Corporation.
  • the operation information corresponding to the user interface component includes one or any combination of the following information:
  • the corresponding webpage is opened when the user interface component is triggered;
  • a program script that is executed when the user interface component is triggered.
  • the user interface component comprises a menu comprising a first level menu or a multi-level menu.
  • the first user interface further includes a user interface component for implementing an interface switching function, where the user interface component for implementing the interface switching function is switched from the first user interface to the second user interface when triggered.
  • the second user interface is configured to display the notification message, a message reply content input box, and the user interface component for implementing an interface switching function.
  • a further embodiment of the present application further provides a mobile terminal, where the mobile terminal includes: a processor, a communication module, a storage module, and an output module. There is a data communication connection between the processor and other modules, such as data communication based on the bus architecture.
  • the processor is used to read the program in the storage module and perform the following process:
  • Obtaining a calling number of the notification message determining whether the calling number of the notification message is a service number; if yes, displaying a first user interface by using an output module, where the first user interface is configured to display the notification message and the A user interface component corresponding to the calling number, the user interface component configured to perform an operation corresponding to the calling number when triggered.
  • the processor further acquires user interface component information corresponding to the calling number, and according to the calling number Corresponding user interface component information generates user interface components.
  • the processor may query the first database according to the calling number of the notification message, and if the calling number of the notification message is queried in the first database, determine that the calling number of the notification message is The service number; or the processor may query the second database according to the calling number of the notification message, and if the calling number of the notification message is queried in the second database, determine the calling party of the notification message The number is a service number; or the processor may query the first database according to the calling number of the notification message, and if the calling number of the notification message is not queried in the first database, according to the notification message The calling number queries the second database. If the calling number of the notification message is queried in the second database, it is determined that the calling number of the notification message is a service number.
  • the first database is a database that is locally cached by the terminal
  • the second database is a database stored on the network side, and the first database and the second database are used to store a service number and a user interface corresponding to the service number. Component information.
  • the process of the user acquiring the user interface component information corresponding to the calling number may include: if the calling number of the notification message is queried in the first database, acquiring in the first database User interface component information corresponding to the calling number; or, if the calling number of the notification message is queried in the second database, acquiring, in the second database, the calling number User interface component information.
  • the processor may also The service number matching the calling number in the second database and the user interface component information corresponding to the service number are saved in the first database.
  • the processor may further send an update request to the network side through the communication module, receive the service number returned by the network side according to the request, and corresponding user interface component information, according to the service number returned by the network side and the corresponding user interface component information. Updating the first database; and/or receiving an update command sent by the network side, and updating the first database according to the service number carried in the update command and corresponding user interface component information.
  • the user interface component information includes:
  • Attribute information of the user interface component and/or,
  • the operation information corresponding to the user interface component is a registered trademark of Microsoft Corporation.
  • the operation information corresponding to the user interface component includes one or any combination of the following information:
  • the corresponding webpage is opened when the user interface component is triggered;
  • a program script that is executed when the user interface component is triggered.
  • the user interface component comprises a menu comprising a first level menu or a multi-level menu.
  • the first user interface further includes a user interface component for implementing an interface switching function, where the user interface component for implementing the interface switching function is switched from the first user interface to the second user interface when triggered.
  • the second user interface is configured to display the notification message, a message reply content input box, and the user interface component for implementing an interface switching function.
  • the calling number of the notification message is a service number
  • the notification message is displayed, and the calling number is also displayed.
  • User interface component Since the user interface component can perform an operation corresponding to the calling number when triggered, the user can perform the required operation by triggering the user interface component after reading the notification message, and Compared with the notification message processing method in the prior art, the user operation is simplified and the user experience is improved.
  • the calling number is a service number
  • the user with the calling number (usually a corporate user) further provides Internet-based services.
  • the user interface component related to the service provided by the enterprise user is simultaneously displayed, thereby providing the enterprise user with The service-related user interface component is combined with the display interface of the notification message to facilitate user operation.
  • FIG. 1 is a schematic flowchart of processing a notification message in an embodiment of the present application
  • 3a to 3c are schematic diagrams of user interfaces in an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a notification message processing apparatus according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • the embodiment of the present application provides a method for processing the notification message, which is used to simplify the operation of the user and improve the user experience.
  • Executed on the mobile terminal side The mobile terminal can be a mobile phone, a PDA (Personal Digital Assistant) or the like.
  • the mobile terminal before displaying the notification message, the mobile terminal first determines whether the calling number of the notification message is a service number, and if it is a service number, displaying the notification message,
  • the user interface component ie, the UI component
  • UI component corresponding to the calling number enables the user to read both the content of the notification message and the related operation by triggering the same user interface.
  • the UI component is a piece of code that encapsulates one or several segments to complete their respective functions into one or several independent parts.
  • the UI component contains such one or several code segments with their own functions, and finally the representation of the user interface can be completed.
  • Common UI components can include menus, buttons, text boxes, check boxes, lists, and the like.
  • the type of the UI component involved in the embodiment of the present invention is not limited, and may include one or more of the foregoing.
  • the notification message is visible to the user, ie the content of the notification message can be displayed in the user interface.
  • the notification message may be a short message or a notification message such as a multimedia message.
  • the short message may be a message returned by the network side based on the user request, for example, based on the mobile phone call fee returned by the mobile phone credit balance inquiry request sent by the user.
  • the short message may also be a short message actively pushed by the network side, such as a short message notifying the user of the bank account income and expenditure, or a short message subscribed by the user.
  • a database may be pre-configured for storing service numbers and corresponding UI component information.
  • a service number can correspond to one UI component or multiple UI components.
  • the service number can also be called a public service number, usually applied by a service provider (enterprise), and different public service numbers correspond to different service providers.
  • a service provider entity
  • different public service numbers correspond to different service providers.
  • 10086 is the service number of the China Mobile Communications Operator
  • 95555 is the investment.
  • Bank service number A service provider can apply for one or more service numbers.
  • the possibility of applying for a service number by an individual is not excluded.
  • the service provider can communicate with a specific user (or a specific group) in multimedia, such as text, picture, voice, video, etc., on a message platform such as a short message or a multimedia message. interactive.
  • the UI component information may include: attribute information of the UI component and/or operation information corresponding to the UI component.
  • the attribute information of the UI component may include one or any combination of the following information:
  • UI component As described above, embodiments of the present application can support multiple types of UI components, such as menus, buttons, and the like;
  • the name of the UI component can be used to define a textual description of the UI component when it is displayed in the user interface.
  • the menu name can be defined by the attribute information for display in the user interface;
  • the attribute information may be used to define a color when the UI component is displayed; for example, for a UI component of a button type, the image displayed on the button may be set by the attribute information;
  • the attribute information may indicate the level of the menu.
  • the arrangement of each UI component can be set by using the attribute information.
  • the mobile terminal may generate the UI component according to the attribute information set by default when generating the UI component.
  • the operation information corresponding to the UI component may include one or any combination of the following information:
  • the application interface may include an API (Application Programming Interface) of the system application, and may also include an API of a third-party application.
  • API Application Programming Interface
  • the UI component When the UI component is triggered, the corresponding application is opened;
  • Program script When the UI component is triggered, the corresponding program script is executed.
  • the operation information listed above is only an example.
  • the embodiment of the present application does not exclude other types of operation information.
  • the operation information of the UI component may be only a piece of text information.
  • the text information will be Displayed in the text display window.
  • the database can be set according to the service number requested by the service provider and the service provided.
  • the services provided include three types of services: call fee payment service, online business hall service, purchase of mobile phone and accessories, and further, the call charge service is further It can be further divided into: call charge inquiry service, call charge recharge service, balance inquiry service, and correspondingly, the following UI component information can be set for service number A:
  • Menu 1 the name is "Call Payment Service", which is a first-level menu, and the corresponding operation is to open the secondary menu of the menu;
  • Menu 2 named "Online Business Office Service”, is a first-level menu, and the corresponding operation is to open the online business office service page; accordingly, the address of the service page of the online business office service will be used as the operation information corresponding to the menu 2;
  • Menu 3 the name is “Service for purchasing mobile phones and accessories”, the corresponding operation is to open the mobile phone and accessories purchase page; accordingly, the address of the service page for purchasing mobile phones and accessories will be used as the operation information corresponding to menu 3;
  • Menu 4 named "Call Charge Inquiry Service”, is one of the secondary menus of Menu 1, and the corresponding operation is to open the call charge inquiry page; accordingly, the address of the call charge inquiry page will be used as the operation information corresponding to the menu 4;
  • Menu 5 named "Call Recharge Service”, is one of the secondary menus of Menu 1, and the corresponding operation is to open the credit recharge page; accordingly, the address of the call charge inquiry service page will be used as the operation information corresponding to the menu 5;
  • Menu 6 the name "balance inquiry service”, is one of the secondary menus of menu 1, and the corresponding operation is to open the balance inquiry service page; accordingly, the address of the balance inquiry service page will be used as the operation information corresponding to menu 6.
  • Table 1 exemplarily shows a structure of a database for storing a service number and corresponding UI operation information.
  • the database for storing the service number and the corresponding UI component information may be pre-configured in the mobile terminal (for example, when the mobile terminal is configured before leaving the factory, or when the mobile terminal handles the network access service).
  • the database can also be configured by the server on the network side to the mobile terminal.
  • the foregoing database for storing the service number and the corresponding UI component information may also be configured only in the server on the network side.
  • the foregoing database for storing the service number and the corresponding UI component information may be configured in both the mobile terminal and the server on the network side.
  • the network side can configure a complete database, and the mobile terminal side can only configure part of the content in the database.
  • a part of the service number in the database and its corresponding UI component information may be configured to be configured on the mobile terminal according to the user level or other information.
  • embodiments of the present application allow for updating of the database. For example, according to the application status of the service number, the service number and the corresponding UI component information are added in the database, or the invalid service number and the corresponding UI component information are deleted.
  • the database update manner provided by the embodiment of the present application may include the following:
  • Update mode 1 Update only the database on the network side. It is suitable for scenarios where the database is configured only on the network side. It is also suitable for scenarios where the database is configured on the terminal side. It is also suitable for scenarios where the database is configured on both the network side and the terminal side.
  • Update mode 2 The network side actively informs the mobile terminal of the updated content of the database. It is suitable for a scenario in which a database is configured on a mobile terminal, and is also suitable for a scenario in which a database is configured on both the network side and the terminal side.
  • the network side may send an update command to the mobile terminal, where the update command carries the service number and the corresponding user interface component information; the mobile terminal receives the update command sent by the network side, according to the service number carried in the update command. And corresponding user interface component information updates the database cached locally by the mobile terminal.
  • Update method 3 The mobile terminal actively requests to update the database. It is suitable for a scenario in which a database is configured on a mobile terminal, and is also suitable for a scenario in which a database is configured on both the network side and the terminal side.
  • the mobile terminal sends an update request to the network side, and receives the service number returned by the network side according to the request and the corresponding user interface component information, and the mobile terminal updates the service number according to the service number returned by the network side and the corresponding user interface component information.
  • a database that is locally cached by the mobile terminal.
  • the mobile terminal can actively request to update the database according to the set period or time; on the other hand, when the database on the network side is updated, the network side actively informs the mobile terminal of the updated content of the database.
  • the processing flow of the notification message provided by the embodiment of the present application may be as shown in FIG. 1.
  • the flow may be performed by a notification message processing apparatus, and the apparatus may be a mobile terminal or a module integrated inside the mobile terminal.
  • the process is described in detail below with the mobile terminal as the execution subject.
  • the process may include the following steps:
  • Step 101 The mobile terminal acquires a calling number of the notification message.
  • the mobile terminal after receiving the notification message, saves the notification message in the notification message list.
  • the mobile terminal starts executing the process.
  • Step 102 The mobile terminal determines whether the calling number of the notification message is a service number. If the determination is yes, the process proceeds to step 103. If the determination is no, the process proceeds to step 104.
  • the sender of the short message may be an ordinary individual, or a service provider who has applied for a service number and can provide an Internet service function.
  • the notification message may be processed in the current manner.
  • the notification message is displayed in the user interface.
  • the notification message can be processed in the manner provided by the embodiment of the present application.
  • Figure 2 illustrates a user interface for displaying short message content in a conventional manner.
  • the user interface includes:
  • the calling number display area 201 displays the calling number of the short message
  • the message content display area 202 displays the content of the short message and can display the short message of the current request for viewing. Interest, you can also display historical short messages;
  • the message reply content input box 203 can receive the reply information input by the user;
  • the reply function button 204 sends the information in the message reply content input box to the number in the calling number display area after the trigger.
  • step 102 For the specific implementation of step 102, refer to the following embodiments.
  • Step 103 The mobile terminal displays a user interface for displaying the notification message and a UI component corresponding to the calling number, and the UI component is configured to perform an operation corresponding to the calling number when triggered. That is, the mobile terminal displays the notification message and the UI component corresponding to the calling number.
  • the content of the UI component and the notification message can be displayed in a user interface.
  • the number of the UI components corresponding to one service number may be one or more, and the UI component type corresponding to the service number may include one or more types, which is not limited by the embodiment of the present application.
  • Step 104 The mobile terminal displays the notification message.
  • step 102 after determining that the calling number of the notification message is a service number, before displaying the user interface, the method further includes: the mobile terminal acquiring UI component information corresponding to the calling number, and Generating a UI component according to the UI component information corresponding to the calling number.
  • This operation can be accomplished by querying a database for storing service numbers and corresponding UI component information.
  • the database for storing the service number and the corresponding UI component information may have multiple configurations. Accordingly, in step 102, it is determined that the calling number of the notification message is a service number. Including the following ways:
  • the mobile station queries the first database according to the calling number of the notification message. If the calling number of the notification message is queried in the first database, it is determined that the calling number of the notification message is a service number.
  • the mobile terminal queries the calling number of the notification message in the first database, the UI component information corresponding to the calling number is obtained in the first database.
  • the first database is a database that is locally cached by the terminal
  • the second database is a database stored on the network side
  • the first database and the second database are used to store the service number and UI component information corresponding to the service number. This definition also applies to the following modes 2 and 3.
  • the mobile terminal queries the second database according to the calling number of the notification message. If the calling number of the notification message is queried in the second database, it is determined that the calling number of the notification message is a service number.
  • the mobile terminal queries the calling number of the notification message in the second database, the UI component information corresponding to the calling number is obtained in the second database.
  • the mobile terminal queries the first database according to the calling number of the notification message. If the calling number of the notification message is not queried in the first database, the second database is queried according to the calling number of the notification message. When the calling number of the notification message is queried in the second database, it is determined that the calling number of the notification message is a service number.
  • the mobile terminal queries the calling number of the notification message in the second database, the UI component information corresponding to the calling number is obtained in the second database.
  • the service number matching the calling number in the second database and the UI component information corresponding to the service number may be saved to the first In a database.
  • the content of the first database can be supplemented.
  • the first database fails to be updated in time, the newly requested service number and the corresponding UI component information are not included in the first database, and when the second database is not found, the service not included in the first database is queried.
  • the number and the corresponding UI component information are saved to the first database, it is equivalent to updating the first database, so that the service number is received as the notification message of the calling number in the future, which can be based on the mobile terminal local.
  • the cached first database is processed without checking the second database on the network side, thereby saving network resource overhead.
  • the user interface provided by the embodiment of the present application may be switched between the user interface and the user interface including the message reply content input box.
  • an interface for displaying a notification message and a UI component in step 103 may be referred to as a first user interface
  • a user interface for displaying a notification message and a message reply content input box may be referred to as a second user interface
  • the first user interface may further include a UI component for implementing the interface switching function, and the UI component for implementing the interface switching function is switched from the first user interface to the second user interface when triggered.
  • the second user interface may further include the UI component for implementing the interface switching function. After the UI component for implementing the interface switching function is triggered in the second user interface, the second user interface is switched to the first A user interface.
  • the calling number of the notification message is a service number, and if the service number is displayed, the notification message is displayed.
  • a user interface component corresponding to the calling number is displayed. Since the user interface component can perform an operation corresponding to the calling number when triggered, the user may further perform related operations after reading the notification message. By triggering the user interface component to perform the required operations, the user operation is simplified and the user experience is improved as compared with the notification message processing method in the prior art.
  • the calling number is a service number
  • the user with the calling number (usually a corporate user) further provides Internet-based services.
  • the user interface component related to the service provided by the enterprise user is simultaneously displayed, thereby providing the enterprise user with The service-related user interface component is combined with the display interface of the notification message to facilitate user operation.
  • the database shown in Table 1 is configured in the mobile terminal.
  • the mobile terminal receives the short message with the calling number "10086”, and prompts the user to have a new short message received by voice or vibration.
  • the user opens the short message list and selects the short message whose calling number is "10086" to request to view.
  • the mobile terminal reads the short message buffered in the short message list, and obtains the calling number of the short message.
  • 10086 querying the locally cached database according to the calling number (the content of the database is as shown in Table 1). Since the calling number is queried in the database, the calling number of the short message is determined to be the service number, that is, The short message is a short message sent by the service provider "China Mobile".
  • the mobile terminal queries the UI component information corresponding to the calling number in the database according to the calling number “10086” of the short message.
  • the mobile terminal generates a corresponding UI component according to the queried UI component information, and displays the content of the short message and the generated UI component on the user interface.
  • FIG. 3a is a schematic diagram of the mobile terminal displaying the UI component and the short message content on the user interface simultaneously after generating the UI component according to the queried UI component information. It can be seen that the user interface can include:
  • the calling number display area 301 displays the calling number of the short message
  • the message content display area 302 displays the content of the short message, and can display the short message currently requested to be viewed, and can also display the historical short message;
  • Switching function key 303 the function key is triggered to switch to user interface 3c;
  • the menu key 304 includes three menus, and the menu names are "call fee payment service”, “online business hall service”, “service for purchasing mobile phones and accessories”.
  • the secondary menu 305 of the menu appears on the screen of the mobile terminal, and the secondary menu includes the following menu: "Call Charge Inquiry Service” "Cell Charge Service” "balance inquiry service”.
  • the call charge inquiry service webpage can be displayed on the move.
  • the call inquiry operation can be performed according to the webpage.
  • the user interface may further be provided with a UI component that implements a switching function, and the UI component is triggered to switch to the user interface as shown in FIG. 3c.
  • the user interface shown in FIG. 3c is basically the same as the current short message display interface, and the user interface may include:
  • the calling number display area 301 displays the calling number of the short message
  • the message content display area 302 displays the content of the short message, and can display the short message currently requested to be viewed, and can also display the historical short message;
  • Switching function key 303 the function key is triggered to switch to user interface 3a;
  • the message reply content input box 306 can receive the reply information input by the user;
  • the reply function button 307 sends the information in the message reply content input box to the number in the calling number display area after the trigger.
  • the embodiment of the present application further provides a notification message processing apparatus.
  • the device may be a mobile terminal or a module in the mobile terminal.
  • FIG. 4 is a schematic structural diagram of a notification message processing apparatus according to an embodiment of the present application.
  • the device may include: an obtaining module 401, a determining module 402, and a processing module 403, wherein:
  • the obtaining module 401 is configured to obtain a calling number of the notification message
  • the determining module 402 is configured to determine whether the calling number of the notification message is a service number
  • the processing module 403 is configured to: when the determining module 402 determines that the calling number of the notification message is a service number, display a first user interface, where the first user interface is configured to display the notification message and the calling number corresponds to User interface component for performing an operation corresponding to the calling number when triggered.
  • the processing module 403 is further configured to: after the determining module 402 determines that the calling number of the notification message is a service number, and before displaying the first user interface, acquiring user interface component information corresponding to the calling number, and The user interface component is generated according to the user interface component information corresponding to the calling number.
  • the determining module 402 is specifically configured to: query the first database according to the calling number of the notification message, and if the calling number of the notification message is queried in the first database, determine the notification message The calling number is a service number; or, the second database is queried according to the calling number of the notification message, and if the calling number of the notification message is queried in the second database, determining the notification message The calling number is a service number; or, the first database is queried according to the calling number of the notification message, and if the calling number of the notification message is not queried in the first database, according to the notification message The calling number queries the second database, if When the calling number of the notification message is queried in the second database, it is determined that the calling number of the notification message is a service number.
  • the first database is a database that is locally cached by the terminal
  • the second database is a database stored on the network side, and the first database and the second database are used to store a service number and a user interface corresponding to the service number.
  • the processing module 403 is specifically configured to: if the calling number of the notification message is queried in the first database, acquire a user interface component corresponding to the calling number in the first database Information; or, if the calling number of the notification message is queried in the second database, the user interface component information corresponding to the calling number is obtained in the second database.
  • the apparatus may further comprise an update module (not shown in the figures).
  • the update module is configured to: when the calling number of the notification message is queried in the second database, the service number in the second database that matches the calling number and a user interface corresponding to the service number The component information is saved to the first database.
  • the update module is further configured to send an update request to the network side, receive the service number returned by the network side according to the request, and corresponding user interface component information, and update the service according to the service number returned by the network side and the corresponding user interface component information.
  • the first database is received; and/or, the update command sent by the network side is received, and the first database is updated according to the service number carried in the update command and the corresponding user interface component information.
  • the user interface component information includes: attribute information of the user interface component; and/or operation information corresponding to the user interface component.
  • the operation information corresponding to the user interface component includes one or any combination of the following information:
  • the corresponding webpage is opened when the user interface component is triggered;
  • a program script that is executed when the user interface component is triggered.
  • the user interface component comprises a menu comprising a first level menu or a multi-level menu.
  • the first user interface further includes a user interface component for implementing an interface switching function, where the user interface component for implementing the interface switching function is switched from the first user interface to the second user interface when triggered.
  • the second user interface is configured to display the notification message, a message reply content input box, and the user interface component for implementing an interface switching function.
  • the embodiment of the present application further provides a mobile terminal, where the mobile terminal can implement the foregoing notification message processing procedure.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
  • the mobile terminal may generally include: a processor 501, a communication module 502, a storage module 503, and an input module. 504.
  • the processor 501 can be a general purpose processor (such as a microprocessor or any conventional processor, etc.), a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or a transistor logic. Devices, discrete hardware components.
  • the communication module 502 can be a plurality of components, including a transmitter and a transceiver, and provides a unit for communicating with various other devices on the transmission medium, such as a radio processing circuit module, a baseband processing circuit module, and an antenna. section.
  • the storage module 503 may specifically include an internal memory and an external memory, such as a random access memory, a flash memory, a read only memory, a programmable read only memory, or an electrically erasable programmable memory, a register, and the like.
  • Input module 504 can include a keyboard or touch screen control circuitry.
  • the output module 505 can include components such as display devices.
  • the bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 501 and various circuits of memory represented by memory module 503.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be further described herein.
  • the bus interface provides an interface.
  • the processor 501 is responsible for managing the bus architecture and general processing, and the storage module 503 can store data used by the processor 501 in performing operations.
  • the notification message processing flow disclosed in the embodiment of the present application may be applied to the processor 501 or implemented by the processor 501.
  • each step of the notification message processing flow may be completed by an integrated logic circuit of hardware in the processor 501 or an instruction in the form of software.
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed.
  • the steps of the method disclosed in the embodiments of the present application may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the processor 501 is configured to read a program in the storage module 503 and perform the following process:
  • Obtaining a calling number of the notification message determining whether the calling number of the notification message is a service number; if yes, displaying a first user interface by using the output module 505, the first user interface is configured to display the notification message and the A user interface component corresponding to the calling number, the user interface component configured to perform an operation corresponding to the calling number when triggered.
  • the processor 501 further acquires user interface component information corresponding to the calling number, and according to the calling Number Corresponding user interface component information generates user interface components.
  • the processor 501 may query the first database according to the calling number of the notification message, and if the calling number of the notification message is queried in the first database, determine the calling number of the notification message. Is the service number; or the processor 501 may query the second database according to the calling number of the notification message, and if the calling number of the notification message is queried in the second database, determine the notification message
  • the calling number is a service number; or the processor 501 can query the first database according to the calling number of the notification message, and if the calling number of the notification message is not queried in the first database, The calling number of the notification message queries the second database. If the calling number of the notification message is queried in the second database, it is determined that the calling number of the notification message is a service number.
  • the first database is a database that is locally cached by the terminal
  • the second database is a database stored on the network side, and the first database and the second database are used to store a service number and a user interface corresponding to the service number. Component information.
  • the process of the processor 501 acquiring the user interface component information corresponding to the calling number may include: if the calling number of the notification message is queried in the first database, in the first database Obtaining user interface component information corresponding to the calling number; or, if the calling number of the notification message is queried in the second database, acquiring the calling number in the second database Corresponding user interface component information.
  • the processor 501 may further correspond to the service number in the second database that matches the calling number and the service number.
  • User interface component information is saved to the first database.
  • the processor 501 can also send an update request to the network side through the communication module 502, receive the service number returned by the network side according to the request, and corresponding user interface component information, according to the service number returned by the network side and the corresponding user interface.
  • the component information updates the first database; and/or receives an update command sent by the network side, and updates the first database according to the service number carried in the update command and corresponding user interface component information.
  • the user interface component information includes:
  • Attribute information of the user interface component and/or,
  • the operation information corresponding to the user interface component is a registered trademark of Microsoft Corporation.
  • the operation information corresponding to the user interface component includes one or any combination of the following information:
  • the corresponding webpage is opened when the user interface component is triggered;
  • a program script that is executed when the user interface component is triggered.
  • the user interface component comprises a menu comprising a first level menu or a multi-level menu.
  • the first user interface further includes a user interface component for implementing an interface switching function, where the user interface component for implementing the interface switching function is switched from the first user interface to the second user interface when triggered.
  • the second user interface is configured to display the notification message, a message reply content input box, and the user interface component for implementing an interface switching function.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Library & Information Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed in the present application are a notification message processing method and device. The method comprises: before display of a notification message, firstly determining whether a calling number of the notification message is a service number, if so, displaying a user interface component corresponding to the calling number in addition to displaying the notification message. The user interface component enables execution of an operation corresponding to the calling number when triggered; therefore, a user can read the notification message, and then, if a further related operation is needed, the user can perform the needed operation by triggering the user interface component. Compared to a notification message processing method in prior art, the present invention simplifies user operation and improves user experience.

Description

一种通知消息处理方法及装置Notification message processing method and device
本申请要求2015年12月09日递交的申请号为201510906245.5、发明名称为“一种通知消息处理方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510906245.5, the entire disclosure of which is incorporated herein in
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种通知消息处理方法及装置。The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for processing a notification message.
背景技术Background technique
随着移动通信技术的飞速发展和移动多媒体时代的到来,手机等移动终端作为人们必备的移动通信工具,已从简单的通话工具向智能化发展,演变成一个移动的个人信息收集和处理平台。With the rapid development of mobile communication technology and the advent of mobile multimedia era, mobile terminals such as mobile phones have become a necessary mobile communication tool, and have evolved from simple call tools to intelligent development, and evolved into a mobile personal information collection and processing platform. .
短消息、彩信等作为常用的信息通知方式,具有广泛的应用场景。例如,移动通信运营商可以通过短消息通知用户话费使用情况,快递公司可以通过短消息通知用户快递信息,银行可以通过短消息通知用户账户收支情况,使用户能够方便、及时地获取各种信息。Short messages and MMS, as common information notification methods, have a wide range of application scenarios. For example, the mobile communication operator can notify the user of the usage of the phone bill through the short message, and the courier company can notify the user of the courier information through the short message, and the bank can notify the user of the account income and expenditure through the short message, so that the user can conveniently and timely obtain various information. .
对于特定信息发送者,比如上述的移动通信运营商、银行等,可以提供各种基于互联网的服务,比如,移动通信运营商可提供网上手机充值的服务、办理移动业务的服务等,银行可提供网上支付、转账、账户查询、信用卡还款等服务。For specific information senders, such as the above-mentioned mobile communication operators, banks, etc., various Internet-based services can be provided, for example, mobile communication operators can provide online mobile phone recharge services, mobile service services, etc., and banks can provide Online payment, transfer, account inquiry, credit card repayment and other services.
目前,针对上述特定信息发送者所发送的短消息,移动终端仅支持查看功能。比如,移动终端接收到移动通信运营商发送的一条手机欠费的短消息后,在用户选择查看时仅在用户界面显示该短消息的内容,如果用户需要进一步进行手机充值操作,则需要使用能够实现手机充值操作的应用程序或者登录到该移动通信运营商的网页进行手机充值的操作。Currently, the mobile terminal only supports the viewing function for the short message sent by the above specific information sender. For example, after receiving a short message of a mobile phone arrears sent by the mobile communication carrier, the mobile terminal displays the content of the short message only on the user interface when the user selects the view. If the user needs to further perform the mobile phone recharge operation, the mobile terminal needs to be able to use the mobile phone. The application for realizing the mobile phone recharge operation or logging in to the mobile communication carrier's web page to perform the mobile phone recharge operation.
由此可见,简单的短消息功能已经不能满足用户日益增高的使用需求。用户在阅读短消息后登录其他应用程序或网页进行相关操作时,过程较为繁琐,影响用户体验。It can be seen that the simple short message function can no longer meet the increasing usage requirements of users. When a user logs in to another application or web page to perform related operations after reading a short message, the process is cumbersome and affects the user experience.
发明内容Summary of the invention
本申请实施例提供了一种通知消息处理方法及装置。The embodiment of the present application provides a method and an apparatus for processing a notification message.
本申请实施例提供的通知消息处理方法,包括: The method for processing a notification message provided by the embodiment of the present application includes:
获取通知消息的主叫号码;Get the calling number of the notification message;
判断所述通知消息的主叫号码是否为服务号码;Determining whether the calling number of the notification message is a service number;
若是,则显示第一用户界面,所述第一用户界面用于显示所述通知消息以及所述主叫号码对应的用户界面组件,所述用户界面组件用于在被触发时执行与所述主叫号码对应的操作。If yes, displaying a first user interface, the first user interface is configured to display the notification message and a user interface component corresponding to the calling number, the user interface component is configured to execute with the main when triggered Call the operation corresponding to the number.
优选地,在判断所述通知消息的主叫号码为服务号码之后、显示所述第一用户界面之前,还包括:Preferably, after determining that the calling number of the notification message is a service number, before displaying the first user interface, the method further includes:
获取所述主叫号码对应的用户界面组件信息;Obtaining user interface component information corresponding to the calling number;
根据所述主叫号码对应的用户界面组件信息生成用户界面组件。Generating a user interface component according to the user interface component information corresponding to the calling number.
其中,所述判断所述通知消息的主叫号码是否为服务号码,包括:The determining whether the calling number of the notification message is a service number includes:
根据所述通知消息的主叫号码查询第一数据库,若在所述第一数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;或者,Determining the first database according to the calling number of the notification message, and if the calling number of the notification message is queried in the first database, determining that the calling number of the notification message is a service number; or
根据所述通知消息的主叫号码查询第二数据库,若在所述第二数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;或者,Querying the second database according to the calling number of the notification message, if the calling number of the notification message is queried in the second database, determining that the calling number of the notification message is a service number; or
根据所述通知消息的主叫号码查询第一数据库,若在所述第一数据库中未查询到所述通知消息的主叫号码,则根据所述通知消息的主叫号码查询第二数据库,若在所述第二数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;Querying the first database according to the calling number of the notification message, if the calling number of the notification message is not queried in the first database, querying the second database according to the calling number of the notification message, if Querying the calling number of the notification message in the second database, determining that the calling number of the notification message is a service number;
其中,所述第一数据库为终端本地缓存的数据库,所述第二数据库为网络侧存储的数据库,所述第一数据库和所述第二数据库用于存储服务号码以及与服务号码对应的用户界面组件信息。The first database is a database that is locally cached by the terminal, the second database is a database stored on the network side, and the first database and the second database are used to store a service number and a user interface corresponding to the service number. Component information.
优选地,所述获取所述主叫号码对应的用户界面组件信息,包括:Preferably, the acquiring user interface component information corresponding to the calling number includes:
若在所述第一数据库中查询到所述通知消息的主叫号码,则在所述第一数据库中获取与所述主叫号码对应的用户界面组件信息;或者,And if the calling number of the notification message is queried in the first database, acquiring user interface component information corresponding to the calling number in the first database; or
若在所述第二数据库中查询到所述通知消息的主叫号码,则在所述第二数据库中获取与所述主叫号码对应的用户界面组件信息。If the calling number of the notification message is queried in the second database, the user interface component information corresponding to the calling number is obtained in the second database.
优选地,若在所述第二数据库中查询到所述通知消息的主叫号码,则还包括:Preferably, if the calling number of the notification message is queried in the second database, the method further includes:
将所述第二数据库中与所述主叫号码匹配的服务号码以及该服务号码对应的用户界面组件信息保存到所述第一数据库中。And storing, in the second database, a service number matching the calling number and user interface component information corresponding to the service number in the first database.
优选地,还包括: Preferably, the method further comprises:
向网络侧发送更新请求,接收网络侧根据所述请求返回的服务号码以及对应的用户界面组件信息,根据网络侧返回的服务号码以及对应的用户界面组件信息更新所述第一数据库;和/或,Sending an update request to the network side, receiving the service number returned by the network side according to the request and the corresponding user interface component information, and updating the first database according to the service number returned by the network side and the corresponding user interface component information; and/or ,
接收网络侧发送的更新命令,根据所述更新命令中携带的服务号码以及对应的用户界面组件信息更新所述第一数据库。Receiving an update command sent by the network side, and updating the first database according to the service number carried in the update command and corresponding user interface component information.
优选地,所述用户界面组件信息包括:Preferably, the user interface component information includes:
用户界面组件的属性信息;和/或,Attribute information of the user interface component; and/or,
用户界面组件对应的操作信息。The operation information corresponding to the user interface component.
其中,所述用户界面组件对应的操作信息包括以下信息中的一种或任意组合:The operation information corresponding to the user interface component includes one or any combination of the following information:
应用程序接口,所述用户界面组件被触发时对应的应用程序被开启;An application interface, when the user interface component is triggered, the corresponding application is started;
网页地址,所述用户界面组件被触发时对应的网页被打开;a webpage address, the corresponding webpage is opened when the user interface component is triggered;
程序脚本,所述用户界面组件被触发时对应的程序脚本被执行。A program script that is executed when the user interface component is triggered.
优选地,所述用户界面组件包括菜单,所述菜单包括一级菜单或多级菜单。Preferably, the user interface component comprises a menu comprising a first level menu or a multi-level menu.
优选地,所述第一用户界面中还包括用于实现界面切换功能的用户界面组件,所述用于实现界面切换功能的用户界面组件被触发时从第一用户界面切换到第二用户界面,所述第二用户界面用于显示所述通知消息、消息回复内容输入框以及所述用于实现界面切换功能的用户界面组件。Preferably, the first user interface further includes a user interface component for implementing an interface switching function, where the user interface component for implementing the interface switching function is switched from the first user interface to the second user interface when triggered. The second user interface is configured to display the notification message, a message reply content input box, and the user interface component for implementing an interface switching function.
本申请实施例提供的通知消息处理装置,包括:The notification message processing apparatus provided by the embodiment of the present application includes:
获取模块,用于获取通知消息的主叫号码;An obtaining module, configured to obtain a calling number of the notification message;
判断模块,用于判断所述通知消息的主叫号码是否为服务号码;a determining module, configured to determine whether the calling number of the notification message is a service number;
处理模块,用于在所述判断模块判定所述通知消息的主叫号码为服务号码时,显示第一用户界面,所述第一用户界面用于显示所述通知消息以及所述主叫号码对应的用户界面组件,所述用户界面组件用于在被触发时执行与所述主叫号码对应的操作。a processing module, configured to: when the determining module determines that the calling number of the notification message is a service number, display a first user interface, where the first user interface is configured to display the notification message and the calling number corresponding to User interface component for performing an operation corresponding to the calling number when triggered.
优选地,所述处理模块还用于:Preferably, the processing module is further configured to:
在所述判断模块判断所述通知消息的主叫号码为服务号码之后、显示所述第一用户界面之前,获取所述主叫号码对应的用户界面组件信息,并根据主叫号码对应的用户界面组件信息生成用户界面组件。After the determining module determines that the calling number of the notification message is a service number, and displays the first user interface, acquiring user interface component information corresponding to the calling number, and according to the user interface corresponding to the calling number Component information generates user interface components.
优选地,所述判断模块具体用于:Preferably, the determining module is specifically configured to:
根据所述通知消息的主叫号码查询第一数据库,若在所述第一数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;或者, Determining the first database according to the calling number of the notification message, and if the calling number of the notification message is queried in the first database, determining that the calling number of the notification message is a service number; or
根据所述通知消息的主叫号码查询第二数据库,若在所述第二数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;或者,Querying the second database according to the calling number of the notification message, if the calling number of the notification message is queried in the second database, determining that the calling number of the notification message is a service number; or
根据所述通知消息的主叫号码查询第一数据库,若在所述第一数据库中未查询到所述通知消息的主叫号码,则根据所述通知消息的主叫号码查询第二数据库,若在所述第二数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;Querying the first database according to the calling number of the notification message, if the calling number of the notification message is not queried in the first database, querying the second database according to the calling number of the notification message, if Querying the calling number of the notification message in the second database, determining that the calling number of the notification message is a service number;
其中,所述第一数据库为终端本地缓存的数据库,所述第二数据库为网络侧存储的数据库,所述第一数据库和所述第二数据库用于存储服务号码以及与服务号码对应的用户界面组件信息。The first database is a database that is locally cached by the terminal, the second database is a database stored on the network side, and the first database and the second database are used to store a service number and a user interface corresponding to the service number. Component information.
优选地,所述处理模块具体用于:Preferably, the processing module is specifically configured to:
若在所述第一数据库中查询到所述通知消息的主叫号码,则在所述第一数据库中获取与所述主叫号码对应的用户界面组件信息;或者,And if the calling number of the notification message is queried in the first database, acquiring user interface component information corresponding to the calling number in the first database; or
若在所述第二数据库中查询到所述通知消息的主叫号码,则在所述第二数据库中获取与所述主叫号码对应的用户界面组件信息。If the calling number of the notification message is queried in the second database, the user interface component information corresponding to the calling number is obtained in the second database.
优选地,还包括更新模块;所述更新模块,用于在所述第二数据库中查询到所述通知消息的主叫号码的情况下,将所述第二数据库中与所述主叫号码匹配的服务号码以及该服务号码对应的用户界面组件信息保存到所述第一数据库中。Preferably, the method further includes an update module, configured to: match the calling number in the second database in the second database when the calling number of the notification message is queried in the second database The service number and the user interface component information corresponding to the service number are saved in the first database.
优选地,还包括更新模块;所述更新模块,用于向网络侧发送更新请求,接收网络侧根据所述请求返回的服务号码以及对应的用户界面组件信息,根据网络侧返回的服务号码以及对应的用户界面组件信息更新所述第一数据库;和/或,接收网络侧发送的更新命令,根据所述更新命令中携带的服务号码以及对应的用户界面组件信息更新所述第一数据库。Preferably, the method further includes: an update module, configured to send an update request to the network side, receive a service number returned by the network side according to the request, and corresponding user interface component information, according to the service number returned by the network side and corresponding The user interface component information updates the first database; and/or receives an update command sent by the network side, and updates the first database according to the service number carried in the update command and corresponding user interface component information.
优选地,所述用户界面组件信息包括:Preferably, the user interface component information includes:
用户界面组件的属性信息;和/或,Attribute information of the user interface component; and/or,
用户界面组件对应的操作信息。The operation information corresponding to the user interface component.
其中,所述用户界面组件对应的操作信息包括以下信息中的一种或任意组合:The operation information corresponding to the user interface component includes one or any combination of the following information:
应用程序接口,所述用户界面组件被触发时对应的应用程序被开启;An application interface, when the user interface component is triggered, the corresponding application is started;
网页地址,所述用户界面组件被触发时对应的网页被打开;a webpage address, the corresponding webpage is opened when the user interface component is triggered;
程序脚本,所述用户界面组件被触发时对应的程序脚本被执行。A program script that is executed when the user interface component is triggered.
优选地,所述用户界面组件包括菜单,所述菜单包括一级菜单或多级菜单。 Preferably, the user interface component comprises a menu comprising a first level menu or a multi-level menu.
优选地,所述第一用户界面中还包括用于实现界面切换功能的用户界面组件,所述用于实现界面切换功能的用户界面组件被触发时从第一用户界面切换到第二用户界面,所述第二用户界面用于显示所述通知消息、消息回复内容输入框以及所述用于实现界面切换功能的用户界面组件。Preferably, the first user interface further includes a user interface component for implementing an interface switching function, where the user interface component for implementing the interface switching function is switched from the first user interface to the second user interface when triggered. The second user interface is configured to display the notification message, a message reply content input box, and the user interface component for implementing an interface switching function.
本申请另外的实施例还提供了一种移动终端,该移动终端包括:处理器,通信模块、存储模块、输出模块。处理器与其他各模块之间存在数据通信连接,比如可基于总线架构进行数据通信。A further embodiment of the present application further provides a mobile terminal, where the mobile terminal includes: a processor, a communication module, a storage module, and an output module. There is a data communication connection between the processor and other modules, such as data communication based on the bus architecture.
处理器用于读取存储模块中的程序,执行下列过程:The processor is used to read the program in the storage module and perform the following process:
获取通知消息的主叫号码,判断所述通知消息的主叫号码是否为服务号码;若是,则通过输出模块显示第一用户界面,所述第一用户界面用于显示所述通知消息以及所述主叫号码对应的用户界面组件,所述用户界面组件用于在被触发时执行与所述主叫号码对应的操作。Obtaining a calling number of the notification message, determining whether the calling number of the notification message is a service number; if yes, displaying a first user interface by using an output module, where the first user interface is configured to display the notification message and the A user interface component corresponding to the calling number, the user interface component configured to perform an operation corresponding to the calling number when triggered.
优选地,处理器在判断所述通知消息的主叫号码为服务号码之后、显示所述第一用户界面之前,还获取所述主叫号码对应的用户界面组件信息,并根据所述主叫号码对应的用户界面组件信息生成用户界面组件。Preferably, after determining that the calling number of the notification message is a service number, and displaying the first user interface, the processor further acquires user interface component information corresponding to the calling number, and according to the calling number Corresponding user interface component information generates user interface components.
优选地,处理器可根据所述通知消息的主叫号码查询第一数据库,若在所述第一数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;或者,处理器可根据所述通知消息的主叫号码查询第二数据库,若在所述第二数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;或者,处理器可根据所述通知消息的主叫号码查询第一数据库,若在所述第一数据库中未查询到所述通知消息的主叫号码,则根据所述通知消息的主叫号码查询第二数据库,若在所述第二数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码。其中,所述第一数据库为终端本地缓存的数据库,所述第二数据库为网络侧存储的数据库,所述第一数据库和所述第二数据库用于存储服务号码以及与服务号码对应的用户界面组件信息。Preferably, the processor may query the first database according to the calling number of the notification message, and if the calling number of the notification message is queried in the first database, determine that the calling number of the notification message is The service number; or the processor may query the second database according to the calling number of the notification message, and if the calling number of the notification message is queried in the second database, determine the calling party of the notification message The number is a service number; or the processor may query the first database according to the calling number of the notification message, and if the calling number of the notification message is not queried in the first database, according to the notification message The calling number queries the second database. If the calling number of the notification message is queried in the second database, it is determined that the calling number of the notification message is a service number. The first database is a database that is locally cached by the terminal, the second database is a database stored on the network side, and the first database and the second database are used to store a service number and a user interface corresponding to the service number. Component information.
优选地,处理器获取所述主叫号码对应的用户界面组件信息的过程可包括:若在所述第一数据库中查询到所述通知消息的主叫号码,则在所述第一数据库中获取与所述主叫号码对应的用户界面组件信息;或者,若在所述第二数据库中查询到所述通知消息的主叫号码,则在所述第二数据库中获取与所述主叫号码对应的用户界面组件信息。Preferably, the process of the user acquiring the user interface component information corresponding to the calling number may include: if the calling number of the notification message is queried in the first database, acquiring in the first database User interface component information corresponding to the calling number; or, if the calling number of the notification message is queried in the second database, acquiring, in the second database, the calling number User interface component information.
优选地,若在所述第二数据库中查询到所述通知消息的主叫号码,则处理器还可将 所述第二数据库中与所述主叫号码匹配的服务号码以及该服务号码对应的用户界面组件信息保存到所述第一数据库中。Preferably, if the calling number of the notification message is queried in the second database, the processor may also The service number matching the calling number in the second database and the user interface component information corresponding to the service number are saved in the first database.
优选地,处理器还可通过通信模块向网络侧发送更新请求,接收网络侧根据所述请求返回的服务号码以及对应的用户界面组件信息,根据网络侧返回的服务号码以及对应的用户界面组件信息更新所述第一数据库;和/或,接收网络侧发送的更新命令,根据所述更新命令中携带的服务号码以及对应的用户界面组件信息更新所述第一数据库。Preferably, the processor may further send an update request to the network side through the communication module, receive the service number returned by the network side according to the request, and corresponding user interface component information, according to the service number returned by the network side and the corresponding user interface component information. Updating the first database; and/or receiving an update command sent by the network side, and updating the first database according to the service number carried in the update command and corresponding user interface component information.
优选地,所述用户界面组件信息包括:Preferably, the user interface component information includes:
用户界面组件的属性信息;和/或,Attribute information of the user interface component; and/or,
用户界面组件对应的操作信息。The operation information corresponding to the user interface component.
其中,所述用户界面组件对应的操作信息包括以下信息中的一种或任意组合:The operation information corresponding to the user interface component includes one or any combination of the following information:
应用程序接口,所述用户界面组件被触发时对应的应用程序被开启;An application interface, when the user interface component is triggered, the corresponding application is started;
网页地址,所述用户界面组件被触发时对应的网页被打开;a webpage address, the corresponding webpage is opened when the user interface component is triggered;
程序脚本,所述用户界面组件被触发时对应的程序脚本被执行。A program script that is executed when the user interface component is triggered.
优选地,所述用户界面组件包括菜单,所述菜单包括一级菜单或多级菜单。Preferably, the user interface component comprises a menu comprising a first level menu or a multi-level menu.
优选地,所述第一用户界面中还包括用于实现界面切换功能的用户界面组件,所述用于实现界面切换功能的用户界面组件被触发时从第一用户界面切换到第二用户界面,所述第二用户界面用于显示所述通知消息、消息回复内容输入框以及所述用于实现界面切换功能的用户界面组件。Preferably, the first user interface further includes a user interface component for implementing an interface switching function, where the user interface component for implementing the interface switching function is switched from the first user interface to the second user interface when triggered. The second user interface is configured to display the notification message, a message reply content input box, and the user interface component for implementing an interface switching function.
本申请的上述实施例中,在显示通知消息之前,首先判断该通知消息的主叫号码是否为服务号码,若为服务号码,则在显示该通知消息的同时,还显示与该主叫号码对应的用户界面组件。由于该用户界面组件可在被触发时执行与该主叫号码对应的操作,因此用户在阅读该通知消息后,若需要进一步进行相关操作,可通过触发该用户界面组件进行所需的操作,与现有技术中的通知消息处理方法相比,简化了用户操作,提高了用户感受。通常,主叫号码为服务号码时,具有该主叫号码的用户(通常为企业用户)进一步提供了基于互联网的服务。以这种企业用户为例,若采用本申请实施例,可以针对企业用户发送的通知消息,在显示该通知消息时同时显示与该企业用户提供的服务相关的用户界面组件,从而将企业用户提供的服务相关的用户界面组件与通知消息的显示界面相结合,方便了用户操作。In the foregoing embodiment of the present application, before the notification message is displayed, it is first determined whether the calling number of the notification message is a service number, and if the service number is displayed, the notification message is displayed, and the calling number is also displayed. User interface component. Since the user interface component can perform an operation corresponding to the calling number when triggered, the user can perform the required operation by triggering the user interface component after reading the notification message, and Compared with the notification message processing method in the prior art, the user operation is simplified and the user experience is improved. Typically, when the calling number is a service number, the user with the calling number (usually a corporate user) further provides Internet-based services. Taking the enterprise user as an example, if the notification message sent by the enterprise user is used in the notification message sent by the enterprise user, the user interface component related to the service provided by the enterprise user is simultaneously displayed, thereby providing the enterprise user with The service-related user interface component is combined with the display interface of the notification message to facilitate user operation.
附图说明 DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following drawings will be briefly described in the description of the embodiments. It is obvious that the drawings in the following description are only some embodiments of the present application, Those skilled in the art can also obtain other drawings based on these drawings without paying for inventive labor.
图1为本申请实施例中的通知消息处理流程示意图;1 is a schematic flowchart of processing a notification message in an embodiment of the present application;
图2为现有技术中短消息显示界面;2 is a short message display interface in the prior art;
图3a至图3c分别为本申请实施例中的用户界面示意图;3a to 3c are schematic diagrams of user interfaces in an embodiment of the present application;
图4为本申请实施例提供的通知消息处理装置的结构示意图;FIG. 4 is a schematic structural diagram of a notification message processing apparatus according to an embodiment of the present disclosure;
图5为本申请实施例提供的移动终端的结构示意图。FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
具体实施方式detailed description
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,显然,所描述的实施例仅仅是本申请一部份实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。The present application will be further described in detail below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, but not all embodiments. . All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
为了简化用户针对通知消息的操作,尤其是针对主叫号码为服务号码的通知消息,本申请实施例提供了一种通知消息处理方法,用以简化用户操作,提高用户感受,本申请实施例可在移动终端侧执行。该移动终端可以是手机、PDA(Personal Digital Assistant,掌上电脑)等设备。In order to simplify the operation of the notification message for the user, especially for the notification message whose calling number is the service number, the embodiment of the present application provides a method for processing the notification message, which is used to simplify the operation of the user and improve the user experience. Executed on the mobile terminal side. The mobile terminal can be a mobile phone, a PDA (Personal Digital Assistant) or the like.
本申请实施例提供的通知消息处理方法中,移动终端在显示通知消息之前,首先判断该通知消息的主叫号码是否为服务号码,若为服务号码,则在显示该通知消息的同时,还显示与该主叫号码对应的用户界面组件(即UI组件),使用户可以在同一用户界面既能够阅读通知消息的内容,又能够通过触发相关的操作。In the notification message processing method provided by the embodiment of the present application, before displaying the notification message, the mobile terminal first determines whether the calling number of the notification message is a service number, and if it is a service number, displaying the notification message, The user interface component (ie, the UI component) corresponding to the calling number enables the user to read both the content of the notification message and the related operation by triggering the same user interface.
其中,UI组件是将一段或几段完成各自功能的代码段封装为一个或几个独立的部分。UI组件包含了这样一个或几个具有各自功能的代码段,最终可完成用户界面的表示。常见的UI组件可包括菜单、按钮、文本框、复选框、列表等。本发明实施例中所涉及到的UI组件的类型不作限制,比如可以包括上述中的一种或多种。Among them, the UI component is a piece of code that encapsulates one or several segments to complete their respective functions into one or several independent parts. The UI component contains such one or several code segments with their own functions, and finally the representation of the user interface can be completed. Common UI components can include menus, buttons, text boxes, check boxes, lists, and the like. The type of the UI component involved in the embodiment of the present invention is not limited, and may include one or more of the foregoing.
所述通知消息对于用户来说可见,即该通知消息的内容可以在用户界面中被显示。比如,该通知消息可以是短消息,也可以是彩信等通知消息。短消息可以是基于用户请求网络侧返回的消息,比如基于用户发送的手机话费余额查询请求所返回的手机话费余 额短消息,该短消息也可以是网络侧主动推送的短消息,比如通知用户银行账户收支情况的短消息,还可以是用户订阅的短消息。The notification message is visible to the user, ie the content of the notification message can be displayed in the user interface. For example, the notification message may be a short message or a notification message such as a multimedia message. The short message may be a message returned by the network side based on the user request, for example, based on the mobile phone call fee returned by the mobile phone credit balance inquiry request sent by the user. The short message may also be a short message actively pushed by the network side, such as a short message notifying the user of the bank account income and expenditure, or a short message subscribed by the user.
为实现本申请实施例,可以预先配置数据库,该数据库用于存储服务号码与对应的UI组件信息。一个服务号码可以对应一个UI组件,也可对应多个UI组件。To implement the embodiments of the present application, a database may be pre-configured for storing service numbers and corresponding UI component information. A service number can correspond to one UI component or multiple UI components.
其中,服务号码也可称为公众服务号码,通常由服务提供商(企业)申请,不同的公众服务号码对应不同的服务提供商,比如,10086是中国移动通信运营商的服务号码,95555是招商银行的服务号码。一个服务提供商可以申请一个或多个服务号码。当然,也不排除由个人申请服务号码的可能性。The service number can also be called a public service number, usually applied by a service provider (enterprise), and different public service numbers correspond to different service providers. For example, 10086 is the service number of the China Mobile Communications Operator, and 95555 is the investment. Bank service number. A service provider can apply for one or more service numbers. Of course, the possibility of applying for a service number by an individual is not excluded.
以服务提供商申请服务号码为例,通过服务号码,服务提供商可在短消息或彩信等信息平台上实现和特定用户(或特定群体)进行文字、图片、语音、视频等多媒体方式的沟通和互动。Taking the service provider's application for the service number as an example, the service provider can communicate with a specific user (or a specific group) in multimedia, such as text, picture, voice, video, etc., on a message platform such as a short message or a multimedia message. interactive.
UI组件信息可包括:UI组件的属性信息和/或UI组件对应的操作信息。The UI component information may include: attribute information of the UI component and/or operation information corresponding to the UI component.
其中,UI组件的属性信息可包括以下信息中的一种或任意组合:The attribute information of the UI component may include one or any combination of the following information:
UI组件的类型。如前所属,本申请实施例可以支持多种类型的UI组件,比如菜单、按钮等;The type of UI component. As described above, embodiments of the present application can support multiple types of UI components, such as menus, buttons, and the like;
UI组件的名称。通过该属性信息可定义UI组件在用户界面中被显示时的文字描述。比如,对于菜单类型的UI组件,可通过该属性信息定义菜单名称以便显示在用户界面中;The name of the UI component. The attribute information can be used to define a textual description of the UI component when it is displayed in the user interface. For example, for a menu type UI component, the menu name can be defined by the attribute information for display in the user interface;
UI组件的显示设置信息。比如,通过该属性信息可定义UI组件显示时的颜色;再比如,对于按钮类型的UI组件,可通过该属性信息设置该按钮上显示的图片;Display setting information for UI components. For example, the attribute information may be used to define a color when the UI component is displayed; for example, for a UI component of a button type, the image displayed on the button may be set by the attribute information;
UI组件在用户界面中的位置;The location of the UI component in the user interface;
UI组件的其他属性。比如,在UI组件为菜单类型的UI组件时,通过该属性信息可指示出菜单的层级。再比如,当一个服务号码对应多个UI组件时,通过该属性信息可设置各UI组件的排列方式。Other properties of the UI component. For example, when the UI component is a UI component of a menu type, the attribute information may indicate the level of the menu. For another example, when a service number corresponds to multiple UI components, the arrangement of each UI component can be set by using the attribute information.
对于上述属性信息,若在数据库中没有特别指定或设置,则移动终端在生成UI组件时,可根据默认设置的属性信息生成UI组件。For the above attribute information, if there is no special designation or setting in the database, the mobile terminal may generate the UI component according to the attribute information set by default when generating the UI component.
UI组件信息中,UI组件对应的操作信息可包括以下信息中的一种或任意组合:In the UI component information, the operation information corresponding to the UI component may include one or any combination of the following information:
应用程序接口,比如可以包括系统应用程序的API(Application Programming Interface,应用程序编程接口),也可包括第三方应用程序的API。当UI组件被触发时,对应的应用程序被开启;The application interface, for example, may include an API (Application Programming Interface) of the system application, and may also include an API of a third-party application. When the UI component is triggered, the corresponding application is opened;
网页地址。当UI组件被触发时,对应的网页被打开; website link. When the UI component is triggered, the corresponding web page is opened;
程序脚本。当UI组件被触发时,对应的程序脚本被执行。Program script. When the UI component is triggered, the corresponding program script is executed.
当然,上述所列举的操作信息仅为示例,本申请实施例不排除其他类型的操作信息,比如,UI组件的操作信息可以仅是一段文本信息,当UI组件被触发时,该文本信息将被显示在文字显示窗口中。The operation information listed above is only an example. The embodiment of the present application does not exclude other types of operation information. For example, the operation information of the UI component may be only a piece of text information. When the UI component is triggered, the text information will be Displayed in the text display window.
在具体实施时,可根据服务提供商所申请的服务号码以及所提供的服务,设置该数据库。比如,如果移动通信运营商申请的服务号码为服务号码A,所提供的服务包括三大类型的服务:话费缴费服务、网上营业厅服务、购买手机及配件的服务,进一步地,话费缴费服务还可进一步划分为:话费查询服务、话费充值服务、余额查询服务,相应地,针对服务号码A可设置如下UI组件信息:In the specific implementation, the database can be set according to the service number requested by the service provider and the service provided. For example, if the service number applied by the mobile communication carrier is service number A, the services provided include three types of services: call fee payment service, online business hall service, purchase of mobile phone and accessories, and further, the call charge service is further It can be further divided into: call charge inquiry service, call charge recharge service, balance inquiry service, and correspondingly, the following UI component information can be set for service number A:
菜单1,名称为“话费缴费服务”,为一级菜单,对应的操作是打开该菜单的二级菜单;Menu 1, the name is "Call Payment Service", which is a first-level menu, and the corresponding operation is to open the secondary menu of the menu;
菜单2,名称为“网上营业厅服务”,为一级菜单,对应的操作是打开网上营业厅服务页面;相应地,网上营业厅服务的服务页面的地址将被作为菜单2对应的操作信息;Menu 2, named "Online Business Office Service", is a first-level menu, and the corresponding operation is to open the online business office service page; accordingly, the address of the service page of the online business office service will be used as the operation information corresponding to the menu 2;
菜单3,名称为“购买手机及配件的服务”,对应的操作是打开手机及配件选购页面;相应地,购买手机及配件的服务页面的地址将被作为菜单3对应的操作信息;Menu 3, the name is “Service for purchasing mobile phones and accessories”, the corresponding operation is to open the mobile phone and accessories purchase page; accordingly, the address of the service page for purchasing mobile phones and accessories will be used as the operation information corresponding to menu 3;
菜单4,名称为“话费查询服务”,是菜单1的二级菜单之一,对应的操作是打开话费查询页面;相应地,话费查询页面的地址将被作为菜单4对应的操作信息;Menu 4, named "Call Charge Inquiry Service", is one of the secondary menus of Menu 1, and the corresponding operation is to open the call charge inquiry page; accordingly, the address of the call charge inquiry page will be used as the operation information corresponding to the menu 4;
菜单5,名称为“话费充值服务”,是菜单1的二级菜单之一,对应的操作是打开话费充值页面;相应地,话费查询服务页面的地址将被作为菜单5对应的操作信息;Menu 5, named "Call Recharge Service", is one of the secondary menus of Menu 1, and the corresponding operation is to open the credit recharge page; accordingly, the address of the call charge inquiry service page will be used as the operation information corresponding to the menu 5;
菜单6,名称为“余额查询服务”,是菜单1的二级菜单之一,对应的操作是打开余额查询服务页面;相应地,余额查询服务页面的地址将被作为菜单6对应的操作信息。Menu 6, the name "balance inquiry service", is one of the secondary menus of menu 1, and the corresponding operation is to open the balance inquiry service page; accordingly, the address of the balance inquiry service page will be used as the operation information corresponding to menu 6.
根据以上描述,表1示例性地示出了一种用于存储服务号码与对应的UI操作信息的数据库的结构。According to the above description, Table 1 exemplarily shows a structure of a database for storing a service number and corresponding UI operation information.
表1Table 1
Figure PCTCN2016107593-appb-000001
Figure PCTCN2016107593-appb-000001
Figure PCTCN2016107593-appb-000002
Figure PCTCN2016107593-appb-000002
在一些实施例中,上述用于存储服务号码与对应的UI组件信息的数据库,可预先配置在移动终端(比如在移动终端出厂前进行配置,或者在移动终端办理入网业务时进行配置)。该数据库也可以由网络侧的服务器配置给移动终端。In some embodiments, the database for storing the service number and the corresponding UI component information may be pre-configured in the mobile terminal (for example, when the mobile terminal is configured before leaving the factory, or when the mobile terminal handles the network access service). The database can also be configured by the server on the network side to the mobile terminal.
在另一些实施例中,上述用于存储服务号码与对应的UI组件信息的数据库也可以仅配置在网络侧的服务器中。In other embodiments, the foregoing database for storing the service number and the corresponding UI component information may also be configured only in the server on the network side.
在另外一些实施例中,上述用于存储服务号码与对应的UI组件信息的数据库,可以既配置在移动终端中,又配置在网络侧的服务器中。优选地,网络侧可配置完整的数据库,移动终端侧可仅配置数据库中的部分内容。比如,可根据用户等级或其他信息,选择数据库中的部分服务号码及其对应的UI组件信息配置到移动终端上。In some other embodiments, the foregoing database for storing the service number and the corresponding UI component information may be configured in both the mobile terminal and the server on the network side. Preferably, the network side can configure a complete database, and the mobile terminal side can only configure part of the content in the database. For example, a part of the service number in the database and its corresponding UI component information may be configured to be configured on the mobile terminal according to the user level or other information.
进一步地,本申请实施例允许对该数据库进行更新。比如,根据服务号码的申请情况,在该数据库中新增服务号码以及对应的UI组件信息,或者删除无效的服务号码以及对应的UI组件信息。根据该数据库的上述各种不同的配置方式,本申请实施例提供的数据库更新方式可包括以下几种:Further, embodiments of the present application allow for updating of the database. For example, according to the application status of the service number, the service number and the corresponding UI component information are added in the database, or the invalid service number and the corresponding UI component information are deleted. According to the various configuration manners of the database, the database update manner provided by the embodiment of the present application may include the following:
更新方式1:仅更新网络侧的数据库,适合于仅在网络侧配置数据库的场景,也适合于在终端侧配置数据库的场景,还适合于在网络侧和终端侧均配置数据库的场景。 Update mode 1: Update only the database on the network side. It is suitable for scenarios where the database is configured only on the network side. It is also suitable for scenarios where the database is configured on the terminal side. It is also suitable for scenarios where the database is configured on both the network side and the terminal side.
更新方式2:网络侧主动向移动终端通知数据库的更新内容。适合于移动终端上配置有数据库的场景,也适合于在网络侧和终端侧均配置数据库的场景。在具体实施时,网络侧可向移动终端发送更新命令,该更新命令中携带有服务号码以及对应的用户界面组件信息;移动终端接收网络侧发送的更新命令,根据该更新命令中携带的服务号码以及对应的用户界面组件信息更新该移动终端本地缓存的数据库。Update mode 2: The network side actively informs the mobile terminal of the updated content of the database. It is suitable for a scenario in which a database is configured on a mobile terminal, and is also suitable for a scenario in which a database is configured on both the network side and the terminal side. In a specific implementation, the network side may send an update command to the mobile terminal, where the update command carries the service number and the corresponding user interface component information; the mobile terminal receives the update command sent by the network side, according to the service number carried in the update command. And corresponding user interface component information updates the database cached locally by the mobile terminal.
更新方式3:移动终端主动请求更新数据库。适合于移动终端上配置有数据库的场景,也适合于在网络侧和终端侧均配置数据库的场景。在具体实施时,移动终端向网络侧发送更新请求,接收网络侧根据该请求返回的服务号码以及对应的用户界面组件信息,移动终端根据网络侧返回的服务号码以及对应的用户界面组件信息更新该移动终端本地缓存的数据库。Update method 3: The mobile terminal actively requests to update the database. It is suitable for a scenario in which a database is configured on a mobile terminal, and is also suitable for a scenario in which a database is configured on both the network side and the terminal side. In a specific implementation, the mobile terminal sends an update request to the network side, and receives the service number returned by the network side according to the request and the corresponding user interface component information, and the mobile terminal updates the service number according to the service number returned by the network side and the corresponding user interface component information. A database that is locally cached by the mobile terminal.
上述各种数据库更新方式可以单独使用,也可以结合使用。比如,一方面,移动终端可以按照设定周期或时间,主动请求更新数据库;另一方面,当网络侧的数据库发生更新时,网络侧主动向移动终端通知数据库的更新内容。The above various database update methods may be used alone or in combination. For example, on the one hand, the mobile terminal can actively request to update the database according to the set period or time; on the other hand, when the database on the network side is updated, the network side actively informs the mobile terminal of the updated content of the database.
基于上述描述,本申请实施例提供的通知消息的处理流程可如图1所示,该流程可由通知消息处理装置执行,该装置可以是移动终端或者是集成在移动终端内部的模块。下面以移动终端为执行主体,对该流程进行详细描述。Based on the foregoing description, the processing flow of the notification message provided by the embodiment of the present application may be as shown in FIG. 1. The flow may be performed by a notification message processing apparatus, and the apparatus may be a mobile terminal or a module integrated inside the mobile terminal. The process is described in detail below with the mobile terminal as the execution subject.
如图1所示,该流程可包括如下步骤:As shown in FIG. 1, the process may include the following steps:
步骤101:移动终端获取通知消息的主叫号码。Step 101: The mobile terminal acquires a calling number of the notification message.
具体实施时,移动终端接收到通知消息后将其保存在通知消息列表中,当用户通过屏幕操作从通知消息列表中选择某个通知消息请求查看时,移动终端开始执行本流程。In a specific implementation, after receiving the notification message, the mobile terminal saves the notification message in the notification message list. When the user selects a certain notification message from the notification message list to request to view through the screen operation, the mobile terminal starts executing the process.
步骤102:移动终端判断该通知消息的主叫号码是否为服务号码,如果判定为是,则转入步骤103;进一步地,若判定为否,则转入步骤104。Step 102: The mobile terminal determines whether the calling number of the notification message is a service number. If the determination is yes, the process proceeds to step 103. If the determination is no, the process proceeds to step 104.
以通知消息为短消息为例,短消息的发送者既可以是普通个人,也可以是申请了服务号码以及能够提供互联网服务功能的服务提供商,对于前者,可以按照目前的方式处理该通知消息,比如在用户界面中显示该通知消息,对于后者,可以按照本申请实施例提供的方式处理该通知消息。Taking the notification message as a short message as an example, the sender of the short message may be an ordinary individual, or a service provider who has applied for a service number and can provide an Internet service function. For the former, the notification message may be processed in the current manner. For example, the notification message is displayed in the user interface. For the latter, the notification message can be processed in the manner provided by the embodiment of the present application.
图2示出了一种按照现有方式显示短消息内容的用户界面。其中,该用户界面中包括:Figure 2 illustrates a user interface for displaying short message content in a conventional manner. The user interface includes:
主叫号码显示区域201,该区域显示短消息的主叫号码;The calling number display area 201 displays the calling number of the short message;
消息内容显示区域202,该区域显示短消息的内容,可以显示当前请求查看的短消 息,还可以显示历史短消息;The message content display area 202 displays the content of the short message and can display the short message of the current request for viewing. Interest, you can also display historical short messages;
消息回复内容输入框203,可接收用户输入的回复信息;The message reply content input box 203 can receive the reply information input by the user;
回复功能按钮204,在触发后将消息回复内容输入框中的信息发送给主叫号码显示区域中的号码。The reply function button 204 sends the information in the message reply content input box to the number in the calling number display area after the trigger.
步骤102的具体实现方式可参见下面的实施例。For the specific implementation of step 102, refer to the following embodiments.
步骤103:移动终端显示用户界面,该用户界面用于显示该通知消息以及该主叫号码对应的UI组件,该UI组件用于在被触发时执行与该主叫号码对应的操作。即,移动终端显示该通知消息以及该主叫号码对应的UI组件。Step 103: The mobile terminal displays a user interface for displaying the notification message and a UI component corresponding to the calling number, and the UI component is configured to perform an operation corresponding to the calling number when triggered. That is, the mobile terminal displays the notification message and the UI component corresponding to the calling number.
其中,UI组件和通知消息的内容可以显示在一个用户界面中。一个服务号码对应的UI组件的数量可以是一个或多个,该服务号码对应的UI组件类型可以包含一种或多种,本申请实施例对此不做限制。The content of the UI component and the notification message can be displayed in a user interface. The number of the UI components corresponding to one service number may be one or more, and the UI component type corresponding to the service number may include one or more types, which is not limited by the embodiment of the present application.
步骤104:移动终端显示该通知消息。Step 104: The mobile terminal displays the notification message.
在一些实施例中,优选地,步骤102中,在判断该通知消息的主叫号码为服务号码之后、显示用户界面之前,还可包括:移动终端获取该主叫号码对应的UI组件信息,并根据所述主叫号码对应的UI组件信息生成UI组件。该操作以及步骤102的操作,可通过查询用于存储服务号码以及对应的UI组件信息的数据库来实现。In some embodiments, preferably, in step 102, after determining that the calling number of the notification message is a service number, before displaying the user interface, the method further includes: the mobile terminal acquiring UI component information corresponding to the calling number, and Generating a UI component according to the UI component information corresponding to the calling number. This operation, as well as the operation of step 102, can be accomplished by querying a database for storing service numbers and corresponding UI component information.
如前所述,用于存储服务号码以及对应的UI组件信息的数据库可存在多种配置方式,相应地,步骤102中判断通知消息的主叫号码是否为服务号码的方式也有多种,具体可包括以下几种方式:As described above, the database for storing the service number and the corresponding UI component information may have multiple configurations. Accordingly, in step 102, it is determined that the calling number of the notification message is a service number. Including the following ways:
方式1Mode 1
移动根据该通知消息的主叫号码查询第一数据库,若在该第一数据库中查询到该通知消息的主叫号码,则判定该通知消息的主叫号码是服务号码。The mobile station queries the first database according to the calling number of the notification message. If the calling number of the notification message is queried in the first database, it is determined that the calling number of the notification message is a service number.
进一步地,若移动终端在第一数据库中查询到该通知消息的主叫号码,则在第一数据库中获取与该主叫号码对应的UI组件信息。Further, if the mobile terminal queries the calling number of the notification message in the first database, the UI component information corresponding to the calling number is obtained in the first database.
其中,第一数据库为终端本地缓存的数据库,第二数据库为网络侧存储的数据库,第一数据库和第二数据库用于存储服务号码以及与服务号码对应的UI组件信息。该种定义同样适用于以下方式2和方式3。The first database is a database that is locally cached by the terminal, the second database is a database stored on the network side, and the first database and the second database are used to store the service number and UI component information corresponding to the service number. This definition also applies to the following modes 2 and 3.
方式2Mode 2
移动终端根据该通知消息的主叫号码查询第二数据库,若在该第二数据库中查询到该通知消息的主叫号码,则判定该通知消息的主叫号码是服务号码。 The mobile terminal queries the second database according to the calling number of the notification message. If the calling number of the notification message is queried in the second database, it is determined that the calling number of the notification message is a service number.
进一步地,若移动终端在第二数据库中查询到该通知消息的主叫号码,则在第二数据库中获取与该主叫号码对应的UI组件信息。Further, if the mobile terminal queries the calling number of the notification message in the second database, the UI component information corresponding to the calling number is obtained in the second database.
方式3Mode 3
移动终端根据所述通知消息的主叫号码查询第一数据库,若在该第一数据库中未查询到该通知消息的主叫号码,则根据该通知消息的主叫号码查询第二数据库,若在该第二数据库中查询到该通知消息的主叫号码,则判定该通知消息的主叫号码是服务号码。The mobile terminal queries the first database according to the calling number of the notification message. If the calling number of the notification message is not queried in the first database, the second database is queried according to the calling number of the notification message. When the calling number of the notification message is queried in the second database, it is determined that the calling number of the notification message is a service number.
进一步地,若移动终端在第二数据库中查询到该通知消息的主叫号码,则在第二数据库中获取与该主叫号码对应的UI组件信息。Further, if the mobile terminal queries the calling number of the notification message in the second database, the UI component information corresponding to the calling number is obtained in the second database.
进一步地,若移动终端在第二数据库中查询到该通知消息的主叫号码,则还可以将第二数据库中与该主叫号码匹配的服务号码以及该服务号码对应的UI组件信息保存到第一数据库中。这样,可以补充第一数据库的内容。比如,在第一数据库未能及时更新的情况下,新申请的服务号码以及对应的UI组件信息未包含在第一数据库中,当在第二数据库中查询到第一数据库中所未包含的服务号码以及对应的UI组件信息时,将其保存到第一数据库中,相当于对第一数据库进行了更新,这样,以后再收到该服务号码作为主叫号码的通知消息,可以基于移动终端本地缓存的第一数据库进行处理,而不用再查下网络侧的第二数据库,从而节省了网络资源开销。Further, if the mobile terminal queries the calling number of the notification message in the second database, the service number matching the calling number in the second database and the UI component information corresponding to the service number may be saved to the first In a database. In this way, the content of the first database can be supplemented. For example, if the first database fails to be updated in time, the newly requested service number and the corresponding UI component information are not included in the first database, and when the second database is not found, the service not included in the first database is queried. When the number and the corresponding UI component information are saved to the first database, it is equivalent to updating the first database, so that the service number is received as the notification message of the calling number in the future, which can be based on the mobile terminal local. The cached first database is processed without checking the second database on the network side, thereby saving network resource overhead.
进一步地,为了提高灵活性,方便用户进行消息回复,在本申请的一些实施例中,还可以实现本申请实施例提供的用户界面,与包含消息回复内容输入框的用户界面之间进行切换。Further, in order to improve the flexibility and facilitate the user to reply to the message, in some embodiments of the present application, the user interface provided by the embodiment of the present application may be switched between the user interface and the user interface including the message reply content input box.
具体地,为描述方便,可将步骤103中用于显示通知消息和UI组件的界面称为第一用户界面,将用于显示通知消息以及消息回复内容输入框的用户界面称为第二用户界面,则第一用户界面中还可包括用于实现界面切换功能的UI组件,该用于实现界面切换功能的UI组件被触发时将从第一用户界面切换到第二用户界面。Specifically, for convenience of description, an interface for displaying a notification message and a UI component in step 103 may be referred to as a first user interface, and a user interface for displaying a notification message and a message reply content input box may be referred to as a second user interface. The first user interface may further include a UI component for implementing the interface switching function, and the UI component for implementing the interface switching function is switched from the first user interface to the second user interface when triggered.
进一步地,第二用户界面中还可以包括该用于实现界面切换功能的UI组件,第二用户界面中该用于实现界面切换功能的UI组件被触发后,将从第二用户界面切换到第一用户界面。Further, the second user interface may further include the UI component for implementing the interface switching function. After the UI component for implementing the interface switching function is triggered in the second user interface, the second user interface is switched to the first A user interface.
通过以上描述可以看出,本申请的上述实施例中,在显示通知消息之前,首先判断该通知消息的主叫号码是否为服务号码,若为服务号码,则在显示该通知消息的同时,还显示与该主叫号码对应的用户界面组件。由于该用户界面组件可在被触发时执行与该主叫号码对应的操作,因此用户在阅读该通知消息后,若需要进一步进行相关操作,可 通过触发该用户界面组件进行所需的操作,与现有技术中的通知消息处理方法相比,简化了用户操作,提高了用户感受。通常,主叫号码为服务号码时,具有该主叫号码的用户(通常为企业用户)进一步提供了基于互联网的服务。以这种企业用户为例,若采用本申请实施例,可以针对企业用户发送的通知消息,在显示该通知消息时同时显示与该企业用户提供的服务相关的用户界面组件,从而将企业用户提供的服务相关的用户界面组件与通知消息的显示界面相结合,方便了用户操作。As can be seen from the above description, in the foregoing embodiment of the present application, before displaying the notification message, it is first determined whether the calling number of the notification message is a service number, and if the service number is displayed, the notification message is displayed. A user interface component corresponding to the calling number is displayed. Since the user interface component can perform an operation corresponding to the calling number when triggered, the user may further perform related operations after reading the notification message. By triggering the user interface component to perform the required operations, the user operation is simplified and the user experience is improved as compared with the notification message processing method in the prior art. Typically, when the calling number is a service number, the user with the calling number (usually a corporate user) further provides Internet-based services. Taking the enterprise user as an example, if the notification message sent by the enterprise user is used in the notification message sent by the enterprise user, the user interface component related to the service provided by the enterprise user is simultaneously displayed, thereby providing the enterprise user with The service-related user interface component is combined with the display interface of the notification message to facilitate user operation.
为了更清楚地对上述实施例进行说明,下面以表1所述的数据库为例,对移动终端的通知消息处理过程进行描述。In order to explain the above embodiment more clearly, the following describes the processing procedure of the notification message of the mobile terminal by taking the database described in Table 1 as an example.
移动终端中配置有表1所示的数据库。移动终端接收到主叫号码为“10086”的短消息,并通过声音或振动方式提示用户有新的短消息被接收。用户打开短消息列表,选择该主叫号码为“10086”的短消息请求查看,此种情况下,移动终端读取短消息列表中缓存的该条短消息,获取该短消息的主叫号码“10086”,根据该主叫号码查询本地缓存的数据库(该数据库的内容如表1所示),由于在数据库中查询到该主叫号码,因此判定该短消息的主叫号码为服务号码,即,该短消息是由服务提供商“中国移动”发送的短消息。该移动终端根据该短消息的主叫号码“10086”查询该数据库中与该主叫号码对应的UI组件信息。The database shown in Table 1 is configured in the mobile terminal. The mobile terminal receives the short message with the calling number "10086", and prompts the user to have a new short message received by voice or vibration. The user opens the short message list and selects the short message whose calling number is "10086" to request to view. In this case, the mobile terminal reads the short message buffered in the short message list, and obtains the calling number of the short message. 10086", querying the locally cached database according to the calling number (the content of the database is as shown in Table 1). Since the calling number is queried in the database, the calling number of the short message is determined to be the service number, that is, The short message is a short message sent by the service provider "China Mobile". The mobile terminal queries the UI component information corresponding to the calling number in the database according to the calling number “10086” of the short message.
移动终端根据查询到的UI组件信息生成相应的UI组件,并将该短消息的内容以及生成的UI组件显示在用户界面上。The mobile terminal generates a corresponding UI component according to the queried UI component information, and displays the content of the short message and the generated UI component on the user interface.
图3a示出了移动终端根据查询到的UI组件信息生成UI组件后,将该UI组件与短消息内容同时显示在用户界面上的示意图。可以看出,该用户界面中可包括:FIG. 3a is a schematic diagram of the mobile terminal displaying the UI component and the short message content on the user interface simultaneously after generating the UI component according to the queried UI component information. It can be seen that the user interface can include:
主叫号码显示区域301,该区域显示短消息的主叫号码;The calling number display area 301 displays the calling number of the short message;
消息内容显示区域302,该区域显示短消息的内容,可以显示当前请求查看的短消息,还可以显示历史短消息;The message content display area 302 displays the content of the short message, and can display the short message currently requested to be viewed, and can also display the historical short message;
切换功能键303,该功能键被触发后切换到用户界面3c; Switching function key 303, the function key is triggered to switch to user interface 3c;
菜单键304,包括三个菜单,菜单名称分别为“话费缴费服务”“网上营业厅服务”“购买手机及配件的服务”。The menu key 304 includes three menus, and the menu names are "call fee payment service", "online business hall service", "service for purchasing mobile phones and accessories".
如图3b所示,当用户通过屏幕操作选择“话费缴费服务”菜单时,移动终端屏幕上出现该菜单的二级菜单305,该二级菜单包括以下菜单:“话费查询服务”“话费充值服务”“余额查询服务”。As shown in FIG. 3b, when the user selects the "Call Payment Service" menu through the screen operation, the secondary menu 305 of the menu appears on the screen of the mobile terminal, and the secondary menu includes the following menu: "Call Charge Inquiry Service" "Cell Charge Service" "balance inquiry service".
当用户通过屏幕操作选择“话费查询服务”菜单时,话费查询服务网页可显示在移 动终端的屏幕上,用于可根据该网页进行话费查询操作。When the user selects the "Call Charge Inquiry Service" menu through the screen operation, the call charge inquiry service webpage can be displayed on the move. On the screen of the mobile terminal, the call inquiry operation can be performed according to the webpage.
进一步地,如图3a和图3b所示,用户界面上还可以设置有实现切换功能的UI组件,该UI组件被触发后可切换到如图3c所示的用户界面。图3c所示的用户界面与目前的短消息显示界面基本一致,该用户界面中可包括:Further, as shown in FIG. 3a and FIG. 3b, the user interface may further be provided with a UI component that implements a switching function, and the UI component is triggered to switch to the user interface as shown in FIG. 3c. The user interface shown in FIG. 3c is basically the same as the current short message display interface, and the user interface may include:
主叫号码显示区域301,该区域显示短消息的主叫号码;The calling number display area 301 displays the calling number of the short message;
消息内容显示区域302,该区域显示短消息的内容,可以显示当前请求查看的短消息,还可以显示历史短消息;The message content display area 302 displays the content of the short message, and can display the short message currently requested to be viewed, and can also display the historical short message;
切换功能键303,该功能键被触发后切换到用户界面3a; Switching function key 303, the function key is triggered to switch to user interface 3a;
消息回复内容输入框306,可接收用户输入的回复信息;The message reply content input box 306 can receive the reply information input by the user;
回复功能按钮307,在触发后将消息回复内容输入框中的信息发送给主叫号码显示区域中的号码。The reply function button 307 sends the information in the message reply content input box to the number in the calling number display area after the trigger.
当图3c所示的用户界面中的该UI组件被触后,可切换到如图3a所示的用户界面。When the UI component in the user interface shown in Figure 3c is touched, it can be switched to the user interface as shown in Figure 3a.
基于相同的技术构思,本申请实施例还提供了一种通知消息处理装置。该装置可以是移动终端,也可以是移动终端中的一个模块。Based on the same technical concept, the embodiment of the present application further provides a notification message processing apparatus. The device may be a mobile terminal or a module in the mobile terminal.
参见图4,为本申请实施例提供的通知消息处理装置的结构示意图。该装置可包括:获取模块401、判断模块402、处理模块403,其中:FIG. 4 is a schematic structural diagram of a notification message processing apparatus according to an embodiment of the present application. The device may include: an obtaining module 401, a determining module 402, and a processing module 403, wherein:
获取模块401,用于获取通知消息的主叫号码;The obtaining module 401 is configured to obtain a calling number of the notification message;
判断模块402,用于判断所述通知消息的主叫号码是否为服务号码;The determining module 402 is configured to determine whether the calling number of the notification message is a service number;
处理模块403,用于在判断模块402判定所述通知消息的主叫号码为服务号码时,显示第一用户界面,所述第一用户界面用于显示所述通知消息以及所述主叫号码对应的用户界面组件,所述用户界面组件用于在被触发时执行与所述主叫号码对应的操作。The processing module 403 is configured to: when the determining module 402 determines that the calling number of the notification message is a service number, display a first user interface, where the first user interface is configured to display the notification message and the calling number corresponds to User interface component for performing an operation corresponding to the calling number when triggered.
优选地处理模块403还可用于:在判断模块402判断所述通知消息的主叫号码为服务号码之后、显示所述第一用户界面之前,获取所述主叫号码对应的用户界面组件信息,并根据主叫号码对应的用户界面组件信息生成用户界面组件。Preferably, the processing module 403 is further configured to: after the determining module 402 determines that the calling number of the notification message is a service number, and before displaying the first user interface, acquiring user interface component information corresponding to the calling number, and The user interface component is generated according to the user interface component information corresponding to the calling number.
优选地,判断模块402可具体用于:根据所述通知消息的主叫号码查询第一数据库,若在所述第一数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;或者,根据所述通知消息的主叫号码查询第二数据库,若在所述第二数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;或者,根据所述通知消息的主叫号码查询第一数据库,若在所述第一数据库中未查询到所述通知消息的主叫号码,则根据所述通知消息的主叫号码查询第二数据库,若在所述 第二数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码。其中,所述第一数据库为终端本地缓存的数据库,所述第二数据库为网络侧存储的数据库,所述第一数据库和所述第二数据库用于存储服务号码以及与服务号码对应的用户界面组件信息。Preferably, the determining module 402 is specifically configured to: query the first database according to the calling number of the notification message, and if the calling number of the notification message is queried in the first database, determine the notification message The calling number is a service number; or, the second database is queried according to the calling number of the notification message, and if the calling number of the notification message is queried in the second database, determining the notification message The calling number is a service number; or, the first database is queried according to the calling number of the notification message, and if the calling number of the notification message is not queried in the first database, according to the notification message The calling number queries the second database, if When the calling number of the notification message is queried in the second database, it is determined that the calling number of the notification message is a service number. The first database is a database that is locally cached by the terminal, the second database is a database stored on the network side, and the first database and the second database are used to store a service number and a user interface corresponding to the service number. Component information.
优选地,处理模块403可具体用于:若在所述第一数据库中查询到所述通知消息的主叫号码,则在所述第一数据库中获取与所述主叫号码对应的用户界面组件信息;或者,若在所述第二数据库中查询到所述通知消息的主叫号码,则在所述第二数据库中获取与所述主叫号码对应的用户界面组件信息。Preferably, the processing module 403 is specifically configured to: if the calling number of the notification message is queried in the first database, acquire a user interface component corresponding to the calling number in the first database Information; or, if the calling number of the notification message is queried in the second database, the user interface component information corresponding to the calling number is obtained in the second database.
优选地,该装置还可包括更新模块(未在图中示出)。更新模块可用于在所述第二数据库中查询到所述通知消息的主叫号码的情况下,将所述第二数据库中与所述主叫号码匹配的服务号码以及该服务号码对应的用户界面组件信息保存到所述第一数据库中。Preferably, the apparatus may further comprise an update module (not shown in the figures). The update module is configured to: when the calling number of the notification message is queried in the second database, the service number in the second database that matches the calling number and a user interface corresponding to the service number The component information is saved to the first database.
优选地,更新模块也可用于向网络侧发送更新请求,接收网络侧根据所述请求返回的服务号码以及对应的用户界面组件信息,根据网络侧返回的服务号码以及对应的用户界面组件信息更新所述第一数据库;和/或,接收网络侧发送的更新命令,根据所述更新命令中携带的服务号码以及对应的用户界面组件信息更新所述第一数据库。Preferably, the update module is further configured to send an update request to the network side, receive the service number returned by the network side according to the request, and corresponding user interface component information, and update the service according to the service number returned by the network side and the corresponding user interface component information. And the first database is received; and/or, the update command sent by the network side is received, and the first database is updated according to the service number carried in the update command and the corresponding user interface component information.
优选地,所述用户界面组件信息包括:用户界面组件的属性信息;和/或,用户界面组件对应的操作信息。Preferably, the user interface component information includes: attribute information of the user interface component; and/or operation information corresponding to the user interface component.
其中,所述用户界面组件对应的操作信息包括以下信息中的一种或任意组合:The operation information corresponding to the user interface component includes one or any combination of the following information:
应用程序接口,所述用户界面组件被触发时对应的应用程序被开启;An application interface, when the user interface component is triggered, the corresponding application is started;
网页地址,所述用户界面组件被触发时对应的网页被打开;a webpage address, the corresponding webpage is opened when the user interface component is triggered;
程序脚本,所述用户界面组件被触发时对应的程序脚本被执行。A program script that is executed when the user interface component is triggered.
优选地,所述用户界面组件包括菜单,所述菜单包括一级菜单或多级菜单。Preferably, the user interface component comprises a menu comprising a first level menu or a multi-level menu.
优选地,所述第一用户界面中还包括用于实现界面切换功能的用户界面组件,所述用于实现界面切换功能的用户界面组件被触发时从第一用户界面切换到第二用户界面,所述第二用户界面用于显示所述通知消息、消息回复内容输入框以及所述用于实现界面切换功能的用户界面组件。Preferably, the first user interface further includes a user interface component for implementing an interface switching function, where the user interface component for implementing the interface switching function is switched from the first user interface to the second user interface when triggered. The second user interface is configured to display the notification message, a message reply content input box, and the user interface component for implementing an interface switching function.
基于相同的技术构思,本申请实施例还提供了一种移动终端,该移动终端可以实现上述通知消息处理流程。Based on the same technical concept, the embodiment of the present application further provides a mobile terminal, where the mobile terminal can implement the foregoing notification message processing procedure.
参见图5,为本申请实施例提供的移动终端的结构示意图。FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
该移动终端总体来说可包括:处理器501,通信模块502、存储模块503、输入模块 504、输出模块505,进一步地,还可包括SIM卡模块506。The mobile terminal may generally include: a processor 501, a communication module 502, a storage module 503, and an input module. 504. The output module 505, further, further includes a SIM card module 506.
其中,处理器501可以是通用处理器(比如微处理器或者任何常规的处理器等)、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通信模块502可以是多个元件,即包括发送机和收发机,提供用于在传输介质上与各种其他装置通信的单元,比如具体可包括射频处理电路模块、基带处理电路模块以及天线等组成部分。存储模块503具体可包括内部存储器和外部存储器,比如随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质。输入模块504可包括键盘或触摸屏控制电路。输出模块505可包括显示装置等组成部分。The processor 501 can be a general purpose processor (such as a microprocessor or any conventional processor, etc.), a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or a transistor logic. Devices, discrete hardware components. The communication module 502 can be a plurality of components, including a transmitter and a transceiver, and provides a unit for communicating with various other devices on the transmission medium, such as a radio processing circuit module, a baseband processing circuit module, and an antenna. section. The storage module 503 may specifically include an internal memory and an external memory, such as a random access memory, a flash memory, a read only memory, a programmable read only memory, or an electrically erasable programmable memory, a register, and the like. Input module 504 can include a keyboard or touch screen control circuitry. The output module 505 can include components such as display devices.
处理器501与其他各模块之间存在数据通信连接,比如可基于总线架构进行数据通信。总线架构可以包括任意数量的互联的总线和桥,具体由处理器501代表的一个或多个处理器和存储模块503代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。处理器501负责管理总线架构和通常的处理,存储模块503可以存储处理器501在执行操作时所使用的数据。There is a data communication connection between the processor 501 and other modules, such as data communication based on the bus architecture. The bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 501 and various circuits of memory represented by memory module 503. The bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be further described herein. The bus interface provides an interface. The processor 501 is responsible for managing the bus architecture and general processing, and the storage module 503 can store data used by the processor 501 in performing operations.
本申请实施例揭示的通知消息处理流程,可以应用于处理器501中,或者由处理器501实现。在实现过程中,通知消息处理流程的各步骤可以通过处理器501中的硬件的集成逻辑电路或者软件形式的指令完成。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。The notification message processing flow disclosed in the embodiment of the present application may be applied to the processor 501 or implemented by the processor 501. In the implementation process, each step of the notification message processing flow may be completed by an integrated logic circuit of hardware in the processor 501 or an instruction in the form of software. The methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed. The steps of the method disclosed in the embodiments of the present application may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
具体地,处理器501,用于读取存储模块503中的程序,执行下列过程:Specifically, the processor 501 is configured to read a program in the storage module 503 and perform the following process:
获取通知消息的主叫号码,判断所述通知消息的主叫号码是否为服务号码;若是,则通过输出模块505显示第一用户界面,所述第一用户界面用于显示所述通知消息以及所述主叫号码对应的用户界面组件,所述用户界面组件用于在被触发时执行与所述主叫号码对应的操作。Obtaining a calling number of the notification message, determining whether the calling number of the notification message is a service number; if yes, displaying a first user interface by using the output module 505, the first user interface is configured to display the notification message and the A user interface component corresponding to the calling number, the user interface component configured to perform an operation corresponding to the calling number when triggered.
优选地,处理器501在判断所述通知消息的主叫号码为服务号码之后、显示所述第一用户界面之前,还获取所述主叫号码对应的用户界面组件信息,并根据所述主叫号码 对应的用户界面组件信息生成用户界面组件。Preferably, after determining that the calling number of the notification message is a service number, and displaying the first user interface, the processor 501 further acquires user interface component information corresponding to the calling number, and according to the calling Number Corresponding user interface component information generates user interface components.
优选地,处理器501可根据所述通知消息的主叫号码查询第一数据库,若在所述第一数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;或者,处理器501可根据所述通知消息的主叫号码查询第二数据库,若在所述第二数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;或者,处理器501可根据所述通知消息的主叫号码查询第一数据库,若在所述第一数据库中未查询到所述通知消息的主叫号码,则根据所述通知消息的主叫号码查询第二数据库,若在所述第二数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码。其中,所述第一数据库为终端本地缓存的数据库,所述第二数据库为网络侧存储的数据库,所述第一数据库和所述第二数据库用于存储服务号码以及与服务号码对应的用户界面组件信息。Preferably, the processor 501 may query the first database according to the calling number of the notification message, and if the calling number of the notification message is queried in the first database, determine the calling number of the notification message. Is the service number; or the processor 501 may query the second database according to the calling number of the notification message, and if the calling number of the notification message is queried in the second database, determine the notification message The calling number is a service number; or the processor 501 can query the first database according to the calling number of the notification message, and if the calling number of the notification message is not queried in the first database, The calling number of the notification message queries the second database. If the calling number of the notification message is queried in the second database, it is determined that the calling number of the notification message is a service number. The first database is a database that is locally cached by the terminal, the second database is a database stored on the network side, and the first database and the second database are used to store a service number and a user interface corresponding to the service number. Component information.
优选地,处理器501获取所述主叫号码对应的用户界面组件信息的过程可包括:若在所述第一数据库中查询到所述通知消息的主叫号码,则在所述第一数据库中获取与所述主叫号码对应的用户界面组件信息;或者,若在所述第二数据库中查询到所述通知消息的主叫号码,则在所述第二数据库中获取与所述主叫号码对应的用户界面组件信息。Preferably, the process of the processor 501 acquiring the user interface component information corresponding to the calling number may include: if the calling number of the notification message is queried in the first database, in the first database Obtaining user interface component information corresponding to the calling number; or, if the calling number of the notification message is queried in the second database, acquiring the calling number in the second database Corresponding user interface component information.
优选地,若在所述第二数据库中查询到所述通知消息的主叫号码,则处理器501还可将所述第二数据库中与所述主叫号码匹配的服务号码以及该服务号码对应的用户界面组件信息保存到所述第一数据库中。Preferably, if the calling number of the notification message is queried in the second database, the processor 501 may further correspond to the service number in the second database that matches the calling number and the service number. User interface component information is saved to the first database.
优选地,处理器501还可通过通信模块502向网络侧发送更新请求,接收网络侧根据所述请求返回的服务号码以及对应的用户界面组件信息,根据网络侧返回的服务号码以及对应的用户界面组件信息更新所述第一数据库;和/或,接收网络侧发送的更新命令,根据所述更新命令中携带的服务号码以及对应的用户界面组件信息更新所述第一数据库。Preferably, the processor 501 can also send an update request to the network side through the communication module 502, receive the service number returned by the network side according to the request, and corresponding user interface component information, according to the service number returned by the network side and the corresponding user interface. The component information updates the first database; and/or receives an update command sent by the network side, and updates the first database according to the service number carried in the update command and corresponding user interface component information.
优选地,所述用户界面组件信息包括:Preferably, the user interface component information includes:
用户界面组件的属性信息;和/或,Attribute information of the user interface component; and/or,
用户界面组件对应的操作信息。The operation information corresponding to the user interface component.
其中,所述用户界面组件对应的操作信息包括以下信息中的一种或任意组合:The operation information corresponding to the user interface component includes one or any combination of the following information:
应用程序接口,所述用户界面组件被触发时对应的应用程序被开启;An application interface, when the user interface component is triggered, the corresponding application is started;
网页地址,所述用户界面组件被触发时对应的网页被打开;a webpage address, the corresponding webpage is opened when the user interface component is triggered;
程序脚本,所述用户界面组件被触发时对应的程序脚本被执行。 A program script that is executed when the user interface component is triggered.
优选地,所述用户界面组件包括菜单,所述菜单包括一级菜单或多级菜单。Preferably, the user interface component comprises a menu comprising a first level menu or a multi-level menu.
优选地,所述第一用户界面中还包括用于实现界面切换功能的用户界面组件,所述用于实现界面切换功能的用户界面组件被触发时从第一用户界面切换到第二用户界面,所述第二用户界面用于显示所述通知消息、消息回复内容输入框以及所述用于实现界面切换功能的用户界面组件。Preferably, the first user interface further includes a user interface component for implementing an interface switching function, where the user interface component for implementing the interface switching function is switched from the first user interface to the second user interface when triggered. The second user interface is configured to display the notification message, a message reply content input box, and the user interface component for implementing an interface switching function.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。While the preferred embodiment of the present application has been described, it will be apparent that those skilled in the art can make further changes and modifications to the embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。 It will be apparent to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the present invention.

Claims (20)

  1. 一种通知消息处理方法,其特征在于,包括:A method for processing a notification message, comprising:
    获取通知消息的主叫号码;Get the calling number of the notification message;
    判断所述通知消息的主叫号码是否为服务号码;Determining whether the calling number of the notification message is a service number;
    若是,则显示第一用户界面,所述第一用户界面用于显示所述通知消息以及所述主叫号码对应的用户界面组件,所述用户界面组件用于在被触发时执行与所述主叫号码对应的操作。If yes, displaying a first user interface, the first user interface is configured to display the notification message and a user interface component corresponding to the calling number, the user interface component is configured to execute with the main when triggered Call the operation corresponding to the number.
  2. 如权利要求1所述的方法,其特征在于,在判断所述通知消息的主叫号码为服务号码之后、显示所述第一用户界面之前,还包括:The method of claim 1, further comprising: after determining that the calling number of the notification message is a service number, before displaying the first user interface,
    获取所述主叫号码对应的用户界面组件信息;Obtaining user interface component information corresponding to the calling number;
    根据所述主叫号码对应的用户界面组件信息生成用户界面组件。Generating a user interface component according to the user interface component information corresponding to the calling number.
  3. 如权利要求2所述的方法,其特征在于,所述判断所述通知消息的主叫号码是否为服务号码,包括:The method according to claim 2, wherein the determining whether the calling number of the notification message is a service number comprises:
    根据所述通知消息的主叫号码查询第一数据库,若在所述第一数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;或者,Determining the first database according to the calling number of the notification message, and if the calling number of the notification message is queried in the first database, determining that the calling number of the notification message is a service number; or
    根据所述通知消息的主叫号码查询第二数据库,若在所述第二数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;或者,Querying the second database according to the calling number of the notification message, if the calling number of the notification message is queried in the second database, determining that the calling number of the notification message is a service number; or
    根据所述通知消息的主叫号码查询第一数据库,若在所述第一数据库中未查询到所述通知消息的主叫号码,则根据所述通知消息的主叫号码查询第二数据库,若在所述第二数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;Querying the first database according to the calling number of the notification message, if the calling number of the notification message is not queried in the first database, querying the second database according to the calling number of the notification message, if Querying the calling number of the notification message in the second database, determining that the calling number of the notification message is a service number;
    其中,所述第一数据库为终端本地缓存的数据库,所述第二数据库为网络侧存储的数据库,所述第一数据库和所述第二数据库用于存储服务号码以及与服务号码对应的用户界面组件信息。The first database is a database that is locally cached by the terminal, the second database is a database stored on the network side, and the first database and the second database are used to store a service number and a user interface corresponding to the service number. Component information.
  4. 如权利要求3所述的方法,其特征在于,所述获取所述主叫号码对应的用户界面组件信息,包括:The method of claim 3, wherein the obtaining the user interface component information corresponding to the calling number comprises:
    若在所述第一数据库中查询到所述通知消息的主叫号码,则在所述第一数据库中获取与所述主叫号码对应的用户界面组件信息;或者,And if the calling number of the notification message is queried in the first database, acquiring user interface component information corresponding to the calling number in the first database; or
    若在所述第二数据库中查询到所述通知消息的主叫号码,则在所述第二数据库中获取与所述主叫号码对应的用户界面组件信息。 If the calling number of the notification message is queried in the second database, the user interface component information corresponding to the calling number is obtained in the second database.
  5. 如权利要求3所述的方法,其特征在于,若在所述第二数据库中查询到所述通知消息的主叫号码,则还包括:The method of claim 3, wherein if the calling number of the notification message is queried in the second database, the method further comprises:
    将所述第二数据库中与所述主叫号码匹配的服务号码以及该服务号码对应的用户界面组件信息保存到所述第一数据库中。And storing, in the second database, a service number matching the calling number and user interface component information corresponding to the service number in the first database.
  6. 如权利要求3所述的方法,其特征在于,还包括:The method of claim 3, further comprising:
    向网络侧发送更新请求,接收网络侧根据所述请求返回的服务号码以及对应的用户界面组件信息,根据网络侧返回的服务号码以及对应的用户界面组件信息更新所述第一数据库;和/或,Sending an update request to the network side, receiving the service number returned by the network side according to the request and the corresponding user interface component information, and updating the first database according to the service number returned by the network side and the corresponding user interface component information; and/or ,
    接收网络侧发送的更新命令,根据所述更新命令中携带的服务号码以及对应的用户界面组件信息更新所述第一数据库。Receiving an update command sent by the network side, and updating the first database according to the service number carried in the update command and corresponding user interface component information.
  7. 如权利要求2所述的方法,其特征在于,所述用户界面组件信息包括:The method of claim 2, wherein the user interface component information comprises:
    用户界面组件的属性信息;和/或,Attribute information of the user interface component; and/or,
    用户界面组件对应的操作信息。The operation information corresponding to the user interface component.
  8. 如权利要求7所述的方法,其特征在于,所述用户界面组件对应的操作信息包括以下信息中的一种或任意组合:The method according to claim 7, wherein the operation information corresponding to the user interface component comprises one or any combination of the following information:
    应用程序接口,所述用户界面组件被触发时对应的应用程序被开启;An application interface, when the user interface component is triggered, the corresponding application is started;
    网页地址,所述用户界面组件被触发时对应的网页被打开;a webpage address, the corresponding webpage is opened when the user interface component is triggered;
    程序脚本,所述用户界面组件被触发时对应的程序脚本被执行。A program script that is executed when the user interface component is triggered.
  9. 如权利要求1所述的方法,其特征在于,所述用户界面组件包括菜单,所述菜单包括一级菜单或多级菜单。The method of claim 1 wherein said user interface component comprises a menu, said menu comprising a first level menu or a multi-level menu.
  10. 如权利要求1至9中任一项所述的方法,其特征在于,所述第一用户界面中还包括用于实现界面切换功能的用户界面组件,所述用于实现界面切换功能的用户界面组件被触发时从第一用户界面切换到第二用户界面,所述第二用户界面用于显示所述通知消息、消息回复内容输入框以及所述用于实现界面切换功能的用户界面组件。The method according to any one of claims 1 to 9, wherein the first user interface further comprises a user interface component for implementing an interface switching function, and the user interface for implementing the interface switching function The component is switched from the first user interface to the second user interface when the component is triggered, and the second user interface is configured to display the notification message, the message reply content input box, and the user interface component for implementing the interface switching function.
  11. 一种通知消息处理装置,其特征在于,包括:A notification message processing device, comprising:
    获取模块,用于获取通知消息的主叫号码;An obtaining module, configured to obtain a calling number of the notification message;
    判断模块,用于判断所述通知消息的主叫号码是否为服务号码;a determining module, configured to determine whether the calling number of the notification message is a service number;
    处理模块,用于在所述判断模块判定所述通知消息的主叫号码为服务号码时,显示第一用户界面,所述第一用户界面用于显示所述通知消息以及所述主叫号码对应的用户界面组件,所述用户界面组件用于在被触发时执行与所述主叫号码对应的操作。 a processing module, configured to: when the determining module determines that the calling number of the notification message is a service number, display a first user interface, where the first user interface is configured to display the notification message and the calling number corresponding to User interface component for performing an operation corresponding to the calling number when triggered.
  12. 如权利要求11所述的装置,其特征在于,所述处理模块还用于:The device according to claim 11, wherein the processing module is further configured to:
    在所述判断模块判断所述通知消息的主叫号码为服务号码之后、显示所述第一用户界面之前,获取所述主叫号码对应的用户界面组件信息,并根据主叫号码对应的用户界面组件信息生成用户界面组件。After the determining module determines that the calling number of the notification message is a service number, and displays the first user interface, acquiring user interface component information corresponding to the calling number, and according to the user interface corresponding to the calling number Component information generates user interface components.
  13. 如权利要求12所述的装置,其特征在于,所述判断模块具体用于:The device according to claim 12, wherein the determining module is specifically configured to:
    根据所述通知消息的主叫号码查询第一数据库,若在所述第一数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;或者,Determining the first database according to the calling number of the notification message, and if the calling number of the notification message is queried in the first database, determining that the calling number of the notification message is a service number; or
    根据所述通知消息的主叫号码查询第二数据库,若在所述第二数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;或者,Querying the second database according to the calling number of the notification message, if the calling number of the notification message is queried in the second database, determining that the calling number of the notification message is a service number; or
    根据所述通知消息的主叫号码查询第一数据库,若在所述第一数据库中未查询到所述通知消息的主叫号码,则根据所述通知消息的主叫号码查询第二数据库,若在所述第二数据库中查询到所述通知消息的主叫号码,则判定所述通知消息的主叫号码是服务号码;Querying the first database according to the calling number of the notification message, if the calling number of the notification message is not queried in the first database, querying the second database according to the calling number of the notification message, if Querying the calling number of the notification message in the second database, determining that the calling number of the notification message is a service number;
    其中,所述第一数据库为终端本地缓存的数据库,所述第二数据库为网络侧存储的数据库,所述第一数据库和所述第二数据库用于存储服务号码以及与服务号码对应的用户界面组件信息。The first database is a database that is locally cached by the terminal, the second database is a database stored on the network side, and the first database and the second database are used to store a service number and a user interface corresponding to the service number. Component information.
  14. 如权利要求13所述的装置,其特征在于,所述处理模块具体用于:The device according to claim 13, wherein the processing module is specifically configured to:
    若在所述第一数据库中查询到所述通知消息的主叫号码,则在所述第一数据库中获取与所述主叫号码对应的用户界面组件信息;或者,And if the calling number of the notification message is queried in the first database, acquiring user interface component information corresponding to the calling number in the first database; or
    若在所述第二数据库中查询到所述通知消息的主叫号码,则在所述第二数据库中获取与所述主叫号码对应的用户界面组件信息。If the calling number of the notification message is queried in the second database, the user interface component information corresponding to the calling number is obtained in the second database.
  15. 如权利要求13所述的装置,其特征在于,还包括更新模块;The device of claim 13 further comprising an update module;
    所述更新模块,用于在所述第二数据库中查询到所述通知消息的主叫号码的情况下,将所述第二数据库中与所述主叫号码匹配的服务号码以及该服务号码对应的用户界面组件信息保存到所述第一数据库中。The update module is configured to: when the calling number of the notification message is queried in the second database, the service number corresponding to the calling number in the second database and the service number are corresponding to User interface component information is saved to the first database.
  16. 如权利要求13所述的装置,其特征在于,还包括更新模块;The device of claim 13 further comprising an update module;
    所述更新模块,用于向网络侧发送更新请求,接收网络侧根据所述请求返回的服务号码以及对应的用户界面组件信息,根据网络侧返回的服务号码以及对应的用户界面组件信息更新所述第一数据库;和/或,The update module is configured to send an update request to the network side, receive a service number returned by the network side according to the request, and corresponding user interface component information, and update the service number according to the service number returned by the network side and the corresponding user interface component information. First database; and/or,
    接收网络侧发送的更新命令,根据所述更新命令中携带的服务号码以及对应的用户 界面组件信息更新所述第一数据库。Receiving an update command sent by the network side, according to the service number carried in the update command and the corresponding user The interface component information updates the first database.
  17. 如权利要求12所述的装置,其特征在于,所述用户界面组件信息包括:The device of claim 12, wherein the user interface component information comprises:
    用户界面组件的属性信息;和/或,Attribute information of the user interface component; and/or,
    用户界面组件对应的操作信息。The operation information corresponding to the user interface component.
  18. 如权利要求17所述的装置,其特征在于,所述用户界面组件对应的操作信息包括以下信息中的一种或任意组合:The device according to claim 17, wherein the operation information corresponding to the user interface component comprises one or any combination of the following information:
    应用程序接口,所述用户界面组件被触发时对应的应用程序被开启;An application interface, when the user interface component is triggered, the corresponding application is started;
    网页地址,所述用户界面组件被触发时对应的网页被打开;a webpage address, the corresponding webpage is opened when the user interface component is triggered;
    程序脚本,所述用户界面组件被触发时对应的程序脚本被执行。A program script that is executed when the user interface component is triggered.
  19. 如权利要求11所述的装置,其特征在于,所述用户界面组件包括菜单,所述菜单包括一级菜单或多级菜单。The device of claim 11 wherein said user interface component comprises a menu, said menu comprising a first level menu or a multi-level menu.
  20. 如权利要求11至19中任一项所述的装置,其特征在于,所述第一用户界面中还包括用于实现界面切换功能的用户界面组件,所述用于实现界面切换功能的用户界面组件被触发时从第一用户界面切换到第二用户界面,所述第二用户界面用于显示所述通知消息、消息回复内容输入框以及所述用于实现界面切换功能的用户界面组件。 The device according to any one of claims 11 to 19, wherein the first user interface further comprises a user interface component for implementing an interface switching function, and the user interface for implementing the interface switching function The component is switched from the first user interface to the second user interface when the component is triggered, and the second user interface is configured to display the notification message, the message reply content input box, and the user interface component for implementing the interface switching function.
PCT/CN2016/107593 2015-12-09 2016-11-29 Notification message processing method and device WO2017097138A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510906245.5 2015-12-09
CN201510906245.5A CN106856535A (en) 2015-12-09 2015-12-09 A kind of notification message processing method and device

Publications (1)

Publication Number Publication Date
WO2017097138A1 true WO2017097138A1 (en) 2017-06-15

Family

ID=59013727

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/107593 WO2017097138A1 (en) 2015-12-09 2016-11-29 Notification message processing method and device

Country Status (2)

Country Link
CN (1) CN106856535A (en)
WO (1) WO2017097138A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112308645A (en) * 2019-08-02 2021-02-02 云天弈(北京)信息技术有限公司 Message service expanding method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745701B (en) * 2022-04-13 2023-06-23 中国联合网络通信集团有限公司 Dialing processing method and device and computer readable storage medium
CN115022824B (en) * 2022-06-02 2024-03-22 河南信安通信技术股份有限公司 Method and device for detecting on/off of mobile phone by using non-inductive short message

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607517A (en) * 2013-10-30 2014-02-26 小米科技有限责任公司 Method and terminal for providing information input service
CN104023141A (en) * 2014-06-19 2014-09-03 北京奇虎科技有限公司 Communication contact information display method, client side and electronic equipment
CN104159205A (en) * 2014-08-05 2014-11-19 北京奇虎科技有限公司 Method for creating function menu, and terminal
CN104168560A (en) * 2014-08-25 2014-11-26 北京奇虎科技有限公司 Method for displaying related information of unfamiliar number, monitoring device and cloud server
CN104639756A (en) * 2015-02-10 2015-05-20 北京羽乐创新科技有限公司 Short message display method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572108A (en) * 2012-01-31 2012-07-11 盘丝无限(北京)科技有限公司 Method for optimizing mobile phone message service and system thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607517A (en) * 2013-10-30 2014-02-26 小米科技有限责任公司 Method and terminal for providing information input service
CN104023141A (en) * 2014-06-19 2014-09-03 北京奇虎科技有限公司 Communication contact information display method, client side and electronic equipment
CN104159205A (en) * 2014-08-05 2014-11-19 北京奇虎科技有限公司 Method for creating function menu, and terminal
CN104168560A (en) * 2014-08-25 2014-11-26 北京奇虎科技有限公司 Method for displaying related information of unfamiliar number, monitoring device and cloud server
CN104639756A (en) * 2015-02-10 2015-05-20 北京羽乐创新科技有限公司 Short message display method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112308645A (en) * 2019-08-02 2021-02-02 云天弈(北京)信息技术有限公司 Message service expanding method

Also Published As

Publication number Publication date
CN106856535A (en) 2017-06-16

Similar Documents

Publication Publication Date Title
US11871307B2 (en) Electronic device for sharing data and method for controlling the same
US10387856B2 (en) Online payment method, system, and apparatus
RU2607616C2 (en) Selective linking of message accounts
CN104935744A (en) Verification code display method, verification code display device and mobile terminal
US8428561B1 (en) Event notification and organization utilizing a communication network
US20120204113A1 (en) Automatic Display of Synergized Status Information
KR20070118309A (en) A shortcut generator for services accessible via a messaging service system
CN113038434B (en) Device registration method and device, mobile terminal and storage medium
US8676626B1 (en) Event notification and organization utilizing a communication network
WO2017097138A1 (en) Notification message processing method and device
WO2015043163A1 (en) Method and apparatus for inputting account information
US20110082896A1 (en) Dynamically Updated Web-Enabled and Embedded Contact Address in Communication Devices
US20170126872A1 (en) Method and apparatus for providing contact information
CN108763243A (en) Application program recommends method, apparatus, mobile terminal and server
CN106569408B (en) Processing system, method and device for personalized information of intelligent equipment
US10528655B2 (en) Method and device for inputting information into an entry field of an electronic communication
TW201828684A (en) Notification message process method and device Simultaneously display the user interface component related to service provided by enterprise user while displaying the notification message
US20090216864A1 (en) Methods, apparatuses, and computer program products, for automatically finding configuration settings for services
US20190007520A1 (en) Electronic device and operation method thereof and server host device
CN102547630B (en) Mobile terminal service multimedia displaying method, terminal and system
CN115484158A (en) Communication configuration method and device of vehicle-mounted equipment based on eSIM card
WO2018107603A1 (en) Method and terminal for connecting to access point
CN106453969A (en) Quick communication entry adding method and electronic equipment
CN113312196A (en) Address synchronization method and device
KR101531309B1 (en) Method for providing service by application after a call

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: 16872329

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: 16872329

Country of ref document: EP

Kind code of ref document: A1