CN106921667A - A kind of provision price control method, system and supervision center and grain purchases terminal - Google Patents
A kind of provision price control method, system and supervision center and grain purchases terminal Download PDFInfo
- Publication number
- CN106921667A CN106921667A CN201710128406.1A CN201710128406A CN106921667A CN 106921667 A CN106921667 A CN 106921667A CN 201710128406 A CN201710128406 A CN 201710128406A CN 106921667 A CN106921667 A CN 106921667A
- Authority
- CN
- China
- Prior art keywords
- price information
- provision price
- values
- provision
- information
- 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
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000010606 normalization Methods 0.000 claims abstract description 28
- 235000013305 food Nutrition 0.000 claims description 19
- 230000005540 biological transmission Effects 0.000 claims description 13
- 230000008676 import Effects 0.000 claims description 10
- 235000013339 cereals Nutrition 0.000 description 161
- 241000209140 Triticum Species 0.000 description 12
- 235000021307 Triticum Nutrition 0.000 description 12
- 230000008569 process Effects 0.000 description 11
- 244000068988 Glycine max Species 0.000 description 7
- 235000010469 Glycine max Nutrition 0.000 description 7
- 240000008042 Zea mays Species 0.000 description 7
- 235000005824 Zea mays ssp. parviglumis Nutrition 0.000 description 7
- 235000002017 Zea mays subsp mays Nutrition 0.000 description 7
- 235000005822 corn Nutrition 0.000 description 7
- 241000209094 Oryza Species 0.000 description 5
- 235000007164 Oryza sativa Nutrition 0.000 description 5
- 235000009566 rice Nutrition 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 208000003643 Callosities Diseases 0.000 description 1
- 206010020649 Hyperkeratosis Diseases 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
- H04L63/123—Applying verification of the received information received data contents, e.g. message integrity
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
-
- 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
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0637—Strategic management or analysis, e.g. setting a goal or target of an organisation; Planning actions based on goals; Analysis or evaluation of effectiveness of goals
-
- 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
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/02—Agriculture; Fishing; Forestry; Mining
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
- H04L9/3239—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Human Resources & Organizations (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Educational Administration (AREA)
- Entrepreneurship & Innovation (AREA)
- Software Systems (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Tourism & Hospitality (AREA)
- Life Sciences & Earth Sciences (AREA)
- Primary Health Care (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Mining & Mineral Resources (AREA)
- Marine Sciences & Fisheries (AREA)
- Animal Husbandry (AREA)
- Agronomy & Crop Science (AREA)
- Computing Systems (AREA)
- Development Economics (AREA)
- Computer Hardware Design (AREA)
- Game Theory and Decision Science (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Power Engineering (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a kind of provision price control method, system and supervision center and grain purchases terminal, the method is applied to include during supervision center:According to outside triggering, at least one provision price information is obtained;Each provision price information is encrypted respectively by customized Message Digest 5, the corresponding MD5 values of each provision price information are formed;In non-on-line normalization mode, each provision price information and a corresponding MD5 values are transferred to the grain purchases terminal outside at least one;Wherein, first MD5 values are contrasted for being encrypted rear the 2nd MD5 values for being formed to the provision price information for receiving by Message Digest 5 with grain purchases terminal, so that grain purchases terminal is after judging that a MD5 values are identical with the 2nd MD5 values, provision price information importing is carried out according to the provision price information for receiving.This programme normally can carry out grain purchases business in network failure.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of provision price control method, system and supervision center
With grain purchases terminal.
Background technology
With market economy and the fluctuation of grain-production, influenceed by market speculation and supply and demand change, provision price is always
In fluctuation status.In order to ensure that each grain purchasing station can carry out grain purchases with rational purchasing price, each grain
The grain purchases price that purchasing station is issued according to supervision center carries out grain purchases business.
At present, after supervision center formulates grain purchases price according to factors such as market economy, grain demands, by online hair
The grain purchases price that the mode sent will be formulated is issued to each grain purchasing station.
The method that current provision price is issued is directed to, due to the grain that supervision center will be formulated by way of online transmission
Food purchasing price is handed down to each grain purchasing station, when network failure causes network between supervision center and grain purchasing station not
When logical, the grain purchases price that supervision center is formulated cannot in time be issued to grain purchasing station, cause the grain purchasing station cannot
It is normal in network failure to carry out grain purchases business.
The content of the invention
A kind of provision price control method, system and supervision center and grain purchases terminal are the embodiment of the invention provides,
Normally grain purchases business can be carried out in network failure.
In a first aspect, the embodiment of the invention provides a kind of provision price control method, supervision center is applied to, including:
According to outside triggering, at least one provision price information is obtained;
Provision price information each described is encrypted respectively by customized Message Digest 5, each is formed
The corresponding MD5 values of the provision price information;
In non-on-line normalization mode, each described provision price information and a corresponding MD5 values are transferred to
Grain purchases terminal outside at least one;
Wherein, a MD5 values with the grain purchases terminal for passing through the Message Digest 5 to receiving
Provision price information be encrypted after the 2nd MD5 values that are formed contrasted, so that the grain purchases terminal is in judgement
After the first MD5 values are identical with the 2nd MD5 values, provision price information carried out according to the provision price information for receiving and is led
Enter.
Preferably, it is described that provision price information each described is added respectively by customized Message Digest 5
It is close, the corresponding MD5 values of each described provision price information are formed, including:
For any one the current provision price information at least one provision price information, by customized
The Message Digest 5 is encrypted to the current provision price information and predefined encrypted characters string, by encryption institute shape
Into MD5 values as the current provision price information a MD5 values;
Wherein, the encrypted characters string is the inner cipher of the supervision center and the grain purchases terminal;It is described to disappear
Breath digest algorithm is the internal cryptographic algorithm of the supervision center and the grain purchases terminal.
Preferably, when the number of the provision price information is more than 1,
It is described the current provision price information and predefined encrypted characters string are entered by the Message Digest 5
Row encryption, including:
According to pre-defined circulation encryption rule, determine from provision price information each described and the current grain
At least one associated association provision price information of pricing information;
By the Message Digest 5 to the current provision price information, the encrypted characters string and described at least one
Individual association provision price information is encrypted, and will encrypt formed MD5 values as the first of the current provision price information
MD5 values.
Second aspect, the embodiment of the invention provides a kind of provision price control method, be applied to grain purchases terminal, bag
Include:
In non-on-line normalization mode, at least one provision price information of outside supervision center transmission and corresponding is received
First MD5 values, wherein, a MD5 values are by the supervision center by customized Message Digest 5 to corresponding grain
Food pricing information is encrypted and obtains;
Each described provision price information by the Message Digest 5 respectively to receiving is encrypted, and forms every
The corresponding 2nd MD5 values of one provision price information;
Each described provision price information is directed to, the corresponding MD5 values of the provision price information are judged
It is whether identical with the 2nd MD5 values, if it is, carrying out provision price importing according to the provision price information.
Preferably, it is described that provision price importing is carried out according to the provision price information, including:
Judge whether the grain purchases terminal is stored with original grain of same grain corresponding with the provision price information
Food pricing information;
If it is, when the provision price information update the time the renewal time of original provision price information it
When afterwards, the provision price information is imported, and original provision price information is covered;When provision price letter
When the renewal time of breath is before the renewal time of original provision price information, ignore the provision price information;
If not, the provision price information is imported.
The third aspect, the embodiment of the invention provides a kind of supervision center, including:Acquiring unit, ciphering unit and transmission
Unit;
The acquiring unit, for according to outside triggering, obtaining at least one provision price information;
The ciphering unit, it is each for what is got to the acquiring unit respectively by customized Message Digest 5
The individual provision price information is encrypted, and forms the corresponding MD5 values of each described provision price information;
The transmission unit, for non-on-line normalization mode, each described grain that the acquiring unit is got
Pricing information and the grain being transferred to by the corresponding MD5 values that the ciphering unit is formed outside at least one are received
Purchase terminal;
Wherein, a MD5 values with the grain purchases terminal for passing through the Message Digest 5 to receiving
Provision price information be encrypted after the 2nd MD5 values that are formed contrasted, so that the grain purchases terminal is in judgement
After the first MD5 values are identical with the 2nd MD5 values, provision price information carried out according to the provision price information for receiving and is led
Enter.
Preferably,
The ciphering unit, for for any one the current provision price at least one provision price information
Information, is entered by the customized Message Digest 5 to the current provision price information and predefined encrypted characters string
Row encryption, will encrypt a MD5 value of the formed MD5 values as the current provision price information;
Wherein, the encrypted characters string is the inner cipher of the supervision center and the grain purchases terminal;It is described to disappear
Breath digest algorithm is the internal cryptographic algorithm of the supervision center and the grain purchases terminal.
Preferably, when the number of the provision price information is more than 1,
The ciphering unit, for according to pre-defined circulation encryption rule, from provision price information each described
It is determined that at least one association provision price information being associated with the current provision price information;And by the eap-message digest
Algorithm is added to the current provision price information, the encrypted characters string and at least one association provision price information
It is close, a MD5 value of the formed MD5 values as the current provision price information will be encrypted.
Fourth aspect, the embodiment of the invention provides a kind of grain purchases terminal, including:Receiving unit, authentication unit and
Import unit;
The receiving unit, at least one grain sent with non-on-line normalization mode, the supervision center outside reception
Food pricing information and a corresponding MD5 values, wherein, a MD5 values are by the supervision center by customized message
Digest algorithm is encrypted and obtains to corresponding provision price information;
The authentication unit, it is each for what is got to receiving unit reception respectively by the Message Digest 5
The individual provision price information is encrypted, and forms the corresponding 2nd MD5 values of each described provision price information;
The import unit, for being directed to each described provision price information that receiving unit gets, judges institute
State the corresponding MD5 values of provision price information whether identical with the 2nd MD5 values that the authentication unit is formed, such as
Fruit is to carry out provision price importing according to the provision price information.
5th aspect, the embodiment of the invention provides a kind of provision price control system, including:What above-described embodiment was provided
Any one grain purchases terminal that any one supervision center and at least one above-described embodiment are provided.
A kind of provision price control method, system and supervision center and grain purchases terminal are the embodiment of the invention provides,
After obtaining at least one provision price information according to triggering, by customized Message Digest 5 to each provision price information
It is encrypted, forms a corresponding MD5 values, and the provision price information and phase that will be got by non-on-line normalization mode
A corresponding MD5 values are transferred to the grain purchases terminal of needs.Grain purchases terminal passes through identical Message Digest 5 pair
Each provision price information for receiving is encrypted, and the 2nd MD5 values for being formed are contrasted with a corresponding Md5 values,
After it is determined that received provision price information is not tampered with, provision price letter is carried out according to the provision price information for receiving
Breath is imported.So, the security of transmitted provision price information is ensured by MD5 values, such that it is able to pass through non-on-line normalization
Provision price information transfer is given grain purchases terminal by mode, so as to ensure the network between supervision center and grain purchases terminal
Grain purchases business can normally be carried out during failure.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow of provision price control method for being applied to supervision center that one embodiment of the invention is provided
Figure;
Fig. 2 is a kind of provision price control method for being applied to grain purchases terminal that one embodiment of the invention is provided
Flow chart;
Fig. 3 is a kind of schematic diagram of supervision center that one embodiment of the invention is provided;
Fig. 4 is a kind of schematic diagram of grain purchases terminal that one embodiment of the invention is provided;
Fig. 5 is a kind of schematic diagram of provision price control system that one embodiment of the invention is provided;
Fig. 6 is a kind of flow chart of provision price control method that one embodiment of the invention is provided.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, one embodiment of the invention provides a kind of provision price control method, supervision center is applied to,
The method may comprise steps of:
Step 101:According to outside triggering, at least one provision price information is obtained;
Step 102:Provision price information each described is encrypted respectively by customized Message Digest 5, shape
Into the corresponding MD5 values of provision price information each described;
Step 103:In non-on-line normalization mode, by each described provision price information and a corresponding MD5
Value is transferred to the grain purchases terminal outside at least one;
Wherein, a MD5 values with the grain purchases terminal for passing through the Message Digest 5 to receiving
Provision price information be encrypted after the 2nd MD5 values that are formed contrasted, so that the grain purchases terminal is in judgement
After the first MD5 values are identical with the 2nd MD5 values, provision price information carried out according to the provision price information for receiving and is led
Enter.
A kind of provision price control method for being applied to supervision center is the embodiment of the invention provides, is obtained extremely according to triggering
After few provision price information, each provision price information is encrypted by customized Message Digest 5, is formed
A corresponding MD5 values, and the provision price information that will be got by non-on-line normalization mode and a corresponding MD5
Value is transferred to the grain purchases terminal of needs.Grain purchases terminal is by identical Message Digest 5 to each grain for receiving
Food pricing information is encrypted, and the 2nd MD5 values for being formed is contrasted with a corresponding Md5 values, it is determined that received
Provision price information be not tampered with after, provision price information importing is carried out according to the provision price information for receiving.So, lead to
Crossing MD5 values ensures the security of transmitted provision price information, such that it is able to by way of non-on-line normalization by provision price
Information transfer gives grain purchases terminal, so as to ensure can be normal during the network failure between supervision center and grain purchases terminal
Carry out grain purchases business.
In an embodiment of the invention, in a step 102 provision price information is encrypted to form corresponding
During one MD5 values, any one the current provision price information in each provision price information is directed to, is disappeared by customized
Breath digest algorithm is encrypted to the current provision price information and predefined encrypted characters string, and the MD5 values that will be formed
As a MD5 values of the current provision price information.Wherein, encrypted characters string is that supervision center is advance with grain purchases terminal
The inner cipher of agreement, and Message Digest 5 is the internal cryptographic algorithm that supervision center is used in conjunction with grain purchases terminal.
In a first aspect, Message Digest 5 is the internal cryptographic algorithm of supervision center and grain purchases terminal, and non-universal
MD5 algorithms, so, after lawless people is distorted to the provision price information for being sent to grain purchases terminal, due to nothing
Method obtains the Message Digest 5 of supervision center and grain purchases terminal inner, so as to cannot be obtained by the Message Digest 5
The MD5 value corresponding with rear provision price information is distorted.When grain purchases terminal by Message Digest 5 to the grain that receives
Food pricing information is encrypted, after forming corresponding MD5 values, if the MD5 values for being formed are different from the MD5 values for receiving, and can
Had been tampered with the provision price information received by determination.
For example, after supervision center is encrypted by Message Digest 5 A to the provision price information 1 of wheat 1, obtaining
MD5 values 1, grain purchases terminal is transferred to by offline mode by provision price information 1 and MD5 values 1.In transmitting procedure China Oil and Food Import and Export Corporation
Food pricing information 1 is intercepted and captured with MD5 values 1 by lawless people X, and lawless people X distort forming grain valency to provision price information 1
Lattice information 2, due to that cannot obtain Message Digest 5 A, is directly transmitted to grain purchases end by provision price information 2 and MD5 values 1
End.Grain purchases terminal is being received after provision price information 2 and MD5 values 1, by Message Digest 5 A to provision price
Information 2 is encrypted, and forms MD5 values 2.Because provision price information 2 is different from provision price information 1, by same message
Digest algorithm A is encrypted formed MD5 values 2 to provision price information 2 and will be encrypted shape with to provision price information 1
Into MD5 values 1 it is different, when MD5 values 2 are different from MD5 values 1, it may be determined that received provision price information 2 is usurped
Change.
Provision price information is encrypted by inside story digest algorithm, because lawless people cannot be obtained inside this
Message Digest 5, thus cannot to distorting after the corresponding MD5 values of provision price information effectively updated, such that it is able to root
Judge whether provision price information is tampered according to the MD5 values transmitted together with provision price information, prevent the grain after distorting
Pricing information is imported into, and improves the security of the provision price control method.
Second aspect, is encrypted by Message Digest 5 to provision price information and predefined encrypted characters string,
A MD5 value of the MD5 values that will be formed as provision price information.Because encrypted characters string is supervision center and grain purchases
The inner cipher that terminal is appointed, supervision center and grain purchases terminal are carried out by Message Digest 5 to provision price information
During encryption, encrypted characters string is together encrypted.So, even if lawless people obtains the message of provision price information and inside
Digest algorithm, but the provision price information match after it still cannot be formed and distorted on the premise of there is no encrypted characters string
MD5 values, so as to still be able to according to MD5 values determine provision price information whether be tampered, prevent the provision price that will be tampered
Information is imported, and further increases the security of the provision price control method.
For example, kind information of the provision price information 1 of wheat 1 including wheat 1, the class information of wheat 1, wheat 1
The multinomial informations such as stock's property information, pricing information renewal time, are wrapped by Message Digest 5 A to provision price information 1
The every terms of information and predefined 6 bit encryption character string C for including are encrypted, and form MD5 values 1.By offline mode by grain
Pricing information 1 is transferred to grain purchases terminal with MD5 values 1.Provision price information 1 and MD5 values 1 are by not legal person in transmitting procedure
Member X is intercepted and captured, and lawless people X to provision price information 1 distort forming provision price information 2, and lawless people X is plucked by message
Provision price information 1 after algorithm A is wanted to distorting is encrypted to form MD5 values 2, and by 2 turns of provision price information 2 and MD5 values
Issue grain purchases terminal.Every terms of information that grain purchases terminal is included by Message Digest 5 A to provision price information 2 and
6 bit encryption character string C are encrypted, and form MD5 values 3.Due to lawless people X-shaped into during MD5 values 2 not use encrypted characters string
Or the encrypted characters string for being used is different from 6 bit encryption character string C, causes MD5 to 2 different from MD5 values 3, may thereby determine that
Received provision price information 2 has been tampered with.
In an embodiment of the invention, provision price information is encrypted to form a corresponding MD5 in step 102
During value, if the number of the provision price information got in step 101 is more than 1, carried out to a provision price information
During encryption, according to pre-defined circulation encryption rule, determine and the provision price information phase from each provision price information
At least one association provision price information of association, and then by Message Digest 5 to provision price information, the encrypted characters
String and at least one association provision price information being associated with the provision price information are encrypted, and the MD5 values that will be formed are made
It is a MD5 values of the provision price information.
For example, the need for according to grain purchases terminal, obtaining wheat, soybean, corn, paddy rice totally 4 kinds of grain valencys of grain
Lattice information, wherein wheat correspondence provision price information 1, soybean correspondence provision price information 2, corn correspondence provision price information 3,
Paddy rice correspondence provision price information 4.According to pre-defined circulation encryption rule, determine that provision price information 2 is provision price
The association provision price information of information 1, provision price information 3 is the association provision price information of provision price information 2, grain valency
Lattice information 4 is the association provision price information of provision price information 3, and provision price information 1 is the association grain of provision price information 4
Food pricing information.When being encrypted to provision price information 1, by Message Digest 5 A to provision price information 1 and grain
The every terms of information and encrypted characters string that pricing information 2 includes are encrypted, and the MD5 values that will be formed are used as provision price information 1
First MD5 values;When being encrypted to provision price information 2, by Message Digest 5 A to provision price information 2 and grain
The every terms of information and encrypted characters string that pricing information 3 includes are encrypted, and the MD5 values that will be formed are used as provision price information 2
First MD5 values;Correspondingly, provision price information 3 and provision price information 4 are encrypted respectively using identical method, are obtained
Obtain a MD5 values accordingly.
By circulating encryption rule, when being encrypted to a provision price information, with reference to other provision price information
Content, after some provision price information are deleted by lawless people, can cause remaining provision price information MD5 values verify not
Pass through such that it is able to ensure that provision price control sends the integrality for transmitting provision price information.
As shown in Fig. 2 one embodiment of the invention provides a kind of provision price control method, grain purchases end is applied to
End, the method may comprise steps of:
Step 201:With at least one provision price information that non-on-line normalization mode, the supervision center outside reception send
And a corresponding MD5 values, wherein, a MD5 values pass through customized Message Digest 5 pair by the supervision center
Corresponding provision price information is encrypted and obtains;
Step 202:Each described provision price information by the Message Digest 5 respectively to receiving is added
It is close, form the corresponding 2nd MD5 values of each described provision price information;
Step 203:Each described provision price information is directed to, the provision price information corresponding described is judged
Whether one MD5 values are identical with the 2nd MD5 values, if it is, carrying out provision price importing according to the provision price information.
One embodiment of the invention provides a kind of provision price control method for being applied to grain purchases terminal, by non-
On-line normalization mode, after receiving provision price information and a corresponding MD5 values, is directed to each provision price information,
Provision price information is encrypted by predefined Message Digest 5, obtains the 2nd corresponding MD5 values, if first
MD5 values are identical with the 2nd MD5 values, then can determine that the provision price information is not tampered with, and then believed according to the provision price
Breath carries out provision price importing.As can be seen here, the security of received provision price information is ensured by MD5 values, such that it is able to
The provision price information of supervision center is obtained by non-on-line normalization mode, so as to ensure in supervision center and grain purchases terminal
Between network failure when can normally carry out grain purchases business.
In an embodiment of the invention, any one provision price information for receiving is directed to, when judging a MD5
, it is necessary to carry out provision price importing according to the provision price information after value is identical with the 2nd MD5 values.Import provision price it
Before, first determine whether whether grain purchases terminal is stored with and correspond to original provision price of same grain with the provision price information
Information, if original grain connects each information and do not exist, directly imports grain purchases terminal by the provision price information;If former
With the presence of provision price information, then need to determine whether the renewal time of the provision price information whether in original provision price
After the renewal time of information, if it is, the provision price information is imported into grain purchases terminal, otherwise ignore the provision price
Information.
For example, provision price information 1 is the provision price information of wheat 1, provision price information 1 corresponding first is being judged
After MD5 values are identical with the 2nd MD5 values, first determine whether whether there is the corresponding provision price of wheat 1 in grain purchases terminal
Information, if it does not, provision price information 1 directly is imported into grain purchases terminal;If it is present determining whether grain
Whether food pricing information 1 updates the time in the grain purchases terminal after the renewal time of the original provision price information of wheat 1,
If it is, provision price information 1 is imported into grain purchases terminal, and original provision price information is covered, otherwise neglected
Omit provision price information 1.
Before provision price information importing is carried out, determine received with the presence or absence of the renewal time in grain purchases terminal
Original provision price information after provision price information, if there is not imported to received provision price information then.
So, the provision price information of importing grain purchases terminal is made to be newest, it is ensured that provision price in grain purchases terminal
It is ageing.
In the various embodiments described above, non-on-line normalization mode can include many different forms, such as work as supervision center
When different from the proprietary network between grain purchases terminal, provision price information can be entered in forms such as mail, instant messages
Row transmission, can also be by storage devices such as USB flash disk, CDs by the provision price information copy of supervision center to grain purchases end
End, specific transmission means can flexibly be selected according to practical business demand, no longer repeated one by one herein.
As shown in figure 3, one embodiment of the invention provides a kind of supervision center, including:Acquiring unit 301, encryption are single
Unit 302 and transmission unit 303;
The acquiring unit 301, for according to outside triggering, obtaining at least one provision price information;
The ciphering unit 302, for being obtained to the acquiring unit 301 respectively by customized Message Digest 5
To each described provision price information be encrypted, form the corresponding MD5 values of each described provision price information;
The transmission unit 303, for non-on-line normalization mode, each institute that the acquiring unit 301 is got
State provision price information and be transferred to outside at least one by the corresponding MD5 values that the ciphering unit 302 is formed
The grain purchases terminal in portion;
Wherein, a MD5 values with the grain purchases terminal for passing through the Message Digest 5 to receiving
Provision price information be encrypted after the 2nd MD5 values that are formed contrasted, so that the grain purchases terminal is in judgement
After the first MD5 values are identical with the 2nd MD5 values, provision price information carried out according to the provision price information for receiving and is led
Enter.
In an embodiment of the invention, the ciphering unit 302 is used to be directed at least one provision price information
In any one current provision price information, the current provision price is believed by the customized Message Digest 5
Breath and predefined encrypted characters string are encrypted, and will encrypt formed MD5 values as the current provision price information
First MD5 values;
Wherein, the encrypted characters string is the inner cipher of the supervision center and the grain purchases terminal;It is described to disappear
Breath digest algorithm is the internal cryptographic algorithm of the supervision center and the grain purchases terminal.
In an embodiment of the invention, when the number of the provision price information is more than 1, the ciphering unit 302
For according to pre-defined circulation encryption rule, determining from provision price information each described and the current provision price
At least one associated association provision price information of information;And by the Message Digest 5 to the current provision price
Information, the encrypted characters string and at least one association provision price information are encrypted, and will encrypt formed MD5 values
As a MD5 values of the current provision price information.
As shown in figure 4, one embodiment of the invention provides a kind of grain purchases terminal, including:Receiving unit 401, test
Card unit 402 and import unit 403;
The receiving unit 401, in non-on-line normalization mode, receiving outside supervision center transmission at least one
Provision price information and a corresponding MD5 values, wherein, a MD5 values are disappeared by the supervision center by customized
Breath digest algorithm is encrypted and obtains to corresponding provision price information;
The authentication unit 402, is obtained for being received to the receiving unit 401 respectively by the Message Digest 5
To each described provision price information be encrypted, form the corresponding 2nd MD5 values of each described provision price information;
The import unit 403, for being directed to each described provision price information that receiving unit 401 gets,
Judge the corresponding MD5 values of the provision price information is with the 2nd MD5 values that the authentication unit 402 is formed
It is no identical, if it is, carrying out provision price importing according to the provision price information.
In an embodiment of the invention, the import unit 303 is used to judge whether the grain purchases terminal stores
There is original provision price information of same grain corresponding with the provision price information;If it is, working as the provision price information
The renewal time when after the renewal time of original provision price information, the provision price information is imported, it is and right
Original provision price information is covered;Believe in original provision price when the renewal time of the provision price information
When before the renewal time of breath, ignore the provision price information;If not, the provision price information is imported.
Above-described embodiment provide supervision center and grain purchases terminal in each unit between information exchange, performed
The contents such as journey, due to being based on same design with the inventive method embodiment, particular content can be found in the inventive method embodiment
Narration, here is omitted.
As shown in figure 5, one embodiment of the invention provides a kind of provision price control system, including:The present invention is implemented
Any one supervision center 501 and at least one any one grain purchases terminal provided in an embodiment of the present invention that example is provided
502。
In embodiments of the present invention, grain purchases terminal arrangement is to grain purchasing station, and supervision center is arranged in each
Grain purchasing station carries out the management and control center of management and control.
With reference to the provision price control system shown in Fig. 5, to provision price controlling party provided in an embodiment of the present invention
Method is described in further detail, as shown in fig. 6, the method may comprise steps of:
Step 601:At least one provision price information is obtained according to triggering.
In an embodiment of the invention, as shown in figure 5, when the Network Abnormal between supervision center and grain purchases terminal
Afterwards, according to the demand of grain purchasing station, at least one provision price information is obtained from supervision center.Each provision price information
Including grain variety, Class of food crop, grain types of inventory, purchasing price and information etc. the renewal time.
For example, supervision center A is connected with 10 grain purchases terminals, when the grain purchases end in 10 grain purchases terminals
When network between the B and supervision center A of end disconnects, the demand of grain purchasing station according to where grain purchases terminal B, in supervision
Wheat, soybean, corn, paddy rice totally 4 kinds of provision price information of grain, wherein wheat correspondence provision price information are obtained on heart A
1, soybean correspondence provision price information 2, corn correspondence provision price information 3, paddy rice correspondence provision price information 4.By 4 grains
Information Store is in Excel tables.
Step 602:Each provision price information is encrypted respectively, obtains a corresponding MD5 values.
In an embodiment of the invention, if only getting a provision price information in step 601, by inside
The Message Digest 5 of exploitation is encrypted to the provision price information and the encrypted characters string made an appointment, by what is formed
MD5 values as the provision price information a MD5 values.If the number that provision price information is got in step 601 is more than
1, be directed to each the provision price information for getting, according to pre-defined circulation encryption rule, from get each
At least one association provision price information that determination is associated with the provision price information in provision price information, is opened by inside
The Message Digest 5 of hair is to the provision price information, the encrypted characters string made an appointment and at least one association grain determined
Food pricing information is encrypted, a MD5 value of the MD5 values that will be formed as the provision price information.
For example, by the Message Digest 5 that inside uses provision price information 1 and provision price information 2 are included it is each
Item information and encrypted characters string are encrypted, a MD5 value of the MD5 values that will be formed as provision price information 1;By inside
The every terms of information and encrypted characters string that the Message Digest 5 for using includes to provision price information 2 and provision price information 3 enter
Row encryption, a MD5 value of the MD5 values that will be formed as provision price information 2;The Message Digest 5 pair used by inside
The every terms of information and encrypted characters string that provision price information 3 and provision price information 4 include are encrypted, the MD5 values that will be formed
As a MD5 values of provision price information 3;The Message Digest 5 used by inside is to provision price information 4 and grain
The every terms of information and encrypted characters string that pricing information 1 includes are encrypted, and the MD5 values that will be formed are used as provision price information 4
First MD5 values.Each MD5 value storage to the MD5 values in Excel tables is stored into row, and is believed with corresponding provision price
Breath is located at same a line.
Step 603:By non-on-line normalization mode, each provision price information and a corresponding MD5 values are transferred to
Grain purchases terminal.
In an embodiment of the invention, due to the network interruption between supervision center and grain purchases terminal, it is impossible to logical
Cross online mode transmission provision price information, therefore by non-on-line normalization mode by each provision price information and corresponding the
One MD5 values are transferred to grain purchases terminal.Wherein, non-on-line normalization mode can be the transmission sides such as mail, instant communication software
Formula, can also be by way of the storage devices such as USB flash disk, CD be copied.
For example, by way of USB flash disk is copied, the provision price information 1 that will be stored with to provision price information 4 amounts to 4 grains
Food pricing information, and the Excel tables of 4 each self-corresponding MD5 values of provision price information are transferred to grain purchases terminal
B。
Step 604:Each the provision price information for receiving is encrypted respectively, obtains corresponding 2nd MD5 values.
In an embodiment of the invention, each provision price information and corresponding is received by non-on-line normalization mode
After first MD5 values, using with identical Message Digest 5 in step 602, encrypted characters string and circulation encryption rule, it is right respectively
Each the provision price information for receiving is encrypted, and obtains the corresponding 2nd MD5 values of each provision price information.
For example, the 4 provision price information stored in being successively read Excel tables, the eap-message digest calculation used by inside
The every terms of information and encrypted characters string that method includes to provision price information 1 and provision price information 2 are encrypted, by what is formed
MD5 values as provision price information 1 the 2nd MD5 values;The Message Digest 5 used by inside is to the He of provision price information 2
The every terms of information and encrypted characters string that provision price information 3 includes are encrypted, and the MD5 values that will be formed are used as provision price information
2 the 2nd MD5 values;It is each that the Message Digest 5 used by inside is included to provision price information 3 and provision price information 4
Item information and encrypted characters string are encrypted, twoth MD5 value of the MD5 values that will be formed as provision price information 3;By inside
The every terms of information and encrypted characters string that the Message Digest 5 for using includes to provision price information 4 and provision price information 1 enter
Row encryption, twoth MD5 value of the MD5 values that will be formed as provision price information 4.
Step 605:Each the provision price information for receiving is directed to, the provision price information corresponding first is judged
Whether MD5 values are identical with the 2nd MD5 values, if it is, performing step 606, otherwise terminate current process.
In an embodiment of the invention, each provision price information for receiving is directed to, if the provision price
The corresponding MD5 values of information are identical with the 2nd MD5 values, illustrate that the provision price information is not tampered with, and correspondingly perform step
Rapid 606;If the corresponding MD5 values of the provision price information are different from the 2nd MD5 values, the provision price information has been illustrated
It is tampered, for the provision price end of message current process.
For example, in addition to the corresponding MD5 values of provision price information 1 are different from the 2nd MD5 values, provision price information 2, grain
Food pricing information 3 and each self-corresponding MD5 values of provision price information 4 and the 2nd MD5 value all sames, for provision price letter
Breath 2, provision price information 3 and provision price information 4 perform step 606, and current process is terminated for provision price information 1.
Step 606:Each provision price information is directed to, judges whether grain purchases terminal is stored with corresponding to same
Original provision price information of grain, if it is, performing step 607, otherwise performs step 608.
In an embodiment of the invention, the first MD5 values of correspondence and the 2nd MD5 values identical each grain valency are directed to
Lattice information, judges whether grain purchases terminal is stored on original grain valency of same grain corresponding with the provision price information
Lattice information, if it has, needing to determine whether the renewal time of provision price information, correspondingly performs step 607;If not,
The provision price information can then be imported, correspondingly perform step 608.
For example, through judging, the provision price information of be stored with grain purchases terminal B soybean and corn is not deposited
The provision price information of water storage rice.Therefore, step 607 is performed for provision price information 2 and provision price information 3, for grain
Food pricing information 4 performs step 608.
Step 607:Each provision price information is directed to, judges the renewal time of the provision price information whether in phase
After the original provision price information of correspondence, if it is, performing step 608, otherwise terminate current process.
In an embodiment of the invention, the original provision price information of correspondence that is stored with is directed in grain purchases terminal
Each provision price information, judges whether the renewal time of the provision price information is corresponding to original provision price information more
After the new time, if it is, the provision price information that explanation is received is newest provision price information, it is necessary to pass through the grain
Food pricing information is updated to original provision price information, correspondingly performs step 608;If not, illustrating that what is received is somebody's turn to do
Provision price information has been invalid information earlier, for the provision price end of message current process.Wherein, provision price
The time that updates of information is a field included by provision price information.
For example, the renewal time of the provision price information of the soybean stored on grain purchases terminal B and corn is 2017
On March 2, and the renewal time of provision price information 2 is on March 3rd, 2017, the renewal time of provision price information 3 is
On March 1st, 2017.Because the renewal time of provision price information 2 is later relative to original provision price information, for grain valency
Lattice information 2 performs step 608;Because the renewal time of provision price information 3 is more early relative to original provision price information, for
Provision price information 3 terminates current process.
Step 608:Provision price information is imported into grain purchases terminal.
In an embodiment of the invention, each provision price information for receiving is directed to, will be determined in step 606
Each provision price information without correspondence original provision price information imported into grain purchases terminal, and by step 607
Each provision price information of the renewal time determined after correspondence original provision price information imported into grain purchases terminal.
For example, provision price information 2 is imported into grain purchases terminal B, and cover the grain purchases letter of original soybean
Breath;And provision price information 4 is imported into grain purchases terminal B, in the grain purchases letter of grain purchases terminal B storage corns
Breath.
It should be noted that after the network connection between supervision center and grain purchases terminal is recovered, supervision center
Provision price information is issued to grain purchases terminal by on-line normalization mode, each is directed to and is received by on-line normalization mode
Each the provision price information for arriving, performs above-mentioned steps since step 606.
In an embodiment of the invention, the provision price information and a corresponding MD5 values that will can be got are deposited
In storage Excel file, the process can be realized by scripted code, specifically include herein below:
For CMD classes:
rep.setContentType("application/vnd.ms-excel;Charset=GBK ");
rep.setHeader("Content-disposition","attachment;Filename="+
fileName);
OutputStreamos=rep.getOutputStream ();
String returnInfo=getSgjsjgService () .sgjsjgDc (os, fileName, map);
For Domain classes:
public StringsgjsjgDc(OutputStreamos,StringfileName,Map map){
Jxl.write.WritableWorkbookwwb=jxl.Workbook.createWorkboo k (os);
Jxl.write.WritableSheetws=wwb.createSheet (" purchase settlement price ", 0);
......
String theMD5Str=MD5Encrypt.getMD5 (MD5String.toString ());
Label_str=new jxl.write.Label (12, i+1, theMD5Str);
......
ws.setColumnView(12,0);
wwb.write();
wwb.close();
......
}
In an embodiment of the invention, when provision price information is imported, above-described embodiment generation can be introduced directly into
Excel file, and verify the validity of provision price information, the process can be realized by scripted code, specifically include with
Lower content:
In sum, each embodiment of the invention is provided provision price control method, system and supervision center and grain
Purchase terminal, at least has the advantages that:
1st, in embodiments of the present invention, after obtaining at least one provision price information according to triggering, disappeared by customized
Breath digest algorithm is encrypted to each provision price information, forms a corresponding MD5 values, and by non-on-line normalization side
The provision price information that formula will get is transferred to the grain purchases terminal of needs with a corresponding MD5 values.Grain purchases
Terminal is encrypted by identical Message Digest 5 to each provision price information for receiving, the 2nd MD5 that will be formed
Value is contrasted with a corresponding Md5 values, after it is determined that received provision price information is not tampered with, according to receiving
Provision price information carry out provision price information importing.So, the safety of transmitted provision price information is ensured by MD5 values
Property, grain purchases terminal is given by provision price information transfer such that it is able to by way of non-on-line normalization, so as to ensure in prison
Grain purchases business can normally be carried out between tube hub and grain purchases terminal during network failure.
2nd, in embodiments of the present invention, provision price information is encrypted by inside story digest algorithm, due to not
Method personnel cannot obtain the inside story digest algorithm, thus cannot to distorting after the corresponding MD5 values of provision price information enter
Row effectively updates, and judges whether provision price information is usurped such that it is able to the MD5 values that basis is transmitted together with provision price information
Change, prevent the provision price information after distorting to be imported into, improve the security of the provision price control method.
3rd, in embodiments of the present invention, when being encrypted to provision price information, by provision price information with appoint in advance
Fixed encrypted characters string is together encrypted, so, even if lawless people obtains provision price information and the eap-message digest of inside is calculated
Method, but after it still cannot be formed and distorted on the premise of there is no encrypted characters string provision price information match MD5
Value, so as to still be able to determine whether provision price information is tampered according to MD5 values, prevents the provision price information that will be tampered from leading
Enter, further increase the security of the provision price control method.
4th, in embodiments of the present invention, when with multiple provision price information, carried out to a provision price information
During encryption, with reference to the content of other provision price information, after some provision price information are deleted by lawless people, can cause to remain
The MD5 values verification of remaining provision price information does not pass through such that it is able to ensures that provision price control sends and transmits provision price
The integrality of information.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation makes a distinction with another entity or operation, and not necessarily require or imply these entities or exist between operating
Any this actual relation or order.And, term " including ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of key elements not only include those key elements,
But also other key elements including being not expressly set out, or also include by this process, method, article or equipment are solid
Some key elements.In the absence of more restrictions, the key element limited by sentence " including a 〃 ", does not arrange
Except also there is other identical factor in the process including the key element, method, article or equipment.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in the storage medium of embodied on computer readable, the program
Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, skill of the invention is merely to illustrate
Art scheme, is not intended to limit the scope of the present invention.All any modifications made within the spirit and principles in the present invention,
Equivalent, improvement etc., are all contained in protection scope of the present invention.
Claims (10)
1. a kind of provision price control method, it is characterised in that be applied to supervision center, including:
According to outside triggering, at least one provision price information is obtained;
Provision price information each described is encrypted respectively by customized Message Digest 5, is formed described in each
The corresponding MD5 values of provision price information;
In non-on-line normalization mode, each described provision price information and a corresponding MD5 values are transferred at least
One grain purchases terminal of outside;
Wherein, a MD5 values for the grain purchases terminal by the Message Digest 5 to the grain that receives
The 2nd MD5 values that food pricing information is formed after being encrypted are contrasted, so that the grain purchases terminal is judging described
After first MD5 values are identical with the 2nd MD5 values, provision price information importing is carried out according to the provision price information for receiving.
2. method according to claim 1, it is characterised in that
It is described that provision price information each described is encrypted respectively by customized Message Digest 5, form each
The corresponding MD5 values of the provision price information, including:
For any one the current provision price information at least one provision price information, by customized described
Message Digest 5 is encrypted to the current provision price information and predefined encrypted characters string, will encrypt what is formed
MD5 values as the current provision price information a MD5 values;
Wherein, the encrypted characters string is the inner cipher of the supervision center and the grain purchases terminal;The message is plucked
Want the internal cryptographic algorithm that algorithm is the supervision center and the grain purchases terminal.
3. method according to claim 2, it is characterised in that when the number of the provision price information is more than 1,
It is described the current provision price information and predefined encrypted characters string are added by the Message Digest 5
It is close, including:
According to pre-defined circulation encryption rule, determine from provision price information each described and the current provision price
At least one associated association provision price information of information;
The current provision price information, the encrypted characters string and described at least one are closed by the Message Digest 5
Connection provision price information is encrypted, and will encrypt a MD5 of the formed MD5 values as the current provision price information
Value.
4. a kind of provision price control method, it is characterised in that be applied to grain purchases terminal, including:
With at least one provision price information and corresponding first that non-on-line normalization mode, the supervision center outside reception send
MD5 values, wherein, a MD5 values are by the supervision center by customized Message Digest 5 to corresponding grain valency
Lattice information is encrypted and obtains;
Each described provision price information by the Message Digest 5 respectively to receiving is encrypted, and forms each
The corresponding 2nd MD5 values of the provision price information;
Each described provision price information is directed to, the corresponding MD5 values of the provision price information and institute is judged
Whether identical the 2nd MD5 values are stated, if it is, carrying out provision price importing according to the provision price information.
5. method according to claim 4, it is characterised in that
It is described that provision price importing is carried out according to the provision price information, including:
Judge whether the grain purchases terminal is stored with original grain valency of same grain corresponding with the provision price information
Lattice information;
If it is, when the renewal time of the provision price information is after the renewal time of original provision price information
When, the provision price information is imported, and original provision price information is covered;When the provision price information
The renewal time before the renewal time of original provision price information when, ignore the provision price information;
If not, the provision price information is imported.
6. a kind of supervision center, it is characterised in that including:Acquiring unit, ciphering unit and transmission unit;
The acquiring unit, for according to outside triggering, obtaining at least one provision price information;
The ciphering unit, for each institute got to the acquiring unit respectively by customized Message Digest 5
State provision price information to be encrypted, form the corresponding MD5 values of each described provision price information;
The transmission unit, for non-on-line normalization mode, each described provision price that the acquiring unit is got
Information and the grain purchases end being transferred to by the corresponding MD5 values that the ciphering unit is formed outside at least one
End;
Wherein, a MD5 values for the grain purchases terminal by the Message Digest 5 to the grain that receives
The 2nd MD5 values that food pricing information is formed after being encrypted are contrasted, so that the grain purchases terminal is judging described
After first MD5 values are identical with the 2nd MD5 values, provision price information importing is carried out according to the provision price information for receiving.
7. supervision center according to claim 6, it is characterised in that
The ciphering unit, for for any one the current provision price letter at least one provision price information
Breath, is carried out by the customized Message Digest 5 to the current provision price information and predefined encrypted characters string
Encryption, will encrypt a MD5 value of the formed MD5 values as the current provision price information;
Wherein, the encrypted characters string is the inner cipher of the supervision center and the grain purchases terminal;The message is plucked
Want the internal cryptographic algorithm that algorithm is the supervision center and the grain purchases terminal.
8. supervision center according to claim 7, it is characterised in that when the number of the provision price information is more than 1,
The ciphering unit, for according to pre-defined circulation encryption rule, determining from provision price information each described
At least one association provision price information being associated with the current provision price information;And by the Message Digest 5
The current provision price information, the encrypted characters string and at least one association provision price information are encrypted,
A MD5 value of the formed MD5 values as the current provision price information will be encrypted.
9. a kind of grain purchases terminal, it is characterised in that including:Receiving unit, authentication unit and import unit;
The receiving unit, at least one grain valency sent with non-on-line normalization mode, the supervision center outside reception
Lattice information and a corresponding MD5 values, wherein, a MD5 values are by the supervision center by customized eap-message digest
Algorithm is encrypted and obtains to corresponding provision price information;
The authentication unit, for receiving each institute for getting to the receiving unit respectively by the Message Digest 5
State provision price information to be encrypted, form the corresponding 2nd MD5 values of each described provision price information;
The import unit, for being directed to each described provision price information that receiving unit gets, judges the grain
Whether the corresponding MD5 values of food pricing information are identical with the 2nd MD5 values that the authentication unit is formed, if
It is that provision price importing is carried out according to the provision price information.
10. a kind of provision price control system, it is characterised in that including:Any described supervision center in claim 6 to 8
And at least one grain purchases terminal described in claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710128406.1A CN106921667A (en) | 2017-03-06 | 2017-03-06 | A kind of provision price control method, system and supervision center and grain purchases terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710128406.1A CN106921667A (en) | 2017-03-06 | 2017-03-06 | A kind of provision price control method, system and supervision center and grain purchases terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106921667A true CN106921667A (en) | 2017-07-04 |
Family
ID=59460672
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710128406.1A Pending CN106921667A (en) | 2017-03-06 | 2017-03-06 | A kind of provision price control method, system and supervision center and grain purchases terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106921667A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060294117A1 (en) * | 2005-06-24 | 2006-12-28 | Microsoft Corporation | Methods and systems for creating document schema |
CN102609326A (en) * | 2012-01-17 | 2012-07-25 | 大唐移动通信设备有限公司 | Data downloading processing method and data downloading processing device |
CN103902925A (en) * | 2012-12-31 | 2014-07-02 | 中国银联股份有限公司 | Method and equipment for digital document signature |
CN105447407A (en) * | 2015-11-11 | 2016-03-30 | 中国建设银行股份有限公司 | Off-line data encryption method and decryption method and corresponding apparatus and system |
CN105678598A (en) * | 2014-11-19 | 2016-06-15 | 航天信息股份有限公司 | Method and system for issuing online invoice with two-dimension code |
-
2017
- 2017-03-06 CN CN201710128406.1A patent/CN106921667A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060294117A1 (en) * | 2005-06-24 | 2006-12-28 | Microsoft Corporation | Methods and systems for creating document schema |
CN102609326A (en) * | 2012-01-17 | 2012-07-25 | 大唐移动通信设备有限公司 | Data downloading processing method and data downloading processing device |
CN103902925A (en) * | 2012-12-31 | 2014-07-02 | 中国银联股份有限公司 | Method and equipment for digital document signature |
CN105678598A (en) * | 2014-11-19 | 2016-06-15 | 航天信息股份有限公司 | Method and system for issuing online invoice with two-dimension code |
CN105447407A (en) * | 2015-11-11 | 2016-03-30 | 中国建设银行股份有限公司 | Off-line data encryption method and decryption method and corresponding apparatus and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11720711B2 (en) | System and method for interaction object management in a blockchain environment | |
KR101987692B1 (en) | Registry and Automation Management Methods for Smart Contracts in Blockchain Enforcement | |
CN106600405B (en) | Block chain-based data rights and interests protection method | |
CN109544160B (en) | Transaction authenticity verification method and system based on block chain and intelligent contract | |
Ma et al. | A blockchain-based application system for product anti-counterfeiting | |
US20210314140A1 (en) | Methods and systems for a synchronized distributed data structure for federated machine learning | |
CN109583885A (en) | Bout controls rewritable block chain | |
KR20190004310A (en) | METHOD AND SYSTEM FOR CONTROLLING PERFORMANCE OF AGREEMENT USING DISTRIBUTED HASH Tables AND DECISIONS | |
CN102779284B (en) | RFID (radio frequency identification device) label integrating comprehensive functions such as merchandise anti-counterfeiting, logistics control and the like | |
CN110442652A (en) | A kind of across chain data processing method and device based on block chain | |
CN109615351A (en) | SIM card, terminating machine and digital currency managing system | |
CN107454114A (en) | A kind of auction bidding method, server and readable storage medium storing program for executing | |
CN110751485A (en) | Data processing method and equipment | |
CN109428892A (en) | Multistage rewritable block chain | |
CN111340475A (en) | Prepaid card transaction processing method and device based on block chain and intelligent terminal | |
CN111368262B (en) | Artificial intelligent model protection and loose coupling distributed training method based on blockchain | |
US20230327872A1 (en) | Methods and systems for generating, subscribing to and processing action plans using a blockchain | |
KR20200091237A (en) | Animal products traceability system using blockchain technology | |
KR20220167146A (en) | System for providing blockchain based international trade automation service for import and export business using smart contract | |
KR102184147B1 (en) | Computing device for providing selective goods donation service using block chain | |
CN109886685A (en) | A kind of commodity tracing system and method based on block chain | |
CN113379428A (en) | Bottled wine circulation tracing method and system | |
CN113269649A (en) | System and method for tracking digital currency | |
CN117522263A (en) | Supply chain material specialized bin control method based on block chain technology | |
CN107437188A (en) | A kind of method that fake certification is quickly realized using bar code |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170704 |