CN106339271A - Medicine serial number identification and matching method and device - Google Patents
Medicine serial number identification and matching method and device Download PDFInfo
- Publication number
- CN106339271A CN106339271A CN201610758048.8A CN201610758048A CN106339271A CN 106339271 A CN106339271 A CN 106339271A CN 201610758048 A CN201610758048 A CN 201610758048A CN 106339271 A CN106339271 A CN 106339271A
- Authority
- CN
- China
- Prior art keywords
- serial number
- medicine
- terminal
- identification
- correct
- 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 51
- 238000000034 method Methods 0.000 title claims abstract description 30
- 229940079593 drug Drugs 0.000 title abstract 5
- 239000000284 extract Substances 0.000 claims abstract description 12
- 125000004122 cyclic group Chemical group 0.000 claims abstract description 8
- 238000000605 extraction Methods 0.000 claims description 6
- 238000004806 packaging method and process Methods 0.000 claims description 6
- 239000000203 mixture Substances 0.000 claims description 3
- 238000012795 verification Methods 0.000 claims description 2
- 238000010168 coupling process Methods 0.000 description 4
- 238000005859 coupling reaction Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000003115 biocidal effect Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1004—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The invention provides a method for identifying and matching drug serial numbers, which comprises the following steps: the first terminal generates a message containing a preset drug serial number; the first terminal adds a cyclic redundancy check code at the end of the serial number to convert the message into a check message; the first terminal carries the check message in a wireless signal to be sent; the second terminal receives the check message and extracts the serial number in the check message; and the second terminal identifies whether the serial number is a correct serial number, and if so, the cyclic redundancy check code is rejected. The identification matching method of the drug serial number is intelligent, and a password can be added, so that the drug serial number is safe.
Description
Technical field
The present invention relates to information identification field, more particularly, to a kind of identification and matching method and apparatus of medicine serial number.
Background technology
The bar code of medicine and serial number are different.The bar code of medicine is a kind of coding of certain medicine.Bar code represents
This medicine.And serial number represents each specific medicine.Their difference is exemplified below.The one kind in such as certain pharmaceutical factory
Antibiotic medicine, its bar code is 6923488812061.But, every kind of specific medicine has a serial number of oneself.Such as certain
Box antibiotic medicine Serial No. 33520201011080035, the serial number of only one box antibiotic medicine is this, and serial number can not repeat
Or it is identical.
Serial number needs to carry out identification and the coupling of serial number in the interaction of terminal room, however, existing sequence
Number identification and matching method intelligence.
Content of the invention
Based on this it is necessary to provide a kind of identification and matching method and apparatus of medicine serial number.
A kind of identification and matching method of medicine serial number, methods described includes:
First terminal generates the message comprising default medicine serial number;
First terminal adds a CRC in the end of described serial number, and described message is converted to a verification report
Literary composition;
First terminal described checking prediction message is carried in a wireless signal and is transmitted;
Second terminal receives checking prediction message and extracts the serial number in described checking prediction message;
Second terminal identifies whether described serial number is correct serial number, if so, then rejects described CRC.
Wherein in an embodiment, described serial number is included for embodying the classification of medicine, the character of packaging information.
Wherein in an embodiment, described CRC is the check code of a crc standard.
Wherein in an embodiment, described second terminal identifies whether described serial number is that correct serial number includes:
Extract former font sizes of described serial number, described former font sizes are compared with preset standard;
If comparing correct, judge the correct serial number of described Serial No..
Wherein in an embodiment, described second terminal identifies whether described serial number is that correct serial number includes:
Extract the rear several font sizes of described serial number, described rear several font sizes are compared with preset standard;
If comparing correct, judge the serial number of described Serial No. mistake.
A kind of identification and matching device of medicine serial number, described system includes first terminal and second terminal;
Described first terminal includes:
Generation module, for generating the message comprising default medicine serial number;
Modular converter, for adding a CRC in the end of described serial number, described message is converted to one
Checking prediction message;
Sending module, is transmitted for being carried on described checking prediction message in one wireless signal;
Described second terminal includes:
Receiver module, for receiving checking prediction message and extracting the serial number in described checking prediction message;
Identification module, for identifying whether described serial number is correct serial number, if so, then rejects described cyclic redundancy check (CRC)
Code.
Wherein in an embodiment, described serial number is included for embodying the classification of medicine, the character of packaging information.
Wherein in an embodiment, described CRC is the check code of a crc standard.
Wherein in an embodiment, described identification module includes:
First extraction unit, for extracting former font sizes of described serial number, described former font sizes is entered with preset standard
Row compares;
First judging unit, if correct for comparing, judges the correct serial number of described Serial No..
Wherein in an embodiment, described second terminal identifies whether described serial number is that correct serial number includes:
Second extraction unit, for extracting the rear several font sizes of described serial number, described rear several font sizes is entered with preset standard
Row compares;
Second judging unit, if correct for comparing, judges the serial number of described Serial No. mistake.
Beneficial effect:
The invention provides a kind of identification and matching method of medicine serial number, methods described includes: first terminal generate comprise pre-
If the message of medicine serial number;First terminal adds a CRC in the end of described serial number, by described report
Literary composition is converted to a checking prediction message;First terminal described checking prediction message is carried in a wireless signal and is transmitted;Second terminal
Receive checking prediction message and extract the serial number in described checking prediction message;Second terminal identifies whether described serial number is correct sequence
Row number, if so, then rejects described CRC.The identification and matching method intelligent of this medicine serial number, and can
To add password, compare safety.
Brief description
Fig. 1 is a kind of method flow diagram of the identification and matching method of medicine serial number.
Fig. 2 is a kind of system block diagram of the identification and matching device of medicine serial number.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with drawings and Examples, right
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only in order to explain the present invention, and
It is not used in the restriction present invention.
Refer to Fig. 1, a kind of identification and matching method of medicine serial number, methods described includes:
S101: first terminal generates the message comprising default medicine serial number;
S102: first terminal adds a CRC in the end of described serial number, and described message is converted to one
Checking prediction message;
S103: first terminal described checking prediction message is carried in a wireless signal and is transmitted;
S104: second terminal receives checking prediction message and extracts the serial number in described checking prediction message;
S105: second terminal identifies whether described serial number is correct serial number, if so, then rejects described cyclic redundancy check (CRC)
Code.
Wherein in an embodiment, described serial number is included for embodying the classification of medicine, the character of packaging information.
Wherein in an embodiment, described CRC is the check code of a crc standard.
Wherein in an embodiment, described second terminal identifies whether described serial number is that correct serial number includes:
Extract former font sizes of described serial number, described former font sizes are compared with preset standard;
If comparing correct, judge the correct serial number of described Serial No..
Wherein in an embodiment, described second terminal identifies whether described serial number is that correct serial number includes:
Extract the rear several font sizes of described serial number, described rear several font sizes are compared with preset standard;
If comparing correct, judge the serial number of described Serial No. mistake.
Refer to Fig. 2, a kind of identification and matching device of medicine serial number, described system includes first terminal and second eventually
End;Described first terminal includes:
Generation module 100, for generating the message comprising default medicine serial number;
Modular converter 200, for adding a CRC in the end of described serial number, described message is converted to
One checking prediction message;
Sending module 300, is transmitted for being carried on described checking prediction message in one wireless signal;
Described second terminal includes:
Receiver module 400, for receiving checking prediction message and extracting the serial number in described checking prediction message;
Identification module 500, for identifying whether described serial number is correct serial number, if so, then rejects described cyclic redundancy
Check code.
Wherein in an embodiment, described serial number is included for embodying the classification of medicine, the character of packaging information.
Wherein in an embodiment, described CRC is the check code of a crc standard.
Wherein in an embodiment, described identification module includes:
First extraction unit, for extracting former font sizes of described serial number, described former font sizes is entered with preset standard
Row compares;
First judging unit, if correct for comparing, judges the correct serial number of described Serial No..
Wherein in an embodiment, described second terminal identifies whether described serial number is that correct serial number includes:
Second extraction unit, for extracting the rear several font sizes of described serial number, described rear several font sizes is entered with preset standard
Row compares;
Second judging unit, if correct for comparing, judges the serial number of described Serial No. mistake.
The invention provides a kind of identification and matching method of medicine serial number, methods described includes: first terminal generates bag
Message containing default medicine serial number;First terminal adds a CRC in the end of described serial number, by institute
State message and be converted to a checking prediction message;First terminal described checking prediction message is carried in a wireless signal and is transmitted;Second
Terminal receives checking prediction message and extracts the serial number in described checking prediction message;Second terminal identifies whether described serial number is correct
Serial number, if so, then reject described CRC.The identification and matching method intelligent of this medicine serial number, and
And password can be added, compare safety.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each function
The division of module is illustrated, and in practical application, can distribute above-mentioned functions by different function moulds as desired
Block completes, and the internal structure of device will be divided into different functional modules, to complete all or part of work(described above
Energy.The specific work process of the system, apparatus, and unit of foregoing description, may be referred to corresponding in preceding method embodiment
Journey, will not be described here.
In several embodiments provided herein it should it is understood that disclosed mobile terminal and choose network
Method, can realize in other way.For example, mobile terminal embodiment described above is only schematically,
Described module or the division of unit, only a kind of division of logic function, actual can have other dividing mode, example when realizing
As multiple units or assembly can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not execute.
Another, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, fill
Put or the INDIRECT COUPLING of unit or communication connection, can make electrically, mechanical or other forms.
The described unit illustrating as separating component can make or may not be physically separate, show as unit
The part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize embodiment of the present invention scheme
Purpose.
In addition, can be integrated in a chip unit in each functional unit in each embodiment of the present invention it is also possible to
It is that unit is individually physically present it is also possible to two or more units are integrated on a unit.Above-mentioned integrated list
Unit both can be to be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If described integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit
When, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part in other words prior art being contributed or all or part of this technical scheme can be in the form of software products
Embody, this computer software product is stored in a storage medium, including some instructions with so that a computer
Equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execution the present invention each
The all or part of step of embodiment methods described.And aforesaid storage medium includes: u disk, portable hard drive, read only memory
(rom, read-only memory), random access memory (ram, random access memory), magnetic disc or CD
Various can be with the medium of store program codes.
Above operation logic of the present invention is described in detail, the explanation of above-mentioned operation logic is only intended to help understand
The method of the present invention and its core concept;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, in tool
All will change on body embodiment and range of application, in sum, this specification content should not be construed as to the present invention
Restriction.
Claims (10)
1. a kind of identification and matching method of medicine serial number is it is characterised in that methods described includes:
First terminal generates the message comprising default medicine serial number;
First terminal adds a CRC in the end of described serial number, and described message is converted to a verification report
Literary composition;
First terminal described checking prediction message is carried in a wireless signal and is transmitted;
Second terminal receives checking prediction message and extracts the serial number in described checking prediction message;
Second terminal identifies whether described serial number is correct serial number, if so, then rejects described CRC.
2. a kind of identification and matching method of medicine serial number according to claim 1 is it is characterised in that described serial number bag
Include for embodying the classification of medicine, the character of packaging information.
3. a kind of identification and matching method of medicine serial number according to claim 1 is it is characterised in that described cyclic redundancy
Check code is the check code of a crc standard.
4. a kind of identification and matching method of medicine serial number according to claim 1 is it is characterised in that described second terminal
Identify whether described serial number is that correct serial number includes:
Extract former font sizes of described serial number, described former font sizes are compared with preset standard;
If comparing correct, judge the correct serial number of described Serial No..
5. a kind of identification and matching method of medicine serial number according to claim 4 is it is characterised in that described second terminal
Identify whether described serial number is that correct serial number includes:
Extract the rear several font sizes of described serial number, described rear several font sizes are compared with preset standard;
If comparing correct, judge the serial number of described Serial No. mistake.
6. a kind of identification and matching device of medicine serial number is it is characterised in that described system includes first terminal and second terminal;
Described first terminal includes:
Generation module, for generating the message comprising default medicine serial number;
Modular converter, for adding a CRC in the end of described serial number, described message is converted to one
Checking prediction message;
Sending module, is transmitted for being carried on described checking prediction message in one wireless signal;
Described second terminal includes:
Receiver module, for receiving checking prediction message and extracting the serial number in described checking prediction message;
Identification module, for identifying whether described serial number is correct serial number, if so, then rejects described cyclic redundancy check (CRC)
Code.
7. a kind of identification and matching device of medicine serial number according to claim 6 is it is characterised in that described serial number bag
Include for embodying the classification of medicine, the character of packaging information.
8. a kind of identification and matching device of medicine serial number according to claim 6 is it is characterised in that described cyclic redundancy
Check code is the check code of a crc standard.
9. a kind of identification and matching device of medicine serial number according to claim 6 is it is characterised in that described identification module
Including:
First extraction unit, for extracting former font sizes of described serial number, described former font sizes is entered with preset standard
Row compares;
First judging unit, if correct for comparing, judges the correct serial number of described Serial No..
10. a kind of identification and matching device of medicine serial number according to claim 9 is it is characterised in that described second is whole
End identifies whether described serial number is that correct serial number includes:
Second extraction unit, for extracting the rear several font sizes of described serial number, described rear several font sizes is entered with preset standard
Row compares;
Second judging unit, if correct for comparing, judges the serial number of described Serial No. mistake.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610758048.8A CN106339271A (en) | 2016-08-30 | 2016-08-30 | Medicine serial number identification and matching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610758048.8A CN106339271A (en) | 2016-08-30 | 2016-08-30 | Medicine serial number identification and matching method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106339271A true CN106339271A (en) | 2017-01-18 |
Family
ID=57823346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610758048.8A Pending CN106339271A (en) | 2016-08-30 | 2016-08-30 | Medicine serial number identification and matching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106339271A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110555430A (en) * | 2019-08-19 | 2019-12-10 | 深圳拓邦股份有限公司 | Electronic equipment product serial number binding device and binding method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101002217A (en) * | 2004-05-18 | 2007-07-18 | 西尔弗布鲁克研究有限公司 | Pharmaceutical product tracking |
CN101504715A (en) * | 2009-03-04 | 2009-08-12 | 深圳市众合联科技有限公司 | Product identity digital identification apparatus, inspection apparatus, product and anti-fake inspection method |
CN102426640A (en) * | 2010-11-19 | 2012-04-25 | 微软公司 | Secure software product identifier for product validation and activation |
CN104899775A (en) * | 2015-05-22 | 2015-09-09 | 黄世纬 | Product anti-counterfeit method and product anti-counterfeit examining method as well as anti-counterfeit package |
-
2016
- 2016-08-30 CN CN201610758048.8A patent/CN106339271A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101002217A (en) * | 2004-05-18 | 2007-07-18 | 西尔弗布鲁克研究有限公司 | Pharmaceutical product tracking |
CN101504715A (en) * | 2009-03-04 | 2009-08-12 | 深圳市众合联科技有限公司 | Product identity digital identification apparatus, inspection apparatus, product and anti-fake inspection method |
CN102426640A (en) * | 2010-11-19 | 2012-04-25 | 微软公司 | Secure software product identifier for product validation and activation |
CN104899775A (en) * | 2015-05-22 | 2015-09-09 | 黄世纬 | Product anti-counterfeit method and product anti-counterfeit examining method as well as anti-counterfeit package |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110555430A (en) * | 2019-08-19 | 2019-12-10 | 深圳拓邦股份有限公司 | Electronic equipment product serial number binding device and binding method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104732332B (en) | Order splitting method and device based on electronic commerce | |
KR102361227B1 (en) | An apparatus for recognizing natural language of instant message and method thereof | |
CN105635087A (en) | Method and apparatus for verifying user identity through voiceprint | |
CN106681854A (en) | Information checking method, device and system | |
CN104468548A (en) | Data verification method, disaster recovery storage and production storage | |
CN104391793A (en) | Generation method and device of test steps and scripts | |
CN105120462A (en) | Network access method and device | |
CN106060130A (en) | Verification method and system of merchandise inventory | |
CN103106113A (en) | Interrupt event processing method and processing equipment | |
CN105068955A (en) | Local bus structure and data interaction method | |
CN106339271A (en) | Medicine serial number identification and matching method and device | |
US20110205015A1 (en) | Method for challenge response authentication between a reading device and a transponder using contactless data transmission | |
CN104038366B (en) | Clustered node abatement detecting method and system | |
CN105243042A (en) | Data burning method and data burning device | |
CN109273063A (en) | A kind of inoculation information early warning method, apparatus, terminal and storage medium | |
CN106980505A (en) | A kind of domestic middleware migration remodeling method of information system and device | |
CN106776069A (en) | The automatic method and system for collecting transmission data between a kind of software systems | |
CN106445928A (en) | Classification model based information processing method and classification model | |
CN105025040A (en) | Friend classification method and friend classification server | |
CN104679687B (en) | A kind of method and device for identifying interrupt source | |
CN106790151A (en) | A kind of data isolation Transmission system and method | |
CN106610899A (en) | Test case generation method and device | |
CN104348835A (en) | Message transmission method, self-service equipment and message transmission system | |
CN112561010A (en) | Article management method and system based on passive RFID | |
CN106528722A (en) | Method and system for consistency testing of equipment data models of intelligent electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170118 |