Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
1A-1C are schematic diagrams of one application scenario of a method for presenting information, according to some embodiments of the present disclosure.
As shown in fig. 1A, the terminal device 101 may present information on a displayed page 102, where the information may be information for presenting target content categories in at least two colors, respectively. The color to be used may be a color of at least one side of a frame of the information display region of the information. For example, information having white as the color of the left frame of the information display area of the "science and technology articles" and information having red as the color of the left frame of the information display area of the "science and technology articles" are displayed in the page 102.
As shown in fig. 1B, the terminal apparatus 101 may acquire first feedback information of the user for the presented information by detecting a user operation of the user for the presented information. For example, the user clicks and reads the information 103 in which red is the color of the left frame of the information display area of "science and technology articles".
As shown in fig. 1C, the terminal device 101 can determine the sorted information of the degree to which the user likes the color from the above-described first feedback information. For example, information "1, red, 2, white" indicated by reference numeral 104.
On the basis, the information of different content categories can be presented by adopting different colors according to the determined color preference degree. For example, red may be used to present technology-like articles, while white may be used to present other categories of articles.
It is understood that the method for presenting information may be executed by a terminal device, or may also be executed by a server, and the execution body of the method may also include a device formed by integrating the terminal device and the server through a network, or may also be executed by various software programs. The terminal device may be various electronic devices with information processing capability, including but not limited to a smart phone, a tablet computer, an e-book reader, a laptop portable computer, a desktop computer, and the like. Furthermore, the execution body may also be embodied as a server, software, or the like. When the execution subject is software, the software can be installed in the electronic device listed above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein.
With continued reference to fig. 2, a flow 200 of some embodiments of a method for presenting information in accordance with the present disclosure is shown. The method for presenting information comprises the following steps:
step 201, at least two colors are adopted to respectively present the information of the target content category.
In some embodiments, an executing body (e.g., the terminal device 101 shown in fig. 1) of the method for presenting information may first obtain information from a background server through a wired connection manner or a wireless connection manner, where the information may be information of target content categories respectively presented in at least two colors. The information may then be presented on a page. The target content category may be a content category preset by the user according to some special words in the content. For example, an article whose content carries the word "science" is set as a science-type article. The mode of presenting the color corresponding to the information on the page can be presented by the shading of the information display area of the information. The information may include at least one of: text information, image information, video information.
It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future.
Step 202, first feedback information of the user for the presented information is acquired.
In some embodiments, based on the information presented in step 201, the executing entity (for example, the terminal device 101 shown in fig. 1) may obtain first feedback information of the user for the presented information by detecting a user operation of the user for the presented information. In practice, the user may perform various operations, such as a click operation, a double click operation, and the like, with respect to the presented information, thereby inputting the first feedback information. Wherein the first feedback information may include at least one of: click rate information of the user, and dwell time information of the user.
Step 203, determining the color preference degree of the user for each color according to the first feedback information.
In some embodiments, based on the first feedback information, the execution subject may determine a color preference of the user for each color in the presented information to which the first feedback information is directed. The execution body may further determine a color preference degree of the user for each color through an input operation or a selection operation of the user on the page. The color preference degree may be a numerical value, may also refer to the ranking of colors, and may also refer to the scoring of colors. As an example, the user clicks on an article that read the swordsman category presented in purple for 10 seconds. The user clicked to read an article in the martial arts category presented in yellow for 5 seconds. The execution main body can determine that the user likes purple to be larger than yellow according to the reading time of the martial arts articles.
And step 204, presenting the information of different content categories by adopting different colors according to the determined color preference degree.
In some embodiments, the execution subject may determine a preferred color of the user based on the determined color preference obtained in step 303. So that the executing body can present information of different content categories by adopting the color preferred by the user. As an example, it is determined that the user prefers red, yellow, and so on. The executive body may adopt the red color to present a human article and adopt the yellow color to present a swordsman article.
In some optional implementations of some embodiments, the execution body may present the information of the different content categories in one of the following manners: the adopted color can be used as the background color of the information; the color to be used may be the color of at least one side of the frame of the information display region of the information.
In some optional implementations of some embodiments, the execution body may present the information of the different content categories in different colors within the same page. As an example, within the same page, the execution subject may adopt the user's favorite red, yellow, and purple to present swordsmen articles, science articles, and human articles, respectively.
Some embodiments of the present disclosure provide methods that may achieve diversity in presenting target content categories by first presenting information of the target content categories separately in at least two colors. Then obtaining first user feedback information aiming at the presented information; then, based on the first user feedback information, the color preference of the user for each color can be determined. On the basis, according to the determined color preference degree, different colors are adopted to present information of different content categories. Therefore, the color of the information presented to each user can have flexibility, pertinence and customizability, so that the user experience is improved, and convenience is provided for the life of the user.
In some optional implementations of some embodiments, reference may be further made to fig. 3, which illustrates an exemplary flow 300 of the presenting step 204 of presenting information of different content categories in different colors, according to some embodiments of the present disclosure. As shown in fig. 3, the presenting step 204 may also proceed as follows.
Step 301, determining the preference degree of the user for the content types of the different content types.
First, by detecting the user's input operation on the page, the execution body may determine the user's preference level for the different content categories. The preference degree of the content category may be a ranking of the content category or a scoring of the content category.
And step 302, presenting information of different content categories by adopting different colors according to the color preference degree and the content category preference degree.
And matching the preference degree of the content category with the preference degree of the color according to the preference degree of the content category and the preference degree of the color to obtain information for presenting different content categories by adopting different colors.
Alternatively, the preference degree of the content category may be determined by: first, the execution main body can present the information of the different content categories on a page; secondly, the executing body can acquire second feedback information of the user for the presented information; third, according to the second feedback information, the execution subject may determine a content category preference degree of the user for each of the content categories.
In some optional implementations of some embodiments, the execution subject may present the information of different content categories in different colors according to the color preference degree and the user preference degree of the content categories of the different content categories, where the content category preference degree of the content category to which the presented information belongs matches the color preference degree of the color used by the presented information. The user preference level for the different content categories may be predetermined to be locally available.
Alternatively, the preference degree of the content category may be determined by: first, the execution main body may obtain user information of the user by detecting an input operation of the user on a page, where the user information may include at least one of: name information, age information; then, the user information is input into a first machine learning model trained in advance, and the content category preference degrees of the user for the different content categories can be obtained. Wherein the pre-trained first machine learning model has been trained by a set of training samples. The training samples in the training sample set comprise sample user information and content category preference degrees of sample users corresponding to the sample user information to different content categories. The method and the device can improve the speed and save the manpower by determining the content category preference degree of the user for different content categories through the model.
As an example, the above-mentioned pre-trained first machine learning model may be obtained by performing the following training steps based on a training sample set. Performing the following training steps based on the set of training samples: respectively inputting the sample user information of at least one training sample in the training sample set into an initial machine learning model to obtain the content category preference degree of a user corresponding to each sample user information in the at least one training sample to different content categories; comparing the content category preference degree of the user corresponding to each sample user information in the at least one training sample to different content categories with the content category preference degree of the corresponding sample user to different content categories; determining the prediction accuracy of the initial machine learning model according to the comparison result; determining whether the prediction accuracy is greater than a preset accuracy threshold; in response to determining that the accuracy is greater than the preset accuracy threshold, taking the initial machine learning model as a pre-trained first machine learning model after training; and adjusting parameters of the initial machine learning model in response to the determination that the accuracy is not greater than the preset accuracy threshold, forming a training sample set by using unused training samples, using the adjusted initial machine learning model as the initial machine learning model, and executing the training step again.
It will be appreciated that after the above training, the pre-trained first machine learning model may be used to characterize the correspondence between user information and user preference for different content categories. The above-mentioned pre-trained first machine learning model may be a convolutional neural network model.
As another example, the electronic device may generate a correspondence table storing correspondence between a plurality of pieces of recorded user information and the user preference degrees for different content categories based on statistics of a large number of pieces of recorded user information and the user preference degrees for different content categories, and use the correspondence table as a pre-trained first machine learning model. In this way, the electronic device may sequentially compare the target user information with the plurality of pieces of user information recorded in the correspondence table, and if one piece of user information in the correspondence table is the same as or similar to the target user information, use the content category preference degree of the user corresponding to the user information in the correspondence table for different content categories as the predicted user preference degree of the target user information for different content categories.
In some embodiments, different colors may be used to present information of different content categories with a determined degree of color preference, so that the presented information may be specifically targeted and customized. Furthermore, the user can more quickly distinguish different content types and quickly find the content type which the user wants to read. Further, time is saved for the user.
With further reference to fig. 4, as an implementation of the methods illustrated in the above figures, the present disclosure provides some embodiments of an apparatus for presenting information, which correspond to those method embodiments illustrated in fig. 2, which may be applied in particular in various electronic devices.
As shown in fig. 4, an apparatus 400 for presenting information of some embodiments includes: a presentation unit 401, an acquisition unit 402 and a determination unit 403. Wherein the presentation unit 401 is configured to present the information of the target content category in at least two colors, respectively; the obtaining unit 402 is configured to obtain first feedback information of the user for the presented information; the determining unit 403 is configured to determine a color preference degree of the user for each color according to the first feedback information, and the presenting unit 401 is further configured to present information of different content categories with different colors according to the determined color preference degree.
In an alternative implementation of some embodiments, the first presenting unit of the apparatus 400 for presenting information comprises: a determination subunit and a presentation subunit. Wherein the determining subunit is configured to determine a content category preference level of the user for the different content categories; the presentation subunit is configured to present information of different content categories in different colors according to the color preference degrees and the content category preference degrees, wherein the content category preference degrees of the content categories to which the presented information belongs match the color preference degrees of the colors employed by the presentation information.
In an alternative implementation of some embodiments, the first presenting unit of the apparatus 400 for presenting information is further configured to present the information of the different content categories in different colors according to the color preference degrees and the content category preference degrees of the user for the different content categories, wherein the content category preference degrees of the content categories to which the presented information belongs match the color preference degrees of the colors employed by the presented information.
In an alternative implementation of some embodiments, the determining subunit of the apparatus for presenting information 400 is further configured to present information of different content categories; acquiring second feedback information of the user aiming at the presented information; and determining the content category preference degree of the user for each content category according to the second feedback information.
In an alternative implementation of some embodiments, the content category preference level is determined by: acquiring user information of the user; and inputting the user information into a pre-trained first machine learning model to obtain the content category preference degrees of the user to different content categories.
In an alternative implementation of some embodiments, the presentation unit of the apparatus 400 for presenting information is further configured to present information of different content categories in one of the following ways: the adopted color is used as the background color of the information; the color used is the color of at least one side of the frame of the information display region of the information.
In an alternative implementation of some embodiments, the presentation unit of the apparatus 400 for presenting information is further configured to present information of different content categories in different colors within the same page.
In some embodiments, specific implementations of the presenting unit 401, the obtaining unit 402, and the determining unit 403 included in the apparatus 400 for presenting information and technical effects brought by the specific implementations may refer to the embodiment corresponding to fig. 2, and are not described herein again.
Some embodiments of the present disclosure provide an apparatus that may achieve diversity in presenting target content categories by first presenting information of the target content categories separately in at least two colors. Then obtaining first user feedback information aiming at the presented information; then, based on the first user feedback information, the color preference of the user for each color can be determined. On the basis, according to the determined color preference degree, different colors are adopted to present information of different content categories. Therefore, the color information of the information presented to each user can have flexibility, pertinence and customizability, so that the user experience is improved, and convenience is provided for the life of the user.
Referring now to fig. 5, a block diagram of an electronic device (e.g., the terminal device of fig. 1) 500 suitable for use in implementing some embodiments of the present disclosure is shown. The terminal device in some embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The terminal device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the use range of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc., output devices 507 including, for example, a liquid crystal display (L CD), speaker, vibrator, etc., and communication devices 509, the communication devices 509 may allow the electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data although FIG. 5 illustrates the electronic device 500 as having various devices, it is to be understood that not all of the illustrated devices are required to be implemented or provided.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program, when executed by the processing device 501, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described above in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). examples of communications networks include local area networks ("L AN"), wide area networks ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: respectively presenting information of the target content category by adopting at least two colors; obtaining first user feedback information for the presented information; and determining the color preference degree of the user for each color according to the first user feedback information.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including AN object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language, or similar programming languages.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes a presentation unit, an acquisition unit, and a determination unit. Where the names of these units do not in some cases constitute a limitation on the unit itself, for example, a presentation unit may also be described as a "unit that presents information of a target content category in at least two colors, respectively".
For example, without limitation, exemplary types of hardware logic that may be used include Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CP L D), and so forth.
In accordance with one or more embodiments of the present disclosure, there is provided a method for presenting information, comprising: respectively presenting information of the target content category by adopting at least two colors; acquiring first feedback information of a user aiming at the presented information; determining the color preference degree of the user for each color according to the first feedback information; different colors are used to present information of different content categories according to the determined color preference.
According to one or more embodiments of the present disclosure, the presenting information of different content categories by using different colors includes: determining the content category preference degree of the user for the different content categories; and presenting the information of the different content categories by adopting different colors according to the color preference degree and the content category preference degree, wherein the content category preference degree of the content category to which the presented information belongs is matched with the color preference degree of the color adopted by the presented information.
According to one or more embodiments of the present disclosure, the presenting information of different content categories by using different colors includes: and presenting the information of the different content categories by adopting different colors according to the color preference degrees and the content category preference degrees of the different content categories of the user, wherein the content category preference degree of the content category to which the presented information belongs is matched with the color preference degree of the color adopted by the presented information.
According to one or more embodiments of the present disclosure, the content category preference degree is determined by: presenting information of the different content categories; acquiring second feedback information of the user aiming at the presented information; and determining the content type preference degree of the user for each content type according to the second feedback information.
According to one or more embodiments of the present disclosure, the content category preference degree is determined by: acquiring user information of the user; and inputting the user information into a pre-trained first machine learning model to obtain the content category preference degrees of the user to different content categories.
According to one or more embodiments of the present disclosure, the presenting information of different content categories by using different colors includes: presenting information of different content categories in one of the following ways: the adopted color is used as the background color of the information; the color used is the color of at least one side of the frame of the information display region of the information.
According to one or more embodiments of the present disclosure, the presenting information of different content categories by using different colors includes: and presenting the information of the different content categories by using different colors in the same page.
In accordance with one or more embodiments of the present disclosure, there is provided an apparatus for presenting information, including: a presentation unit configured to present information of the target content category in at least two colors, respectively; an acquisition unit configured to acquire first feedback information of a user with respect to the presented information; a determination unit configured to determine a color preference degree of a user for each color based on the first feedback information; a presentation unit further configured to present information of different content categories in different colors according to the determined color preference degree.
According to one or more embodiments of the present disclosure, a presentation unit of an apparatus for presenting information includes: a determination subunit and a presentation subunit. Wherein the determining subunit is configured to determine a content category preference level of the user for the different content categories; the presentation subunit is configured to present information of different content categories in different colors according to the color preference degrees and the content category preference degrees, wherein the content category preference degrees of the content categories to which the presented information belongs match the color preference degrees of the colors employed by the presentation information.
According to one or more embodiments of the present disclosure, the presenting unit of the apparatus for presenting information is further configured to present the information of the different content categories with different colors according to the color preference degrees and the content category preference degrees of the user for the different content categories, wherein the content category preference degrees of the content categories to which the presented information belongs are matched with the color preference degrees of the colors employed by the presented information.
According to one or more embodiments of the present disclosure, the content category preference degree is determined by: acquiring user information of the user; and inputting the user information into a pre-trained first machine learning model to obtain the content category preference degrees of the user for the different content categories.
According to one or more embodiments of the present disclosure, the presentation unit of the apparatus for presenting information is further configured to present information of different content categories in one of the following ways: the adopted color is used as the background color of the information; the color used is the color of at least one side of the frame of the information display region of the information.
According to one or more embodiments of the present disclosure, the presentation unit of the apparatus for presenting information is further configured to present information of different content categories in different colors within the same page.
According to one or more embodiments of the present disclosure, there is provided an electronic device including: one or more processors; a storage device, on which one or more programs are stored, which, when executed by the one or more processors, cause the one or more processors to implement the method as described in any of the embodiments above.
According to one or more embodiments of the present disclosure, a computer-readable medium is provided, on which a computer program is stored, wherein the program, when executed by a processor, implements the method as described in any of the embodiments above.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.