Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The page content display method provided by the embodiment of the invention can be applied to computer equipment, and the computer equipment can communicate with a server through a network. The computer device may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, among others. The server may be implemented as a stand-alone server or as a server cluster consisting of a plurality of servers.
In an embodiment, as shown in fig. 1, a method for displaying page content is provided, which includes the following steps:
s101: extracting identification information of a login user from a display interface, and acquiring an associated tag of the login user from a user database according to the identification information, wherein the associated tag is generated in advance according to health information data of the login user.
The display interface is an interface on a display screen of the computer device, and it is understood that the display interface may be a full screen interface or a window interface on the display screen. The user can directly input identification information through the display interface, or the computer equipment collects face information, fingerprint information or voiceprint information of the user and the like as the identification information. The login user is a user corresponding to the identification information, and is generally a user currently operating the computer device. After the identification information is obtained, the computer equipment obtains the associated tag of the login user from a user database according to the identification information, wherein the associated tag is generated in advance according to the body information data of the login user. The health information data is data information which reflects the body correlation of the login user. Such as the user's case information, treatment information, past medical history, doctor recommendations, daily living notes, etc. The portion of data may be obtained from a third party database (e.g., from a hospital database), or may be pre-collected. The associated tag may be a keyword that is summarized or extracted from the login user according to the health information data, a name representing a disease, a recommended living habit, or the like. For example, heart disease, asthma, aerobic exercise, spicy taste, greasy taste, etc. The associated tag can be extracted from the health information data of the login user in advance and stored in a user database.
S102: and matching from a page database according to the associated tags, and determining a preset amount of to-be-selected page data from a plurality of checked page data in the page database, wherein the checked page data are determined after the original page data pass through intelligent semantic screening and checking of a plurality of checking terminals, and the original page data are obtained after processing editing information collected from different users.
The page database is a database for storing page data. Various page data can be shared by different users or stored in the page database after being edited. Specifically, the page data may be text data or voice data or the like. For example, a user writes a relevant article by himself, and then pushes it to be stored in the page database. The audited page data is page data that has been evaluated and audited. In order to ensure that the page data displayed to the user is reasonable and accurate, and has positive effect, the page data needs to be evaluated and audited. The audited page data is determined after the original page data is audited through intelligent semantic screening and a plurality of auditing terminals. The original page data is obtained by processing the editing information collected from different users. The method comprises the steps of determining a preset amount of to-be-selected page data from a plurality of audited page data in a page database, specifically, each audited page data can include related key words, the key words can represent main contents of the audited page data, and the audited page data with a high matching degree is selected from the associated tags and the key words of each audited page data and determined as the to-be-selected page data. The predetermined number may be preset, or a matching threshold may be set, and the checked page data higher than the matching threshold is determined as the page data to be selected.
S103: and converting the page data to be selected into a corresponding loading mode according to a preset display condition, and displaying the page data to be selected converted into the corresponding loading mode in a display interface, wherein the loading mode comprises a text mode, a voice mode and a comprehensive mode.
The loading mode is a display mode of the page data to be selected, and comprises a text mode, a voice mode and a comprehensive mode. The text mode is a mode presented on the display interface in a text form, the two voice modes are modes presented through a voice playing mode, and the comprehensive mode can be a comprehensive presentation mode comprising a text mode and a voice mode.
The preset display condition is a judgment basis for the loading mode. The display condition may be a default setting, and the setting may be a condition set by a user in a self-defined manner, or may be a preset determination condition. The presentation condition may be determined according to the location of the computer device, the current time, or the usage habit of the user. For example, if the current location is in a public place, it may be determined that the loading mode is a text mode. If the current situation is in late night, the loading mode can be judged to be a character mode. Or, only what kind of loading mode is currently selected can be determined according to the historical usage habits of the user.
And after the loading mode is determined, displaying the data of the page to be selected converted into the corresponding loading mode in a display interface. Specifically, the page data to be selected may be converted into different loading modes in advance, and after the loading mode of the current page data to be selected is determined in this step, the converted data may be directly called for display.
In this embodiment, firstly, the identification information of the login user is extracted from a display interface, and the associated tag of the login user is obtained from a user database according to the identification information, wherein the associated tag is generated in advance according to the body information data of the login user; matching from a page database according to the associated tags, and determining a preset amount of to-be-selected page data from a plurality of checked page data in the page database, wherein the checked page data are determined after original page data are subjected to intelligent semantic screening and checking of a plurality of checking terminals, and the original page data are obtained after editing information collected from different users is processed; and converting the page data to be selected into a corresponding loading mode according to a preset display condition, and displaying the page data to be selected converted into the corresponding loading mode in a display interface, wherein the loading mode comprises a text mode, a voice mode and a comprehensive mode. The method comprises the steps of selecting suitable page data to be selected by performing association matching on different login users, continuing conversion of different loading modes according to preset display conditions, displaying the converted page data on a display interface, reflecting more intelligent loading and pushing of the page data, and better ensuring the effectiveness of page data presentation.
In one embodiment, the display conditions comprise general display conditions and user display conditions, and the general display conditions comprise voice play mode judgment, client position judgment and time judgment; the user display condition is generated in advance according to the historical habit data of the login user.
Wherein, the voice playing mode is judged to judge whether the voice playing mode is the playing mode or not. And the client position is judged to judge the position of the current client or the position of the equipment corresponding to the client. And judging the relation between the current time and a preset time interval by time judgment. The historical habit data of the logged-in user is the habit of the user using corresponding software or computer equipment. For example, the habit data may include a determination of a speech pattern or a text pattern.
In this embodiment, as shown in fig. 2, the converting the data of the page to be selected into the corresponding loading mode according to the preset display condition includes:
s201: and judging whether the current factors accord with the universal display conditions or not, wherein the current factors comprise the current voice playing mode of the client, the current position of the client and the current time information, and the universal display conditions are the universal display conditions of the user.
The general presentation condition is a determination condition of universality, that is, the general presentation condition is a presentation condition common to the user. The general presentation condition may include a condition setting of a current voice play mode, a condition setting of a current location of the client, and a condition setting of current time information. For example, if the current audio playing mode is not the play-out mode, no requirement is made on the specific loading mode, that is, the current audio playing mode is considered to be in accordance with the general display condition, and no other condition needs to be continuously determined. Further, if the current voice playing mode is the play-out mode, the current position and the current time information can be further judged. For the judgment of the current position of the client, the public area and the non-public area can be divided in advance, and further, the private area of the user, the private area of the non-user and the public area are divided according to different users. In the process of judging the current position of the client, if the current position is located in a pre-divided non-public area or a private area of the user, the current position can be judged to be in accordance with the universal display condition. For the current time information, a suitable time interval and a non-suitable time interval can be divided in advance, the suitable time interval can be set by referring to the working time, and the non-suitable time interval can be set by referring to the rest time. And judging whether the current time information is in a proper time interval or an improper time interval to judge whether the current time information meets the general display condition. For example, if the current time information is in the proper time interval, it is determined that the current time information meets the general display condition, and if the current time information is in the improper time interval, it is determined that the current time information does not meet the general display condition.
S202: and if the current factors accord with the general display conditions, determining the loading mode of the page data to be selected according to the user display conditions, and converting the page data to be selected into the corresponding loading mode, wherein the user display conditions are the customized conditions of the login user.
The user display condition is a customized condition of the login user. The user display condition can be a condition set by self-definition for different users or a display condition generated according to the use habits of different users. And after the current factors accord with the universal display conditions, determining the loading mode of the page data to be selected according to the user display conditions, and converting the page data to be selected into the corresponding loading mode.
S203: and if the current factors do not accord with the universal display conditions, converting the page data to be selected into a text mode.
In the step, if the current factors do not accord with the universal display conditions, the data of the page to be selected is converted into a character mode.
In this embodiment, it is first determined whether current factors meet the universal display condition, where the current factors include a current voice playing mode of a client, a current location of the client, and current time information, and the universal display condition is a universal display condition for a user; if the current factors accord with the universal display conditions, determining a loading mode of the page data to be selected according to the user display conditions, and converting the page data to be selected into a corresponding loading mode, wherein the user display conditions are customized conditions of the login user; and if the current factors do not accord with the universal display conditions, converting the page data to be selected into a text mode. The presentation of different loading modes of the page data to be selected is ensured to be carried out intelligently, and the use and the interaction of users are more convenient.
In one embodiment, as shown in fig. 3, the determining whether the current factor meets the general display condition includes:
s301: and determining whether the current voice playing mode of the client is a play-out mode, and if the current voice playing mode of the client is the play-out mode, judging whether the current position of the client is in a preset public area.
S302: and if the current position of the client is in a preset public area, the current factor does not accord with the universal display condition.
S303: if the current position of the client is not in a preset public area, judging whether the current time accords with a preset reasonable time interval; if the current time does not accord with a preset reasonable time interval, the current factor does not accord with the general display condition, and if the current time accords with the preset reasonable time interval, the current factor accords with the general display condition.
In this embodiment, it is first determined whether the current voice playing mode is the play-out mode, if so, further determination is required, and if not, it may be directly determined that the current factor meets the general presentation condition. Further, if the client is in the play-out mode, whether the current position of the client is in a preset public area is judged. And if the current position of the client is in a preset public area, the current factor does not accord with the universal display condition. If the current position of the client is not in a preset public area, judging whether the current time accords with a preset reasonable time interval or not, if the current time does not accord with the preset reasonable time interval, judging that the current factor does not accord with the general display condition, and if the current time accords with the preset reasonable time interval, judging that the current factor accords with the general display condition. In the embodiment, only judgment can be performed in the general display condition, so that reasonable loading and display can be better performed on the page data to be selected.
In an embodiment, as shown in fig. 4, determining a loading mode of the page data to be selected according to the user presentation condition includes:
s401: and extracting a loading mode time association table of the login user from the user display condition, wherein the loading mode time association table comprises different loading modes and association time intervals corresponding to each loading mode.
S402: and determining the association time interval corresponding to the current time as a target association time interval, and determining the loading mode corresponding to the target association time interval in the loading mode time association table as the loading mode of the page data to be selected.
In this embodiment, the user presentation condition includes a loading mode time association table of the login user, where the loading mode time association table includes different loading modes and an association time interval corresponding to each loading mode. The loading mode time association table can be set for a login user in a self-defined mode, and can also be generated in a statistical mode according to historical use data of the login user.
After the additional loading mode time association table of the login user is extracted, determining the association time interval corresponding to the current time as a target association time interval, and determining the loading mode corresponding to the target association time interval in the loading mode time association table as the loading mode of the page data to be selected. Namely, the current time is judged to be positioned in which related time interval, and the related time interval is determined as the target related time interval. And further determining the loading mode corresponding to the target association time interval in the loading mode time association table as the loading mode of the page data to be selected.
In the embodiment, the loading mode of the page data to be selected is determined through the loading mode time association table, so that the targeted setting of the loading mode on different users is better reflected, the use habits of different login users are better met, and the intelligence of the page data display is reflected.
In one embodiment, as shown in fig. 5, the determination of the audited page data includes:
s501: the method comprises the steps of obtaining original page data, and carrying out clause processing on the original page data to obtain a plurality of clause data.
The original page data is originally pushed or made data of different users. The original page data may be text data. And performing clause processing on the original page data to obtain a plurality of clause data. In another embodiment, if the original page data is voice data, the voice data may be subjected to semantic recognition, converted into text data, and then sentence division processing.
S502: and matching each clause data by adopting a preset keyword database, and determining the successfully matched clause data as the data to be identified.
The keyword database is a plurality of preset keywords. The keywords may be a medical vocabulary, such as the name of a disease, or other vocabulary that reflects the physical state. For example, weak, old, etc. And screening out sentences with the keywords and determining the sentences as data to be recognized.
S503: and analyzing the data to be identified by adopting an intelligent semantic matching algorithm to obtain an analysis result of each data to be identified, and determining the original page data of which the analysis result of each data to be identified is a forward result as pushed page data.
And matching the data to be recognized with related sentences in a preset database by an intelligent semantic matching algorithm, wherein if the matched sentences exist, the analysis result is a forward result, and if the matched sentences do not exist, the analysis result is a non-forward result. Some reasonable description sentences for different keywords can be pre-stored in the preset database for matching. For example, older adults are not suitable for strenuous exercise. Diabetes mellitus cannot eat sweet foods and the like. Specifically, the reference sentence is saved or collected in a preset database in advance. The reference sentence also includes reference words, which are keywords corresponding to words collected in advance by the keyword database. And matching the data to be recognized with a reference sentence with the key words and the reference words consistent in the preset database, wherein if the matching is not successful, the analysis result is a non-forward result, and if the matching is successful, the analysis result is a forward result.
And further determining the original page data of which the analysis result of each piece of data to be identified is a forward result as pushed page data.
S504: and sending the pushed page data to a preset number of auditing terminals, and acquiring auditing information returned by the auditing terminals, wherein the auditing information comprises auditing pass and auditing non-pass.
The auditing terminal is a terminal corresponding to the person who performs auditing. The person who performs the audit can be a medical care person or a professional in the corresponding field. And sending the pushed page data to preset number of auditing terminals, wherein the preset number can be set according to actual needs. And receiving audit information returned by different audit terminals, wherein the audit information comprises audit passing and audit failing.
S505: and determining the pushed page data of which the audit information meets the preset audit condition as the audited page data.
The preset audit condition may be determined according to the number or the ratio of the audit information, for example, if the number or the ratio of the audited information that passes the audit reaches a certain value, the audit information may be determined to pass the audit. Further, if the number or the ratio of the non-passed audits reaches a certain value, the non-passed audits can be judged. In both conditions, the determination result that the number or ratio of non-passed audits reaches a certain value is prioritized.
It will be appreciated that the determination may be made after a certain amount of audit information has been received. And determining the pushed page data of which the audit information meets the preset audit condition as the audited page data.
In this embodiment, the determination method of the audited page data includes: acquiring original page data, and performing clause processing on the original page data to obtain a plurality of clause data; matching each clause data by adopting a preset keyword database, and determining the successfully matched clause data as data to be identified; analyzing the data to be identified by adopting an intelligent semantic matching algorithm to obtain an analysis result of each data to be identified, and determining original page data of which the analysis result of each data to be identified is a forward result as pushed page data; sending the pushed page data to a preset number of auditing terminals, and acquiring auditing information returned by the auditing terminals, wherein the auditing information comprises auditing pass and auditing non-pass; and determining the pushed page data of which the audit information meets the preset audit condition as the audited page data. The intelligent analysis and comprehensive judgment of the audit terminal are adopted, a part of data volume is screened through the intelligent analysis, the burden of a computer is reduced, the judgment is further carried out through the audit terminal, the quality of the audited page data is guaranteed, and the effectiveness and the accuracy of the page display data are better guaranteed.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In an embodiment, a page content display device is provided, and the page content display device corresponds to the page content display method in the above embodiments one to one. As shown in fig. 6, the page content presentation apparatus includes an associated tag acquisition module 601, a page data determination module 602, and a page data presentation module 603.
The functional modules are explained in detail as follows:
the associated tag obtaining module 601 is configured to extract identification information of a login user from a display interface, and obtain an associated tag of the login user from a user database according to the identification information, where the associated tag is generated in advance according to body information data of the login user;
a page data determining module 602, configured to perform matching from a page database according to the associated tag, and determine a predetermined number of to-be-selected page data from multiple checked page data in the page database, where the checked page data is determined after original page data is subjected to intelligent semantic screening and checking by multiple checking terminals, and the original page data is obtained after editing information acquired from different users is processed;
the page data display module 603 is configured to convert the page data to be selected into a corresponding loading mode according to a preset display condition, and display the page data to be selected converted into the corresponding loading mode in a display interface, where the loading mode includes a text mode, a voice mode, and a comprehensive mode.
Preferably, the display conditions include general display conditions and user display conditions, and the general display conditions include voice play mode determination, client position determination and time determination; the user display condition is generated in advance according to historical habit data of the login user;
the page data display module is also used for judging whether current factors accord with the universal display conditions or not, wherein the current factors comprise the current voice playing mode of the client, the current position of the client and the current time information, and the universal display conditions are the universal display conditions of the user; if the current factors accord with the universal display conditions, determining a loading mode of the page data to be selected according to the user display conditions, and converting the page data to be selected into a corresponding loading mode, wherein the user display conditions are customized conditions of the login user; and if the current factors do not accord with the universal display conditions, converting the page data to be selected into a text mode.
Preferably, the page data display module is further configured to determine whether a current voice playing mode of the client is a play-out mode, and if the current voice playing mode is the play-out mode, determine whether a current position of the client is in a preset public area; if the current position of the client is in a preset public area, the current factor does not accord with the universal display condition; if the current position of the client is not in a preset public area, judging whether the current time accords with a preset reasonable time interval; if the current time does not accord with a preset reasonable time interval, the current factor does not accord with the general display condition, and if the current time accords with the preset reasonable time interval, the current factor accords with the general display condition.
Preferably, the page data presentation module is further configured to extract a loading mode time association table of the login user from the user presentation condition, where the loading mode time association table includes different loading modes and an association time interval corresponding to each loading mode; and determining the association time interval corresponding to the current time as a target association time interval, and determining the loading mode corresponding to the target association time interval in the loading mode time association table as the loading mode of the page data to be selected.
Preferably, the page content presentation apparatus further includes:
the sentence data acquisition module is used for acquiring original page data and performing sentence processing on the original page data to obtain a plurality of sentence data;
the data matching module is used for matching each clause data by adopting a preset keyword database and determining the successfully matched clause data as the data to be identified;
the analysis result determining module is used for analyzing the data to be identified by adopting an intelligent semantic matching algorithm to obtain an analysis result of each data to be identified, and determining original page data of which the analysis result of each data to be identified is a forward result as pushed page data;
the audit information acquisition module is used for sending the pushed page data to a preset number of audit terminals and acquiring audit information returned by the audit terminals, wherein the audit information comprises audit passing and audit not passing;
and the audited page data determining module is used for determining the pushed page data of which the audit information meets the preset audit condition as audited page data.
For the specific definition of the page content display device, reference may be made to the above definition of the page content display method, which is not described herein again. The various modules in the page content presentation apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external server through a network connection. The computer program is executed by a processor to implement a method of presenting page content.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the page content presentation method described in any of the above embodiments is implemented.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the page content presentation method according to any one of the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.