CN110414996A - Medicine information update method and device, electronic equipment and non-transient storage media - Google Patents
Medicine information update method and device, electronic equipment and non-transient storage media Download PDFInfo
- Publication number
- CN110414996A CN110414996A CN201910559020.5A CN201910559020A CN110414996A CN 110414996 A CN110414996 A CN 110414996A CN 201910559020 A CN201910559020 A CN 201910559020A CN 110414996 A CN110414996 A CN 110414996A
- Authority
- CN
- China
- Prior art keywords
- medicine information
- information
- block
- history
- medicine
- 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
Links
- 239000003814 drug Substances 0.000 title claims abstract description 368
- 229940079593 drug Drugs 0.000 title claims abstract description 74
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000001052 transient effect Effects 0.000 title claims abstract description 9
- 238000012360 testing method Methods 0.000 claims abstract description 17
- 238000001514 detection method Methods 0.000 claims description 8
- 229940002612 prodrug Drugs 0.000 claims description 2
- 239000000651 prodrug Substances 0.000 claims description 2
- 238000004891 communication Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000036541 health Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004615 ingredient Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000029058 respiratory gaseous exchange Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/018—Certifying business or products
- G06Q30/0185—Product, service or business identity fraud
Landscapes
- Business, Economics & Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Finance (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The invention proposes a kind of medicine information update method and devices, electronic equipment and non-transient storage media, are related to block chain technical field, this method comprises: obtaining current medicine information;Detect whether the current medicine information carries more new logo;In the case where the current medicine information carries the more new logo, according to the current medicine information, Transaction Information is generated;The Transaction Information is broadcasted in block chain;By whether there is the history medicine information to match with the current medicine information in the corresponding block of each pharmaceutical manufacturer's nodal test in the block chain;When all having the history medicine information in the corresponding block of each pharmaceutical manufacturer's node, the history medicine information in each block is covered by the current medicine information.According to the technical solution of the present invention, increase medicine information come into the open and transparence convenient for accurately and timely tracing to its source when meeting with safety problem improves drug safety.
Description
[technical field]
The present invention relates to block chain technical field more particularly to a kind of medicine information update method and devices, electronic equipment
And non-transient storage media.
[background technique]
As civilization of human society is built and is developed, the type of drug is more and more many and diverse, since drug safety is outstanding to health
To be important, therefore various similar drugs is needed to carry out quality surveillance.
But in drug surveilance system at present on the market, the related medicine information of pharmaceutical manufacturer is opaque, due to lacking
Effectively supervision, leads to drug safety Frequent Accidents, and be difficult to effectively trace to its source when safety problem occurs.
Therefore, the medicine information for how effectively supervising pharmaceutical manufacturer, becomes a technical problem to be solved urgently.
[summary of the invention]
The embodiment of the invention provides a kind of medicine information update methods and device, electronic equipment and non-transient storage to be situated between
Matter, it is intended to solve the technical problem not in place of the supervision to medicine information in the related technology, can effectively supervise pharmaceutical manufacturer
Medicine information promotes drug safety.
In a first aspect, the embodiment of the invention provides a kind of medicine information update methods, comprising: obtain current drug letter
Breath;Detect whether the current medicine information carries more new logo;The update mark is carried in the current medicine information
In the case where knowledge, according to the current medicine information, Transaction Information is generated;The Transaction Information is carried out in block chain wide
It broadcasts;Believed by whether having in the corresponding block of each pharmaceutical manufacturer's nodal test in the block chain with the current drug
The matched history medicine information of manner of breathing;The history drug letter is all had in the corresponding block of each pharmaceutical manufacturer's node
When breath, the history medicine information in each block is covered by the current medicine information.
In the above embodiment of the present invention, optionally, each pharmaceutical manufacturer's node by the block chain is examined
Whether have the history medicine information that with the current medicine information matches the step of, comprising: pass through if surveying in corresponding block
Whether have and the current medicine information in the corresponding block of each of block chain pharmaceutical manufacturer's nodal test
Data with same file type, identical medicine mark and identical medicine source, wherein in detecting each block
In the case where all having the data, determine that the data are the corresponding history medicine information of the current medicine information.
In the above embodiment of the present invention, optionally, each pharmaceutical manufacturer's node by the block chain is examined
Whether have the history medicine information that with the current medicine information matches the step of, comprising: every if surveying in corresponding block
The Permission Levels of each pharmaceutical manufacturer's node are obtained in the corresponding block of a pharmaceutical manufacturer's node;By described
Permission Levels be greater than or equal in the corresponding block of several described pharmaceutical manufacturer's nodal tests of predetermined grade whether have with
The current medicine information has same file type, the data of identical medicine mark and identical medicine source, wherein is detecting
Institute is all had in the corresponding block of several described pharmaceutical manufacturer's nodes for being greater than or equal to predetermined grade to the Permission Levels
In the case where stating data, determine that the data are the corresponding history medicine information of the current medicine information.
In the above embodiment of the present invention, optionally, the acquisition current medicine information the step of before, further includes:
Obtain the scope of the enterprise and/or drug yield of each pharmaceutical manufacturer's node;According to the scope of the enterprise and/or the drug
Corresponding Permission Levels are arranged for each pharmaceutical manufacturer's node in yield;The mark of the Permission Levels is stored to each
In the corresponding block of pharmaceutical manufacturer's node.
It is optionally, described that each block is covered by the current medicine information in the above embodiment of the present invention
In the history medicine information the step of, comprising: judge whether the history medicine information in any block is empty;
In the case that the history medicine information in the block is empty, obtaining the history medicine information is not other empty areas
History medicine information position in block;By the current medicine information store in the block with history medicine information position
It sets at corresponding position;In the case that the history medicine information in the block is not sky, pass through the current drug
Information covers the history medicine information in the block.
Second aspect, the embodiment of the invention provides a kind of medicine information updating devices, comprising: medicine information obtains single
Member, for obtaining current medicine information;Label detection unit is updated, for detecting whether the current medicine information carries more
New logo;Transaction Information generation unit, in the case where for the more new logo described in the current medicine information carries, according to
The current medicine information generates Transaction Information;Transaction Information radio unit, for by the Transaction Information in block chain into
Row broadcast;Medicine information matching unit, for passing through the corresponding block of each pharmaceutical manufacturer's nodal test in the block chain
In whether there is the history medicine information that matches with the current medicine information;Medicine information updating unit, for each
When all having the history medicine information in the corresponding block of pharmaceutical manufacturer's node, pass through the current medicine information covering
The history medicine information in each block.
In the above embodiment of the present invention, optionally, the medicine information matching unit includes: the first execution unit, is used
Whether have in through each of the block chain corresponding block of pharmaceutical manufacturer's nodal test and works as prodrug with described
Product information has same file type, the data of identical medicine mark and identical medicine source, wherein each described detecting
In the case where all having the data in block, determine that the data are the corresponding history drug of the current medicine information
Information.
In the above embodiment of the present invention, optionally, the medicine information matching unit includes: that Permission Levels obtain list
Member, for obtaining the permission etc. of each pharmaceutical manufacturer's node in the corresponding block of each pharmaceutical manufacturer's node
Grade;Second execution unit, several described pharmaceutical manufacturers for being greater than or equal to predetermined grade by the Permission Levels save
Whether point detects in corresponding block has with the current medicine information with same file type, identical medicine mark and phase
With the data of medicine source, wherein detecting several the described medicine of the Permission Levels more than or equal to predetermined grade
In the case where all having the data in the corresponding block of enterprise's node, determine that the data are that the current medicine information is corresponding
The history medicine information.
In the above embodiment of the present invention, optionally, further includes: company information acquiring unit, for believing in the drug
Before ceasing the acquiring unit acquisition current medicine information, the scope of the enterprise and/or medicine of each pharmaceutical manufacturer's node are obtained
Product yield;Permission Levels setting unit, for being each medicine according to the scope of the enterprise and/or the drug yield
Corresponding Permission Levels are arranged in enterprise's node;Permission Levels storage unit, for storing the mark of the Permission Levels to every
In the corresponding block of a pharmaceutical manufacturer's node.
In the above embodiment of the present invention, optionally, the medicine information updating unit is specifically used for: judging any described
Whether the history medicine information in block is empty;In the case that the history medicine information in the block is empty,
Obtaining the history medicine information is not the history medicine information position in other empty blocks;The current medicine information is deposited
At storage to position corresponding with history medicine information position in the block;History drug letter in the block
In the case that breath is not empty, the history medicine information in the block is covered by the current medicine information.
The third aspect, the embodiment of the invention provides a kind of electronic equipment, comprising: at least one processor;And with institute
State the memory of at least one processor communication connection;Wherein, be stored with can be by least one described processor for the memory
The instruction of execution, described instruction are arranged to be used for executing method described in any one of above-mentioned first aspect.
Fourth aspect, the embodiment of the invention provides a kind of non-transient storage media, are stored with computer executable instructions,
The computer executable instructions are for executing method flow described in any one of above-mentioned first aspect.
It can for the technical problem not in place of the supervision to medicine information in the related technology by above technical scheme
Using each pharmaceutical manufacturer as the node of block chain, the implementation by block chain operation transparent comes into the open to medicine information
Supervision, effectively to promote drug safety.
It specifically, in the technical scheme, can be using each pharmaceutical manufacturer as the node of block chain, firstly, need to judge to obtain
Whether the medicine information got carries more new logo, if medicine information carries more new logo, illustrates that it is used for existing
History medicine information is updated or needs to increase new medicine information, therefore the form of available transaction information is distributed to each medicine
Enterprise's node, conversely, illustrating that it is not used to existing history medicine information if medicine information does not carry more new logo
It updates, terminates process.
Then, after medicine information being issued in block chain as the Transaction Information of block chain, on the one hand, can be direct
The history medicine information in each block is covered, the quick update of medicine information is realized, on the other hand, for each in block chain
Pharmaceutical manufacturer's node is exercised supervision and is verified, and supervising mutually between each pharmacy corporation is realized, so that medicine information is open and clear, just
In retrospect.It can be believed by the transaction based on above scheme in the case where each pharmaceutical manufacturer's node reaches common understanding to Transaction Information
Medicine information in breath replaces corresponding history medicine information in each block.In this way, can assert each pharmaceutical manufacturer's node
Reach common understanding to the Transaction Information.
Which drug is above technical scheme believe by the way which pharmaceutical manufacturer is entire block chain network can intuitively embody
Breath is updated, so that drug update can be known and be supervised by each node in time, increases coming into the open and thoroughly for medicine information
Brightization finds source pharmaceutical manufacturer convenient for accurately and timely tracing to its source when meeting with safety problem, thus but also each enterprise
It is more prudent when updating medicine information, effectively improve drug safety.
[Detailed description of the invention]
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field
For those of ordinary skill, without creative efforts, it can also be obtained according to these attached drawings other attached drawings.
Fig. 1 shows the flow chart of the medicine information update method of one embodiment of the present of invention;
Fig. 2 shows the flow charts of the medicine information update method of another embodiment of the invention;
Fig. 3 shows the flow chart of the medicine information update method of yet another embodiment of the present invention;
Fig. 4 shows the block diagram of the medicine information updating device of one embodiment of the present of invention;
Fig. 5 shows the block diagram of the electronic equipment of one embodiment of the present of invention.
[specific embodiment]
For a better understanding of the technical solution of the present invention, being retouched in detail to the embodiment of the present invention with reference to the accompanying drawing
It states.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
Its embodiment, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments
The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the"
It is also intended to including most forms, unless the context clearly indicates other meaning.
Fig. 1 shows the flow chart of the medicine information update method of one embodiment of the present of invention.
As shown in Figure 1, the process of the medicine information update method of one embodiment of the present of invention includes:
Step 102, current medicine information is obtained.Wherein, current medicine information includes but is not limited to drug ingredient information, medicine
Quality class information, drug quality information, single part of drug quota information, trademark of drug information, Key works Drug packing information etc..
For any drug, no matter its which kind of attribute changes, and is required to be issued in block chain, to realize as block chain
Node each pharmaceutical manufacturer between real-time oversight.
Step 104, detect whether the current medicine information carries more new logo.
It in the technical scheme, can be using each pharmaceutical manufacturer as the node of block chain, firstly, need to judge the drug got
Whether information carries more new logo, if medicine information carries more new logo, illustrates that it is used to believe existing history drug
Breath is updated or needs to increase new medicine information, therefore the form of available transaction information is distributed to each pharmaceutical manufacturer's node,
Conversely, illustrating that it is not used to the update to existing history medicine information if medicine information does not carry more new logo, terminate
Process.
Step 106, in the case where the current medicine information carries the more new logo, according to the current drug
Information generates Transaction Information.
Step 108, the Transaction Information is broadcasted in block chain.
Step 110, by the corresponding block of each pharmaceutical manufacturer's nodal test in the block chain whether have with
The history medicine information that the current medicine information matches.
After medicine information is issued in block chain as the Transaction Information of block chain, on the one hand, can directly cover
History medicine information in each block realizes the quick update of medicine information, on the other hand, for each medicine in block chain
Enterprise's node is exercised supervision and is verified, and supervising mutually between each pharmacy corporation is realized, so that medicine information is open and clear, convenient for chasing after
It traces back.It can be by the Transaction Information in the case where each pharmaceutical manufacturer's node reaches common understanding to Transaction Information based on above scheme
Medicine information replace corresponding history medicine information in each block.In this way, each pharmaceutical manufacturer's node can be assert to institute
Transaction Information is stated to reach common understanding.
Step 112, when all having the history medicine information in the corresponding block of each pharmaceutical manufacturer's node, lead to
It crosses the current medicine information and covers the history medicine information in each block.
Which drug is above technical scheme believe by the way which pharmaceutical manufacturer is entire block chain network can intuitively embody
Breath is updated, so that drug update can be known and be supervised by each node in time, increases coming into the open and thoroughly for medicine information
Brightization finds source pharmaceutical manufacturer convenient for accurately and timely tracing to its source when meeting with safety problem, thus but also each enterprise
It is more prudent when updating medicine information, effectively improve drug safety.In addition, supervising mutually between different pharmaceutical manufacturers, also
Some Drugs safety responsibility is assumed responsibility for mutually, therefore, the object that each pharmaceutical manufacturer can be supervised with stringent standard requirements itself,
It is effective responsible to make, the drug safety of each pharmaceutical manufacturer can be promoted on the whole in this way.
To sum up, it by above technical scheme, is asked for the technology not in place of the supervision to medicine information in the related technology
Topic can carry out medicine information by the implementation of block chain operation transparent using each pharmaceutical manufacturer as the node of block chain
Come into the open supervision, effectively to promote drug safety.
Fig. 2 shows the flow charts of the medicine information update method of another embodiment of the invention.
As shown in Fig. 2, the process of the medicine information update method of another embodiment of the invention includes:
Step 202, current medicine information is obtained.
Step 204, detect whether the current medicine information carries more new logo.
Step 206, in the case where the current medicine information carries the more new logo, according to the current drug
Information generates Transaction Information.
Step 208, the Transaction Information is broadcasted in block chain.
Step 210, by whether having in the corresponding block of each of block chain pharmaceutical manufacturer's nodal test
Having has same file type, the data of identical medicine mark and identical medicine source with the current medicine information.
In the technical scheme, it proposes how specifically to detect whether to have in block and work as with what current medicine information matched
Preceding medicine information, wherein the mode of detection includes but is not limited to the file type for judging current medicine information, medicine mark and medicine
Whether product source is identical with each history medicine information for storing in block.If the file type of any history medicine information, medicine
Product mark and medicine source are identical as the file type of current medicine information, medicine mark and medicine source, illustrate that the two is corresponding
Drug be by same pharmaceutical manufacturer production, with same file type record.And there is identical medicine mark, therefore can assert this
Drug described in history medicine information and current medicine information is same drug.
Step 212, in the case where all having the data in detecting each block, determine the data for institute
State the corresponding history medicine information of current medicine information.
Step 214, the history medicine information in each block is covered by the current medicine information.
It in the above-mentioned technical solutions, can be in area by the information of the various dimensions such as file type, medicine mark and medicine source
It is quickly found out history medicine information to be updated in block, improves the trackability of history medicine information.
Fig. 3 shows the flow chart of the medicine information update method of yet another embodiment of the present invention.
As shown in figure 3, the process of the medicine information update method of yet another embodiment of the present invention includes:
Step 302, the scope of the enterprise and/or drug yield of each pharmaceutical manufacturer's node are obtained.
Step 304, according to the scope of the enterprise and/or the drug yield, for each pharmaceutical manufacturer's node setting
Corresponding Permission Levels.
Step 306, the mark of the Permission Levels is stored into the corresponding block of each pharmaceutical manufacturer's node.
Specifically, one enterprise and its permission of corresponding node etc. can be set according to scope of the enterprise and/or drug yield
Grade, scope of the enterprise is bigger and/or the drug yield of enterprise is higher, and the corresponding Permission Levels of enterprise are higher, in other words, bigger
It is higher to the monitoring ability of history medicine information, medicine information for more competent enterprise, and supervision range is bigger.
Step 308, current medicine information is obtained.
Step 310, detect whether the current medicine information carries more new logo.
Step 312, in the case where the current medicine information carries the more new logo, according to the current drug
Information generates Transaction Information.
Step 314, the Transaction Information is broadcasted in block chain.
Step 316, each pharmaceutical manufacturer's section is obtained in the corresponding block of each pharmaceutical manufacturer's node
The Permission Levels of point.
Step 318, it is examined by several described pharmaceutical manufacturer's nodes that the Permission Levels are greater than or equal to predetermined grade
It whether surveys in corresponding block with there is same file type, identical medicine mark and identical medicine with the current medicine information
The data in product source.
The Transaction Information that settable each node generates, can only be greater than or equal to by Permission Levels the node of predetermined grade into
Row verifying, that is to say, that when a node receives Transaction Information, can determine whether the Permission Levels of itself are greater than or equal to
Predetermined grade in the case that judging result is no, then illustrates the ability that this node does not have the Transaction Information of verifying source Nodes,
Therefore directly this Transaction Information can be verified, it is greater than or equal to other of predetermined grade by the Permission Levels in entire block chain
Node carries out substantive verifying work.
Step 320, several the described pharmaceutical manufacturers' sections of the Permission Levels more than or equal to predetermined grade are being detected
In the case where all having the data in the corresponding block of point, covered in each block by the current medicine information
The history medicine information.
Recitation of steps 320 developed below to describe the specific update mode of medicine information:
Judge whether the history medicine information in any block is empty;The history medicine in the block
In the case that product information is empty, obtaining the history medicine information is not the history medicine information position in other empty blocks;
The current medicine information is stored to position corresponding with history medicine information position in the block;In the area
In the case that the history medicine information in block is not sky, covered in the block by the current medicine information described in
History medicine information.
That is, as long as Permission Levels, which are greater than or equal in several described pharmaceutical manufacturer's nodes of predetermined grade, to be had
The corresponding history drug data of current medicine information, i.e., it is implementable this time to update.Permission Levels are greater than or equal to predetermined etc.
Grade several described pharmaceutical manufacturer's nodes, can directly by the current medicine information cover its correspond to block in described in go through
History medicine information.And for other nodes, if having the effective history medicine information in corresponding block, directly pass through institute
State current medicine information cover its correspond to block in the history medicine information;If not having the history medicine in corresponding block
Product information, then can obtain the position of the history medicine information in the block with the history medicine information, and not have
Have at the same position in the block of the history medicine information, preceding medicine information is deserved in storage.
By the technical solution, different Permission Levels are assigned with for node, to can guarantee each single item medicine information, medicine
Product information is handled by the enterprise's node for having corresponding supervision and verifying ability, and medicine information and medicine information are improved
The reliability of verifying, improves drug safety.
In another implementation of the invention, the Transaction Information that the node of settable each Permission Levels generates, only
It can be verified by the high node of the Permission Levels than this node, that is to say, that, can when a node receives Transaction Information
Judge whether the Permission Levels of the source Nodes of Transaction Information are higher than the Permission Levels of itself, judging result is coming for Transaction Information
The Permission Levels of source node are higher than the Permission Levels of itself really, then illustrate that this node does not have the transaction letter of verifying source Nodes
The ability of breath, therefore directly this Transaction Information can be verified, it is equal to or more than source by the Permission Levels in entire block chain
Other nodes of node carry out substantive verifying work.
Fig. 4 shows the block diagram of the medicine information updating device of one embodiment of the present of invention.
As shown in figure 4, the medicine information updating device 400 of one embodiment of the present of invention includes: that medicine information obtains list
Member 402, for obtaining current medicine information;Label detection unit 404 is updated, for detecting whether the current medicine information is taken
With more new logo;Transaction Information generation unit 406, for carrying the feelings of the more new logo in the current medicine information
Under condition, according to the current medicine information, Transaction Information is generated;Transaction Information radio unit 408 is used for the Transaction Information
It is broadcasted in block chain;Medicine information matching unit 410, for passing through each pharmaceutical manufacturer's node in the block chain
Whether detect in corresponding block has the history medicine information to match with the current medicine information;Medicine information updates single
Member 412, when for all having the history medicine information in the corresponding block of each pharmaceutical manufacturer's node, by described
Current medicine information covers the history medicine information in each block.
In the above embodiment of the present invention, optionally, the medicine information matching unit 410 includes: the first execution unit,
For by whether have in each of the block chain corresponding block of pharmaceutical manufacturer's nodal test with it is described current
Medicine information has same file type, the data of identical medicine mark and identical medicine source, wherein is detecting each institute
It states in the case where all having the data in block, determines that the data are the corresponding history medicine of the current medicine information
Product information.
In the above embodiment of the present invention, optionally, the medicine information matching unit 410 includes: that Permission Levels obtain
Unit, for obtaining the permission of each pharmaceutical manufacturer's node in the corresponding block of each pharmaceutical manufacturer's node
Grade;Second execution unit, for being greater than or equal to several described pharmaceutical manufacturers of predetermined grade by the Permission Levels
In the corresponding block of nodal test whether with the current medicine information have same file type, identical medicine mark and
The data of identical medicine source, wherein detecting several the described doctors of the Permission Levels more than or equal to predetermined grade
In the case where all having the data in the corresponding block of medicine enterprise node, determine that the data are the current medicine information pair
The history medicine information answered.
In the above embodiment of the present invention, optionally, further includes: company information acquiring unit, for believing in the drug
Before breath acquiring unit 402 obtains the current medicine information, obtain each pharmaceutical manufacturer's node scope of the enterprise and/or
Drug yield;Permission Levels setting unit, for being each doctor according to the scope of the enterprise and/or the drug yield
Corresponding Permission Levels are arranged in medicine enterprise node;Permission Levels storage unit, for by the mark of the Permission Levels store to
In the corresponding block of each pharmaceutical manufacturer's node.
In the above embodiment of the present invention, optionally, the medicine information updating unit 412 is specifically used for: judging any
Whether the history medicine information in the block is empty;The history medicine information in the block is empty situation
Under, obtaining the history medicine information is not the history medicine information position in other empty blocks;The current drug is believed
Breath is stored to position corresponding with history medicine information position in the block;The history medicine in the block
In the case that product information is not sky, the history medicine information in the block is covered by the current medicine information.
The medicine information updating device 400 is using scheme described in any one of embodiment shown in Fig. 1 to Fig. 3, therefore,
With above-mentioned all technical effects, details are not described herein.
Fig. 5 shows the block diagram of the electronic equipment of one embodiment of the present of invention.
As shown in figure 5, the electronic equipment 500 of one embodiment of the present of invention, including at least one processor 502;And
With the processor 504 of at least one processor 502 communication connection;Wherein, the memory be stored with can by it is described at least
The instruction that one processor 504 executes, described instruction are arranged to be used for executing above-mentioned Fig. 1 to any one of Fig. 3 embodiment institute
The scheme stated.Therefore, which has and Fig. 1 is to the identical technical effect of any one of Fig. 3 embodiment, no longer superfluous herein
It states.
The electronic equipment of the embodiment of the present invention exists in a variety of forms, including but not limited to:
(1) mobile communication equipment: the characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data
Communication is main target.This Terminal Type includes: smart phone (such as iPhone), multimedia handset, functional mobile phone and low
Hold mobile phone etc..
(2) super mobile personal computer equipment: this kind of equipment belongs to the scope of personal computer, there is calculating and processing function
Can, generally also have mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind of equipment can show and play multimedia content.Such equipment include: audio,
Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) server: providing the equipment of the service of calculating, and the composition of server includes that processor, hard disk, memory, system are total
Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy
Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other electronic devices with data interaction function.
In addition, computer executable instructions are stored with the embodiment of the invention provides a kind of non-transient storage media, it is described
Computer executable instructions are used to execute above-mentioned Fig. 1 to the method flow described in any one of Fig. 3 embodiment.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, technical solution of the present invention, passes through entire block
Which pharmaceutical manufacturer is chain network, which can intuitively embody, is updated which medicine information, so that update being capable of quilt in time for drug
Each node knows and supervises, increase medicine information come into the open and transparence, convenient for when meeting with safety problem accurately and timely
Ground is traced to its source, and source pharmaceutical manufacturer is found, to effectively be promoted but also each enterprise is more prudent when updating medicine information
Drug safety.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate
There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three
Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination " or " in response to detection ".Similarly, depend on context, phrase " if it is determined that " or " if detection
(condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when the detection (condition of statement
Or event) when " or " in response to detection (condition or event of statement) ".
In several embodiments provided by the present invention, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or group
Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown
Or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit it is indirect
Coupling or communication connection can be electrical property, mechanical or other forms.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and store Jie in non-transient takes
In matter.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer installation
(can be personal computer, server or network equipment etc.) or processor (Processor) execute each implementation of the present invention
The part steps of example the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-Only
Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit
Store up the medium of program code.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.
Claims (10)
1. a kind of medicine information update method characterized by comprising
Obtain current medicine information;
Detect whether the current medicine information carries more new logo;
In the case where the current medicine information carries the more new logo, according to the current medicine information, generates and hand over
Easy information;
The Transaction Information is broadcasted in block chain;
By whether having and the current drug in the corresponding block of each pharmaceutical manufacturer's nodal test in the block chain
The history medicine information that information matches;
When all having the history medicine information in the corresponding block of each pharmaceutical manufacturer's node, work as prodrug by described
Product information covers the history medicine information in each block.
2. medicine information update method according to claim 1, which is characterized in that described by every in the block chain
Whether there is the history medicine information to match with the current medicine information in the corresponding block of a pharmaceutical manufacturer's nodal test
The step of, comprising:
By whether have in the corresponding block of each of block chain pharmaceutical manufacturer's nodal test with it is described current
Medicine information has same file type, the data of identical medicine mark and identical medicine source, wherein
In the case where all having the data in detecting each block, determine that the data are the current drug letter
Cease the corresponding history medicine information.
3. medicine information update method according to claim 1, which is characterized in that described by every in the block chain
Whether there is the history medicine information to match with the current medicine information in the corresponding block of a pharmaceutical manufacturer's nodal test
The step of, comprising:
The Permission Levels of each pharmaceutical manufacturer's node are obtained in the corresponding block of each pharmaceutical manufacturer's node;
It is greater than or equal to the corresponding block of several described pharmaceutical manufacturer's nodal tests of predetermined grade by the Permission Levels
In whether with the current medicine information have same file type, identical medicine mark and identical medicine source number
According to, wherein
Detecting that the Permission Levels are greater than or equal to the corresponding block of several described pharmaceutical manufacturer's nodes of predetermined grade
In all have the data in the case where, determine that the data are the corresponding history drug letter of the current medicine information
Breath.
4. medicine information update method according to claim 3, which is characterized in that in the current medicine information of acquisition
Before step, further includes:
Obtain the scope of the enterprise and/or drug yield of each pharmaceutical manufacturer's node;
According to the scope of the enterprise and/or the drug yield, corresponding permission etc. is set for each pharmaceutical manufacturer's node
Grade;
The mark of the Permission Levels is stored into the corresponding block of each pharmaceutical manufacturer's node.
5. medicine information update method according to any one of claim 1 to 4, which is characterized in that described by described
The step of current medicine information covers the history medicine information in each block, comprising:
Judge whether the history medicine information in any block is empty;
In the case that the history medicine information in the block is empty, its that the history medicine information is not sky is obtained
History medicine information position in his block;
The current medicine information is stored to position corresponding with history medicine information position in the block;
In the case that the history medicine information in the block is not sky, by described in the current medicine information covering
The history medicine information in block.
6. a kind of medicine information updating device characterized by comprising
Medicine information acquiring unit, for obtaining current medicine information;
Label detection unit is updated, for detecting whether the current medicine information carries more new logo;
Transaction Information generation unit, in the case where for the more new logo described in the current medicine information carries, according to institute
Current medicine information is stated, Transaction Information is generated;
Transaction Information radio unit, for broadcasting the Transaction Information in block chain;
Medicine information matching unit, for by being in the corresponding block of each pharmaceutical manufacturer's nodal test in the block chain
It is no with the history medicine information to match with the current medicine information;
Medicine information updating unit, for all having the history drug in the corresponding block of each pharmaceutical manufacturer's node
When information, the history medicine information in each block is covered by the current medicine information.
7. medicine information updating device according to claim 6, which is characterized in that the medicine information matching unit packet
It includes:
First execution unit, for by being in each of the block chain corresponding block of pharmaceutical manufacturer's nodal test
It is no with the current medicine information have same file type, the data of identical medicine mark and identical medicine source,
In, in the case where all having the data in detecting each block, determine that the data are the current drug letter
Cease the corresponding history medicine information.
8. medicine information updating device according to claim 6, which is characterized in that the medicine information matching unit packet
It includes:
Permission Levels acquiring unit, for obtaining each doctor in the corresponding block of each pharmaceutical manufacturer's node
The Permission Levels of medicine enterprise node;
Second execution unit, several described pharmaceutical manufacturers for being greater than or equal to predetermined grade by the Permission Levels save
Whether point detects in corresponding block has with the current medicine information with same file type, identical medicine mark and phase
With the data of medicine source, wherein detecting several the described medicine of the Permission Levels more than or equal to predetermined grade
In the case where all having the data in the corresponding block of enterprise's node, determine that the data are that the current medicine information is corresponding
The history medicine information.
9. a kind of electronic equipment characterized by comprising at least one processor;And it is logical at least one described processor
Believe the memory of connection;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, and described instruction is arranged to use
Method described in any one of execution the claims 1 to 5.
10. a kind of non-transient storage media, which is characterized in that be stored with computer executable instructions, the computer is executable
Instruction is for executing the method flow as described in any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910559020.5A CN110414996A (en) | 2019-06-26 | 2019-06-26 | Medicine information update method and device, electronic equipment and non-transient storage media |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910559020.5A CN110414996A (en) | 2019-06-26 | 2019-06-26 | Medicine information update method and device, electronic equipment and non-transient storage media |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110414996A true CN110414996A (en) | 2019-11-05 |
Family
ID=68359864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910559020.5A Pending CN110414996A (en) | 2019-06-26 | 2019-06-26 | Medicine information update method and device, electronic equipment and non-transient storage media |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110414996A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107392625A (en) * | 2017-06-29 | 2017-11-24 | 雷霞 | Distributed medicine source tracing method and device based on block chain |
CN109118253A (en) * | 2018-08-22 | 2019-01-01 | 泰康保险集团股份有限公司 | Block chain drug management-control method, device, medium and electronic equipment |
CN109461008A (en) * | 2018-11-02 | 2019-03-12 | 北京赛腾标识系统股份公司 | Drug Administration method and system based on block chain |
CN109636492A (en) * | 2018-12-07 | 2019-04-16 | 深圳市智税链科技有限公司 | Tax administration method, apparatus, medium and electronic equipment based on block catenary system |
CN109829726A (en) * | 2019-01-09 | 2019-05-31 | 上海物融智能科技有限公司 | A kind of drug information management method and system based on block chain |
-
2019
- 2019-06-26 CN CN201910559020.5A patent/CN110414996A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107392625A (en) * | 2017-06-29 | 2017-11-24 | 雷霞 | Distributed medicine source tracing method and device based on block chain |
CN109118253A (en) * | 2018-08-22 | 2019-01-01 | 泰康保险集团股份有限公司 | Block chain drug management-control method, device, medium and electronic equipment |
CN109461008A (en) * | 2018-11-02 | 2019-03-12 | 北京赛腾标识系统股份公司 | Drug Administration method and system based on block chain |
CN109636492A (en) * | 2018-12-07 | 2019-04-16 | 深圳市智税链科技有限公司 | Tax administration method, apparatus, medium and electronic equipment based on block catenary system |
CN109829726A (en) * | 2019-01-09 | 2019-05-31 | 上海物融智能科技有限公司 | A kind of drug information management method and system based on block chain |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2014348821B2 (en) | Location-based software updates | |
CN109741755B (en) | Voice awakening word threshold management device and method for managing voice awakening word threshold | |
US9959265B1 (en) | Populating values in a spreadsheet using semantic cues | |
CN109769204B (en) | Method and device for providing rescue information for rescuers | |
CN107506291B (en) | Analysis method and device based on data acquisition | |
CN104410954A (en) | Information reminding method and device | |
CN106055968B (en) | Permission setting method and device and electronic equipment | |
CN111143723A (en) | Page jump method and device, electronic equipment and storage medium | |
CN107885823B (en) | Audio information playing method and device, storage medium and electronic equipment | |
CN110688173B (en) | Positioning method and device of components in cross-platform interface framework and electronic equipment | |
CN109102264A (en) | A kind of electronics red packet detection method, device and terminal device | |
CN106909429A (en) | A kind of synchronous upgrade method and device | |
CN113217826B (en) | Pipeline water supply pipe network leakage alarm control method, device and medium | |
CN109558297A (en) | EMS memory management process and device | |
CN102866885A (en) | Method and device for confirming clicking position in webpage | |
CN108509541A (en) | A kind of message read method, message reading device and mobile terminal | |
CN108737487B (en) | Data synchronization method and device, storage medium and electronic device | |
CN106790380A (en) | Data reporting method and device | |
CN111832254B (en) | Drawing annotation display processing method and device | |
CN110414996A (en) | Medicine information update method and device, electronic equipment and non-transient storage media | |
CN110427277B (en) | Data verification method, device, equipment and storage medium | |
CN107465718A (en) | Across the ID recognition methods of application and device, storage medium, terminal | |
CN107071553A (en) | Method, device and computer readable storage medium for modifying video and voice | |
CN111160738A (en) | Event processing method and device, storage medium and electronic device | |
CN109816450A (en) | A kind of content promotion method and device |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20191105 |
|
WD01 | Invention patent application deemed withdrawn after publication |