Disclosure of Invention
The embodiment of the application provides a method and a device for displaying information.
In a first aspect, an embodiment of the present application provides a method for displaying information, including: responding to the terminal receiving the push information, processing the push information, and determining the category and the importance degree of the push information; determining a current contextual model of the terminal and a pushing condition corresponding to the current contextual model; and responding to the type and the importance degree of the push information to meet the push condition, and displaying the push information on the terminal.
In some embodiments, the determining the category and the importance degree of the push information includes: and determining the category of the push information according to the name of an application program for pushing the push information and/or according to the keyword in the push information.
In some embodiments, the determining the category and the importance degree of the push information includes: performing at least one of the following processing on the push information: extracting keywords in characters or pictures in the push information, and determining the speech speed and/or decibels in audio or video in the push information; and determining the importance degree of the push information according to the result obtained by processing.
In some embodiments, the determining the category and the importance degree of the push information includes: and determining the importance degree of the push information according to the context of the push information.
In some embodiments, the determining the importance of the push information according to the context of the push information includes: acquiring the pushing time of the information of the pushing information; in response to determining that the duration between the pushing time and the current time of the above-mentioned information is less than a preset threshold, acquiring the state of the above-mentioned information, wherein the state comprises a pending state and a pending state; and in response to determining that the state of the above-mentioned information is determined, regarding the importance degree of the above-mentioned information as the importance degree of the above-mentioned push information.
In some embodiments, the determining the importance of the push information according to the context of the push information includes: and in response to the state of the push information being pending and the state of the context information of the push information being pending, taking the importance of the context information as the importance of the push information.
In some embodiments, the determining the current contextual model of the terminal includes: acquiring current position information and a current running program of the terminal; and determining the current contextual model according to the current time, the current position information and the current running program.
In some embodiments, the determining the current contextual model according to the current time, the current location information, and the current running program includes: determining whether the current position information of the terminal is in a working place according to the current position information and a preset position information set; determining whether the current time is in the working time or not according to the current time and a preset working time period; determining whether the current running program is a working application program or not according to the current running program and a preset working application program set; and determining that the current contextual model is the working mode in response to determining that the current position information is in the working place, the current time is in the working time and the current running program is the working application program.
In some embodiments, the determining the current contextual model according to the current time, the current location information, and the current running program includes: in response to determining that the current position information is not in a working place, the current time is not in working time or the current running program is a non-working application program, displaying contextual model setting information for a user to set a contextual model; and taking the scene mode set by the user as the current scene mode.
In a second aspect, an embodiment of the present application provides an apparatus for displaying information, including: the terminal comprises an information processing unit, a display unit and a display unit, wherein the information processing unit is configured to respond to the fact that the terminal receives push information, process the push information and determine the category and the importance degree of the push information; a mode determining unit configured to determine a current contextual model of the terminal and a push condition corresponding to the current contextual model; and an information display unit configured to display the push information on the terminal in response to the category and the importance degree of the push information satisfying the push condition.
In some embodiments, the information processing unit is further configured to: and determining the category of the push information according to the name of an application program for pushing the push information and/or according to the keyword in the push information.
In some embodiments, the information processing unit is further configured to: performing at least one of the following processing on the push information: extracting keywords in characters or pictures in the push information, and determining the speech speed and/or decibels in audio or video in the push information; and determining the importance degree of the push information according to the result obtained by processing.
In some embodiments, the information processing unit is further configured to: and determining the importance degree of the push information according to the context of the push information.
In some embodiments, the information processing unit is further configured to: acquiring the pushing time of the information of the pushing information; in response to determining that the duration between the pushing time and the current time of the above-mentioned information is less than a preset threshold, acquiring the state of the above-mentioned information, wherein the state comprises a pending state and a pending state; and in response to determining that the state of the above-mentioned information is determined, regarding the importance degree of the above-mentioned information as the importance degree of the above-mentioned push information.
In some embodiments, the information processing unit is further configured to: and in response to the state of the push information being pending and the state of the context information of the push information being pending, taking the importance of the context information as the importance of the push information.
In some embodiments, the mode determination unit is further configured to: acquiring current position information and a current running program of the terminal; and determining the current contextual model according to the current time, the current position information and the current running program.
In some embodiments, the mode determination unit is further configured to: determining whether the current position information of the terminal is in a working place according to the current position information and a preset position information set; determining whether the current time is in the working time or not according to the current time and a preset working time period; determining whether the current running program is a working application program or not according to the current running program and a preset working application program set; and determining that the current contextual model is the working mode in response to determining that the current position information is in the working place, the current time is in the working time and the current running program is the working application program.
In some embodiments, the mode determination unit is further configured to: in response to determining that the current position information is not in a working place, the current time is not in working time or the current running program is a non-working application program, displaying contextual model setting information for a user to set a contextual model; and taking the scene mode set by the user as the current scene mode.
In a third aspect, an embodiment of the present application provides a terminal, including: one or more processors; a storage device, on which one or more programs are stored, which, when executed by the one or more processors, cause the one or more processors to implement the method as described in any of the embodiments of the first aspect.
In a fourth aspect, the present application provides a computer-readable medium, on which a computer program is stored, which when executed by a processor implements the method as described in any one of the embodiments of the first aspect.
According to the method and the device for displaying information provided by the above embodiment of the application, after the terminal receives the push information, the terminal can identify the push information to determine the category of the push information and determine whether the push information is important. Meanwhile, the terminal can also determine the current contextual model and the pushing condition corresponding to the current contextual model. And when the type and the importance degree of the push information meet the push conditions, displaying the push information on the terminal. According to the method, the information can be pushed to the user according to the type and the importance degree of the pushed information and the current contextual model of the terminal, and the user experience is improved.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows anexemplary system architecture 100 to which embodiments of the method for displaying information or the apparatus for displaying information of the present application may be applied.
As shown in fig. 1, thesystem architecture 100 may include aterminal device 101, anetwork 102, andservers 103, 104, 105.Network 102 is the medium used to provide communication links betweenterminal device 101 andservers 103, 104, 105. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use theterminal device 101 to interact with theservers 103, 104, 105 via thenetwork 104 to receive or send messages or the like. Various communication client applications, such as news applications, web browser applications, shopping applications, instant messaging tools, mailbox clients, social platform software, etc., may be installed on theterminal device 101.
Theterminal apparatus 101 may be hardware or software. When theterminal device 101 is hardware, it may be various electronic devices having a display screen and supporting information browsing, including but not limited to a smart phone, a tablet computer, an e-book reader, a laptop portable computer, a desktop computer, and the like. When theterminal apparatus 101 is software, it can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
Theservers 103, 104, 105 may be servers that provide various services, such as backend servers that provide support for applications installed on theterminal device 101. The backend server may push information to theterminal device 101.
Theservers 103, 104, and 105 may be hardware or software. When theservers 103, 104, 105 are hardware, they may be implemented as a distributed server cluster composed of multiple servers, or may be implemented as a single server. When theservers 103, 104, 105 are software, they may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the method for displaying information provided in the embodiment of the present application is generally executed by theterminal device 101. Accordingly, a means for displaying information is generally provided in theterminal apparatus 101.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, aflow 200 of one embodiment of a method for displaying information in accordance with the present application is shown. The method for displaying information of the embodiment comprises the following steps:
step 201, responding to the terminal receiving the push information, processing the push information, and determining the category and the importance degree of the push information.
In the present embodiment, an execution subject of the method for displaying information (e.g., theterminal device 101 shown in fig. 1) may identify push information when receiving the push information to determine the category and the degree of importance of the push information. The push information may include various forms of information such as text, pictures, audio, video, and the like. The execution body can process the pushed information, and the processing can comprise various processing modes such as text recognition, voice recognition, image segmentation and the like. The execution subject may determine the category and the degree of importance of the push information according to the processing result of the push information. The categories may include instant messaging information, advertising information, news information, entertainment information, and the like. The importance level may include two levels, important and unimportant. The execution body may label the category and importance of the push information in a variety of ways, such as by various identifiers.
In some optional implementations of the present embodiment, the executing agent may determine the category of the push information by the following steps not shown in fig. 2: and determining the category of the pushed information according to the name of the application program pushing the pushed information and/or according to the keyword in the pushed information.
In this implementation, the execution agent may determine the type of the push information according to the name of the application program that pushes the push information. For example, if the name of the application program that pushes the push information is video a, the type of the push information can be determined as entertainment information. Or the name of the application program of the push information is B news, the type of the push information can be determined to be news information. The execution body can also determine the category of the push information according to the keywords in the push information. For example, if the push information includes keywords such as "special sale" and "sales promotion", the type of the push information is determined to be advertisement information.
In some optional implementations of the present embodiment, the executing agent may determine the importance of the push information by the following steps not shown in fig. 2: performing at least one of the following processing on the push information: extracting keywords in characters or pictures in the push information, and determining the speed and/or sound in audio or video in the push information; and determining the importance degree of the push information according to the result obtained by processing.
In this implementation, the execution subject performs at least one of the following processes on the push information: extracting keywords in characters or pictures in the push information, and determining the speed of speech and/or sound in audio or video in the push information. When the push information comprises characters or pictures, the execution can extract keywords from the push information to obtain the keywords of the push information. The execution subject can determine the importance degree of the push information according to the keywords and a preset keyword set. For example, when the keywords include words such as "fast return", "immediately", "fast spot", and the like, the importance level of the push information is considered to be relatively high. It is understood that the above keywords may be words, phrases, or phrases.
When audio or video is included in the push information, the execution body may determine the speech rate and/or decibel therein. It can be understood that if the speech speed is fast and the decibel is high, the emotion of the user can be considered to be anxious, and the importance degree of the pushed information is considered to be high. If the speech speed is slow and the decibel is low, the emotion of the user can be determined to be relatively relieved, and the importance degree of the task pushing information is low. The execution agent may combine the above results to determine the importance of the pushed information.
Step 202, determining a current contextual model of the terminal and a push condition corresponding to the current contextual model.
The execution main body can further determine the current contextual model of the terminal and the push condition corresponding to the current contextual model. Here, the scene mode refers to a set of response modes selected according to different scenes. Each scene mode contains different ringing volume and ringing tone type. The general mobile phone allows a user to edit the mobile phone and freely switch between different scene modes. The user can also set his own profile for different environments. For example, a silent mode, a conference mode (ring tone suitable for formal situations) and an outdoor mode (suitable for noisy outdoor environments) are created. Various ring tones may be set for voice incoming calls, information alerts, etc. in each profile.
In this embodiment, the user may also set different push conditions for different profiles. The push condition may include that the type of the push information is an instant messaging application and the importance level of the message is important.
And step 203, responding to the fact that the category and the importance degree of the push information meet the push condition, and displaying the push information on the terminal.
After determining the current contextual model of the terminal and the push condition corresponding to the current contextual model, the execution main body can judge whether the category and the importance degree of the push information meet the push condition. After determining that the category and the importance degree of the push information meet the push condition, the push information can be displayed on the terminal.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the method for displaying information according to the present embodiment. In the application scenario of fig. 3, after the APP installed in the mobile phone of the user receives the push information, the mobile phone may analyze the push information to determine whether to push. And after the push is determined to be needed, displaying the push information on a screen of the mobile phone.
According to the method for displaying information provided by the above embodiment of the application, after the terminal receives the push information, the terminal can identify the push information to determine the category of the push information and determine whether the push information is important. Meanwhile, the terminal can also determine the current contextual model and the pushing condition corresponding to the current contextual model. And when the type and the importance degree of the push information meet the push conditions, displaying the push information on the terminal. According to the method, the information can be pushed to the user according to the type and the importance degree of the pushed information and the current contextual model of the terminal, and the user experience is improved.
In some optional implementations of this embodiment, the executing agent may further determine the importance of the push information according to the following steps not shown in fig. 2: and determining the importance degree of the push information according to the context of the push information.
In this implementation, the execution subject may determine the importance of the push information according to the context of the push information. Here, the context refers to information pushed before or after pushing the information. The execution subject may determine the importance of the pushed information based on the importance of the context.
With continued reference to FIG. 4, aflow 400 of one embodiment of determining a degree of importance of pushed information as a function of context in a method for displaying information according to the present application is shown. As shown in fig. 4, the method for displaying information of the present embodiment may include the following steps:
step 401, obtaining the push time of the above information of the push information.
In determining the importance of the push information, the execution principal may first acquire the push time of the above information of the push information.
Step 402, in response to determining that the duration between the pushing time and the current time of the above information is less than a preset threshold, obtaining the state of the above information.
After determining the push time of the above information, the execution body may calculate a time length between the push time of the above information and the current time. If the duration is less than the preset threshold, the push information is considered to be related to the above information, and at this time, the execution main body may further acquire the state of the above information. The status may include pending and pending. The degree of importance of the above information is determined, and the degree of importance of the above information is determined.
Step 403, in response to determining that the status of the above information is determined, the importance level of the above information is taken as the importance level of the push information.
If the executing agent determines that the state of the above information is pending, the executing agent may regard the importance of the above information as the importance of the push information.
In response to the status of the push information being pending and the status of the context information of the push information being pending, the importance of the context information is taken as the importance of the push information,step 404.
The execution body may also determine the importance of the push information according to the context information of the push information. Specifically, if the status of the context information of the push information is determined, it indicates that the importance of the context information is determined. The executing agent may regard the importance of the context information as the importance of the push information. In this embodiment, the context information of the push information is also the push information. The importance degree determination of each piece of push information is performed synchronously, and if the importance degree of the above piece of push information is not determined and the importance degree of the following piece of push information is determined, the execution main body may determine the importance degree of the piece of push information according to the importance degree of the following piece of push information.
The method for displaying information provided by the above embodiment of the application can determine the importance degree of the pushed information through the context of the pushed information, and improves the processing efficiency.
With continued reference to fig. 5, aflow 500 of one embodiment of determining a current contextual model of a terminal in a method for displaying information according to the present application is shown. As shown in fig. 5, in this embodiment, the current contextual model of the terminal may be determined by the following steps:
step 501, obtaining current position information and a current running program of a terminal.
In this embodiment, the execution main body may first obtain the current location information and the current running program of the terminal. It is understood that the terminal is installed with a positioning device, and the executing body may use the position information determined by the positioning device as the current position information of the terminal. The execution main body can also acquire a current running program in the terminal. Here, the currently running program refers to an application currently displayed on the screen of the terminal. It is understood that there may be one or more programs currently running.
After acquiring the current position information and the current running program, the execution main body can determine the current contextual model of the terminal by combining the current time. Specifically, the execution subject may be determined by:
step 502, determining whether the current position information of the terminal is in a working place according to the current position information and a preset position information set.
In this embodiment, the execution subject may determine whether the current location information of the terminal is in the work place by aggregating the current location information of the terminal and the preset location information. The position information in the position information set may be preset by the user, and the position information may be information of a work place of the user. The position information in the position information set can also be position information set by the user in a calendar or a memo or a reminding item on the terminal. For example, the user has set 10 points on the memo to attend a meeting at building XX. The executive may use XX building as the work site and add the XX building location information to the set of location information.
Step 503, determining whether the current time is in the working time according to the current time and the preset working time period.
The execution agent may determine the preset working period based on the statutory holiday. Alternatively, the execution subject may determine the preset work time period according to the work rule of the user. The working rule can be derived from the user's trajectory, for example, the user goes to the same location for 5 or 6 days in the week, and stays still for the rest of 1 day or goes to another location. The execution subject may regard the above-mentioned 5 days or 6 days as the work period. And if the current time is within the working time period, the current time is considered to be in the working time.
Step 504, determining whether the current running program is a working application program according to the current running program and a preset working application program set.
The execution main body can also determine whether the current running program is a working application program according to the current running program and a preset working application program set. The working application program set can be preset by a user, and the execution subject can be determined according to the name or the type of the application program. And if the current running program belongs to the working application program set, determining that the current running program is the working application program.
Step 505, in response to determining that the current position information is in the working place, the current time is in the working time, and the current running program is a working application program, determining that the current contextual model is the working mode.
In this embodiment, if the execution subject determines that the previous location information is at a work location, the current time is at work time, and the currently running program is a work application program, it may be considered that the user is currently in a work state, and the current contextual model may be set as the work mode. Here, the operation mode refers to a silent mode or a vibration mode or other user-defined modes.
Step 506, in response to determining that the current position information is not in the work place, the current time is not in the work time, or the current running program is a non-working application program, displaying the contextual model setting information for the user to set the contextual model.
If the execution subject determines that the current position information is not in the work place, is not in the work time at the current time, or is a non-working application program, it cannot be determined in what state the user is currently in. At this time, the execution main body may display the profile setting information on the terminal for the user to set the profile. Here, the profile setting information may be a page that pops up or a message that pops up. The user can directly set the contextual model in the popped page, and can also set the contextual model through a default setting path in the terminal after receiving the message.
And step 507, taking the contextual model set by the user as the current contextual model.
The execution subject may take the scenario mode set by the user as the current scenario mode.
According to the method for displaying the information, provided by the embodiment of the application, the current contextual model can be determined according to the current running program, the current position information and the current time in the terminal, the pushed information is displayed to the user in a targeted manner, and the user experience is improved.
With further reference to fig. 6, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of an apparatus for displaying information, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable in various electronic devices.
As shown in fig. 6, theapparatus 600 for displaying information of the present embodiment includes: aninformation processing unit 601, amode determination unit 602, and aninformation display unit 603.
Theinformation processing unit 601 is configured to process the push information and determine the category and the importance degree of the push information in response to the terminal receiving the push information.
Amode determining unit 602 configured to determine a current contextual model of the terminal and a push condition corresponding to the current contextual model.
Aninformation display unit 603 configured to display the push information at the terminal in response to the category and the importance of the push information satisfying the push condition.
In some optional implementations of this embodiment, theinformation processing unit 601 may be further configured to: and determining the category of the pushed information according to the name of the application program pushing the pushed information and/or according to the keyword in the pushed information.
In some optional implementations of this embodiment, theinformation processing unit 601 may be further configured to: performing at least one of the following processing on the push information: extracting keywords in characters or pictures in the push information, and determining the speech speed and/or decibels in audio or video in the push information; and determining the importance degree of the push information according to the result obtained by processing.
In some optional implementations of this embodiment, theinformation processing unit 601 may be further configured to: and determining the importance degree of the push information according to the context of the push information.
In some optional implementations of this embodiment, theinformation processing unit 601 may be further configured to: acquiring the pushing time of the information of the pushed information; in response to determining that the duration between the pushing time and the current time of the above information is less than a preset threshold, acquiring the state of the above information, wherein the state comprises a pending state and a pending state; in response to determining that the status of the above information is pending, the importance level of the above information is taken as the importance level of the push information.
In some optional implementations of this embodiment, theinformation processing unit 601 may be further configured to: in response to the status of the push information being pending and the status of the context information of the push information being pending, the importance level of the context information is taken as the importance level of the push information.
In some optional implementations of this embodiment, themode determining unit 602 may be further configured to: acquiring current position information and a current running program of a terminal; and determining the current contextual model according to the current time, the current position information and the current running program.
In some optional implementations of this embodiment, themode determining unit 602 may be further configured to: determining whether the current position information of the terminal is in a working place or not according to the current position information and a preset position information set; determining whether the current time is in the working time or not according to the current time and a preset working time period; determining whether the current running program is a working application program or not according to the current running program and a preset working application program set; and determining that the current contextual model is the working mode in response to determining that the current position information is in the working place, the current time is in the working time and the current running program is the working application program.
In some optional implementations of this embodiment, themode determining unit 602 may be further configured to: in response to determining that the current position information is not in a working place, the current time is not in working time or the current running program is a non-working application program, displaying contextual model setting information for a user to set a contextual model; and taking the scene mode set by the user as the current scene mode.
It should be understood thatunits 601 to 603, which are described in theapparatus 600 for displaying information, respectively correspond to the respective steps in the method described with reference to fig. 2. Thus, the operations and features described above for the method for displaying information are equally applicable to theapparatus 600 and the units contained therein and will not be described in detail here.
Referring now to fig. 7, shown is a schematic diagram of an electronic device (e.g., the terminal of fig. 1) 700 suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like. The terminal shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7,electronic device 700 may include a processing means (e.g., central processing unit, graphics processor, etc.) 701 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded fromstorage 708 into a Random Access Memory (RAM) 703. In theRAM 703, various programs and data necessary for the operation of theelectronic apparatus 700 are also stored. Theprocessing device 701, theROM 702, and theRAM 703 are connected to each other by abus 704. An input/output (I/O)interface 705 is also connected tobus 704.
Generally, the following devices may be connected to the I/O interface 705:input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including an output device 707 such as a Liquid Crystal Display (LCD), speaker, vibrator, etc., and acommunication device 709. The communication means 709 may allow theelectronic device 700 to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 illustrates anelectronic device 700 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 7 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication means 709, or may be installed from the storage means 708, or may be installed from theROM 702. The computer program, when executed by theprocessing device 701, performs the above-described functions defined in the methods of embodiments of the present disclosure. It should be noted that the computer readable medium described in the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the terminal; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: responding to the fact that the terminal receives the push information, processing the push information, and determining the category and the importance degree of the push information; determining a current contextual model of the terminal and a pushing condition corresponding to the current contextual model; and responding to the fact that the category and the importance degree of the push information meet the push condition, and displaying the push information on the terminal.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes an information processing unit, a mode determination unit, and an information display unit. The names of these units do not in some cases form a limitation on the units themselves, and for example, an information processing unit may also be described as a "unit that processes the push information".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.