CN111737542B - Medicine entity information searching method and storage medium - Google Patents
Medicine entity information searching method and storage medium Download PDFInfo
- Publication number
- CN111737542B CN111737542B CN202010692928.6A CN202010692928A CN111737542B CN 111737542 B CN111737542 B CN 111737542B CN 202010692928 A CN202010692928 A CN 202010692928A CN 111737542 B CN111737542 B CN 111737542B
- Authority
- CN
- China
- Prior art keywords
- drug
- information
- target
- entity information
- entity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 239000003814 drug Substances 0.000 title claims abstract description 391
- 229940079593 drug Drugs 0.000 title claims abstract description 238
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000004806 packaging method and process Methods 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 14
- 229940046236 drug tradename Drugs 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000004519 manufacturing process Methods 0.000 description 4
- RZVAJINKPMORJF-UHFFFAOYSA-N Acetaminophen Chemical compound CC(=O)NC1=CC=C(O)C=C1 RZVAJINKPMORJF-UHFFFAOYSA-N 0.000 description 3
- 229960001280 amantadine hydrochloride Drugs 0.000 description 3
- WOLHOYHSEKDWQH-UHFFFAOYSA-N amantadine hydrochloride Chemical compound [Cl-].C1C(C2)CC3CC2CC1([NH3+])C3 WOLHOYHSEKDWQH-UHFFFAOYSA-N 0.000 description 3
- 150000001875 compounds Chemical class 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 229960005489 paracetamol Drugs 0.000 description 3
- 238000009512 pharmaceutical packaging Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000009383 gan-kang Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- VEXZGXHMUGYJMC-UHFFFAOYSA-N Hydrochloric acid Chemical compound Cl VEXZGXHMUGYJMC-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000002775 capsule Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 239000008187 granular material Substances 0.000 description 1
- 239000004615 ingredient Substances 0.000 description 1
- 235000012054 meals Nutrition 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 208000024891 symptom Diseases 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9038—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9538—Presentation of query results
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H70/00—ICT specially adapted for the handling or processing of medical references
- G16H70/40—ICT specially adapted for the handling or processing of medical references relating to drugs, e.g. their side effects or intended usage
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Chemical & Material Sciences (AREA)
- Medicinal Chemistry (AREA)
- Pharmacology & Pharmacy (AREA)
- Toxicology (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Primary Health Care (AREA)
- Public Health (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The application is applicable to the technical field of big data, and provides a searching method of drug entity information, a searching device of the drug entity information, terminal equipment and a computer readable storage medium, wherein the searching method of the drug entity information comprises the steps of inquiring a corresponding drug reference entity information set from a local database according to drug entity keywords, displaying a plurality of drug reference entity information in the drug reference entity information set in a searching page according to a preset display strategy for a user to determine target drug entity information, sending a searching request containing the target drug entity information and drug entity attribute information to a server through the searching page, further receiving and loading a target page file returned by the server according to the searching request, obtaining the target page containing the target information, and realizing the searching of the drug entity information without inputting complete drug information when searching the drug entity information, the searching efficiency of the medicine entity information is improved.
Description
Technical Field
The present application relates to the field of big data technologies, and in particular, to a method for searching drug entity information, a device for searching drug entity information, a terminal device, and a computer-readable storage medium.
Background
With the development of mobile terminals and internet technology, people are increasingly accustomed to searching for relevant knowledge, such as searching for ingredients of medicines, methods of use, etc., through the internet.
Although the existing medicine information retrieval tool can realize the function of searching the target medicine information, in practical application, a user must input a correct medicine name to search the information of the target medicine, and after the information of the target medicine is searched, a corresponding content segment needs to be searched from the information, so that the information which the user wants to know can be obtained. Therefore, the existing medicine entity information searching scheme has the problem of low searching efficiency.
Disclosure of Invention
In view of this, embodiments of the present application provide a method, an apparatus, a terminal device and a computer-readable storage medium for searching for drug entity information, so as to solve the problem in the prior art that a drug entity information search scheme has a low search efficiency.
A first aspect of an embodiment of the present application provides a method for searching drug entity information, including:
if the drug entity key words input by the user are detected through the search page, inquiring a corresponding drug reference entity information set from a local database according to the drug entity key words; wherein the drug reference entity information set comprises a plurality of drug reference entity information;
displaying a plurality of pieces of drug reference entity information in the search page according to a preset display strategy; wherein, a plurality of the drug reference entity information is used for the user to determine the target drug entity information;
sending a search request containing the target drug entity information and the drug entity attribute information to a server through the search page; the server is used for inquiring corresponding target information according to the target medicine entity information and the medicine entity attribute information;
receiving and loading a target page file returned by the server according to the search request to obtain a target page; wherein the target page contains the target information.
A second aspect of an embodiment of the present application provides a device for searching drug entity information, including:
the system comprises a search unit, a storage unit and a processing unit, wherein the search unit is used for searching a local database for a medicine reference entity information set according to a medicine entity keyword input by a user; wherein the drug reference entity information set comprises a plurality of drug reference entity information;
the display unit is used for displaying a plurality of pieces of medicine reference entity information in the search page according to a preset display strategy; wherein, a plurality of the drug reference entity information is used for the user to determine the target drug entity information;
the sending unit is used for sending a search request containing the target drug entity information and the drug entity attribute information to a server through the search page; the server is used for inquiring corresponding target information according to the target medicine entity information and the medicine entity attribute information;
the receiving and loading unit is used for receiving and loading the target page file returned by the server according to the search request to obtain a target page; wherein the target page contains the target information.
A fourth aspect of the embodiments of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the computer device, where the processor implements the steps of the method for searching for drug entity information provided by the first scheme when executing the computer program.
A fifth aspect of embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the search method for drug entity information provided by the first aspect.
The implementation of the medicine entity information searching method, the medicine entity information searching device, the computer equipment and the computer readable storage medium provided by the embodiment of the application has the following beneficial effects:
the method for searching drug entity information provided by the embodiment of the application detects drug entity keywords input by a user through a search page, inquires a corresponding drug reference entity information set from a local database according to the drug entity keywords, displays a plurality of drug reference entity information in the drug reference entity information set in the search page according to a preset display strategy for the user to determine target drug entity information, sends a search request containing the target drug entity information and drug entity attribute information to a server through the search page, receives and loads a target page file returned by the server according to the search request to obtain the target page containing the target information, so that when drug entity information is searched, the target drug entity information and the drug entity attribute information can be searched without inputting complete drug information, the searching efficiency of the medicine entity information is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an implementation of a method for searching drug entity information according to an embodiment of the present application;
FIG. 2 is a flowchart of an implementation of a method for searching drug entity information according to another embodiment of the present application;
FIG. 3 is a flowchart illustrating an implementation of a method for searching drug entity information according to yet another embodiment of the present application;
fig. 4 is a block diagram illustrating a structure of a medicine entity information search apparatus according to an embodiment of the present application;
fig. 5 is a block diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for searching for drug entity information according to the embodiment of the present application may be executed by a terminal device (hereinafter referred to as a "terminal").
The method for searching the drug entity information is applied to scenes such as intelligent medical treatment, intelligent education and the like, so that when drug entity information is searched, searching of target drug entity information and drug entity attribute information can be achieved without inputting complete drug information, searching efficiency of the drug entity information is improved, and construction of a smart city is promoted.
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a method for searching drug entity information according to an embodiment of the present application.
As shown in fig. 1, a method for searching drug entity information includes:
s11: and if the drug entity key words input by the user are detected through the search page, inquiring a corresponding drug reference entity information set from a local database according to the drug entity key words.
In step S11, the medicine entity keyword is the content input by the user in the search page displayed by the terminal device. The drug reference entity information set comprises a plurality of drug reference entity information. Here, the search page is configured with corresponding information collecting buried points, for example, in a configuration file of the search page, a corresponding buried point file is configured at a part of the search information input box for collecting the content input by the user and identifying the content as a medicine entity keyword. After the page file of the search page is loaded, the real-time monitoring of the search page is realized by executing the point-embedding file, and when the character content input by a user is detected, the character content is identified as a medicine entity keyword.
In this embodiment, the information in the local database is used to describe the correspondence between the drug entity keyword and the plurality of drug reference entity information. Here, the information in the local database is specifically used to describe the correspondence between the drug entity keyword and the drug fuzzy keyword, and the correspondence between the drug fuzzy keyword and the drug trade name, the drug common name, and/or the drug ATC code.
As an embodiment of the present application, step S11 includes:
if the medicine entity keywords input by the user are detected through the search page, inquiring corresponding medicine fuzzy keywords from the local database according to the medicine entity keywords; matching corresponding drug trade names, drug common names and/or drug ATC codes based on the drug fuzzy keywords; identifying the drug trade name, the drug common name, and/or the drug ATC code as the drug reference entity information set.
In this embodiment, the information in the local database is specifically shown in table 1 below, after the entity keyword is detected, the corresponding medicine fuzzy keyword is searched from the database, and then the medicine trade name, the medicine common name, and/or the medicine ATC code is matched based on the medicine fuzzy keyword, that is, the medicine reference entity information may be the medicine fuzzy keyword, the medicine trade name, the medicine common name, or the medicine ATC code, or a combination of the medicine fuzzy keyword, the medicine trade name, the medicine common name, and the medicine ATC code.
TABLE 1 information in local database (examples)
In practical application, since the medicine entity keyword is the text content input by the user, and the medicine entity keyword has a possibility that the name of the medicine cannot be accurately described, the medicine entity keyword needs to be subjected to fuzzy matching to determine a corresponding medicine fuzzy keyword, and then subjected to associative matching with the medicine trade name or the medicine common name according to the medicine fuzzy keyword. And corresponding medicine fuzzy keywords are configured according to the reference keywords, so that after the medicine entity keywords are detected, the corresponding medicine fuzzy keywords can be determined from the local database, and a user can be prompted to input or select the corresponding medicine name under the condition that the actual name of the medicine is not clear.
It should be noted that, in the local database, the medicine fuzzy keyword is a keyword obtained by performing fuzzy matching on the medicine entity keyword, wherein the fuzzy matching on the medicine entity keyword may be obtained by performing fuzzy matching on the basis of pinyin, word meaning, and radical of the medicine entity keyword, for example, performing pinyin fuzzy matching on the basis of a raw initial, a compound vowel, a front nasal sound, a rear nasal sound, etc. of the pinyin corresponding to the medicine entity keyword. Further, the fuzzy matching may be performed based on the number of words or the preceding and following word groups of the medicine entity keyword, for example, the medicine entity keyword is "sense", the number of words of the medicine entity keyword is 1, and there is no preceding and following word groups, and the fuzzy matching may be performed on the entity keyword to obtain medicine fuzzy keywords such as "gankang (compound paracetamol amantadine hydrochloride tablet)", "ganmaoling (granule)", "clofenflurane (clofenyellow tablet)", and the like. For another example, the medicine entity keyword is "take Guili", the number of the medicine entity keyword is 3, the front and back word groups are at least "take Gui", "Guili" and "take Guili", and the medicine fuzzy keyword obtained by fuzzy matching the word groups can be "FluGuili hydrochloride capsule".
S12: displaying a plurality of pieces of drug reference entity information in the search page according to a preset display strategy; wherein, a plurality of the drug reference entity information is used for determining target drug entity information by a user.
In step S12, a preset display policy is used to describe the manner in which the plurality of medicine reference entity information is displayed in the search page. Here, the terminal device displays the plurality of pieces of medicine reference entity information in the search page according to a preset display policy, and specifically, the terminal device may display the plurality of pieces of medicine reference entity information in an order from small to large according to the number of words of contents of the plurality of pieces of medicine reference entity information, or display the plurality of pieces of medicine reference entity information in an order from large to small according to the number of times of user selection or user input.
In this embodiment, the drug reference entity information may be a drug fuzzy keyword, a drug trade name, a drug common name, or a drug ATC code, or a combination of the drug fuzzy keyword, the drug trade name, the drug common name, and the drug ATC code, and after the user inputs the drug entity keyword in the search page, a result obtained by fuzzy matching according to the drug entity keyword is displayed as a plurality of drug reference entity information, which can provide a reference for the user, so that a reference option is provided for the user when the user cannot accurately learn the drug name, and user experience is improved.
It should be noted that, a plurality of pieces of medicine reference entity information are displayed in the search page for the user to determine the target entity information, after the user selects one piece of medicine reference entity information from the plurality of pieces of medicine reference entity information, the medicine reference entity information is identified as the target medicine entity information, and further the medicine entity keywords input by the user in the search page are replaced, and when the user does not select one piece of medicine reference entity information from the plurality of pieces of medicine reference entity information, the medicine entity keywords input by the user in the search page are identified as the target medicine entity information.
In practical applications, if a user knows a name of a certain drug, the user knows more or less what disease the drug is used for treating or relieving certain symptoms, and when the user needs to further know the curative effect of the drug or other drugs contraindicated to the curative effect, the user must input the related question content after inputting the name of the drug, so that after determining the target drug entity information, that is, after the user has input the drug entity keyword, or selects one drug reference entity information from a plurality of drug reference entity information, the user also includes the question sentence corresponding to the target drug entity information, that is, the drug entity attribute information.
It should be understood that after a user selects one piece of drug reference entity information from a plurality of pieces of drug reference entity information, the user can be provided with options of drug entity attribute information by displaying a plurality of pieces of drug reference attribute information, wherein the plurality of pieces of drug reference attribute information can be obtained by counting the drug entity attribute information which is input by different users and is associated with target drug entity information in the past, then carrying out selection or occurrence frequency statistics on the drug entity attribute information, further summarizing the drug reference attribute information and displaying the drug reference attribute information, reducing the operation steps of information input by the user, and improving the search efficiency.
S13: and sending a search request containing the target drug entity information and the drug entity attribute information to a server through the search page.
In step S13, the drug entity attribute information is a question statement input by the user based on the target drug entity information for characterizing the search purpose associated with the target entity information. And the server is used for inquiring corresponding target information according to the target medicine entity information and the medicine entity attribute information. The content of the target information is a search purpose represented by the drug entity attribute information and associated with the target entity information, and the corresponding content is an answer queried by the server according to the drug name and the search purpose.
In this embodiment, the search page is a client page displayed on the terminal device, and the server cooperates with the client page to receive a search request sent by the mobile terminal through the client page.
It should be noted that, in the process of sending the search request to the server through the client page, the search statement input by the user in the search page may be split and marked according to the target drug entity information and the drug entity attribute information, and then encapsulated into the corresponding query request to be sent to the server. The server determines corresponding medicine information according to the target medicine entity information in the search request, determines corresponding reference words, namely actual question content according to the medicine entity attribute information, and further determines corresponding answer content, namely target information.
S14: and receiving and loading the page file returned by the server according to the search request to obtain a target page.
In step S14, the page file includes target information, which is the reply content searched by the server according to the search request.
In this embodiment, when the terminal device receives a page file returned by the server according to the search request, the terminal device obtains a target page by analyzing target information included in the page file and loading the target information into a preset web template.
As an embodiment of the present application, the server queries the corresponding target information according to the target drug entity information and the question statement, which may be specifically implemented by querying a service list, as shown in table 2 below.
Table 2 service list (examples)
The server determines the content of the entity information of the target medicine, further determines corresponding medicine information, matches corresponding reference words, namely question content, according to the entity attribute information, and then determines corresponding answer content, namely target information. As shown in table 2, when the target drug entity information is "gankang" or "paracetamol and amantadine hydrochloride tablet", the corresponding drug information in the service list is the same drug information, that is, "compound paracetamol and amantadine hydrochloride tablet". Similarly, the attribute information of the drug entity following the information of the target drug entity is "how to take", "when to eat", "how many tablets to eat at a time", and the like, and the corresponding reference term is "usage amount", and accordingly, the output answer content is "oral administration". One tablet at a time, 2 times a day. (taken after meal) ".
It should be noted that, in all embodiments of the present application, in order to further improve efficiency of querying medicine information by a user, the target information in this embodiment is accurate information obtained by a server according to a search request, and specifically, when the server searches for the target information according to the search request, in addition to target entity information targeted by the search request, the server also needs to consider entity attribute information, that is, in addition to the need to consider searching for a corresponding medicine, the server also needs to consider which dimension of the medicine the user searches for. Therefore, the target information in all embodiments of the present application is not all information of the medicine corresponding to the target entity information, but is target information obtained by further querying according to the entity attribute information from all information of the medicine corresponding to the target entity information.
As an embodiment of the application, the target page file includes a medicine package picture set and a target information set corresponding to the medicine package picture set; the pictures in the medicine package picture set correspond to the information in the target information set one by one. Step S14 includes:
acquiring the number of the medicine packaging pictures in the medicine packaging picture set; configuring a corresponding display table according to the number of the medicine packaging pictures; and correspondingly displaying the medicine package picture set and the target information set in the display table to obtain a target page.
In this embodiment, the set of medicine package pictures includes at least one medicine package picture.
In practical applications, because the unit dose or specific drug status of a drug varies according to different production parties or different packaging specifications, in order to distinguish the drug and the specification of different production parties, a page file contains a drug packaging picture set and a plurality of target information corresponding to a plurality of drug packaging pictures in the drug packaging picture set one by one. When the same medicine has a plurality of production parties, the packaging or specification used by each production party has different possibility, so that the medicine packaging picture and the target information are correspondingly displayed in the display table, and the phenomenon that the information which is mistakenly inquired by a user is inconsistent with the actual information due to different manufacturers, different packaging styles or different specifications and the like can be avoided.
It should be understood that, in practical applications, the set of medicine package pictures and the set of target information are correspondingly displayed in the display table, and a medicine purchase link corresponding to each medicine package picture may also be displayed in the display table, so as to obtain a target page. Here, the medicine purchase link may be obtained by searching after entity information search and picture screening are performed on a corresponding medicine online platform according to the medicine package picture. In the scheme, the number of the medicine packaging pictures in the medicine packaging picture set is acquired, the corresponding display form is configured according to the number of the medicine packaging pictures, and finally the medicine packaging picture set and the target information set are correspondingly displayed in the display form, so that the finally obtained target page contains all the medicine packaging pictures and the target information corresponding to each medicine packaging picture, the phenomenon that a user can inquire the authenticity of the content by mistake due to different medicine packages is avoided, and meanwhile, the search comprehensiveness is improved.
As can be seen from the above, in the method for searching drug entity information provided in this embodiment, a drug entity keyword input by a user is detected through a search page, a corresponding drug reference entity information set is queried from a local database according to the drug entity keyword, a plurality of drug reference entity information in the drug reference entity information set are displayed in the search page according to a preset display policy, so that the user can determine target drug entity information, a search request including the target drug entity information and drug entity attribute information is sent to a server through the search page, a target page file returned by the server according to the search request is received and loaded, a target page including the target information is obtained, and when drug entity information is searched, searching for the target drug entity information and the drug entity attribute information can be achieved without inputting complete drug information, the searching efficiency of the medicine entity information is improved.
Referring to fig. 2, fig. 2 is a flowchart illustrating an implementation of a method for searching drug entity information according to another embodiment of the present application. Compared with the embodiment corresponding to fig. 1, the method for searching for drug entity information provided by the present embodiment further includes steps S21-S22 before step S11. The details are as follows:
s21: and configuring an information acquisition embedded point file in the page file of the original search page to obtain a new search page file.
S22: and acquiring and loading the new search page file to obtain a search page.
In this embodiment, the information collection buried point file is configured to the page file of the original search page, so that when the page file configured with the information collection buried point file is loaded and executed, the information collection buried point file can be executed at the same time, and further, the buried point configuration of the search page is realized.
The information collection buried point file is configured for the global content of the search page, for example, a search bar, a function button, and the like are provided in the search page, and the content of the information collection buried point file describes a location and a content type where information collection is required for the search bar, the function button, and the like in the search page.
It can be understood that, since the information collection buried point file is configured for the global content of the search page, the method used by the user for inputting the characters in the search page can be collected, that is, the input method tool or the virtual keyboard content can be collected.
As an embodiment of the present application, after step S22, the method further includes step S23:
s23: and if the request that the current input tool triggers to acquire the network resources is monitored through the search page, forbidding to start a new tab page through the current input tool.
In step S23, the current input tool is an input tool used when the user inputs information to the search page, that is, an input method application or the like.
In this embodiment, in order to avoid a phenomenon that a user shunts due to a search plug-in of an input tool during a medicine entity information search, the present embodiment monitors whether a current input tool triggers a request for acquiring a network resource through a search page, and when the current input tool triggers the request for acquiring the network resource through the search page, it can be determined that the current input tool attempts to perform page jump by analyzing content input by the user, so as to induce the user to open other web page windows, so that a new tab page is prohibited from being enabled through the current input tool, that is, it is avoided that associated information is displayed in a candidate word display bar of the input tool when the user inputs information, and the user is induced to open a new browsing page or start other application programs, so that the user can be effectively prevented from being shunted, and user experience is improved, user stickiness is increased.
Referring to fig. 3, fig. 3 is a flowchart illustrating an implementation of a method for searching drug entity information according to yet another embodiment of the present application. With respect to the embodiment corresponding to fig. 3, the method for searching for drug entity information provided by the present embodiment further includes steps S31 to S32 after step S14. The details are as follows:
s31: and when a preset instruction for additionally storing the target page is detected, storing the target page as an editable text.
S32: and uploading the target page file and/or the editable text to a block chain.
In this embodiment, in order to copy the information queried by the user from the target page, a corresponding virtual print button may be set in the target page, and when the user clicks the virtual print button, the target information may be virtually printed through the target page and further saved as an editable text.
It is understood that the editable text can be Excel text, Word text and any other text suitable for content editing through a computer.
In all embodiments of the present application, a target page file and/or an editable text containing target information is obtained by querying based on the target drug entity information and the drug entity attribute information, specifically, the target page file and/or the editable text is obtained by searching the drug entity information through a terminal device, for example, by using an application APP or a web page of a search method configured with the drug entity information. Uploading the target page file and/or editable text to the blockchain may ensure its security and fair transparency to the user. The user device may download the target pagefile and/or editable text from the blockchain to verify that the target pagefile and/or editable text has been tampered with. The blockchain referred to in this example is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
In the scheme, the drug entity key words input by the user are detected through the search page, the corresponding drug reference entity information sets are inquired from the local database according to the drug entity key words, displaying a plurality of pieces of drug reference entity information in the drug reference entity information set in a search page according to a preset display strategy for a user to determine target drug entity information, sending a search request containing the target drug entity information and drug entity attribute information to a server through the search page, further receiving and loading a target page file returned by the server according to the search request to obtain a target page containing target information, when medicine entity information is searched, searching of target medicine entity information and medicine entity attribute information can be achieved without inputting complete medicine information, and searching efficiency of medicine entity information is improved.
In addition, the target page is stored as an editable text, so that the user can use the searched information immediately after searching the information through the client without additional editing, and the use viscosity of the user to the client is improved.
Referring to fig. 4, fig. 4 is a block diagram illustrating a structure of a device for searching drug entity information according to an embodiment of the present disclosure. The units included in the mobile terminal in this embodiment are configured to execute the steps in the embodiments corresponding to fig. 1 to 3. Please refer to fig. 1 to 3 and fig. 1 to 3 for the corresponding embodiments. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 4, the search means 40 for medicine entity information includes: a query unit 41, a display unit 42, a sending unit 43 and a receiving and loading unit 44, wherein:
the query unit 41 is configured to, if a drug entity keyword input by a user is detected through a search page, query a corresponding drug reference entity information set from a local database according to the drug entity keyword; wherein the drug reference entity information set comprises a plurality of drug reference entity information.
The display unit 42 is configured to display the plurality of pieces of drug reference entity information in the search page according to a preset display policy; wherein, a plurality of the drug reference entity information is used for determining target drug entity information by a user.
A sending unit 43, configured to send a search request including the target drug entity information and the drug entity attribute information to a server through the search page; and the server is used for inquiring corresponding target information according to the target medicine entity information and the medicine entity attribute information.
A receiving and loading unit 44, configured to receive and load a target page file returned by the server according to the search request, so as to obtain a target page; wherein the target page contains the target information.
As an embodiment of the present application, the search apparatus 40 for medicine entity information further includes: the configuration unit 45 and the acquisition unit 46.
And the configuration unit 45 is configured to configure the information acquisition embedded point file in the page file of the original search page to obtain a new search page file.
And an obtaining unit 46, configured to obtain and load the new search page file to obtain a search page.
As an embodiment of the present application, the search apparatus 40 for medicine entity information further includes:
the first executing unit 47 is configured to prohibit enabling a new tab page through the current input tool if it is monitored through the search page that the current input tool triggers a request for acquiring a network resource.
As an embodiment of the present application, the query unit 41 is specifically configured to, if a drug entity keyword input by a user is detected through a search page, query a corresponding drug fuzzy keyword from the local database according to the drug entity keyword; matching corresponding drug trade names, drug common names and/or drug ATC codes based on the drug fuzzy keywords; identifying the drug trade name, the drug common name, and/or the drug ATC code as the drug reference entity information set.
As an embodiment of the present application, the target page file includes a drug package picture set and a target information set corresponding to the drug package picture set; and the pictures in the medicine package picture set correspond to the information in the target information set one by one.
The receiving and loading unit 44 is specifically configured to obtain the number of the medicine package pictures in the medicine package picture set; configuring a corresponding display table according to the number of the medicine packaging pictures; and correspondingly displaying the medicine package picture set and the target information set in the display table to obtain a target page.
As an embodiment of the present application, the search apparatus 40 for medicine entity information further includes:
a second executing unit 48, configured to, when a preset instruction for additionally saving the target page is detected, save the target page as an editable text.
As an embodiment of the present application, the search apparatus 40 for medicine entity information further includes:
a third executing unit 49, configured to upload the target page file and/or the editable text into the block chain.
It should be understood that, in the structural block diagram of the medicine entity information search apparatus shown in fig. 4, each unit is used to execute each step in the embodiment corresponding to fig. 1 to fig. 3, and each step in the embodiment corresponding to fig. 1 to fig. 3 has been explained in detail in the above embodiment, and specific reference is made to the relevant description in the embodiment corresponding to fig. 1 to fig. 3 and fig. 1 to fig. 3, which is not repeated herein.
Fig. 5 is a block diagram of a terminal device according to another embodiment of the present application. As shown in fig. 5, the terminal device 50 of this embodiment includes: a processor 51, a memory 52 and a computer program 53 stored in said memory 52 and executable on said processor 51, such as a program of a search method for drug entity information. The processor 51 implements the steps in the embodiments of the searching method for the information of each drug entity described above when executing the computer program 53, such as S11 to S14 shown in fig. 1, or S21 to S14 and S21 to S32 shown in fig. 2 and 3. Alternatively, when the processor 51 executes the computer program 53, the functions of the units in the embodiment corresponding to fig. 4, for example, the functions of the units 41 to 49 shown in fig. 4, are implemented, for which reference is specifically made to the relevant description in the embodiment corresponding to fig. 4, which is not repeated herein.
Illustratively, the computer program 53 may be divided into one or more units, which are stored in the memory 52 and executed by the processor 51 to accomplish the present application. The one or more units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 53 in the terminal device 50. For example, the computer program 53 may be divided into an inquiry unit, a display unit, a transmission unit, and a reception unit, each unit functioning specifically as described above.
The turntable device may include, but is not limited to, a processor 51, a memory 52. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 50 and does not constitute a limitation of terminal device 50 and may include more or less components than those shown, or some components in combination, or different components, e.g., the turntable device may also include input output devices, network access devices, buses, etc.
The Processor 51 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 52 may be an internal storage unit of the terminal device 50, such as a hard disk or a memory of the terminal device 50. The memory 52 may also be an external storage device of the terminal device 50, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 50. Further, the memory 52 may also include both an internal storage unit and an external storage device of the terminal device 50. The memory 52 is used for storing the computer program and other programs and data required by the turntable device. The memory 52 may also be used to temporarily store data that has been output or is to be output.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should 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 application and are intended to be included within the scope of the present application.
Claims (10)
1. A method for searching drug entity information is characterized by comprising the following steps:
if the drug entity key words input by the user are detected through the search page, inquiring a corresponding drug reference entity information set from a local database according to the drug entity key words; wherein the drug reference entity information set comprises a plurality of drug reference entity information;
displaying a plurality of pieces of drug reference entity information in the search page according to a preset display strategy; wherein, a plurality of the drug reference entity information is used for the user to determine the target drug entity information;
sending a search request containing the target drug entity information and the drug entity attribute information to a server through the search page; the drug entity attribute information is a question sentence input by a user based on the target drug entity information and is used for representing a search purpose related to the target drug entity information; the server is used for inquiring corresponding target information according to the target medicine entity information and the medicine entity attribute information; the content of the target information is represented by the drug entity attribute information and corresponds to the search purpose associated with the target drug entity information;
receiving and loading a target page file returned by the server according to the search request to obtain a target page; wherein the target page contains the target information;
wherein, according to a preset display strategy, displaying a plurality of the drug reference entity information in the search page comprises: and arranging and displaying the content words of the plurality of the medicine reference entity information in a descending order, or arranging and displaying the content words of the plurality of the medicine reference entity information in a descending order according to the times of user selection or user input.
2. The method for searching for drug entity information according to claim 1, wherein before the step of querying the corresponding drug reference entity information set from the local database according to the drug entity keyword if the drug entity keyword input by the user is detected through the search page, the method further comprises:
configuring an information acquisition embedded point file in a page file of an original search page to obtain a new search page file;
and acquiring and loading the new search page file to obtain a search page.
3. The method for searching for drug entity information according to claim 2, wherein after the step of obtaining and loading the new search page file to obtain a search page, the method further comprises:
and if the request that the current input tool triggers to acquire the network resources is monitored through the search page, forbidding to start a new tab page through the current input tool.
4. The method for searching for drug entity information according to claim 1, wherein if a drug entity keyword input by a user is detected through a search page, querying a corresponding drug reference entity information set from a local database according to the drug entity keyword, comprises:
if the medicine entity keywords input by the user are detected through the search page, inquiring corresponding medicine fuzzy keywords from the local database according to the medicine entity keywords;
matching corresponding drug trade names, drug common names and/or drug ATC codes based on the drug fuzzy keywords;
identifying the drug trade name, the drug common name, and/or the drug ATC code as the drug reference entity information set.
5. The method for searching the drug entity information according to claim 1, wherein the target page file comprises a drug package picture set and a target information set corresponding to the drug package picture set; pictures in the medicine package picture set correspond to information in the target information set one by one;
the receiving and loading the target page file returned by the server according to the search request to obtain a target page comprises the following steps:
acquiring the number of the medicine packaging pictures in the medicine packaging picture set;
configuring a corresponding display table according to the number of the medicine packaging pictures;
and correspondingly displaying the medicine package picture set and the target information set in the display table to obtain a target page.
6. The method for searching for drug entity information according to claim 1, wherein after the step of receiving and loading the target page file returned by the server according to the search request to obtain the target page, the method further comprises:
and when a preset instruction for additionally storing the target page is detected, storing the target page as an editable text.
7. The method for searching for drug entity information according to claim 6, wherein after the step of saving the target page as editable text when detecting a preset instruction for saving the target page additionally, the method further comprises:
and uploading the target page file and/or the editable text to a block chain.
8. A search apparatus for drug entity information, comprising:
the system comprises a search unit, a storage unit and a processing unit, wherein the search unit is used for searching a local database for a medicine reference entity information set according to a medicine entity keyword input by a user; wherein the drug reference entity information set comprises a plurality of drug reference entity information;
the display unit is used for displaying a plurality of pieces of medicine reference entity information in the search page according to a preset display strategy; wherein, a plurality of the drug reference entity information is used for the user to determine the target drug entity information;
the sending unit is used for sending a search request containing the target drug entity information and the drug entity attribute information to a server through the search page; the server is used for inquiring corresponding target information according to the target medicine entity information and the medicine entity attribute information; the drug entity attribute information is a question sentence input by a user based on the target drug entity information and is used for representing a search purpose related to the target drug entity information; the content of the target information is represented by the drug entity attribute information and corresponds to the search purpose associated with the target drug entity information;
the receiving and loading unit is used for receiving and loading the target page file returned by the server according to the search request to obtain a target page; wherein the target page contains the target information;
wherein, according to a preset display strategy, displaying a plurality of the drug reference entity information in the search page comprises: and arranging and displaying the content words of the plurality of the medicine reference entity information in a descending order, or arranging and displaying the content words of the plurality of the medicine reference entity information in a descending order according to the times of user selection or user input.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 2 to 7 when executing the computer program.
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 according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010692928.6A CN111737542B (en) | 2020-07-17 | 2020-07-17 | Medicine entity information searching method and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010692928.6A CN111737542B (en) | 2020-07-17 | 2020-07-17 | Medicine entity information searching method and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111737542A CN111737542A (en) | 2020-10-02 |
CN111737542B true CN111737542B (en) | 2020-12-11 |
Family
ID=72654928
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010692928.6A Active CN111737542B (en) | 2020-07-17 | 2020-07-17 | Medicine entity information searching method and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111737542B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112214674B (en) * | 2020-10-15 | 2022-10-14 | 微医云(杭州)控股有限公司 | Target content searching method and device, electronic equipment and storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101661474B (en) * | 2008-08-26 | 2012-07-04 | 华为技术有限公司 | Search method and system |
US20160042156A1 (en) * | 2014-08-07 | 2016-02-11 | The Arizona Board Of Regents On Behalf Of The University Of Arizona | Method and system for drug design |
CN106919720A (en) * | 2017-04-21 | 2017-07-04 | 深圳市心丹医药科技有限公司 | A kind of information query system and method based on mobile Internet medicine bag |
CN108009198A (en) * | 2017-10-26 | 2018-05-08 | 康美健康云服务有限公司 | Medicine method, system, electronic equipment and storage medium are recommended based on user behavior |
CN109918569A (en) * | 2019-03-18 | 2019-06-21 | 康美药业股份有限公司 | Medicine information method for pushing, server and readable storage medium storing program for executing |
CN110413751B (en) * | 2019-07-18 | 2023-11-07 | 腾讯科技(深圳)有限公司 | Medicine searching method, device, terminal equipment and storage medium |
-
2020
- 2020-07-17 CN CN202010692928.6A patent/CN111737542B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111737542A (en) | 2020-10-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10691763B2 (en) | Trustable web searching verification in a blockchain | |
JP5575902B2 (en) | Information retrieval based on query semantic patterns | |
CN104685490B (en) | Structuring and the system and method for unstructured data adaptive grouping | |
US8903868B2 (en) | Processing of categorized product information | |
US20170032117A1 (en) | Identifying Software Components in a Software Codebase | |
WO2021217863A1 (en) | Order identifier generation method and apparatus, server, and storage medium | |
US20120124004A1 (en) | Method and system for saving database storage space | |
US20140095308A1 (en) | Advertisement distribution apparatus and advertisement distribution method | |
JP2010530566A (en) | Query statistics provider | |
WO2019169963A1 (en) | Content recommendation method, apparatus, electronic device, and system | |
US20210157900A1 (en) | Securing passwords by using dummy characters | |
US11615153B2 (en) | Apparatus and method for tying together a URL request with multimedia in a database | |
CN110413751B (en) | Medicine searching method, device, terminal equipment and storage medium | |
CN110765760A (en) | Legal case distribution method and device, storage medium and server | |
CN111737542B (en) | Medicine entity information searching method and storage medium | |
CN110457434B (en) | Webpage evidence obtaining method and device based on search, readable storage medium and server | |
CN109544207B (en) | Information processing method, storage medium and server | |
CN112199483B (en) | Information input assisting method and device, electronic equipment and storage medium | |
US10922374B1 (en) | Techniques to determine relationships of items in web-based content | |
CN116304458B (en) | Method, device, equipment and medium for web page real-time notification update | |
US11847412B2 (en) | Enforcing data ownership at gateway registration using natural language processing | |
CN109101630A (en) | Method, device and equipment for generating search result of application program | |
CN111142735B (en) | Software page creating method and device, terminal equipment and storage medium | |
JP6167029B2 (en) | RECOMMENDATION INFORMATION GENERATION DEVICE AND RECOMMENDATION INFORMATION GENERATION METHOD | |
CN109241537B (en) | Information processing method and information processing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231110 Address after: Room 2601 (Unit 07), Qianhai Free Trade Building, No. 3048, Xinghai Avenue, Nanshan Street, Qianhai Shenzhen-Hong Kong Cooperation Zone, Shenzhen, Guangdong 518000 Patentee after: Shenzhen Ping An Smart Healthcare Technology Co.,Ltd. Address before: 1-34 / F, Qianhai free trade building, 3048 Xinghai Avenue, Mawan, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong 518000 Patentee before: Ping An International Smart City Technology Co.,Ltd. |