CN114694794A - Method and device for generating medicine detail page, electronic equipment and storage medium - Google Patents

Method and device for generating medicine detail page, electronic equipment and storage medium Download PDF

Info

Publication number
CN114694794A
CN114694794A CN202210318743.8A CN202210318743A CN114694794A CN 114694794 A CN114694794 A CN 114694794A CN 202210318743 A CN202210318743 A CN 202210318743A CN 114694794 A CN114694794 A CN 114694794A
Authority
CN
China
Prior art keywords
medicine
acquiring
sequence
detail page
indication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210318743.8A
Other languages
Chinese (zh)
Inventor
谢方敏
周峰
郭陟
伍世志
陈帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Fangzhou Information Technology Co ltd
Original Assignee
Guangzhou Fangzhou Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Fangzhou Information Technology Co ltd filed Critical Guangzhou Fangzhou Information Technology Co ltd
Priority to CN202210318743.8A priority Critical patent/CN114694794A/en
Publication of CN114694794A publication Critical patent/CN114694794A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/10ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • G06F16/24578Query processing with adaptation to user needs using ranking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H70/00ICT specially adapted for the handling or processing of medical references
    • G16H70/40ICT specially adapted for the handling or processing of medical references relating to drugs, e.g. their side effects or intended usage

Abstract

The embodiment of the application relates to a method and a device for generating a medicine detail page, electronic equipment and a storage medium. The method comprises the following steps: responding to a medicine browsing request triggered by a user terminal medicine list page, and acquiring an identifier of a medicine to be requested to browse; acquiring indications corresponding to the medicine according to the identification, and acquiring the sequence of each indication; obtaining a display picture corresponding to each indication from a picture database; arranging the display pictures into a preset image-text display template in sequence according to the sequence of the indications; and generating a detail page of the medicine according to the image-text display template, and pushing the detail page to the user terminal. The embodiment of the invention can automatically generate the medicine detail page, and determine the display content of the detail page according to the characteristics of different users, thereby improving the display efficiency of the medicine detail page and realizing diversified satisfaction of user requirements.

Description

Method and device for generating medicine detail page, electronic equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of internet medical treatment, in particular to a method and a device for generating a medicine detail page, electronic equipment and a computer-readable storage medium.
Background
The development of internet technology has brought prosperity to the internet medical industry, and patients can consult diseases in an online form and receive medical services such as electronic prescriptions prescribed by doctors. On-line medicine purchase is an indispensable important ring for Internet medical treatment.
As for other online shopping platforms, when a customer purchases a product, the customer can know the detailed information of the product by looking at the product detail page, and then determine whether the product needs to be purchased. For the online medicine purchasing platform, due to the particularity of the product, the user selects the medicine more clearly and accurately and carefully than other products, which requires that the display content of the medicine detail page should enable the user to know whether the medicine is needed by the user. Particularly, for non-prescription drugs, in the case of no prescription made by a doctor, a user often judges whether a drug capable of treating a disease is needed by himself or herself by judging whether the manifestation symptoms of the disease are similar to the manifestation of the drug. As such, the symptoms of the drug to be treated or improved are described on the drug detail pages of most online drug delivery platforms.
However, most of the detail pages of the medicines are manually configured, the relevant pictures and the text information of each medicine need to be manually input or selected, and then the design and the typesetting are carried out, so that the efficiency is low; and the display page of each medicine is fixed, so that specific detailed page contents which can better meet the requirements of different users cannot be displayed.
Disclosure of Invention
To solve the technical problems in the background art, embodiments of the present application provide a method and an apparatus for generating a drug detail page, an electronic device, and a computer-readable storage medium, which are used to automatically generate a drug detail page, and determine display contents of the detail page according to characteristics of different users, thereby improving efficiency of displaying the drug detail page, and achieving diversification to meet user requirements.
A first aspect of an embodiment of the present application provides a method for generating a medicine detail page, where the method includes:
responding to a medicine browsing request triggered by a user terminal medicine list page, and acquiring an identifier of a medicine to be requested to browse;
acquiring indications corresponding to the medicine according to the identification, and acquiring the sequence of each indication;
obtaining a display picture corresponding to each indication from a picture database;
arranging the display pictures into a preset image-text display template in sequence according to the sequence of the indications;
and generating a detail page of the medicine according to the image-text display template, and pushing the detail page to the user terminal.
Further, obtaining a ranking for each indication, comprising:
acquiring a user portrait of a current user;
judging a first disease possibly suffered by the current user according to the user portrait, and acquiring a first sequence of the first disease;
acquiring indications of the medicines from a medicine database, and acquiring a second sequence of the indications, wherein the second sequence is obtained according to the ordering of the indications of the medicine specification;
if said first condition is present in said indication, adjusting said second order by priority in said first order and setting said first condition to a higher priority;
obtaining a ranking of each of the indications according to the adjusted second order.
Further, the user representation is generated based on historical purchase records and historical browsing records of the user.
Further, if the first condition is not present in the indication, the method further comprises:
obtaining a ranking for each of the indications according to the second order.
Further, after determining a first disease that the current user may suffer from according to the user profile, the method further includes:
judging whether the medicine is in contraindication conflict with the first disease;
if yes, generating reminding information related to the first disease, and putting the reminding information into the image-text display template.
Further, before generating the medicine detail page, the method further comprises the following steps:
acquiring a packaging picture of the medicine;
inputting the packaging picture into a pre-trained neural network model, and removing background elements in the packaging picture;
and placing the packaging picture without the background element into the image-text display template.
A second aspect of an embodiment of the present application provides an apparatus for generating a medicine detail page, including:
the identification acquisition module is used for responding to a medicine browsing request triggered by a user terminal medicine list page and acquiring an identification of a medicine to be browsed;
the indication acquiring and sorting module is used for acquiring the indication corresponding to the medicine according to the identification and acquiring the sorting of each indication;
the display picture acquisition module is used for acquiring a display picture corresponding to each indication from a picture database;
the picture placing module is used for sequentially placing the display pictures into a preset picture and text display template according to the sequence of the indications;
and the detail page generating and pushing module is used for generating the detail page of the medicine according to the image-text display template and pushing the detail page to the user terminal.
Further, the indication acquiring and ranking module further comprises:
a user portrait acquisition unit for acquiring a user portrait of a current user;
the first sequence determining unit is used for judging a first disease possibly suffered by the current user according to the user portrait and acquiring a first sequence of the first disease;
the second sequence determining unit is used for acquiring indications of the medicines from the medicine database and acquiring a second sequence of the indications, wherein the second sequence is obtained according to the ordering of the indications of the medicine specification;
a priority adjustment unit for adjusting the second order in accordance with a priority in the first order and setting the first disorder to a higher priority if the first disorder is present in the indications;
and the indication sorting obtaining unit is used for obtaining the sorting of each indication according to the adjusted second sequence.
A third aspect of an embodiment of the present application provides an electronic device, including:
at least one memory and at least one processor;
the memory for storing one or more programs;
when executed by the at least one processor, the one or more programs cause the at least one processor to implement the steps of the method of generating a drug detail page according to the first aspect of the embodiments of the present application.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium storing a computer program, such that the computer program, when executed by a processor, implements the steps of the method for generating a drug detail page according to the first aspect of embodiments of the present application.
According to the method for generating the medicine detail page, the indication corresponding to the target medicine is obtained according to the medicine specification, the indication most possibly suffered by the current user is preferentially displayed by sequencing according to the picture of the user, the display picture corresponding to each indication is obtained from the picture database according to the indication sequence and is sequentially placed into the preset picture and text display template, the detail page of the target medicine is generated according to the picture and text display template, and the detail page is pushed to the user terminal, so that the automatic generation of the medicine detail page is realized, the indication display pictures can be sequenced according to the pictures of different users, the user preferentially obtains the detail page information meeting the self-demand, the working efficiency is improved, and meanwhile the diversified requirements of the user are met.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Drawings
Fig. 1 is an application scenario of a method for generating a drug detail page provided in an exemplary embodiment;
FIG. 2 is a schematic diagram of a drug presentation page of a method for generating a drug detail page in an exemplary embodiment;
FIG. 3 is a flow chart of a method of generating a drug detail page provided in an exemplary embodiment;
FIG. 4 is a schematic illustration of a pharmaceutical specification provided in an exemplary embodiment;
FIG. 5 is a schematic illustration of a pharmaceutical specification provided in an exemplary embodiment;
fig. 6 is a schematic diagram of a package picture placement image-text display template after removing a background element in a method for generating a medicine detail page provided in an exemplary embodiment;
FIG. 7 is a schematic diagram of an apparatus for generating a drug detail page provided in an exemplary embodiment;
fig. 8 is a schematic structural diagram of an electronic device provided in an exemplary embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that the embodiments described are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the embodiments in the present application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the present application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims. In the description of the present application, it is to be understood that the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not necessarily used to describe a particular order or sequence, nor are they to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
For the technical problem in the background art, the embodiment of the present application provides a method for generating a medicine detail page, which is used when a user terminal browses a specified medicine, a server can automatically generate a medicine detail page for clearly displaying disease manifestation symptoms that a user may suffer from, and push the medicine detail page to the user terminal for display. As shown in fig. 1, fig. 1 is a schematic view of an application scenario in the embodiment of the present application, a user browses and selects a medicine through an APP or a browser of a user terminal 100, and a server 200 is used to push a medicine display page to the user terminal 100. The medicine display page comprises a medicine list page and a medicine detail page, the medicine list page is shown in fig. 2, a plurality of medicines are displayed in the modes of thumbnails, abbreviated characters and the like, the medicine detail page displays detailed information of one medicine in detail, the detailed information includes but is not limited to package pictures of the medicines at various angles, functional indications of the medicines, usage amount and the like, and a user can enter the detail page of one medicine by clicking an icon of the medicine list page. The user terminal 100 may be a mobile phone, or may be other mobile terminals (e.g., tablet computers), wearable devices (e.g., smart watches, sports bracelets, smart glasses), smart car-mounted devices, and the like, which have a 4G or 5G communication function.
As shown in fig. 3, fig. 3 is a flowchart of a method for generating a drug detail page provided in an exemplary embodiment, which is applied to the server 200, and specifically includes the following steps:
s101, responding to a medicine browsing request triggered by a user terminal medicine list page, and acquiring an identifier of a medicine requested to be browsed.
The trigger instruction may be a touch instruction, or a mouse click instruction, and the like, when the user terminal detects a drug browsing request triggered by the user to enter a detail page of a certain drug, the request for obtaining an identifier of the drug is sent to the server 200, and the server 200 receives the request and sends the identifier of the drug requested to be browsed to the user terminal. The identification is typically the drug ID or a database tag corresponding to the drug.
And S102, acquiring the corresponding indications of the medicine according to the identification and acquiring the sequence of each indication.
Corresponding medicine specifications are stored in the medicine database corresponding to each medicine identification, and the indications corresponding to the medicines and the sequence of each indication can be obtained by identifying the expression of the medicine attribute in the specification. Indications are diseases or symptoms which can be treated by each medicament, are expressed as disease names and symptom expressions in the medicament specification, and the sequence of the indications refers to the sequence of the indications recorded in the specification by default.
In a specific example, the method for obtaining the indication corresponding to the drug may be to identify a keyword. According to the regulations, the specifications of the medicine comprise the name, specification, manufacturing enterprise, approved drug number, product batch number, effective period, main components, indications or functional indications, administration, dosage, contraindications, adverse reactions and cautions of the medicine, and the specifications of the traditional Chinese medicine preparation also comprise the properties of main medicine taste (components), pharmacological action, storage and the like. As shown in fig. 4, fig. 4 is a schematic view of a specification of a certain medicine, and two indications, namely "hypertension" and "coronary heart disease", can be obtained by extracting text contents of keywords by using "indications" and numerical serial numbers as keywords, and the expression sequence is an indication sequence.
In another specific example, as shown in fig. 5, there is no "indication" keyword in the attributes listed in the drug instruction book shown in fig. 5, and at this time, the "functional indication", "for", "symptom" is preset as the keyword, and the punctuation mark is used as the segmentation symbol, so as to obtain the text contents of "diabetes mellitus", "polydipsia", "polyphagia", "diuresis", "emaciation", "shortness of breath and hypodynamia", "type 2 light type, medium type diabetes" caused by deficiency of both qi and yin. The text content is the corresponding indications of the medicine which simultaneously comprises the names of diseases and symptoms, and the expression sequence is the ordering of the indications.
In a preferred embodiment, the ranking of each indication is obtained by obtaining a user representation of the current user, and the specific steps are as follows:
s1021: a user representation of a current user is obtained. Specifically, the user representation is generated based on a historical purchase record and a historical browsing record of the user.
S1022: according to the user portrait, a first disease possibly suffered by the current user is judged, and a first sequence of the first disease is obtained.
Optionally, one or more diseases related to the medicines are determined to be diseases possibly suffered by the user according to all medicines and purchases and/or times related in the historical purchase record and/or the historical browsing record of the current user, the names or symptom manifestations of the diseases are first symptoms, the disease probability is determined according to the purchase times and/or the browsing times, and the disease probability is ranked from high to low according to the first order of the first symptoms. In another embodiment, one of the conditions of the user with the highest prevalence rate is determined to be a first condition, and symptom manifestations of the first condition are obtained, the symptom manifestations being arranged in the first order of the first condition. Wherein obtaining the symptom representation of the first condition may be by knowledge-graph association or from a drug database.
S1023: and acquiring indications of the medicines from the medicine database, and acquiring a second sequence of the indications, wherein the second sequence is obtained according to the ordering of the indications of the medicine specification.
S1024: if the first condition is present in the indication, the second order is adjusted according to the priority in the first order and the first condition is set to a higher priority.
S1025: and acquiring the sequence of each indication according to the adjusted second sequence.
That is, if the medicine indications have the first disease which is determined according to the user portrait and possibly suffered by the user, when the symptom pictures of the user are displayed, the first disease which is possibly suffered by the user is preferentially displayed, and the original indication sorting is adjusted according to the sequence of the first disease which is possibly suffered by the user, so that the first disease is preferentially displayed according to the sorting mode of the first disease, and the user can more intuitively and accurately find the proper medicine.
If the first condition is not present in the drug indication, the finally determined indications are ranked in a second order, i.e. the ordering of the indications according to the drug specification.
In a specific example, when a user browses a medicine for treating cold, according to a user image, the user obtains that the user has purchased a medicine for treating rhinitis for many times, and judges that the first disease of the user is rhinitis, nasal obstruction, nasal discharge, olfactory decline, headache and dizziness, and determines that the expression sequence is a first sequence; the indications in the currently browsed medicine specification for treating cold comprise cold, fever and aversion to wind, headache, nasal obstruction, sore throat and cough, and the symptom expression sequence is determined to be a second sequence. Wherein, the headache and the nasal obstruction in the indications of the medicine exist in the first disease symptom at the same time, the second sequence is adjusted according to the priority in the first sequence, and the nasal obstruction and the headache are set as higher priority, namely the ordering of each indication obtained after adjustment is nasal obstruction, headache, cold, fever and aversion to wind, sore throat and cough.
In the adjusting process, the headache and the nasal obstruction are preferentially displayed before the symptoms such as the cold, the fever and the aversion to wind, and the like, which are originally more ahead, and the nasal obstruction is adjusted to be displayed before the headache according to the first sequence.
And S203, obtaining a display picture corresponding to each indication from the picture database.
The picture database stores the indication picture in advance, and the indication display picture corresponding to the indication picture is obtained through the indication mark. In particular, the indication display picture generally shows the behavior state of the people suffering from the disease, which causes the symptoms to be shown.
And S204, arranging the display pictures into a preset image-text display template in sequence according to the sequence of the indications.
The image-text display template is an element frame which is edited in advance on a template editing interface and comprises an image display canvas and a text box. In this embodiment, the display pictures are sequentially placed into a preset image-text display template according to the sequence of the indications, that is, the display pictures are placed into a picture display canvas, the indications corresponding to the display pictures are placed into a text box associated with the picture display canvas, and the display pictures are sequentially arranged and displayed according to the sequence of the indications.
And S205, generating a detail page of the medicine according to the image-text display template, and pushing the detail page to the user terminal.
In a preferred example, after determining, according to the user profile, a first medical condition that a current user may suffer from, the method further includes:
judging whether the medicine conflicts with the first disease;
if yes, generating reminding information related to the first disease, and placing the reminding information into the image-text display template.
Specifically, the taboo conflict can be obtained by means of knowledge map association, medicine database pre-storage or web crawlers and the like.
In a preferred example, before generating the medicine detail page, the method further comprises the following steps:
acquiring a packaging picture of a medicine;
inputting the packaging picture into a pre-trained neural network model, and removing background elements in the packaging picture;
and (5) placing the packaging picture without the background element into an image-text display template, as shown in fig. 6.
In the embodiment, the indication corresponding to the target medicine is obtained according to the medicine specification, the indication is sorted according to the user image, the indication which is most possibly suffered by the current user is preferentially displayed, the display image corresponding to each indication is obtained from the image database according to the indication sequence and is sequentially placed in the preset image-text display template, the detail page of the target medicine is generated according to the image-text display template, and the detail page is pushed to the user terminal, so that the automatic generation of the medicine detail page is realized, the indication display images can be sorted according to the different user images of different users, the user preferentially obtains the detail page information meeting the self-demand, the working efficiency is improved, and meanwhile, the diversified user demands are met.
An embodiment of the present application further provides a device for generating a medicine detail page, as shown in fig. 7, fig. 7 is a schematic structural diagram of the device for generating a medicine detail page provided in an exemplary embodiment.
The apparatus 600 for generating a medicine detail sheet includes:
the identifier obtaining module 601 is configured to obtain an identifier of a requested medicine to be browsed in response to a medicine browsing request triggered by a user terminal medicine list page.
An indication obtaining and sorting module 602, configured to obtain, according to the identifier, an indication corresponding to the drug, and obtain a sorting of each indication.
A display picture obtaining module 603, configured to obtain, from a picture database, a display picture corresponding to each indication.
The picture placing module 604 is configured to sequentially place the display pictures into a preset picture and text display template according to the sorting of the indications.
And the detail page generating and pushing module 605 is configured to generate a detail page of the medicine according to the image-text display template, and push the detail page to the user terminal.
In an exemplary embodiment, the indication acquisition and ranking module 602 further includes:
and the user portrait acquiring unit is used for acquiring the user portrait of the current user.
And the first sequence determining unit is used for judging a first disease possibly suffered by the current user according to the user portrait and acquiring a first sequence of the first disease.
And the second sequence determining unit is used for acquiring the indications of the medicines from the medicine database and acquiring a second sequence of the indications, wherein the second sequence is obtained according to the ordering of the indications of the medicine specification.
A priority adjustment unit for adjusting the second order according to the priority in the first order and setting the first disorder as a higher priority if the first disorder is present in the indications.
And an indication rank acquiring unit configured to acquire a rank of each indication according to the adjusted second rank, and if the first disorder does not exist in the indications, acquire a rank of each indication according to the second rank.
In an exemplary embodiment, the user representation obtaining unit further includes:
and the user portrait generating unit is used for generating a user portrait according to the historical purchase record and the historical browsing record of the user.
In an exemplary embodiment, the first order obtaining unit further includes:
an emergency conflict determination unit for determining whether the medicine conflicts with the first disease contraindication.
And the reminding information generating and embedding unit is used for generating reminding information related to the first disease and embedding the reminding information into the image-text display template when the emergency conflict exists.
In an exemplary embodiment, the detail page generation and pushing module 605 further comprises:
and the package picture acquisition unit is used for acquiring the package picture of the medicine.
And the background element removing unit is used for inputting the packaging picture into a pre-trained neural network model and removing the background elements in the packaging picture.
And the packaging picture placing unit is used for placing the packaging picture without the background element into the image-text display template.
As shown in fig. 8, fig. 8 is a block diagram of an electronic device according to an exemplary embodiment of the present application.
The electronic device includes a processor 710 and a memory 720. The number of the processors 710 in the main control chip may be one or more, and one processor 710 is taken as an example in fig. 8. The number of the memories 720 in the main control chip may be one or more, and one memory 720 is taken as an example in fig. 8.
The memory 720 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as a program of a method for generating a drug detail page according to any embodiment of the present application, and program instructions/modules corresponding to the method for generating a drug detail page according to any embodiment of the present application. The memory 720 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 720 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 720 may further include memory located remotely from the processor 710, which may be connected to devices over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor 710 executes software programs, instructions and modules stored in the memory 720, so as to execute various functional applications and data processing of the device, that is, to implement a method for generating a medicine detail page according to any one of the above embodiments.
The present invention may take the form of a computer program product embodied on one or more storage media including, but not limited to, disk storage, CD-ROM, optical storage, and the like, having program code embodied therein. Computer readable storage media, which include both non-transitory and non-transitory, removable and non-removable media, may implement any method or technology for storage of information. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of the storage medium of the computer include, but are not limited to: phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium may be used to store information that may be accessed by a computing device.
It is to be understood that the embodiments of the present application are not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the embodiments of the present application is limited only by the following claims.
The above-mentioned embodiments only express a few embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for those skilled in the art, variations and modifications can be made without departing from the concept of the embodiments of the present application, and these embodiments are within the scope of the present application.

Claims (10)

1. A method for generating a medicine detail page is characterized by comprising the following steps:
responding to a medicine browsing request triggered by a user terminal medicine list page, and acquiring an identifier of a medicine to be requested to browse;
acquiring indications corresponding to the medicine according to the identification, and acquiring the sequence of each indication;
obtaining a display picture corresponding to each indication from a picture database;
arranging the display pictures into a preset image-text display template in sequence according to the sequence of the indications;
and generating a detail page of the medicine according to the image-text display template, and pushing the detail page to the user terminal.
2. The method of claim 1, wherein obtaining a ranking for each indication comprises:
acquiring a user portrait of a current user;
judging a first disease possibly suffered by the current user according to the user portrait, and acquiring a first sequence of the first disease;
acquiring indications of the medicines from a medicine database, and acquiring a second sequence of the indications, wherein the second sequence is obtained according to the ordering of the indications of the medicine specification;
if said first condition is present in said indication, adjusting said second order by priority in said first order and setting said first condition to a higher priority;
obtaining a ranking of each of the indications according to the adjusted second order.
3. A method for generating a detail page of a drug according to claim 2, wherein:
the user representation is generated according to the historical purchase record and the historical browsing record of the user.
4. The method of claim 2, wherein if the first condition is not present in the indication, the method further comprises:
obtaining a ranking for each of the indications according to the second order.
5. The method as claimed in claim 2, wherein after determining a first disease condition that a current user may have based on the user profile, the method further comprises:
judging whether the medicine is in contraindication conflict with the first disease;
if yes, generating reminding information related to the first disease, and putting the reminding information into the image-text display template.
6. A method for generating a detail page of a medicine according to claim 1, wherein before generating the detail page of the medicine, the method further comprises the following steps:
acquiring a packaging picture of the medicine;
inputting the packaging picture into a pre-trained neural network model, and removing background elements in the packaging picture;
and placing the packaging picture without the background element into the image-text display template.
7. An apparatus for generating a detail sheet of a drug, the apparatus comprising:
the identification acquisition module is used for responding to a medicine browsing request triggered by a user terminal medicine list page and acquiring an identification of a medicine requested to be browsed;
the indication acquiring and sorting module is used for acquiring the indication corresponding to the medicine according to the identification and acquiring the sorting of each indication;
the display picture acquisition module is used for acquiring a display picture corresponding to each indication from a picture database;
the picture placing module is used for sequentially placing the display pictures into a preset picture and text display template according to the sequence of the indications;
and the detail page generating and pushing module is used for generating the detail page of the medicine according to the image-text display template and pushing the detail page to the user terminal.
8. The apparatus of claim 7, wherein the indication retrieving and sorting module further comprises:
a user portrait acquisition unit for acquiring a user portrait of a current user;
the first sequence determining unit is used for judging a first disease possibly suffered by the current user according to the user portrait and acquiring a first sequence of the first disease;
the second sequence determining unit is used for acquiring indications of the medicines from the medicine database and acquiring a second sequence of the indications, wherein the second sequence is obtained according to the ordering of the indications of the medicine specification;
a priority adjustment unit for adjusting the second order in accordance with a priority in the first order and setting the first disorder to a higher priority if the first disorder is present in the indications;
and the indication sorting obtaining unit is used for obtaining the sorting of each indication according to the adjusted second sequence.
9. An electronic device, comprising:
at least one memory and at least one processor;
the memory for storing one or more programs;
when executed by the at least one processor, cause the at least one processor to carry out the steps of the method of generating a drug detail page according to any one of claims 1 to 6.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method of generating a drug detail page according to any one of claims 1 to 6.
CN202210318743.8A 2022-03-29 2022-03-29 Method and device for generating medicine detail page, electronic equipment and storage medium Pending CN114694794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210318743.8A CN114694794A (en) 2022-03-29 2022-03-29 Method and device for generating medicine detail page, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210318743.8A CN114694794A (en) 2022-03-29 2022-03-29 Method and device for generating medicine detail page, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114694794A true CN114694794A (en) 2022-07-01

Family

ID=82141780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210318743.8A Pending CN114694794A (en) 2022-03-29 2022-03-29 Method and device for generating medicine detail page, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114694794A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402949A (en) * 2017-04-28 2017-11-28 西安电子科技大学 A kind of medicine video specification book and specification generation method
CN113449233A (en) * 2020-03-27 2021-09-28 华为技术有限公司 Method, device and system for processing detail page, electronic equipment and storage medium
WO2021260333A1 (en) * 2020-06-26 2021-12-30 Posos Pharmacological recommendation system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402949A (en) * 2017-04-28 2017-11-28 西安电子科技大学 A kind of medicine video specification book and specification generation method
CN113449233A (en) * 2020-03-27 2021-09-28 华为技术有限公司 Method, device and system for processing detail page, electronic equipment and storage medium
WO2021260333A1 (en) * 2020-06-26 2021-12-30 Posos Pharmacological recommendation system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王建平 等: "《家庭用药安全指南》", 31 December 2018, 浙江教育出版社 *

Similar Documents

Publication Publication Date Title
US10416851B2 (en) Electronic publishing mechanisms
CN108491446B (en) Method and system for providing a scroll map
KR20200119913A (en) Identifying temporal demand for autocomplete search results
WO2022111249A1 (en) Information presentation method, apparatus, and computer storage medium
US9684735B2 (en) System and method for recommending fonts
CN107341173A (en) A kind of information processing method and device
JP6976207B2 (en) Information processing equipment, information processing methods, and programs
US10073951B2 (en) Demographically filterable interface for conveying information about a medication
CN113722371A (en) Medicine recommendation method, device, equipment and storage medium based on decision tree
US9471558B2 (en) Generation of introductory information page
US20130204864A1 (en) Information provision device, information provision method, program, and information recording medium
JP6945518B2 (en) Information processing equipment, information processing methods and information processing programs
WO2019227705A1 (en) Image entry method, server and computer storage medium
US11605109B2 (en) Search system, search method and program
US20150178266A1 (en) Entity-based summarization for electronic books
JP5559750B2 (en) Advertisement processing apparatus, information processing system, and advertisement processing method
US20150356059A1 (en) Electronic book system, electronic book provision method, recording medium, and program
JP7124383B2 (en) Information display device, information processing device, information display system and program
CN114694794A (en) Method and device for generating medicine detail page, electronic equipment and storage medium
CN115033805A (en) Preschool children picture book intelligent recommendation method and picture book management system
CN113703898A (en) Card type interaction method, device, equipment and medium
JP2012043290A (en) Information providing device, information providing method, program, and information recording medium
JP3967230B2 (en) Image information display system
US10776860B2 (en) Retail website user interface, systems, and methods for displaying trending looks
TW201407515A (en) Method and system for processing shopping information over internet, and a readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220701