CN107948437B - Screen-off display method and device - Google Patents

Screen-off display method and device Download PDF

Info

Publication number
CN107948437B
CN107948437B CN201711268776.1A CN201711268776A CN107948437B CN 107948437 B CN107948437 B CN 107948437B CN 201711268776 A CN201711268776 A CN 201711268776A CN 107948437 B CN107948437 B CN 107948437B
Authority
CN
China
Prior art keywords
information
notification information
application
screen
application function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711268776.1A
Other languages
Chinese (zh)
Other versions
CN107948437A (en
Inventor
张军威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Samsung Electronics China R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Electronics China R&D Center
Priority to CN201711268776.1A priority Critical patent/CN107948437B/en
Publication of CN107948437A publication Critical patent/CN107948437A/en
Application granted granted Critical
Publication of CN107948437B publication Critical patent/CN107948437B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/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/72433User 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 voice messaging, e.g. dictaphones
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • 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. SMS or e-mail
    • 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/72439User 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 image or video messaging
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/40Electronic components, circuits, software, systems or apparatus used in telephone systems using speech recognition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/74Details of telephonic subscriber devices with voice recognition means

Abstract

The embodiment of the application discloses a screen-off display method and device. One embodiment of the method comprises: receiving notification information sent by a server; in response to determining that the application is currently in the off-screen state, determining whether to off-screen display the notification information based on historical usage data of the application by the user; if yes, generating information to be displayed according to the notification information; and turning off the screen to display the information to be displayed. The implementation mode provides a mechanism for performing screen-off display based on historical use data of the application, and the screen-off display efficiency is improved.

Description

Screen-off display method and device
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a screen-off display method and device.
Background
The screen off state can be a state that the electronic equipment normally turns off the backlight and turns off the screen to save power, and the display in the screen off state can help a user to check and wake up the mobile phone more quickly. When the current mobile electronic device is turned off, the displayed content is very limited, and generally only time and power are available.
Disclosure of Invention
An object of the embodiments of the present application is to provide an improved method and apparatus for displaying a screen-off display, so as to solve the technical problems mentioned in the above background.
In a first aspect, an embodiment of the present application provides a screen-off display method, where the method includes: receiving notification information sent by a server; in response to determining that the application is currently in the off-screen state, determining whether to off-screen display the notification information based on historical usage data of the application by the user; if yes, generating information to be displayed according to the notification information; and turning off the screen to display the information to be displayed.
In some embodiments, the notification information includes application function information indicating an application function for which the notification information is intended; and determining whether to turn off the screen display to display the notification information based on the historical usage data of the application by the user, including: acquiring application function information included in the notification information; and determining whether to turn off the screen to display the notification information according to the acquired application function information and historical use data of the application function by the user.
In some embodiments, determining whether to turn off the display of the notification information according to the acquired application function information and the historical usage data of the application function by the user includes: inputting the current time and the obtained application function information into a prediction model trained in advance for the user, and generating the probability of using each function by the user at the current time, wherein the prediction model is used for representing the corresponding relation between the time, the application function information and the probability of using the application function indicated by the application function information by the user; in response to the generated probability being greater than a preset probability threshold, determining to turn off the display of the notification information.
In some embodiments, the predictive model is trained by: recording information of an application function used by a user within a preset time period and the time for using the application function; and training an initial regression model by using a machine learning method and taking the recorded information of the application function and the time for using the application function as input so as to obtain a prediction model.
In some embodiments, the notification information comprises voice information; and generating information to be displayed according to the notification information, including: carrying out voice recognition on the voice information to generate text information; and determining the text information as the information to be displayed.
In some embodiments, the notification information includes picture information; and generating information to be displayed according to the notification information, including: carrying out graying processing on the picture information to generate grayscale picture information; and determining the gray-scale map information as the information to be displayed.
In some embodiments, the application for which the notification information is directed includes an instant messaging application, the notification information including type information indicating a type of the notification information; and determining whether to turn off the screen display to display the notification information based on the historical usage data of the application by the user, including: acquiring type information included in the notification information; and displaying the notification information in response to determining that the notification information is the first type information according to the type information, wherein an information receiver of the first type information only comprises a single account.
In some embodiments, the application for which the notification information is directed includes an instant messaging application, the notification information including type information indicating a type of the notification information; and determining whether to turn off the screen display to display the notification information based on the historical usage data of the application by the user, including: acquiring type information included in the notification information; in response to the fact that the notification information is determined to be of the second type according to the type information, performing semantic analysis on the notification information to generate keywords of the notification information, wherein an information receiver of the second type information only comprises at least two accounts; and responding to the fact that the preset keyword set comprises keywords matched with the generated keywords, and displaying the notification information, wherein the keyword set is generated by performing semantic analysis on historical information sent by the user in the instant messaging application.
In a second aspect, an embodiment of the present application provides an off-screen display device, including: the receiving unit is used for receiving the notification information sent by the server; the determining unit is used for responding to the determination that the application is in the screen-off state currently, and determining whether to display the notification information in the screen-off state or not based on historical use data of the application by the user; the generating unit is used for responding to the situation that the determining unit determines that the screen is turned off to display the notification information, and generating information to be displayed according to the notification information; and the display unit is used for displaying the information to be displayed by turning off the screen.
In some embodiments, the notification information includes application function information indicating an application function for which the notification information is intended; and a determination unit including: the acquisition subunit is used for acquiring the application function information included in the notification information; and the determining subunit is used for determining whether to turn off the screen to display the notification information according to the acquired application function information and the historical use data of the application function by the user.
In some embodiments, the determining subunit is further configured to: inputting the current time and the obtained application function information into a prediction model trained in advance for the user, and generating the probability of using each function by the user at the current time, wherein the prediction model is used for representing the corresponding relation between the time, the application function information and the probability of using the application function indicated by the application function information by the user; in response to the generated probability being greater than a preset probability threshold, determining to turn off the display of the notification information.
In some embodiments, the apparatus further comprises a predictive model training unit to: recording information of an application function used by a user within a preset time period and the time for using the application function; and training an initial regression model by using a machine learning method and taking the recorded information of the application function and the time for using the application function as input so as to obtain a prediction model.
In some embodiments, the notification information comprises voice information; and a generating unit, further configured to: carrying out voice recognition on the voice information to generate text information; and determining the text information as the information to be displayed.
In some embodiments, the notification information includes picture information; and a generating unit, further configured to: carrying out graying processing on the picture information to generate grayscale picture information; and determining the gray-scale map information as the information to be displayed.
In some embodiments, the application for which the notification information is directed includes an instant messaging application, the notification information including type information indicating a type of the notification information; and a determining unit, further configured to: acquiring type information included in the notification information; and displaying the notification information in response to determining that the notification information is the first type information according to the type information, wherein an information receiver of the first type information only comprises a single account.
In some embodiments, the application for which the notification information is directed includes an instant messaging application, the notification information including type information indicating a type of the notification information; and a determining unit, further configured to: acquiring type information included in the notification information; in response to the fact that the notification information is determined to be of the second type according to the type information, performing semantic analysis on the notification information to generate keywords of the notification information, wherein an information receiver of the second type information only comprises at least two accounts; and responding to the fact that the preset keyword set comprises keywords matched with the generated keywords, and displaying the notification information, wherein the keyword set is generated by performing semantic analysis on historical information sent by the user in the instant messaging application.
In a third aspect, an embodiment of the present application provides an apparatus, including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out the method as described above in relation to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program is configured to, when executed by a processor, implement the method as described above in the first aspect.
According to the screen-off display method and device, the notification information sent by the server is received, then whether the screen-off display notification information is in the screen-off state is determined in response to the determination that the screen-off state is currently achieved, if yes, the information to be displayed is generated according to the notification information, and finally the screen is turned off to display the information to be displayed, so that a mechanism for performing screen-off display based on the historical use data of the application is provided, and the screen-off display efficiency is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a screen-off display method according to the present application;
FIG. 3 is a schematic diagram of an application scenario of an off-screen display method according to the present application;
FIG. 4 is a flow diagram of yet another embodiment of a screen-off display method according to the present application;
FIG. 5 is a schematic diagram of an embodiment of a screen-off display apparatus according to the present application;
FIG. 6 is a schematic block diagram of a computer system suitable for use in implementing a server according to embodiments of the present application.
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 illustrates an exemplary system architecture 100 to which embodiments of the screen-off display method or screen-off display apparatus of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and servers 105, 106. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the servers 105, 106. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user 110 may use the terminal devices 101, 102, 103 to interact with the servers 105, 106 via the network 104 to receive or transmit data or the like. Various applications may be installed on the terminal devices 101, 102, 103, such as shopping applications, map applications, payment applications, social applications, web browser applications, search engine applications, cell phone assistant applications, etc.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting a data communication function, including, but not limited to, a smart phone, a tablet computer, an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III, motion Picture Experts Group Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion Picture Experts Group Audio Layer 4), a laptop portable computer, a desktop computer, and the like.
The servers 105, 106 may be servers that provide various services, such as background servers that provide support for applications installed on the terminal devices 101, 102, 103, and the terminal devices 101, 102, 103 may receive notification information sent by the servers 105, 106; in response to determining that the application is currently in the off-screen state, determining whether to off-screen display the notification information based on historical usage data of the application by the user; if yes, generating information to be displayed according to the notification information; and turning off the screen to display the information to be displayed.
It should be noted that the screen-off display method provided in the embodiment of the present application may be executed by the terminal devices 101, 102, and 103, and accordingly, the screen-off display apparatus may be disposed in the terminal devices 101, 102, and 103.
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, a flow 200 of one embodiment of a screen-out display method according to the present application is shown. The screen extinguishing display method comprises the following steps:
step 201, receiving the notification information sent by the server.
In some embodiments, an electronic device (e.g., the terminal device shown in fig. 1) on which the off-screen display method operates may first receive notification information sent by the server. The server may be a background server of an application installed locally on the electronic device, and a system of the electronic device may receive data transmitted by the application through inter-process communication, where the data includes an application identifier, notification information, and the like. Specifically, a specific SDK (Software Development Kit) may be set for the terminal application and provided to the application, so that the application and the terminal application can mutually transmit data through interprocess communication.
In response to determining that the application is currently in the off-screen state, a determination is made as to whether to off-screen display the notification information based on historical usage data of the application by the user, step 202.
In some embodiments, the electronic device may determine whether to turn off the screen to display the notification information received in step 201 based on historical usage data of the application by the user in response to determining that the electronic device is currently in the off-screen state, and if so, proceed to step 203. The historical usage data of the application may include the number of times the application is used, the length of time it is used, etc. that may indicate the frequency of use of the application.
In some optional implementations of the embodiment, the application for which the notification information is directed includes an instant messaging application, and the notification information includes type information indicating a type of the notification information; and determining whether to turn off the screen display to display the notification information based on the historical usage data of the application by the user, including: acquiring type information included in the notification information; and displaying the notification information in response to determining that the notification information is the first type information according to the type information, wherein an information receiver of the first type information only comprises a single account. The first type of information can be messages in private chatting, namely one-to-one chatting, and because the messages in the one-to-one chatting are usually important, the messages are displayed on a screen, so that a user does not miss important messages and does not need to wake up a mobile phone to check the messages.
In some optional implementations of the embodiment, the application for which the notification information is directed includes an instant messaging application, and the notification information includes type information indicating a type of the notification information; and determining whether to turn off the screen display to display the notification information based on the historical usage data of the application by the user, including: acquiring type information included in the notification information; in response to the fact that the notification information is determined to be of the second type according to the type information, performing semantic analysis on the notification information to generate keywords of the notification information, wherein an information receiver of the second type information only comprises at least two accounts; and responding to the fact that the preset keyword set comprises keywords matched with the generated keywords, and displaying the notification information, wherein the keyword set is generated by performing semantic analysis on historical information sent by the user in the instant messaging application.
In this implementation, semantic analysis may be based on word frequency statistics, or may employ various machine learning methods to mine and learn the deep concepts of the text. For example, the topic distribution of the text may be obtained through a convolutional neural network or a text topic generation model, and the text topic generation model may be an LDA (Latent Dirichlet Allocation) model. The second type of information may be group chat, that is, a message in a chat in which a plurality of users participate, for example, the user has just received a house, some series of matters after receiving the house are discussed in a discussion group, the discussion group may have discussion and message sharing of various topics, and these topics may be related to or unrelated to the house, in this case, through matching of keywords, a screen may be turned off to display a problem of interest of the user according to topic information that the user has recently participated in the discussion group, so that the user does not need to turn on the mobile phone each time and then filter information useful to the user.
And step 203, generating information to be displayed according to the notification information.
In some embodiments, the electronic device may generate information to be displayed according to the notification information, and may extract key information in the notification information as the information to be displayed. In addition, the specific display format such as font can be set according to actual needs, and can also be set based on the format configured by the user. The information to be displayed may also include an image of the application, a time when the notification information is received, and the like.
In some optional implementations of this embodiment, the notification information includes voice information; and generating information to be displayed according to the notification information, including: carrying out voice recognition on the voice information to generate text information; and determining the text information as the information to be displayed. It should be noted that speech recognition is a well-known technology widely studied and applied at present, and is not described herein again.
In some optional implementations of this embodiment, the notification information includes picture information; and generating information to be displayed according to the notification information, including: carrying out graying processing on the picture information to generate grayscale picture information; and determining the gray-scale map information as the information to be displayed. It should be noted that the graying process is a well-known technique that is widely studied and applied at present, and is not described herein again.
And step 204, turning off the screen to display the information to be displayed.
In this embodiment, the electronic device may turn off the screen to display the information to be displayed generated in the step 203. The specific display mode can be set according to actual needs, for example, messages of an instant messaging application can be displayed in a list form, each message or information contains source information of the message or information, other notification messages and information can be displayed in a pop-up window style, the messages or information can be slid left and right by a user, and the messages and information can be drawn out of a screen.
The method provided by the above embodiment of the present application receives notification information sent by a server; in response to determining that the application is currently in the off-screen state, determining whether to off-screen display the notification information based on historical usage data of the application by the user; if yes, generating information to be displayed according to the notification information; and the screen is turned off to display the information to be displayed, so that a mechanism for performing screen-off display based on historical use data of the application is provided, and the screen-off display efficiency is improved.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the screen-off display method according to the present embodiment. In the application scenario of fig. 3, the terminal device receives the notification information sent by the server in the screen-off state, and displays the notification information in the screen-off state.
With further reference to fig. 4, a flow 400 of yet another embodiment of a screen-off display method is illustrated. The process 400 of the screen-off display method includes the following steps:
step 401, receiving notification information sent by a server.
In this embodiment, an electronic device (for example, the terminal device shown in fig. 1) on which the off-screen display method operates may first receive notification information sent by the server.
And 402, in response to the fact that the screen is currently in the screen-off state, acquiring application function information included in the notification information.
In this embodiment, the electronic device may acquire the application function information included in the notification information in response to determining that the electronic device is currently in the screen-off state. The notification information includes application function information indicating an application function to which the notification information is directed, for example, a navigation function of a map-type application, a word-background function in an education-type application, and a chat function in instant messaging software. The application function information may be an identification of the application function.
And step 403, determining whether to turn off the screen to display the notification information according to the acquired application function information and the historical use data of the application function by the user.
In this embodiment, the electronic device may determine whether to turn off the display of the notification information according to the acquired application function information and historical usage data of the application function by the user, and if so, go to step 404. The electronic equipment can count the frequency of the application corresponding to the application function information acquired by the user according to the historical use data of the application function by the user, and if the frequency exceeds a preset frequency threshold, screen-off display is carried out. The electronic equipment can also determine the time period of the application corresponding to the application function information which is frequently used by the user according to the historical use data of the application function of the user, judge whether the current time is in the time period, and if so, perform screen-off display.
In this embodiment, the historical usage data of the application function by the user may be updated periodically, for example, if the collected data amount reaches a preset value, the update is performed. When the process corresponding to the application function is a foreground process, it may be considered that the user is using the application function, and as an example, under the android system, it may be determined whether a process is a foreground process using a RunningTaskInfo class or a RunningAppProcessInfo class. The runningTaskInfo class and the runningAppProcessInfo class are common classes of android and are used for acquiring information of tasks currently running by the system, and the running process information is packaged in the runningAppProcessInfo class. The RunningTaskInfo class and the RunningAppProcessInfo class belong to the ActivityManager class, and information of the class can be queried in the SDK (Software Development Kit) of android. Determining whether the thread is a foreground thread can be implemented by determining whether the thread interacts with a User Interface (UI) thread or by determining whether a parent process of the thread is a foreground process, where the UI thread may also be referred to as a main thread, and the UI thread is a thread that makes a quick response according to a User's request in the android system.
In some optional implementations of this embodiment, determining whether to turn off the display of the display notification information according to the obtained application function information and historical usage data of the application function by the user includes: inputting the current time and the obtained application function information into a prediction model trained in advance for the user, and generating the probability of using each function by the user at the current time, wherein the prediction model is used for representing the corresponding relation between the time, the application function information and the probability of using the application function indicated by the application function information by the user; in response to the generated probability being greater than a preset probability threshold, determining to turn off the display of the notification information.
In some optional implementations of the present embodiment, the prediction model is obtained by training through the following steps: recording information of an application function used by a user within a preset time period and the time for using the application function; and training an initial regression model by using a machine learning method and taking the recorded information of the application function and the time for using the application function as input so as to obtain a prediction model.
As an example, the prediction model may be a model obtained by training historical usage data of the application function by the user as training data based on a deep learning algorithm, or a correspondence table which is prepared in advance by a technician based on statistics of a large amount of historical usage data of the application function by the user and stores correspondence of a plurality of times, application function information, and probability of using the application function information by the user; or a calculation formula for obtaining a calculation result for representing the probability by numerically calculating parameter values of one or more input parameters, which is preset by a technician based on statistics of a large amount of data and stored in the electronic device.
And step 404, generating information to be displayed according to the notification information.
In some embodiments, the electronic device may generate information to be displayed according to the notification information, and may extract key information in the notification information as the information to be displayed.
Step 405, the screen is turned off to display the information to be displayed.
In this embodiment, the electronic device may turn off the screen to display the information to be displayed generated in the step 203.
In some embodiments, the operations of step 401, step 404, and step 405 are substantially the same as the operations of step 201, step 203, and step 204, and are not described herein again.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, in the flow 400 of the screen-off display method in this embodiment, whether to turn off the screen for displaying the notification information is determined according to the acquired application function information and the historical usage data of the application function by the user, so that the content of the screen-off display in the scheme described in this embodiment is more targeted.
With further reference to fig. 5, as an implementation of the method shown in the above-mentioned figures, the present application provides an embodiment of a screen-off display apparatus, which corresponds to the embodiment of the method shown in fig. 2, and which can be applied to various electronic devices.
As shown in fig. 5, the screen-off display device 500 of the present embodiment includes: receiving section 501, determining section 502, generating section 503, and display section 504. The receiving unit 501 is configured to receive notification information sent by a server; a determining unit 502, configured to determine whether to turn off the screen to display notification information based on historical usage data of the application by the user in response to determining that the application is currently in the screen-off state; a generating unit 503, configured to generate information to be displayed according to the notification information when the determining unit 502 determines that the screen is off to display the notification information; and the display unit 504 is used for displaying the information to be displayed by turning off the screen. .
In some embodiments, the specific processing of the receiving unit 501, the determining unit 502, the generating unit 503 and the displaying unit 504 of the off-screen display device 500 may refer to step 201, step 202, step 203 and step 204 in the corresponding embodiment of fig. 2.
In some optional implementations of this embodiment, the notification information includes application function information, and the application function information is used to indicate an application function for which the notification information is directed; and a determination unit 502 including: the acquisition subunit is used for acquiring the application function information included in the notification information; and the determining subunit is used for determining whether to turn off the screen to display the notification information according to the acquired application function information and the historical use data of the application function by the user.
In some optional implementations of this embodiment, the determining subunit is further configured to: inputting the current time and the obtained application function information into a prediction model trained in advance for the user, and generating the probability of using each function by the user at the current time, wherein the prediction model is used for representing the corresponding relation between the time, the application function information and the probability of using the application function indicated by the application function information by the user; in response to the generated probability being greater than a preset probability threshold, determining to turn off the display of the notification information.
In some optional implementations of this embodiment, the apparatus further includes a predictive model training unit, the predictive model training unit being configured to: recording information of an application function used by a user within a preset time period and the time for using the application function; and training an initial regression model by using a machine learning method and taking the recorded information of the application function and the time for using the application function as input so as to obtain a prediction model.
In some optional implementations of this embodiment, the notification information includes voice information; and a generating unit 503, further configured to: carrying out voice recognition on the voice information to generate text information; and determining the text information as the information to be displayed.
In some optional implementations of this embodiment, the notification information includes picture information; and a generating unit 503, further configured to: carrying out graying processing on the picture information to generate grayscale picture information; and determining the gray-scale map information as the information to be displayed.
In some optional implementations of the embodiment, the application for which the notification information is directed includes an instant messaging application, and the notification information includes type information indicating a type of the notification information; and a determining unit 502, further configured to: acquiring type information included in the notification information; and displaying the notification information in response to determining that the notification information is the first type information according to the type information, wherein an information receiver of the first type information only comprises a single account.
In some optional implementations of the embodiment, the application for which the notification information is directed includes an instant messaging application, and the notification information includes type information indicating a type of the notification information; and a determining unit 502, further configured to: acquiring type information included in the notification information; in response to the fact that the notification information is determined to be of the second type according to the type information, performing semantic analysis on the notification information to generate keywords of the notification information, wherein an information receiver of the second type information only comprises at least two accounts; and responding to the fact that the preset keyword set comprises keywords matched with the generated keywords, and displaying the notification information, wherein the keyword set is generated by performing semantic analysis on historical information sent by the user in the instant messaging application.
The device provided by the above embodiment of the present application receives the notification information sent by the server; in response to determining that the application is currently in the off-screen state, determining whether to off-screen display the notification information based on historical usage data of the application by the user; if yes, generating information to be displayed according to the notification information; and the screen is turned off to display the information to be displayed, so that a mechanism for performing screen-off display based on historical use data of the application is provided, and the screen-off display efficiency is improved.
Referring now to FIG. 6, shown is a block diagram of a computer system 600 suitable for use in implementing the electronic device of an embodiment of the present application. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
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 an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the method of the present application when executed by a Central Processing Unit (CPU) 601. It should be noted that the computer readable medium described herein can 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 the present application, 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 this application, however, a computer readable signal medium may include 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: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like 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 application. 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 application 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 a receiving unit, a determining unit, a generating unit, a unit, and a display unit. Here, the names of these units do not constitute a limitation to the unit itself in some cases, and for example, the receiving unit may also be described as "a unit that receives notification information transmitted by a server".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: receiving notification information sent by a server; in response to determining that the application is currently in the off-screen state, determining whether to off-screen display the notification information based on historical usage data of the application by the user; if yes, generating information to be displayed according to the notification information; and turning off the screen to display the information to be displayed.
The above description is only a preferred embodiment of the application 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 herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (14)

1. A method of extinguishing a screen display, the method comprising:
receiving notification information sent by a server, wherein an application targeted by the notification information comprises an instant messaging application, and the notification information comprises type information used for indicating the type of the notification information;
in response to determining that the application is currently in the screen-off state, determining whether to display the notification information in a screen-off state based on historical usage data of the application by the user;
if yes, generating information to be displayed according to the notification information;
turning off the screen to display the information to be displayed;
the notification information comprises voice information; and
the generating information to be displayed according to the notification information includes:
carrying out voice recognition on the voice information to generate text information;
determining the text information as information to be displayed;
the notification information comprises picture information; and
the generating information to be displayed according to the notification information includes:
carrying out graying processing on the picture information to generate grayscale picture information;
and determining the gray-scale image information as information to be displayed.
2. The method according to claim 1, wherein the notification information includes application function information indicating an application function for which the notification information is intended; and
the determining whether to turn off the screen to display the notification information based on the historical usage data of the application by the user comprises:
acquiring application function information included in the notification information;
and determining whether to turn off the screen to display the notification information according to the acquired application function information and the historical use data of the application function by the user.
3. The method of claim 2, wherein the determining whether to turn off the screen to display the notification information according to the obtained application function information and the historical usage data of the application function by the user comprises:
inputting the current time and the obtained application function information into a prediction model trained in advance for the user, and generating the probability that the user uses each function at the current time, wherein the prediction model is used for representing the corresponding relation between the time, the application function information and the probability that the user uses the application function indicated by the application function information;
in response to the generated probability being greater than a preset probability threshold, determining to turn off the screen to display the notification information.
4. The method of claim 3, wherein the predictive model is trained by:
recording information of an application function used by the user within a preset time period and the time for using the application function;
and training an initial regression model by using a machine learning method and taking the recorded information of the application function and the time for using the application function as input so as to obtain a prediction model.
5. The method of claim 1, wherein determining whether to turn off the screen to display the notification information based on historical usage data of the application by the user comprises:
acquiring type information included in the notification information;
and in response to determining that the notification information is the first type information according to the type information, displaying the notification information, wherein an information receiver of the first type information only comprises a single account.
6. The method of any of claims 1-5, wherein determining whether to turn off display of the notification information based on historical usage data of the application by the user comprises:
acquiring type information included in the notification information;
in response to determining that the notification information is of a second type according to the type information, performing semantic analysis on the notification information to generate a keyword of the notification information, wherein an information receiver of the second type information only comprises at least two accounts;
and responding to the fact that a preset keyword set comprises keywords matched with the generated keywords, and displaying the notification information, wherein the keyword set is generated by performing semantic analysis on historical information sent by the user in the instant messaging application.
7. An off-screen display device, the device comprising:
the receiving unit is used for receiving notification information sent by a server, wherein the application to which the notification information aims comprises an instant messaging application, and the notification information comprises type information used for indicating the type of the notification information;
the determining unit is used for responding to the determination that the application is in the screen-off state currently, and determining whether the application is in the screen-off state or not based on historical use data of the user for the application;
the generating unit is used for responding to the situation that the determining unit determines that the screen is turned off to display the notification information, and generating information to be displayed according to the notification information;
the display unit is used for displaying the information to be displayed by turning off the screen;
the notification information comprises voice information; and
the generating unit is further configured to:
carrying out voice recognition on the voice information to generate text information;
determining the text information as information to be displayed;
the notification information comprises picture information; and
the generating information to be displayed according to the notification information includes:
carrying out graying processing on the picture information to generate grayscale picture information;
and determining the gray-scale image information as information to be displayed.
8. The apparatus according to claim 7, wherein the notification information comprises application function information indicating an application function for which the notification information is intended; and
the determination unit includes:
an obtaining subunit, configured to obtain application function information included in the notification information;
and the determining subunit is used for determining whether to turn off the screen to display the notification information according to the acquired application function information and the historical use data of the application function by the user.
9. The apparatus of claim 8, wherein the determining subunit is further configured to:
inputting the current time and the obtained application function information into a prediction model trained in advance for the user, and generating the probability that the user uses each function at the current time, wherein the prediction model is used for representing the corresponding relation between the time, the application function information and the probability that the user uses the application function indicated by the application function information;
in response to the generated probability being greater than a preset probability threshold, determining to turn off the screen to display the notification information.
10. The apparatus of claim 9, further comprising a predictive model training unit to:
recording information of an application function used by the user within a preset time period and the time for using the application function;
and training an initial regression model by using a machine learning method and taking the recorded information of the application function and the time for using the application function as input so as to obtain a prediction model.
11. The apparatus of claim 7, wherein the determining unit is further configured to:
acquiring type information included in the notification information;
and in response to determining that the notification information is the first type information according to the type information, displaying the notification information, wherein an information receiver of the first type information only comprises a single account.
12. The apparatus according to any of claims 7-11, wherein the determining unit is further configured to:
acquiring type information included in the notification information;
in response to determining that the notification information is of a second type according to the type information, performing semantic analysis on the notification information to generate a keyword of the notification information, wherein an information receiver of the second type information only comprises at least two accounts;
and responding to the fact that a preset keyword set comprises keywords matched with the generated keywords, and displaying the notification information, wherein the keyword set is generated by performing semantic analysis on historical information sent by the user in the instant messaging application.
13. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method recited in any of claims 1-6.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN201711268776.1A 2017-12-05 2017-12-05 Screen-off display method and device Active CN107948437B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711268776.1A CN107948437B (en) 2017-12-05 2017-12-05 Screen-off display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711268776.1A CN107948437B (en) 2017-12-05 2017-12-05 Screen-off display method and device

Publications (2)

Publication Number Publication Date
CN107948437A CN107948437A (en) 2018-04-20
CN107948437B true CN107948437B (en) 2021-07-30

Family

ID=61944740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711268776.1A Active CN107948437B (en) 2017-12-05 2017-12-05 Screen-off display method and device

Country Status (1)

Country Link
CN (1) CN107948437B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235452B (en) 2018-04-28 2022-04-12 华为技术有限公司 Screen-off display method and electronic equipment
CN110928394A (en) * 2018-08-31 2020-03-27 Oppo广东移动通信有限公司 Screen display method and electronic equipment
CN109857236A (en) * 2018-12-14 2019-06-07 深圳壹账通智能科技有限公司 Screen locking information display method, device, electronic equipment and storage medium
CN113050783B (en) * 2019-12-26 2023-08-08 Oppo广东移动通信有限公司 Terminal control method and device, mobile terminal and storage medium
CN113238826B (en) * 2021-05-14 2023-06-30 深圳掌酷软件有限公司 Dynamic change system for AOD screen display

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010073352A (en) * 2000-01-14 2001-08-01 추후제출 A chatting service providing method in a computer network providing sub chatting frame for displaying contents of different chatting rooms
CN102945133B (en) * 2012-10-18 2016-05-04 天津三星通信技术研究有限公司 Screen regional display system and screen regional display methods
CN103701693A (en) * 2013-12-31 2014-04-02 广州华多网络科技有限公司 Message handling method and system in communication process
CN105095251B (en) * 2014-05-06 2019-12-20 中兴通讯股份有限公司 Terminal automatic display method and device based on user habits
CN104378504B (en) * 2014-11-07 2016-09-07 广东欧珀移动通信有限公司 A kind of method and device controlling mobile terminal breath light prompting message
CN105786469A (en) * 2014-12-24 2016-07-20 阿里巴巴集团控股有限公司 Notice message processing method and apparatus
CN104954558A (en) * 2015-05-20 2015-09-30 广东欧珀移动通信有限公司 Display method, display system and mobile terminal
CN105099870B (en) * 2015-05-28 2019-02-15 努比亚技术有限公司 A kind of information push method and device
CN105100444A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Information display method and device
CN105183865A (en) * 2015-09-15 2015-12-23 广东欧珀移动通信有限公司 Reminding method based on keywords and mobile terminal
CN105306743A (en) * 2015-09-30 2016-02-03 小米科技有限责任公司 Screen control method and device
CN105760043A (en) * 2016-01-29 2016-07-13 珠海市魅族科技有限公司 Notification processing method and device
CN106375565A (en) * 2016-08-31 2017-02-01 深圳鼎智通讯股份有限公司 Implementation method of breathing lamp in intelligent equipment application notification
CN106557292A (en) * 2016-11-11 2017-04-05 珠海市魅族科技有限公司 Method for information display and device
CN106534539A (en) * 2016-11-17 2017-03-22 珠海市魅族科技有限公司 Identifying code display method and device
CN106547675B (en) * 2016-11-25 2019-11-08 珠海市魅族科技有限公司 Put out screen display method and device
CN106598445A (en) * 2016-12-14 2017-04-26 北京小米移动软件有限公司 Method and device for outputting communication message

Also Published As

Publication number Publication date
CN107948437A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN107948437B (en) Screen-off display method and device
CN109460513B (en) Method and apparatus for generating click rate prediction model
US10853421B2 (en) Segmented sentence recognition method and device for human-machine intelligent question answer system
CN109976997B (en) Test method and device
US11758088B2 (en) Method and apparatus for aligning paragraph and video
CN109359194B (en) Method and apparatus for predicting information categories
CN110619078B (en) Method and device for pushing information
CN112650841A (en) Information processing method and device and electronic equipment
US20190147540A1 (en) Method and apparatus for outputting information
CN113741756A (en) Information processing method, device, terminal and storage medium
CN111273830A (en) Data display method and device, electronic equipment and computer readable medium
CN113488050B (en) Voice wakeup method and device, storage medium and electronic equipment
CN110881056A (en) Method and device for pushing information
CN114297380A (en) Data processing method, device, equipment and storage medium
CN111131354B (en) Method and apparatus for generating information
CN116501832A (en) Comment processing method and comment processing equipment
CN113360590A (en) Method and device for updating point of interest information, electronic equipment and storage medium
CN113391988A (en) Method and device for losing user retention, electronic equipment and storage medium
CN110990528A (en) Question answering method and device and electronic equipment
CN112084768A (en) Multi-round interaction method and device and storage medium
CN111767290B (en) Method and apparatus for updating user portraits
CN113806485B (en) Intention recognition method and device based on small sample cold start and readable medium
CN112784048B (en) Method, device and equipment for emotion analysis of user questions and storage medium
CN113010784B (en) Method, apparatus, electronic device and medium for generating prediction information
CN113177174B (en) Feature construction method, content display method and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant