Message pushing method, device and system
By extracting and calculating user preference values of message topics on the terminal side, and obtaining popularity values in collaboration with the server, and reordering PUSH messages, the problem of message coverage in the prior art is solved, improving user experience and protecting privacy.
Patent Information
- Application Number
- CN202310566009.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-18
- Publication Date
- 2024-11-22
AI Technical Summary
In the prior art, PUSH messages are displayed in chronological order, resulting in the old messages that are interested in by the user being overwritten by new uninterested messages, reducing the user experience, and unable to effectively protect user privacy.
The message topic is extracted on the terminal side, calculate the user preference value, and cooperate with the server to obtain the message topic popularity value, reorder the messages to display the messages that the user is interested in, and at the same time, calculate the message topic user preference value on the terminal side, protecting user privacy.
Improves the user experience, enables users to quickly find messages of interest, and improves user understanding by displaying reasons for reordering, protecting user privacy.
Smart Images

Figure CN119011525A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of terminal technology, and in particular to a message push method, device and system. Background Art
[0002] In terminal devices such as smartphones, PUSH message (push message) notifications achieve a certain degree of balance between notifications and do not disturb, compared to reminders such as vibration and ringtones. PUSH message notifications can help users better obtain various information such as SMS notifications, bank bills, software updates, news information, etc.
[0003] PUSH messages are generally presented on smartphones and other terminal devices in the form of banner notifications, lock screen notifications, notification bars, etc. They are messages that users passively receive and are generally displayed in chronological order. If users always see messages they are not interested in when checking PUSH messages, it will cause user disgust and reduce the user experience. Summary of the invention
[0004] The embodiments of the present application provide a message push method, device, and system, which can realize the PUSH message topic extraction capability on the terminal side, calculate the message topic user preference value of the PUSH message, and obtain the message topic heat value of the PUSH message from the server in a collaborative manner between the terminal and the server, and then calculate the final reordering value of the PUSH message, and reorder and display the PUSH message according to the reordering value. The message push method provided by the embodiments of the present application can solve the defect in the prior art that PUSH messages are displayed in chronological order, so that the old PUSH information that the user is more concerned about is covered by the new but uninteresting PUSH information; at the same time, the message topic user preference value is calculated on the terminal side, and the data is not uploaded to the server, thereby protecting the user's privacy. In addition, you can also choose to display the reordering value of the PUSH message to the user, intuitively explain the reason for the reordering of the PUSH message, and enhance the user's perceived experience.
[0005] In a first aspect, an embodiment of the present application provides a message push method, which is applied to a terminal, comprising: the terminal obtains multiple messages; the terminal inputs the multiple messages into a topic extraction model to obtain message topics of the multiple messages, wherein the message topics are used to abstractly describe the main content and category of the messages; the terminal inputs the message topics of the multiple messages into a pre-built message topic user preference model to obtain the message topic user preference values of the multiple messages, wherein the message topic user preference values are used to characterize the user's preference degree for the message topics of the multiple messages; in response to a first operation of a user viewing the multiple messages, the terminal sends a first request to a server, wherein the first request is used to request to obtain message topic heat values of the multiple messages in the terminal; the terminal receives first information sent by the server, wherein the first information includes the message topic heat values of the multiple messages in the terminal in the first request; the terminal calculates and obtains reordering values of the multiple messages according to the message topic user preference values of the multiple messages and the message topic heat values of the multiple messages; the terminal reorders the multiple messages according to the reordering values of the multiple messages and displays the multiple messages in the reordered order on a display interface.
[0006] The embodiment of the present application is different from the prior art in which the acquired multiple messages are displayed in chronological order. Instead, the terminal extracts the message topics of the acquired multiple messages, calculates the message topic user preference values of the multiple messages, and obtains the message topic heat values of the multiple messages from the server in a collaborative manner between the terminal and the server. Then, the reordering values of the multiple messages are calculated according to the message topic user preference values of the multiple messages and the message topic heat values of the multiple messages, and the multiple messages are reordered and displayed according to the reordering values. This makes it easier for users to view messages that they are interested in, thereby improving the user experience.
[0007] In a possible implementation manner of the first aspect, before the terminal obtains the multiple messages, it also includes: the terminal receiving a topic set and the topic extraction model sent by the server, wherein the topic set is a closed set of the message topics.
[0008] That is, the topic extraction model can be sent from the server side to the terminal. It should be understood that the training of the topic extraction model may require higher computing power, which cannot be met by the terminal side. Therefore, the topic extraction model can be trained on the server side and then sent to the terminal side.
[0009] In a possible implementation of the first aspect, after the terminal inputs the multiple messages into a topic extraction model to obtain the message topics of the multiple messages, it also includes: the terminal receives a second operation of the user to open the setting of the message topic order, and displays a message topic order setting interface on the display interface of the terminal; the terminal responds to a third operation of the user to sort the message topics in the topic set on the message topic order setting interface, and stores and displays the sorting results of the message topics in the topic set on the display interface.
[0010] That is to say, the embodiments of the present application can allow users to freely set the order of message topics according to their personalized preferences, and put the preferred message topics in front.
[0011] In a possible implementation of the first aspect, the terminal inputs the message topics of the multiple messages into a pre-built message topic user preference model, and before obtaining the message topic user preference values of the multiple messages, it also includes: the terminal enables the message topic user preference model in response to a fourth operation of the user enabling the message topic user preference model.
[0012] That is, the message topic user preference model can be enabled after the user chooses to turn it on.
[0013] In a possible implementation of the first aspect, the pre-constructed message topic user preference model includes being obtained in the following manner: obtaining at least one of the number of times the user views the message topic, the length of time the user views the message topic, and the number of times the message topic appears within a certain time period as a feature of the message topic; based on the features of the message topic, calculating weight parameters between the features to construct the message topic user preference model.
[0014] In a possible implementation of the first aspect, the terminal calculates the reordering values of the multiple messages based on the message topic user preference values of the multiple messages and the message topic heat values of the multiple messages, including: the terminal multiplies the message topic user preference values of the multiple messages by a preset message topic user preference weight, and multiplies the message topic heat values of the multiple messages by a preset message topic heat value weight, to obtain the reordering values of the multiple messages.
[0015] In other words, the re-ranking values of multiple messages take into account both the user's preference for message topics and the popularity of message topics, and the results are reliable and stable.
[0016] In a possible implementation of the first aspect, the terminal reorders the multiple messages according to the reorder values of the multiple messages and displays the multiple messages in the reordered order on the display interface, including: the terminal arranges the messages with high reorder values among the multiple messages at the upper end of the display interface for display, and arranges the messages with low reorder values among the multiple messages at the lower end of the display interface for display.
[0017] In a possible implementation of the first aspect, while the terminal reorders the multiple messages according to the reorder values of the multiple messages and displays the multiple messages in the reordered order on the display interface, it also includes: the terminal displays the reorder values of the multiple messages on the display interface.
[0018] That is, the terminal may display the reordering values of multiple messages on the display interface so as to provide the user with an intuitive reordering explanation.
[0019] In a possible implementation of the first aspect, after the terminal reorders the multiple messages according to the reordering values of the multiple messages and displays the multiple messages in the reordered order on the display interface, it also includes: the terminal responds to a fifth operation of the user selecting a first message among the multiple messages, displaying the reordering reason of the first message on the display interface, wherein the reordering reason of the first message includes the message subject of the first message, the message subject user preference value of the first message, the message subject heat value of the first message and the reordering value of the first message.
[0020] That is, when the user selects the first message among multiple messages, the reason for reordering the first message can be displayed in more detail.
[0021] In the second aspect, an embodiment of the present application provides a message push method, which is applied to a server, including: the server calculates the message topic heat value in a topic set according to a pre-built topic heat model, wherein the topic set is a closed set of message topics, and the message topics are used to abstractly describe the main content and category of the message, and the topic heat model updates the message topic heat value in the topic set based on real-time hot content on the network; the server receives a first request from a terminal, and the first request is used to request to obtain the message topic heat values of multiple messages in the terminal, and the message topics of the multiple messages are included in the topic set; the server queries and obtains the message topic heat values of the multiple messages in the terminal in the first request from the message topic heat values of the topic set; the server sends first information to the terminal, and the first information includes the message topic heat values of the multiple messages in the terminal in the first request.
[0022] That is, the server may respond to the request of the terminal and send the message topic heat values of the multiple messages requested by the terminal.
[0023] In a possible implementation of the second aspect, the server calculates the topic heat value of the message in the topic set according to a pre-built topic heat model, including: the server calculates and updates the topic heat value of the message in the topic set according to the pre-built topic heat model at a certain time interval.
[0024] That is to say, the message topic popularity value in the topic set can be updated and changed over time.
[0025] In a possible implementation of the second aspect, before the server receives the first request from the terminal, it also includes: the server obtains the topic set; the server trains a topic extraction model based on the topic set; and the server sends the topic set and the topic extraction model to the terminal.
[0026] In other words, the topic extraction model can be trained on the server side and sent to the terminal after training.
[0027] In a possible implementation of the second aspect, the server trains a topic extraction model based on the topic set, including: the server uses the title and summary of at least one message received in a first time period as features, and uses the message topic in the topic set to which the at least one message belongs as a label to train the topic extraction model.
[0028] In a possible implementation of the second aspect, the server sends the topic set and the topic extraction model to the terminal, including: the server periodically updates the topic set and the topic extraction model, and periodically sends the updated topic set and the topic extraction model to the terminal.
[0029] In the third aspect, an embodiment of the present application provides a terminal device, comprising: a memory for storing instructions executed by one or more processors of the terminal; a transceiver for receiving or sending radio signals; and a processor, which, when the processor executes the instructions in the memory, enables the terminal to execute the message push method described in any one of claims 1 to 9.
[0030] In a fourth aspect, an embodiment of the present application provides a server, comprising: a memory for storing instructions executed by one or more processors of the server; a transceiver for receiving or sending radio signals; and a processor, which, when the processor executes the instructions in the memory, enables the server to execute the message push method described in any one of claims 10 to 14.
[0031] In the fifth aspect, an embodiment of the present application provides a message push system, which includes the terminal and the server, the terminal is used to execute the message push method as described in any one of claims 1 to 9, and the server is used to execute the message push method as described in any one of claims 10 to 14.
[0032] In a sixth aspect, an embodiment of the present application provides a chip, which includes a processing circuit and a storage medium, wherein the storage medium stores computer program code; when the computer program code is executed by the processing circuit, the message push method as described in any one of claims 1 to 14 is implemented.
[0033] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which is used to store a computer program. When the computer program is run on a computer, the computer executes the message push method as described in any one of claims 1 to 14. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1(a) to Figure 1(b) A schematic diagram of a scenario in which a smart phone displays a PUSH message according to an embodiment of the present application;
[0035] Figure 2 A schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present application;
[0036] Figure 3 A schematic diagram of the hardware structure of a server provided in an embodiment of the present application;
[0037] Figure 4 A software structure block diagram of a terminal device provided in an embodiment of the present application;
[0038] Figure 5 A schematic diagram of the logical structure of each device in a message push method provided in an embodiment of the present application;
[0039] Figure 6 A schematic diagram of a scenario in which a terminal device displays a message according to an embodiment of the present application;
[0040] Figure 7(a) to Figure 7(b) A schematic diagram of a scenario in which a group of terminal devices provided in an embodiment of the present application display messages in response to a user selecting a message;
[0041] Figure 8 Flow chart 1 of a message push method provided for an application embodiment;
[0042] Fig. 9 A message push method process provided for application embodiment Figure 2;
[0043] Fig.10 A schematic diagram of a user preference model for opening a message topic provided in an embodiment of the application;
[0044] Figure 11(a) to Figure 11(b) A schematic diagram of a scenario for setting the order of message topics provided for an embodiment of the application;
[0045] Fig.12 A structural block diagram of an electronic device provided in an embodiment of the present application;
[0046] Fig.13 A schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0048] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.
[0049] The present application embodiment provides a message push method, which is applicable to a variety of terminal devices with display screens. Figure 1(a) to Figure 1(b) A schematic diagram of a scenario in which a smart phone displays a received PUSH message is shown.
[0050] As shown in FIG1(a), on the default display interface of the mobile phone, after the user performs a pull-down operation on the blank area at the top of the smart phone 110, the display screen of the smart phone 110 changes to display multiple PUSH messages as shown in FIG1(b). The multiple PUSH messages are generally arranged in chronological order. As shown in FIG1(b), the earliest pushed message 117 was delivered at 8:15 am and arranged at the bottom of the smart phone 110; and the latest pushed message 111 was delivered at 12:23 pm and arranged at the top of the smart phone 110. The above PUSH message display method is too rigid, and the messages that the user is interested in are not arranged at the top of the smart phone 110 so that the user can quickly notice them (people's reading habits are generally from top to bottom and from left to right). Furthermore, if there are too many PUSH messages, the PUSH messages that are delivered too early are of interest to the user, but because they are arranged at the bottom and exceed the display range of the screen, the user needs to slide the display page to find them, which greatly reduces the user's perceived experience.
[0051] In the embodiments of the present application, the terminal device may include but is not limited to a smart phone, a laptop computer, a netbook, a tablet computer, a smart watch, a smart bracelet, a PDA, a personal computer (PC), a personal digital assistant (PDA), a portable multimedia player (PMP), (augmented reality, AR) / virtual reality (VR) device, etc. Alternatively, the terminal device may also be an electronic device of other types or structures, which is not limited in the present application.
[0052] Please refer to Figure 2 , Figure 2 Taking a smart phone as an example, a hardware structure diagram of a terminal device provided by an embodiment of the present application is shown. Figure 2 As shown, the terminal device may include a processor 210, a memory (including an external memory interface 220 and an internal memory 221), a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc.
[0053] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0054] The processor 210 may include one or more processing units. For example, the processor 210 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a flight controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Among them, different processing units may be independent devices or integrated into one or more processors. The terminal device may extract the message subject of the PUSH message, calculate the message subject user preference value of the PUSH message, and calculate the reordering value of the PUSH message through the processor 210.
[0055] In some embodiments, the processor 210 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0056] The charging management module 240 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 may receive charging input from a wired charger through the USB interface 230. In some wireless charging embodiments, the charging management module 240 may receive wireless charging input through a wireless charging coil of a terminal device. While the charging management module 240 is charging the battery 242, it may also power the terminal device through the power management module 241.
[0057] The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the display screen 294, the camera component 293, and the wireless communication module 260. The power management module 241 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 241 can also be set in the processor 210. In other embodiments, the power management module 241 and the charging management module 240 can also be set in the same device.
[0058] The wireless communication function of the terminal device can be realized through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor and baseband processor.
[0059] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the terminal device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0060] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to terminal devices. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the same device as at least some of the modules of the processor 210.
[0061] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 270A, a receiver 270B, etc.), or displays an image or video through a display screen 294. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 210 and be set in the same device as the mobile communication module 250 or other functional modules.
[0062] The wireless communication module 260 can provide wireless communication solutions including wireless local area networks (WLAN) (such as WiFi networks), Bluetooth BT, global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to terminal devices. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 210. The wireless communication module 260 can also receive the signal to be sent from the processor 210, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0063] In some embodiments, the antenna 1 of the terminal device is coupled to the mobile communication module 250, and the antenna 2 is coupled to the wireless communication module 260, so that the terminal device can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS) and / or satellite based augmentation system (SBAS). The terminal device can establish a communication connection with other devices through the mobile communication module 250, and transmit data with other devices through the established communication connection. For example, a request for obtaining message topic heat values of multiple PUSH messages is sent to the server through the established communication connection, or information about message topic heat values of multiple PUSH messages returned by the server is received.
[0064] The camera 293 is used to shoot pictures. The camera can be a wide-angle camera, a main camera, a macro camera, a telephoto camera, a time of flight (TOF) camera, etc. The embodiment of the present application does not limit the form and number of the camera.
[0065] The terminal device implements the display function through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or change display information. In an embodiment of the present application, the GPU can be used to convert and drive the display information required by the computer system, and provide a row scan signal to the display to control the correct display of the display.
[0066] The display screen 294 is used to display PUSH messages, images, videos, etc. The display screen 294 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light emitting diode (QLED), etc. In some embodiments, the terminal device may include 1 or N display screens 294, where N is a positive integer greater than 1.
[0067] The terminal device can realize the shooting function through ISP, camera component 293, video codec, GPU, display screen 294 and application processor.
[0068] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
[0069] The internal memory 221 can be used to store computer executable program codes, which include instructions. The internal memory 221 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the terminal device (such as audio data, a phone book, etc.), etc. In addition, the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 210 executes various functional applications and data processing of the terminal device by running instructions stored in the internal memory 221 and / or instructions stored in a memory provided in the processor.
[0070] The terminal device can realize audio functions through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C and the application processor, such as music playing, recording, etc. For the specific working principles and functions of the audio module 270, the speaker 270A, the receiver 270B and the microphone 270C, reference can be made to the introduction in the conventional technology.
[0071] The sensor module 280 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
[0072] The key 290 includes a power key, a volume key, etc. The key 290 may be a mechanical key or a touch key. The terminal device may receive key input and generate key signal input related to user settings and function control of the terminal device.
[0073] Motor 291 can generate vibration prompts. Motor 291 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 294, motor 291 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0074] Indicator 292 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0075] The SIM card interface 295 is used to connect a SIM card. The SIM card can be connected to and separated from the terminal device by inserting it into the SIM card interface 295 or pulling it out from the SIM card interface 295. The terminal device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 295 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 295 can also be compatible with different types of SIM cards. The SIM card interface 295 can also be compatible with external memory cards. The terminal device interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the terminal device uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the terminal device and cannot be separated from the terminal device.
[0076] It should be noted that Figure 2 The hardware modules included in the terminal device are only described for example, and do not limit the specific structure of the terminal device. For example, the terminal device may also include other functional modules.
[0077] As an example, Figure 3 FIG. 1 shows a schematic diagram of the hardware structure of a server. Figure 3 As shown, the server may include: a processor 310, a memory 320, a power management module 330, an audio module 360, a speaker 360A, a microphone 360B, a speaker interface 360C, a display screen 380, a mouse 391, an indicator 392 and a keyboard 393, etc.
[0078] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the server. In other embodiments, the server may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0079] The processor 310 may include one or more processing units, for example, the processor 310 may include an application processor AP, a modem processor, a graphics processor GPU, an ISP, a controller, a memory, a video codec, a DSP, a baseband processor, and / or an NPU, etc. Among them, different processing units may be independent devices or integrated into one or more processors. The server may obtain the topic set of the PUSH message, train the topic extraction model, send the topic set and the topic extraction model to the terminal, calculate the message topic heat value of the PUSH message and send it to the terminal, etc. through the processor 310.
[0080] The controller can be the nerve center and command center of the server. The controller can complete the fetching of instructions according to the instructions, generate operation control signals, and then execute the control of the instructions.
[0081] A memory may also be provided in the processor 310 for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory may store instructions or data that the processor 310 has just used or circulated. If the processor 310 needs to use the instruction or data again, it may be directly called from the memory. Repeated access is avoided, and the waiting time of the processor 310 is reduced, thereby improving the efficiency of the system. In some embodiments, the processor 310 may include one or more interfaces. The interface may include an integrated circuit I2C interface, an integrated circuit built-in audio I2S interface, a PCM interface, a UART interface, a MIPI, a GPIO interface, and / or a USB interface, etc.
[0082] It is understandable that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation on the server. In other embodiments, the server may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0083] The memory 320 may be used to store computer executable program codes, which include instructions. The processor 310 executes various functional applications and data processing of the server by running the instructions stored in the memory 320. For example, in an embodiment of the present application, the processor 310 may execute the instructions stored in the memory 320, and the memory 320 may include a program storage area and a data storage area.
[0084] The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the server, etc. In addition, the memory 320 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0085] The power management module 330 is used to connect to a power source, receive input of a power source, and supply power to the processor 310 , the memory 320 , the display screen 380 , etc. In some embodiments, the power management module 330 may also be disposed in the processor 310 .
[0086] The server can implement audio functions such as music playing and recording through the audio module 360, the speaker 360A, the microphone 360B, the speaker interface 360C, and the application processor.
[0087] Sensor module 370 and Figure 2 Like the sensor module 280, it can include various types of sensors to receive external input.
[0088] The server implements the display function through a GPU, a display screen 380, and an application processor. The GPU is a microprocessor for image processing, which is connected to the display screen 380 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 310 may include one or more GPUs, which execute program instructions to generate or change display information. The display screen 380 is used to display images, videos, etc. The display screen 380 includes a display panel. In an embodiment of the present application, the GPU can be used to convert and drive the display information required by the server system, and provide a row scanning signal to the display to control the correct display of the display.
[0089] The indicator 392 may be an indicator light, which may be used to indicate that the server is in a powered-on state or a powered-off state, etc. For example, if the indicator light is off, it may indicate that the server is in a powered-off state; if the indicator light is on, it may indicate that the server is in a powered-on state.
[0090] It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the server. Figure 3 More or fewer components may be shown, two or more components may be combined, or there may be a different configuration of components. Figure 3 The various components shown in the drawings may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing or application specific integrated circuits.
[0091] The following introduces the software system architecture of the terminal device. Exemplarily, the software system of the terminal device provided in the embodiment of the present application can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. For example, the software system can include but is not limited to (Symbian), (Android), (iOS), (Blackberry), Hongmeng (Harmony) and other operating systems, this application is not limited.
[0092] Please refer to Figure 4 , Figure 4Taking the layered architecture of Harmony operating system as an example, the software structure diagram of the terminal device when PUSH message is pushed in the embodiment of this application is specifically introduced. The layered architecture can divide the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. Figure 4 As shown, the software structure of the terminal device can be divided into four layers from bottom to top: kernel layer, system basic capability layer, application framework layer (referred to as framework layer) and application layer (referred to as application layer).
[0093] The Harmony system adopts a multi-kernel design, which can optionally include the Linux kernel, the Harmony microkernel, and LiteOS. Through this design, devices with different device capabilities can choose the appropriate system kernel. The kernel layer also includes the Kernal Abstract Layer, which provides basic kernel capabilities for other Harmony layers, such as process management, thread management, memory management, file system management, network management, and peripheral management.
[0094] The system basic service layer is the core capability set of the Harmony system, which supports the Harmony system to provide services to application services through the framework layer in the scenario of multi-device deployment. This layer optionally includes the system basic capability subsystem set, the basic software service subsystem set, the Hongmeng driver framework (HDF) and the hardware abstraction adaptation layer (HAL), the hardware service subsystem set, the proprietary hardware service subsystem and the enhanced software service subsystem set.
[0095] System basic capability subsystem set: provides basic capabilities for the operation, scheduling, migration and other operations of distributed applications on multiple devices in the Harmony system, and consists of distributed soft bus, distributed data management and file management, distributed task scheduling, Ark runtime, distributed security and privacy protection, etc. Among them, the Ark runtime provides C / C++ / JavaScript multi-language runtime and basic system class libraries, and also provides runtime for Java programs statically compiled using the Ark compiler (i.e., the part developed in Java language in the application or framework layer).
[0096] The basic software service subsystem set provides public and general software services for the Harmony system, and is composed of software services such as MSDP&DV (Multimodal Sensor Data Platform&Dvice Virtualization), graphics and images, distributed media, multi-mode input, and message notification. The message notification software service is mainly used to process notifications of various messages. For example, in an embodiment of the present application, a PUSH message can be received by the message notification software service of the terminal device to the terminal device, and then when the user pulls down the PUSH message notification bar on the terminal device, the PUSH message is displayed to the user.
[0097] The Hongmeng Driver Framework (HDF) and Hardware Abstraction Adaptation Layer (HAL) are the basis for the openness of the Harmony system hardware ecosystem. They provide hardware capability abstraction to the hardware upward and provide a development framework and operating environment for various peripheral drivers downward.
[0098] The hardware service subsystem set provides common and adaptive hardware services for the Harmony system, and is composed of hardware service subsystems such as pan-sensor, location, power, USB, and biometrics.
[0099] The proprietary hardware service subsystem provides the Harmony system with differentiated hardware services for different devices, and may optionally include subsystems such as tablet proprietary hardware services, car proprietary hardware services, wearable proprietary hardware services, and IoT proprietary hardware services.
[0100] The enhanced software service subsystem set provides the Harmony system with differentiated capability-enhanced software services for different devices. It consists of subsystems such as car business software, tablet business software services, smart screen business software services, and IoT business software services.
[0101] It should be noted that Figure 4 Taking the Harmony system with a layered architecture as an example, a software structure diagram of a terminal device or server when pushing a message is introduced. This application does not limit the specific architecture of the software system of the terminal device. For the specific introduction of software systems with other architectures, reference can be made to conventional technologies.
[0102] Next, the logical structure of the terminal device in the message push method of this application is introduced. Figure 5 , Figure 5 It is a schematic diagram of the logical structure of each device in a message push method provided in an embodiment of the present application.
[0103] The server 510 includes a topic set module 511 , a topic extraction module 512 and a topic popularity module 513 .
[0104] The subject set module 511 is used to obtain the subject set of the PUSH message. The subject set is a closed set of message subjects. The message subject is used to abstractly describe the main content and category of the message. Exemplarily, the message subject can be a subject of various categories, such as the subjects of category A to category G information in Figure 1(b), or more specifically, the subjects of various categories such as weather, transportation, and travel, and the subject set is a collection covering all the above message subjects. After the subject set module 511 is constructed on the server side, it is sent to the terminal device.
[0105] The topic extraction module 512 includes a topic extraction model for extracting the message topic of the PUSH message. After the topic extraction module 512 is constructed on the server side, it is sent to the terminal device 520 for deployment. For example, the PUSH message "Introduction to the content of category D information" received by the smartphone at 9:15 am as shown in 114 in FIG. 1 can be extracted as "D" by the topic extraction module 522 on the terminal device 520.
[0106] The topic heat module 513 includes a topic heat model, which is used to calculate the heat value of each message topic in the topic set. The topic heat model can update the heat value of the message topic in the topic set based on the real-time hot content on the network. Optionally, the topic heat module 513 can use artificial intelligence (AI) technology to update the heat value of the message topic.
[0107] The terminal device 520 includes a topic set module 521 , a topic extraction module 522 , a message topic user preference module 523 and a reordering module 524 .
[0108] Among them, the theme set module 521 and the theme extraction module 522 can be sent by the server 510.
[0109] The message subject user preference module 523 includes a message subject user preference model, which is used to calculate the user's preference for the message subject of the PUSH message. The calculation result is a user preference value, which is used to reflect the user's preference degree for the PUSH message.
[0110] The reordering module 524 is used to calculate the reordering value of the PUSH message according to the message subject user preference value and the message subject heat value of the PUSH message. The reordering value is used to reorder the PUSH message so as to better display it to the user.
[0111] In the existing PUSH message push technology, PUSH messages are sent to the user's terminal device one by one in chronological order, such as on a smartphone. More and more PUSH messages will occupy the user's notification bar, causing the premature PUSH messages that the user is more concerned about to be constantly moved down. When it exceeds the display range of the smartphone display, the user needs to pull down the notification bar and slide continuously to find the location if he wants to find the PUSH message he is interested in. In other words, the PUSH message that the user is interested in may be folded by the new PUSH message that he is not interested in. For example, the user is only interested in the PUSH message with the message subject F, and the user's smartphone first receives a PUSH message with "F-type information title", and after a while, it receives 5 other PUSH messages that are not related to the message subject F, which will squeeze the "F-type information title" PUSH message to the bottom. When it exceeds the display range of the display, it is equivalent to being folded, and it is necessary to pull down the notification bar and slide continuously to find the location. In addition, the PUSH messages received on the end device cannot perceive the latest popularity when opened at different time points. For example, when a PUSH message with "F-type information title" is received before the message subject F becomes a hot topic, the popularity of the PUSH message is not high; 5 other PUSH messages are received in the following period of time. At this time, after a period of fermentation, the message subject F has become a hot topic on the entire network. The PUSH messages related to the message subject F should be ranked higher, but the end device cannot perceive it and still arranges the PUSH message with "F-type information title" at the bottom.
[0112] To solve the above problems, the embodiment of the present application provides a message push method, which provides the ability to reorder PUSH messages based on the message subject of the PUSH messages through end-cloud collaboration, so that users can quickly and easily find the PUSH messages they are interested in, while protecting the privacy of users. In addition, the method can also display the reason for the reordering, achieving explainability, so that users can understand why the reordering is performed.
[0113] In the message push method provided by the embodiment of the present application, a terminal device receives multiple PUSH messages, and the terminal device inputs a topic extraction model for the received multiple PUSH messages to obtain the message topics of the multiple PUSH messages. Then the terminal inputs the message topics of the multiple PUSH messages into a pre-built message topic user preference model to obtain the message topic user preference values of the multiple PUSH messages. In response to the user's operation of viewing multiple PUSH messages, the terminal device sends a request to the server to obtain the message topic heat values of the multiple PUSH messages, and the server returns the message topic heat values of the PUSH messages calculated according to the pre-built topic heat model to the terminal device. The terminal device calculates and obtains the reordering values of the multiple PUSH messages according to the message topic user preference values of the multiple PUSH messages and the message topic heat values of the multiple PUSH messages. Finally, the terminal device reorders the multiple PUSH messages according to the reordering values of the multiple PUSH messages and displays them on the display interface. In addition, the reordering values of multiple PUSH messages can also be displayed.
[0114] Please refer to Figure 6 The schematic diagram of the scenario in which a smartphone displays a PUSH message after the message push method provided by the embodiment of the present application is shown. Assuming that the user's message topic user preference ranking is "D", "F", "G", "A", "B", "C", and "E" in order, after combining the message topic heat value, the reordering value of each PUSH message is calculated. A possible PUSH message reordering result is as follows: Figure 6 117. The message subject of PUSH message 114 is "D". Although it was pushed to smartphone 110 at 9:15 a.m., its reorder value is 0.93, which is the highest value among all PUSH messages. Therefore, it is arranged at the top of the display screen. The message subject of PUSH message 113 is "E". Although it was pushed to smartphone 110 at 8:56 a.m., its reorder value is 0.62, which is the lowest value among all PUSH messages. Therefore, it is arranged to be displayed first from the bottom to the top of the display screen.
[0115] It should be noted that, optionally, in order to provide a more intuitive explanation to the user, the reordering value of each PUSH message may be displayed in a blank position in the message body of each PSUH message, such as Figure 6 The upper right corner of the PUSH message 114 shows its reordering value of 0.93.
[0116] Refer to Figure 1 to Figure 6The message subject of PUSH message 111 originally at the top of the display screen in FIG. 1 is "A". Although it was pushed to smartphone 110 at 12:23 p.m., its reordering value is 0.76, ranking fourth, so it is ranked fourth from top to bottom. The message subject of PUSH message 117 originally at the bottom of the display screen in FIG. 1 is "G". Although it was pushed to smartphone 110 as early as 8:15 a.m., its reordering value is 0.85, ranking third, so it is ranked third from top to bottom. The changes in the display positions of other PUSH messages are not described one by one.
[0117] It should be noted that Figure 6 What is shown is only one possible result of sorting from high to low according to the re-ordering value after the smartphone 110 calculates the re-ordering value of the PUSH message according to the message subject user preference value and the message subject heat value of the PUSH message. The message subject user preference value may change with the change of user preference, and the message subject heat value may also change in real time with the real-time hot content on the network. Therefore, the re-ordering value of the PUSH message calculated by the smartphone 110 may be different at different times, that is, the re-ordering results of each PUSH message may be different when the user pulls down the notification bar to view the PUSH message at different times.
[0118] In a possible implementation, the user may directly set a user preference value for a message topic or a ranking of message topics, and actively select PUSH messages of interest to be displayed at the top of a display screen.
[0119] Figure 6 The figure shows the result of the PUSH message displayed by the smartphone 110 after the message subject user preference model is enabled by default. In another possible implementation, the smartphone 110 may also provide a selection interface for the user to select whether to enable the message subject user preference model. When the user selects to enable it, the user preference value of the message subject is calculated. This application does not limit this.
[0120] When a user selects a PUSH message, the PUSH message and, optionally, the reason for reordering the PUSH message can also be displayed. Figure 7(a) to Figure 7(b) A schematic diagram of a scenario in which a smartphone displays a PUSH message in response to a user selecting a PUSH message. As shown in FIG7(a), Figure 6On the display interface of multiple PUSH messages shown, the user clicks on PUSH message 114 to expand the details page of PUSH message 114 for viewing. In response to the user clicking on PUSH message 114 to expand the details page, the interface of smart phone 110 changes as shown in FIG7(b). After the title and main content of PUSH message 114 are normally displayed, the reason for the reordering of the PUSH message is displayed below the main content of PUSH message 114. The reordering reason details that the message subject of PUSH message 114 is "D", the user preference value p of the message subject "D" is 0.91, the heat value r of the message subject "D" is 0.95, and the reordering value c of the message subject "D" is 0.93. The calculation process of the reordering value of message 114 is also explained: the reordering value c is equal to the weight w1 multiplied by the user preference value p plus the weight w2 multiplied by the heat value r. Among them, the weight w1 and the weight w2 are both equal to 0.5.
[0121] It should be understood that Figure 7(a) only shows that the user clicks on the PUSH message 114 to expand the specific content of the PUSH message 114 for viewing. The user can also expand the specific content of the PUSH message 114 for viewing by sliding, double-clicking or other methods. The embodiment of the present application is not limited to this.
[0122] It should be noted that Figure 7(b) shows the reason for reordering displayed below the main content of the PUSH message 114. The reason for reordering can also be displayed in different positions such as the middle part of the main content, before the main content, after the title, and before the title. The embodiment of the present application does not limit this.
[0123] It should be understood that the main content of the PUSH message 114 shown in FIG. 7( b) is relatively short and can be fully displayed in the current display interface of the smart phone 110. If the main content of the PUSH message 114 is relatively long and exceeds the current display interface, the user needs to slide the display interface to view the complete main content. If the reordering reason is still listed below the main content, the user needs to slide the display interface to view the reordering reason.
[0124] In one possible implementation, the weight w1 of the user preference value p and the weight w2 of the heat value r can be any number between 0 and 1, or any non-negative real number, and does not have to be the value shown in Figure 7(b). This embodiment of the application does not limit this.
[0125] In another possible implementation, the weight w1 of the user preference value p and the weight w2 of the popularity value r may be set directly by the user, so that the user can make a trade-off between the preference for the message topic and the popularity of the message topic.
[0126] See the flowchart of the message push method provided in the following embodiments of the present application. Figure 8 The method includes S801-S810:
[0127] S801. The terminal device obtains multiple messages.
[0128] Among them, the multiple messages can be push messages of various APPs installed on the terminal device, and can include news, reminder notifications, software updates, etc., which are not limited in this embodiment of the present application.
[0129] It should be understood that a message may be composed of one or more combinations of elements such as a title, summary, text content, pictures, videos, etc., and this embodiment of the present application does not limit this.
[0130] S802. The terminal device inputs multiple messages into a topic extraction model to obtain message topics of the multiple messages.
[0131] Among them, the topic extraction model is used to extract the message topic based on the title and summary of the message, and the message topic is used to abstractly describe the main content and category of the message.
[0132] Exemplarily, the message subject may be an abstract description of various fields such as "weather", "traffic", "travel", etc., which is not limited in the embodiments of the present application.
[0133] Optionally, before executing step S802, the terminal device and the server may also execute the following steps: Fig. 9 Steps 901 to 904 are shown to send the topic extraction model and the topic set to the terminal device:
[0134] S901. The server obtains a topic set.
[0135] The topic set is a closed set of message topics. Exemplarily, the topic set can be constructed by a message topic system constructed by professional technicians or operators in the field of message push.
[0136] S902: The server trains a topic extraction model according to the topic set.
[0137] In one possible implementation, the server uses the titles and summaries of N messages received in the most recent time period T as features, and uses the message topics in the topic set to which the N messages belong as labels to train a topic extraction model.
[0138] It should be understood that the title and summary of the message include the main content of the message, so the title and summary of the message are used as features. Optionally, one or more combinations of elements such as the title, summary, text content, pictures, and videos of the message can also be used as features, and the embodiments of the present application are not limited to this.
[0139] In one possible implementation, the topic extraction model can be implemented using AI technology in the field of natural language processing and computer vision, and can be a machine learning model, such as a neural network model, etc., which is not limited to the embodiments of the present application.
[0140] S903: The server sends the topic set and the topic extraction model to the terminal device.
[0141] It should be understood that after the server has trained the topic extraction model according to the topic set, the topic extraction model can be sent to the terminal device so that the message topic can be extracted at the terminal.
[0142] In a possible implementation, the server may periodically update the topic set and the topic extraction model, and periodically send the updated topic set and the topic extraction model to the terminal.
[0143] It should be understood that regularly updating the topic set and the topic extraction model can flexibly respond to the expansion, reduction, and name change of message topics, meeting the needs of actual message services.
[0144] S904: The terminal device receives the topic set and the topic extraction model.
[0145] It should be noted that, if the server regularly updates the topic set and the topic extraction model in step 903, the terminal device will correspondingly regularly receive the topic set and the topic extraction model. After receiving the topic extraction model, the topic extraction model can be deployed on the terminal device.
[0146] Optional steps S901 to S904 implement the training of the topic extraction model on the server side and deployment on the terminal device, that is, the training can be done once on the server, and the trained model can be deployed multiple times on multiple terminal devices.
[0147] S803: The terminal device inputs the message subjects of the multiple messages into a pre-built message subject user preference model to obtain message subject user preference values of the multiple messages.
[0148] Among them, the message topic user preference model is used to calculate the user's preference for the message topic of the message, and the message topic user preference value is used to reflect the user's preference for the message topic of the message. It should be noted that, in general, the larger the message topic user preference value, the greater the user's preference for the message topic. For example, the user prefers the message topic "D" more, the degree of preference is large, and its user preference value is 0.9; relatively speaking, the preference for the message topic "F" is small, and its user preference value is 0.7. In the above example, the user preference value is normalized to a value in the range of 0 to 1; the user preference value can also be represented by a positive integer in any certain range, which is not limited to the embodiments of the present application.
[0149] In addition, in a possible implementation, it may be set that the smaller the message topic user preference value is, the greater the user's preference for the message topic is.
[0150] It should be noted that, in a possible implementation, the pre-built message subject user preference model may be enabled by default, or the user may select to enable it on the setting interface and then enable the message subject user preference model. Fig.10 In the settings interface shown, the user can click the switch of the message subject user preference model to turn it to "On" to enable the model. Fig.10 This is only an exemplary display of the user preference model for opening message topics. The user can also enable the model in other ways, and the embodiments of the present application are not limited to this.
[0151] In an embodiment of the present application, a pre-constructed message topic user preference model can be obtained in the following manner: obtaining at least one of the number of times a user views a message topic, the length of time the user views the message topic, and the number of times the message topic appears within a certain time period as a feature of the message topic; based on the features of the message topic, calculating the weight parameters between the features, and constructing a message topic user preference model.
[0152] It should be noted that the features of the message subject can dynamically increase or decrease the number of features according to the obtained user behavior data. For example, the geographical location where the user views the message subject can also be included.
[0153] The user preference model can be constructed using a machine learning algorithm, such as an algorithm in the field of deep learning, which is not limited in the embodiments of the present application.
[0154] In a possible implementation, the user preference model can be represented by the following calculation formula:
[0155]
[0156] Among them, p A is the message topic user preference value of message A, T is the total time period for calculating the message topic user preference value, and clock t is the number of times the user views the message topic within time t, e λt is the time decay weight within time t, expose t is the number of occurrences of the message topic within time t, d t The length of time that the user views the message topic within time t
[0157] The message topic user preference value is calculated through the message topic user preference model, which can reflect the user's interest preference for certain message topics within a certain period of time, thereby making the message push display more intelligent and humane.
[0158] In another possible implementation, the user can directly set the order of message topics according to his or her personalized preferences, put the preferred message topics in front, and assign the message topics a higher message topic user preference value in the background. That is, the terminal receives the second operation of the user to open the message topic order setting, and displays the message topic order setting interface on the terminal display interface; the terminal responds to the user's third operation of sorting the message topics in the topic set on the message topic order setting interface, and stores and displays the sorting results of the message topics in the topic set on the display interface.
[0159] See also Figure 11(a) to Figure 11(b) . In the setting interface of Figure 11(a), multiple message topics are arranged from top to bottom in the message topic list. The message topics at the top are more preferred by users, and the background assigns a higher user preference value. For example, message topic "A" is at the top, and the background assigns a user preference value of 1.0, message topic "B" is below "A", and the background assigns a user preference value of 0.95, message topic "C" is below "D", and the background assigns a user preference value of 0.9, and so on. As shown in Figure 11(a), when the user clicks the upper triangle sorting button after "B", the message topic "B" moves up and exchanges positions with "A", and the setting interface changes to Figure 11(b). At this time, the background also exchanges the user preference values of "B" and "A", that is, the user preference value of "A" changes from 1.0 to 0.95, and the user preference value of "B" changes to 1.0. Of course, the user can also click the downward triangle sorting button behind "B", and "B" will move down and exchange positions with "C". At this time, the background will also exchange the user preference values of "B" and "C", that is, the user preference value of "B" will change from 0.95 to 0.9, and the user preference value of "C" will change to 0.95 ( Figure 11(a) to Figure 11(b) not shown).
[0160] It should be understood that Figure 11(a) to Figure 11(b) This is only an exemplary method for setting the order of message topics. The user can also use other methods to set the order of message topics, such as directly dragging the message topic to the desired sorting position, etc. The embodiments of the present application are not limited to this.
[0161] S804. The server calculates the topic heat value of the messages in the topic set according to a pre-built topic heat model.
[0162] It should be noted that the topic set contains various message topics. The server first calculates the popularity values of all message topics in the topic set, and then quickly returns the results when the terminal requests to obtain the message topic popularity values of multiple messages in the terminal.
[0163] Step S804 is executed on the server side, and may be executed at the same time as step S801, S802 or S803, or before or after step S801, S802 or S803, which is not limited in the embodiments of the present application.
[0164] In order to quickly respond to changes in current hot topics on the Internet, in one possible implementation, the server can calculate and update the topic heat value of the message in the topic set according to a pre-built topic heat model at a certain time interval. The certain time interval can be a few minutes, a few hours, etc., set according to user needs, and the embodiment of the present application does not limit this.
[0165] In one possible implementation, the topic popularity model can be implemented using a model in the field of machine learning, such as a deep neural network model, which is not limited in this embodiment of the present application.
[0166] S805. In response to a first operation of viewing multiple messages by a user, the terminal device sends a first request for obtaining message topic heat values of the multiple messages to a server.
[0167] 1(a), the user performs a pull-down operation (ie, pulls down the message notification bar) in the top blank area of the smart phone 110. At this time, the smart phone 110 sends a first request for obtaining message topic heat values of multiple messages to the server.
[0168] It should be noted that the first operation for the user to view multiple messages can be various forms of operations. In addition to that shown in FIG1(a), it can also be double-clicking the top blank area, sliding down with a gesture, and the like. This embodiment of the present application does not limit this.
[0169] S806. The server queries and obtains message topic heat values of multiple messages in the first request from the message topic heat values in the topic set.
[0170] It should be understood that in step S804, the server has calculated the popularity values of all message topics in the topic set. In step S806, it is only necessary to query the popularity values of all message topics in the topic set to obtain the message topic popularity values of multiple messages in the first request, so as to quickly return them to the terminal device.
[0171] In another possible implementation, the server may not execute step S806, but after receiving the first request from the terminal device, calculate the message topic heat values of multiple messages in the first request according to a pre-built topic heat model.
[0172] The above implementation method is to request first and then calculate, which can be calculated on demand, but the calculation process takes a certain amount of time and is suitable for when the number of terminal devices is small.
[0173] S807. The server sends first information to the terminal device, where the first information includes message topic heat values of multiple messages in the first request.
[0174] Correspondingly, the terminal device receives the first information.
[0175] S808. The terminal device calculates and obtains reordering values of the multiple messages according to the message topic user preference values of the multiple messages and the message topic heat values of the multiple messages.
[0176] It should be understood that the reordering values of multiple messages take into account both the user's preference for the message topic and the popularity of the message topic, and the result is reliable and stable.
[0177] In one possible implementation, the reordering value calculation process of multiple messages is as follows: the message topic user preference values of the multiple messages are multiplied by the preset message topic user preference weights, plus the message topic heat values of the multiple messages are multiplied by the preset message topic heat value weights to obtain the reordering values of the multiple messages.
[0178] Among them, the message topic user preference weight and the message topic heat value weight can be automatically set by the terminal device or set by the user himself, and the embodiment of the present application does not limit this.
[0179] Please refer to FIG. 7( b ), the computer process of the re-ranking value c of the message subject “D” of the current message 114 displayed at the bottom of the smart phone 110: the user preference value p of the message subject “D” is 0.91, the heat value r of the message subject “D” is 0.95, and the re-ranking value c of the message subject “D” is 0.93. The calculation process of the re-ranking value of the message subject “D” is also explained: the re-ranking value c is equal to the weight w1 multiplied by the user preference value p plus the weight w2 multiplied by the heat value r. Among them, the weight w1 and the weight w2 are both equal to 0.5.
[0180] In another possible implementation, the terminal device can use the message topic user preference values of multiple messages and the message topic heat values of multiple messages as features, and adopt a machine learning model, such as a deep neural network model, to calculate the reordering values of the multiple messages. The embodiments of the present application are not limited to this.
[0181] S809. The terminal device reorders the multiple messages according to the reordering values of the multiple messages and displays the multiple messages in the reordered order on the display interface.
[0182] In a possible implementation, the terminal arranges messages with high reordering values among multiple messages for display at the upper end of the display interface, and arranges messages with low reordering values among multiple messages for display at the lower end of the display interface.
[0183] See also Figure 6, the smartphone 110 reorders and displays the messages 111 to 117 according to the reordering values of the messages 111 to 117. Compared with FIG1(b), the arrangement positions of the messages 111 to 117 displayed on the smartphone 110 have changed. In the order from top to bottom, message 111 is ranked first in FIG1(b), but Figure 6 In Figure 1(b), message 111 is ranked fourth; in Figure 1(b), message 112 is ranked second, but in Figure 6 In Figure 1(b), message 112 is ranked fifth; in Figure 1(b), message 113 is ranked third, but in Figure 6 In Figure 1(b), message 113 is ranked sixth; in Figure 1(b), message 114 is ranked fourth, but in Figure 6 In Figure 1(b), message 114 is ranked first; in Figure 1(b), message 115 is ranked fifth, but in Figure 6 In Figure 1(b), message 115 is ranked seventh; in Figure 1(b), message 116 is ranked sixth, but in Figure 6 In Figure 1(b), message 111 is ranked second; in Figure 1(b), message 117 is ranked seventh, but in Figure 6 Chinese news 117 ranked third.
[0184] Optionally, in a possible implementation, when the terminal device reorders multiple messages according to the reordering values of the multiple messages and displays the multiple messages in the reordered order on the display interface, the reordering values of the multiple messages may be displayed simultaneously.
[0185] by Figure 6 For example, the reordering values of messages 111 to 117 are also displayed in the upper right corner of each message. For example, the reordering value 0.93 of message 114, which is the first message from top to bottom, is displayed in the upper right corner of message 114.
[0186] It should be understood that the reordering value of the message can also be displayed in other positions of the message, such as the upper left corner of the message, the beginning of the message, etc., and the embodiments of the present application are not limited to this.
[0187] Optionally, after executing step S809, the terminal device may further execute step S810:
[0188] S810. In response to a fifth operation of a user selecting a first message from among multiple messages, the terminal device displays a reason for reordering the first message on a display interface.
[0189] The reordering reason includes the message subject of the first message, the message subject user preference value of the first message, the message subject heat value of the first message and the reordering value of the first message.
[0190] See also Figure 7(a) to Figure 7(b) As shown in Figure 7(a), Figure 6 On the display interface of multiple messages shown, in response to the user clicking on message 114 to expand the details page, the interface of the smart phone 110 changes as shown in Figure 7(b). After the title and main content of message 114 are displayed normally, the reason for the reordering of the message is displayed below the main content of message 114. The reordering reason details that the message subject of message 114 is D, the user preference value p of the message subject "D" is 0.91, the heat value r of the message subject "D" is 0.95, and the reordering value c of message 114 is 0.93. The calculation process of the reordering value of message 114 is also explained: the reordering value c is equal to the weight w1 multiplied by the user preference value p plus the weight w2 multiplied by the heat value r. Among them, the weight w1 and the weight w2 are both equal to 0.5.
[0191] It should be noted that Figure 7(b) shows the reason for reordering displayed below the main content of message 114. The reason for reordering can also be displayed in different positions such as the middle part of the main content, before the main content, after the title, and before the title. The embodiment of the present application does not limit this.
[0192] In a possible implementation, the weight w1 of the user preference value p and the weight w2 of the popularity value r can be set directly by the user, so that the user can make a trade-off between the preference of the message topic and the popularity of the message topic.
[0193] It should be understood that the various schemes of the embodiments of the present application can be used in reasonable combination, and the explanations or descriptions of the various terms appearing in the embodiments can be mutually referenced or explained in the various embodiments, without limitation.
[0194] It should also be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0195] It is understandable that, in order to implement the functions of any of the above-mentioned embodiments, the terminal device and the server include hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0196] The embodiments of the present application can divide the terminal device and the server into functional modules. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0197] For example, when the functional modules are divided in an integrated manner, Fig.12 As shown in FIG. 1 , a structural block diagram of a device provided in an embodiment of the present application is shown. For example, the electronic device may be a terminal device or a server. Fig.12 As shown, the electronic device may include a processing unit 1210 , a storage unit 1220 and a transceiver unit 1230 .
[0198] Wherein, when the electronic device is a terminal, the processing unit 1210 is used to obtain multiple messages; input multiple messages into a topic extraction model to obtain message topics of multiple messages; input the message topics of multiple messages into a pre-built message topic user preference model to obtain message topic user preference values of multiple messages; calculate and obtain reordering values of multiple messages according to the message topic user preference values of multiple messages and the message topic heat values of multiple messages; reorder multiple messages according to the reordering values of multiple messages and display multiple messages in the reordered order on the display interface; optionally, the reordering values of multiple messages can also be displayed; in response to the user selecting the first message of the multiple messages in the fifth operation, the reordering reason of the first message is displayed on the display interface. For example, the processing unit 1210 is used to support the device to perform the above steps S801, S802, S803, S808, S809, S810, S904 and / or other processes for the technology described in this application. The storage unit 1220 is used to store computer programs and process data and / or processing results in the method provided in the embodiment of the present application. The transceiver unit 1230 is used to communicate with the server. For example, first information is received from a server, where the first information includes message topic heat values of multiple messages in a first request, control instructions, and the like.
[0199] Among them, when the electronic device is a server, the processing unit 1210 is used to calculate the message topic heat value in the topic set according to the pre-built topic heat model; query and obtain the message topic heat values of multiple messages in the first request from the message topic heat values in the topic set; optionally, the topic set can also be obtained; the topic extraction model is trained according to the topic set. For example, the processing unit 1210 is used to support the device to execute the above steps S804, S806, S901, S902 and / or other processes for the technology described in this application. The storage unit 1220 is used to store computer programs and process data and / or processing results in the method provided by the embodiment of the present application. The transceiver unit 1230 is used to communicate with the terminal device. For example, a first request for requesting to obtain the message topic heat values of multiple messages, a control instruction, etc. are received from the terminal device. For example, a first information including the message topic heat values of multiple messages in the first request is sent to the terminal device.
[0200] It should be noted that the above-mentioned transceiver unit 1230 may include a radio frequency circuit. Specifically, the electronic device may receive and send wireless signals through the radio frequency circuit. Generally, the radio frequency circuit includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency circuit may also communicate with other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications, general packet radio service, code division multiple access, wideband code division multiple access, long term evolution, email, short message service, etc.
[0201] It should be understood that each module in the electronic device can be implemented in software and / or hardware form, and there is no specific limitation on this. In other words, the electronic device is presented in the form of functional modules. The "module" here can refer to a specific application integrated circuit ASIC, a circuit, a processor and a memory that executes one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions. Optionally, in a simple embodiment, a person skilled in the art can imagine that the electronic device can adopt Fig.13 The processing unit 1210 can be Fig.13 The transceiver unit 1230 can be implemented by the processor 1310 shown in FIG. Fig.13 Specifically, the processor is implemented by executing a computer program stored in the memory. Optionally, the memory is a storage unit in the chip, such as a register, a cache, etc. The storage unit may also be a storage unit in the computer device located outside the chip, such as Fig.13 The memory 1330 is provided.
[0202] In an optional manner, when data transmission is implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is implemented in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disk (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
[0203] The steps of the method or algorithm described in conjunction with the embodiments of the present application can be implemented in a hardware manner, or can be implemented by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a mobile hard disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a detection device. Of course, the processor and the storage medium can also be present in the detection device as discrete components.
[0204] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
Claims
1. A message push method, applied to a terminal, characterized in that: The method comprises: The terminal obtains multiple messages; The terminal inputs the multiple messages into a topic extraction model to obtain message topics of the multiple messages, wherein the message topics are used to abstractly describe the main content and category of the messages; The terminal inputs the message topics of the multiple messages into a pre-built message topic user preference model to obtain the message topic user preference values of the multiple messages, wherein the message topic user preference values are used to represent the user's preference degree for the message topics of the multiple messages; In response to a first operation of the user viewing the plurality of messages, the terminal sends a first request to the server, wherein the first request is used to request to obtain message topic heat values of the plurality of messages in the terminal; The terminal receives first information sent by the server, where the first information includes the message topic heat values of the multiple messages in the terminal in the first request; The terminal calculates and obtains reordering values of the multiple messages according to the message topic user preference values of the multiple messages and the message topic heat values of the multiple messages; The terminal reorders the multiple messages according to the reordering values of the multiple messages and displays the multiple messages in the reordered order on a display interface.
2. The method according to claim 1, characterized in that Before the terminal obtains the multiple messages, the method further includes: The terminal receives the topic set and the topic extraction model sent by the server, wherein the topic set is a closed set of the message topics.
3. The method according to claim 1 or 2, characterized in that: After the terminal inputs the plurality of messages into a topic extraction model and obtains the message topics of the plurality of messages, the method further includes: The terminal receives a second operation of the user to open the message subject sequence setting, and displays a message subject sequence setting interface on the display interface of the terminal; In response to a third operation of the user to sort the message topics in the topic set on the message topic sequence setting interface, the terminal stores and displays the sorting results of the message topics in the topic set on a display interface.
4. The method according to claim 1, characterized in that: Before the terminal inputs the message topics of the multiple messages into a pre-built message topic user preference model to obtain the message topic user preference values of the multiple messages, the method further includes: In response to a fourth operation of the user enabling the message subject user preference model, the terminal enables the message subject user preference model.
5. The method according to claim 1 or 4, characterized in that: The pre-built message topic user preference model is obtained by: obtaining at least one of the number of times the message subject is viewed by a user, the viewing duration of the message subject by a user, and the number of times the message subject appears within a certain time period as a feature of the message subject; According to the features of the message topic, weight parameters between the features are calculated to construct the message topic user preference model.
6. The method according to any one of claims 1 to 5, characterized in that The terminal calculates and obtains reordering values of the multiple messages according to the message topic user preference values of the multiple messages and the message topic heat values of the multiple messages, including: The terminal multiplies the message topic user preference values of the multiple messages by a preset message topic user preference weight, and multiplies the message topic heat values of the multiple messages by a preset message topic heat value weight to obtain the reordering values of the multiple messages.
7. The method according to any one of claims 1 to 6, characterized in that The terminal reorders the multiple messages according to the reordering values of the multiple messages and displays the multiple messages in the reordered order on a display interface, including: The terminal arranges the messages with higher reordering values among the multiple messages at the upper end of the display interface for display, and arranges the messages with lower reordering values among the multiple messages at the lower end of the display interface for display.
8. The method according to claim 7, characterized in that The method further comprises: The terminal displays the reordering values of the multiple messages on the display interface.
9. The method according to any one of claims 1 to 8, characterized in that After the terminal reorders the multiple messages according to the reordering values of the multiple messages and displays the multiple messages in the reordered order on a display interface, the method further includes: In response to a fifth operation of a user selecting a first message among the multiple messages, the terminal displays a reason for reordering the first message on the display interface, wherein the reason for reordering the first message includes a message subject of the first message, a user preference value of the message subject of the first message, a message subject heat value of the first message and a reordering value of the first message.
10. A message push method, applied to a server, characterized in that: The method comprises: The server calculates the message topic heat value in the topic set according to a pre-built topic heat model, wherein the topic set is a closed set of message topics, and the message topics are used to abstractly describe the main content and category of the message, and the topic heat model updates the message topic heat value in the topic set based on the real-time hot content on the network; The server receives a first request from a terminal, the first request being used to request obtaining message topic heat values of a plurality of messages in the terminal, the message topics of the plurality of messages being included in the topic set; The server queries and obtains the message topic heat values of the multiple messages in the terminal in the first request from the message topic heat values of the topic set; The server sends first information to the terminal, where the first information includes the message topic heat values of the multiple messages in the terminal in the first request.
11. The method according to claim 10, characterized in that The server calculates the topic heat value of the message in the topic set according to the pre-built topic heat model, including: The server calculates and updates the message topic heat value in the topic set according to the pre-built topic heat model at a certain time interval.
12. The method according to claim 10 or 11, characterized in that: Before the server receives the first request from the terminal, the server further includes: The server obtains the subject set; The server trains a topic extraction model according to the topic set; The server sends the topic set and the topic extraction model to the terminal.
13. The method according to claim 12, characterized in that The server trains a topic extraction model according to the topic set, including: The server trains the topic extraction model using the title and summary of at least one message received in the first time period as features and the message topic in the topic set to which the at least one message belongs as a label.
14. The method according to claim 12 or 13, characterized in that The server sends the topic set and the topic extraction model to the terminal, including: The server periodically updates the topic set and the topic extraction model, and periodically sends the updated topic set and the topic extraction model to the terminal.
15. A terminal, characterized in that: include: a memory for storing instructions executed by one or more processors of the terminal; transceivers, used to receive or send radio signals; The processor, when the processor executes the instructions in the memory, can enable the terminal to execute the message pushing method described in any one of claims 1 to 9.
16. A server, characterized in that: include: a memory for storing instructions executed by one or more processors of the server; transceivers, used to receive or send radio signals; The processor, when the processor executes the instructions in the memory, can enable the server to execute the message pushing method described in any one of claims 10 to 14.
17. A message push system, characterized in that: The message push system comprises the terminal and the server, the terminal is used to execute the message push method according to any one of claims 1 to 9, and the server is used to execute the message push method according to any one of claims 10 to 14.
18. A chip, characterized in that: The chip system includes a processing circuit and a storage medium, wherein the storage medium stores a computer program code; when the computer program code is executed by the processing circuit, the message push method according to any one of claims 1 to 14 is implemented.
19. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program. When the computer program is executed on a computer, the computer is enabled to execute the message pushing method according to any one of claims 1 to 14.
