CN102564554A - Anti-cheating method for electronic scale and electronic scale - Google Patents

Anti-cheating method for electronic scale and electronic scale Download PDF

Info

Publication number
CN102564554A
CN102564554A CN2011104318490A CN201110431849A CN102564554A CN 102564554 A CN102564554 A CN 102564554A CN 2011104318490 A CN2011104318490 A CN 2011104318490A CN 201110431849 A CN201110431849 A CN 201110431849A CN 102564554 A CN102564554 A CN 102564554A
Authority
CN
China
Prior art keywords
card number
key
electronic scales
card
current date
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.)
Granted
Application number
CN2011104318490A
Other languages
Chinese (zh)
Other versions
CN102564554B (en
Inventor
刘啟瑞
王晶
庄华强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Newland Computer Co Ltd
Original Assignee
Fujian Newland Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Newland Computer Co Ltd filed Critical Fujian Newland Computer Co Ltd
Priority to CN201110431849.0A priority Critical patent/CN102564554B/en
Publication of CN102564554A publication Critical patent/CN102564554A/en
Application granted granted Critical
Publication of CN102564554B publication Critical patent/CN102564554B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

An embodiment of the invention discloses an anti-cheating method for an electronic scale and an electronic scale. The anti-cheating method for an electronic scale comprises the following steps of acquiring a first card number and a validity period of a preset card, and reading a second card number and a current date which are arranged in the electronic scale; checking whether the first card number and the second card number are matched, and checking whether the current date is in the validity period; and opening setting authority limits of the electronic scale if the first card number and the second card number are matched, and the current date is in the validity period. By means of the mode, the anti-cheating method can effectively prevent cheating of the electronic scale.

Description

Electronic scales anti-cheating method and electronic scales
Technical field
The present invention relates to the electronic scales field, particularly a kind of electronic scales anti-cheating method and corresponding electronic scales.
Background technology
Electronic scales is the weighing-appliance of controlling and measuring with technological means, and it has following characteristics: the speed of weighing is fast, and is simple to operation, continuously dynamic measurement; Device structure is simple, makes easy for installation; Change in physical adaptability to working environment, material is good, and measures range is wide; Weight of material is to convert corresponding electric signal or digital quantity to through sensor, and operation is directly perceived, and has various control functions such as setting, adjusting, early warning, record.
Development along with microelectric technique; And because of the light sensitivity of electronic scales, traditional mechanical is weighed, and instrument is most of to be replaced by electronic scales, but meanwhile; Illegal retailer also begins to utilize the circuit of electronic scales or software to practise fraud;, give short weight and deceive client, to reach the purpose of playing one's own game.How effectively to prevent the electronic scales cheating, the standard trade market is to need problem demanding prompt solution.
Summary of the invention
The technical matters that the present invention mainly solves provides a kind of electronic scales anti-cheating method and electronic scales, can guarantee to avoid to cause the incorrect phenomenon of final weighing through the people for behavior.
For solving the problems of the technologies described above; The technical scheme that the embodiment of the invention adopts is: a kind of electronic scales anti-cheating method is provided; Comprise the steps: that electronic scales obtains first card number and the term of validity that card is set, and read second card number and the current date that defaults in this locality; Verify whether first card number and second card number mate, and whether before the deadline the checking current date; When first card number and second card number coupling, and current date is in valid period the time, and the authority that is provided with of electronic scales is opened.
Wherein, whether mate, and before the deadline whether the checking current date after the step, before electronic scales is provided with the step that authority opens, comprising: write down first card number at checking first card number and second card number.
Wherein, when first card number and second card number do not match, when perhaps current date is not in valid period, finish to be provided with.
Wherein, whether mate, and whether the checking current date before the step of record first card number, comprising after before the deadline the step: obtain first key that card is set, and obtain and default in the second local key at checking first card number and second card number.
Wherein, obtaining first key that card is set, and obtaining after the step of second key, before the step of record first card number, comprising: verify whether first key and second key mate; And when first key and second key match, electronic scales is provided with authority and opens.
For solving the problems of the technologies described above; Another technical scheme that the embodiment of the invention adopts is: a kind of electronic scales is provided; Comprise: first acquisition module is used to obtain first card number and the term of validity that card is set, and reads second card number and the current date that defaults in this locality; First authentication module is used to verify whether first card number and second card number mate, and before the deadline whether the checking current date; Module is set, is used for when first card number and second card number coupling, and current date is in valid period the time, electronic scales is provided with authority and opens.
Wherein, comprise memory module, memory module is connected in first authentication module and is provided with between the module, and memory module is used for: write down first card number.
Wherein, module is set also is used for: module is set also is used for:, when perhaps current date is not in valid period, finish to be provided with when first card number and second card number do not match.
Wherein, comprise second acquisition module, second acquisition module is connected between first authentication module and the memory module, and is used for: obtain first key that card is set, and obtain second key that defaults in this locality.
Wherein, Also comprise second authentication module, second authentication module is connected between second acquisition module and the memory module, and is used for: when first card number and second card number coupling; And current date verifies whether first key and second key mate in valid period the time; Module is set also to be used for: when first key and second key match, the unlocking electronic scale authority is set.
The invention has the beneficial effects as follows: it is parameter-embedded easily by the situation of illegal retailer's hack to be different from the prior art market employed electronic scales; The present invention is through verifying the card number and the term of validity that card is set; Checking correctly could be made amendment to the parameter of electronic scales; Can regulate market order, reduce the electronic scales cheating.
Description of drawings
Fig. 1 is the process flow diagram of electronic scales anti-cheating method first embodiment of the present invention;
Fig. 2 is the process flow diagram of electronic scales anti-cheating method second embodiment of the present invention;
Fig. 3 is the structured flowchart of electronic scales first embodiment of the present invention;
Fig. 4 is the structured flowchart of electronic scales second embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is elaborated.
Consult Fig. 1, Fig. 1 is the process flow diagram of electronic scales anti-cheating method first embodiment of the present invention.This electronic scales anti-cheating method comprises the steps:
Step S1 obtains first card number and the term of validity that card is set, and reads second card number and the current date that defaults in this locality.
Such as, this is provided with card and is generally IC-card, and this IC-card inside stores managerial personnel's first card number and the term of validity of this IC-card at least.In addition, electronic scales inside also should store the corresponding informance of the IC-card that these managerial personnel hold, because memory unit is different, so be different from first card number, this information comprises second card number.Certainly, the corresponding informance of the IC-card that these managerial personnel held comprises that second card number also can obtain through the internet is long-range, and is not to be stored in electronic scales inside.In addition, deserving the preceding date directly obtains from electronic scales.
Step S2 verifies whether first card number and second card number mate, and before the deadline whether the checking current date.
Such as, when getting access to first card number and the term of validity, and after reading second card number and current date, first card number and second card number are mated, and whether the checking current date is in valid period.Current date is provided with when initialization, and the user can not make amendment to current date and other information without card number and validity verification.
Step S3, when first card number and second card number coupling, and current date is in valid period the time, and the authority that is provided with of electronic scales is opened.
Such as, authenticate to first card number and second card number matees successfully, promptly identical; And authenticate to current date still in valid period the time; The authority that is provided with of electronic scales is opened, and user or managerial personnel can be provided with electronic scales, and this is provided with content and comprises the time of setting, data etc. are set.
In embodiments of the present invention, through the card number and the term of validity that card is set are verified, checking correctly could be made amendment to the parameter of electronic scales, can regulate market order, and effectively prevents the electronic scales cheating.
In another embodiment of the embodiment of the invention, promptly between step S2 and step S3, also comprise: write down first card number.Writing down this first card number, to help writing down this setting operation be which keeper to supervise down or by which keeper directly the parameter of electronic scales is provided with, can clearly defining responsibilities, effectively prevent the electronic scales cheating.
In another embodiment of the embodiment of the invention, after step S2, promptly after verification step,,, when perhaps current date is not in valid period, finish to be provided with when first card number and second card number do not match if authenticate to.Because the authority that is provided with of electronic scales is not opened, anyone must not be provided with the electronic scales parameter, can effectively prevent the electronic scales cheating.
Consult Fig. 2, Fig. 2 is the process flow diagram of electronic scales anti-cheating method second embodiment of the present invention.This method comprises the steps:
Step S11 obtains first card number and the term of validity that card is set, and read be built in electronic scales read second card number and current date.
Card is set is the IC-card that keeper only holds, comprise first card number and the term of validity at least; Corresponding first card number of second card number is used to verify whether this operation is the keeper who holds to be set operating, and second card number can be stored in electronic scales inside, perhaps obtains through the internet is long-range.
Step S12 verifies whether first, second card number matees, and before the deadline whether the checking current date.
When first, second card number matees successfully, and current date gets into step S13 before the deadline the time; When first card number and second card number do not match, when perhaps current date is not in valid period, finish to be provided with.
Step S13 obtains first key that card is set, and obtains second key.
This first key only keeper is known, can also can be obtained automatically by electronic scales by the artificial input of keeper.
Step S14 verifies whether first, second key matees.
When first, second key match success, get into step S15; When first card number and second card number do not match, when perhaps current date is not in valid period, finish to be provided with.
Step S15 writes down first card number.
When first, second card number matees successfully; Current date before the deadline; And during first, second key match success, note keeper's first card number, not only need write down first card number; Also can write down this as required and the corresponding term of validity of card, this running time are set and operate in person or supervise down and content is set, comprise the time etc. what electronic scales carried out this keeper; First card number, the term of validity, this running time, information such as content are set are stored in this locality, also can send to this server and store through the internet.Accordingly,, can corresponding obtain the term of validity that card is set, also can obtain last time the running time and information such as content is set as long as obtain the card number that card is set, can clear and definite keeper's responsibility.With clear and definite this keeper's responsibility.
Step S16, the authority that is provided with of electronic scales is opened.
When first, second card number matees successfully, current date and during first, second key match success, allows to supervise down or by certain keeper certain keeper directly the parameter of electronic scales is provided with before the deadline.
In embodiments of the present invention, through checking, can further effectively prevent the electronic scales cheating, standard market to card number, the term of validity and key.
Consult Fig. 3, Fig. 3 is the structured flowchart of electronic scales first embodiment of the present invention.This electronic scales comprises: first acquisition module 1, first authentication module 2 and module 3 is set.
First acquisition module 1 is used to obtain first card number and the term of validity that card is set, and reads second card number and the current date that defaults in this locality.
Such as, this is provided with card and is generally IC-card, and this IC-card inside stores managerial personnel's first card number and the term of validity of this IC-card at least.In addition, electronic scales inside also should store the corresponding informance of the IC-card that these managerial personnel hold, because memory unit is different, so be different from first card number, this information comprises second card number.Certainly, the corresponding informance of the IC-card that these managerial personnel held comprises that second card number also can obtain through the internet is long-range, and is not to be stored in electronic scales inside.In addition, deserving the preceding date directly obtains from electronic scales.
First authentication module 2 connects first acquisition module 1, is used to verify whether first card number and second card number mate, and before the deadline whether the checking current date.
Such as, when getting access to first card number and the term of validity, and after reading second card number and current date, first card number and second card number are mated, and whether the checking current date is in valid period.Current date is provided with when initialization, and the user can not make amendment to current date and other information without card number and validity verification.
Module 3 is set, connects first authentication module 2, be used for when first card number and second card number coupling, and current date is in valid period the time, electronic scales is provided with authority and opens.
Such as, authenticate to first card number and second card number matees successfully, promptly identical; And authenticate to current date still in valid period the time; The authority that is provided with of electronic scales is opened, and user or managerial personnel can be provided with electronic scales, and this is provided with content and comprises the time of setting, data etc. are set.
In embodiments of the present invention, through the card number and the term of validity that card is set are verified, checking correctly could be made amendment to the parameter of electronic scales, can regulate market order, and effectively prevents the electronic scales cheating.
Consult Fig. 4, Fig. 4 is the structured flowchart of electronic scales second embodiment of the present invention.This electronic scales comprises: first acquisition module 10, first authentication module 11, second acquisition module 12, second authentication module 13, memory module 14 and module 15 is set.
First acquisition module 10 is used to obtain first card number and the term of validity that card is set, and reads second card number and the current date that defaults in this locality.
First authentication module 11 connects first acquisition module 10, is used to verify whether first card number and second card number mate, and before the deadline whether the checking current date
Second acquisition module 12 connects first authentication module 11, is used to obtain first key that card is set, and obtains second key that defaults in this locality.This first key only keeper is known, can also can be obtained automatically by the artificial input of keeper, when obtaining automatically, comprises and obtains from this locality and obtain through the internet is long-range.
Second authentication module 13 connects second acquisition module 12, be used for when first card number and second card number coupling, and current date verifies whether first key and second key mate in valid period the time.
Memory module 14 connects second authentication module 13, is used to write down first card number.
Memory module 14 not only writes down first card number, also can write down this and corresponding term of validity of card, this running time is set and operate in person or supervise down these managerial personnel and to what electronic scales carried out content is set, and comprises the time etc.; Memory module 14 can be arranged at this locality of electronic scales, is about to first card number, the term of validity, this running time, information such as content is set preserves and back up this locality in electronic scales; Memory module 14 also can be arranged at server, first card number, the term of validity, this running time, information such as content are set send to this server through the internet and preserves backup.As long as obtain the card number that card is set, can corresponding obtain the term of validity that card is set, also can obtain last time the running time and information such as content is set, can clear and definite keeper's responsibility.
Module 15 is set, connects memory module 14, be used for when first card number and second card number coupling, and current date is in valid period the time, electronic scales is provided with authority and opens.
In embodiments of the present invention, this is provided with module 15 and also is used for:
When first card number and second card number do not match, when perhaps current date is not in valid period, finish to be provided with;
And be used for: when first key and second key match, the unlocking electronic scale authority is set.
In embodiments of the present invention, first key is stored in being provided with in the card that the keeper holds, and second key defaults in this locality, promptly is built in the electronic scales, and certainly, second key also can carry out long-range obtaining through the internet.
In embodiments of the present invention, increase by second acquisition module 12 and second authentication module 13 can be verified key; Increase memory module 14; Can mate successfully when first, second card number, current date before the deadline, and first, second key match is when successful; Note keeper's card number; Clearly to carry out the managerial personnel's of current operation responsibility, can further effectively prevent the electronic scales cheating, standard market.
In each embodiment of the present invention, the electronic scales of each market of farm produce is connected with server through wireless networks such as WIFI, 3G; A plurality of electronic scaless of each market of farm produce are formed the small wireless network, and the small wireless network of each market of farm produce connects into a big wireless network again.Certainly, do not get rid of mode through the wired connection server yet.Information such as second card number and second key can also be passed through long-range obtain manner except this locality from electronic scales obtains, promptly utilize the wireless network or even the cable network of this market of farm produce, obtain from server.
The above is merely embodiments of the invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. an electronic scales anti-cheating method is characterized in that, comprises the steps:
Electronic scales obtains first card number and the term of validity that card is set, and reads second card number and the current date that defaults in this locality;
Verify whether said first card number and said second card number mate, and verify that said current date is whether in the said term of validity;
When said first card number and said second card number coupling, and said current date is in said valid period the time, and the authority that is provided with of electronic scales is opened.
2. method according to claim 1; It is characterized in that whether mating, and verify that whether before the deadline said current date after the step at checking said first card number and second card number; Be provided with at electronic scales before the step of authority unlatching, comprise: write down said first card number.
3. method according to claim 1 and 2 is characterized in that, when said first card number and said second card number do not match, perhaps said current date finishes to be provided with not in said valid period the time.
4. method according to claim 3; It is characterized in that; Whether mate at checking said first card number and said second card number, and verify that said current date is whether after before the deadline the step, before the step of said first card number of record; Comprise: obtain said first key that card is set, and obtain second key that defaults in this locality.
5. method according to claim 4 is characterized in that,
Obtaining said first key that card is set, and obtaining after the step of second key, before the step of said first card number of record, comprising: verify whether said first key and said second key mate;
And when said first key and said second key match, electronic scales is provided with authority and opens.
6. an electronic scales is characterized in that, comprising:
First acquisition module is used to obtain first card number and the term of validity that card is set, and reads second card number and the current date that defaults in this locality;
First authentication module is used to verify whether said first card number and said second card number mate, and verifies that said current date is whether in the said term of validity;
Module is set, is used for when said first card number and said second card number coupling, and said current date is in said valid period the time, electronic scales is provided with authority and opens.
7. electronic scales according to claim 6 is characterized in that, comprises memory module, and said memory module is connected in said first authentication module and said the setting between the module, and said memory module is used for: write down said first card number.
8. according to claim 6 or 7 described electronic scaless; It is characterized in that; The said module that is provided with also is used for: the said module that is provided with also is used for: when said first card number and said second card number do not match, perhaps said current date finishes to be provided with not in said valid period the time.
9. electronic scales according to claim 8; It is characterized in that, comprise second acquisition module, said second acquisition module is connected between said first authentication module and the said memory module; And be used for: obtain said first key that card is set, and obtain second key that defaults in this locality.
10. electronic scales according to claim 9 is characterized in that,
Also comprise second authentication module; Said second authentication module is connected between said second acquisition module and the said memory module; And be used for: when said first card number and said second card number coupling; And said current date verifies whether said first key and said second key mate in said valid period the time;
The said module that is provided with also is used for: when said first key and said second key match, the unlocking electronic scale authority is set.
CN201110431849.0A 2011-12-20 2011-12-20 Anti-cheating method for electronic scale and electronic scale Expired - Fee Related CN102564554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110431849.0A CN102564554B (en) 2011-12-20 2011-12-20 Anti-cheating method for electronic scale and electronic scale

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110431849.0A CN102564554B (en) 2011-12-20 2011-12-20 Anti-cheating method for electronic scale and electronic scale

Publications (2)

Publication Number Publication Date
CN102564554A true CN102564554A (en) 2012-07-11
CN102564554B CN102564554B (en) 2015-01-14

Family

ID=46410583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110431849.0A Expired - Fee Related CN102564554B (en) 2011-12-20 2011-12-20 Anti-cheating method for electronic scale and electronic scale

Country Status (1)

Country Link
CN (1) CN102564554B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104501935A (en) * 2014-12-12 2015-04-08 福建省计量科学研究院 Anti-cheating supervision method and system for electronic scale
CN104535161A (en) * 2014-12-31 2015-04-22 福州科迪电子技术有限公司 Method for outputting dynamic identity characteristic values of electronic balance
CN107169778A (en) * 2017-05-18 2017-09-15 厦门佰伦斯电子科技有限公司 A kind of key management method of the anti-string goods of electronic scale

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5710706A (en) * 1994-12-23 1998-01-20 Francotyp-Postalia Ag & Co. Method for entering data into a scale
KR20020031660A (en) * 2000-10-23 2002-05-03 정문재 wireless internet certification
CN2680463Y (en) * 2004-03-02 2005-02-23 王炎 Identity card with bar code
CN101806613A (en) * 2010-03-19 2010-08-18 四川九洲电器集团有限责任公司 Cheating prevention electronic weighing apparatus calibrating system and method
CN101968377A (en) * 2010-09-15 2011-02-09 福州科迪电子技术有限公司 Anti-cheating method of electronic scale
CN201788005U (en) * 2010-09-15 2011-04-06 福州科迪电子技术有限公司 Cheating prevention electronic scale

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5710706A (en) * 1994-12-23 1998-01-20 Francotyp-Postalia Ag & Co. Method for entering data into a scale
KR20020031660A (en) * 2000-10-23 2002-05-03 정문재 wireless internet certification
CN2680463Y (en) * 2004-03-02 2005-02-23 王炎 Identity card with bar code
CN101806613A (en) * 2010-03-19 2010-08-18 四川九洲电器集团有限责任公司 Cheating prevention electronic weighing apparatus calibrating system and method
CN101968377A (en) * 2010-09-15 2011-02-09 福州科迪电子技术有限公司 Anti-cheating method of electronic scale
CN201788005U (en) * 2010-09-15 2011-04-06 福州科迪电子技术有限公司 Cheating prevention electronic scale

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104501935A (en) * 2014-12-12 2015-04-08 福建省计量科学研究院 Anti-cheating supervision method and system for electronic scale
CN104535161A (en) * 2014-12-31 2015-04-22 福州科迪电子技术有限公司 Method for outputting dynamic identity characteristic values of electronic balance
CN107169778A (en) * 2017-05-18 2017-09-15 厦门佰伦斯电子科技有限公司 A kind of key management method of the anti-string goods of electronic scale

Also Published As

Publication number Publication date
CN102564554B (en) 2015-01-14

Similar Documents

Publication Publication Date Title
CN101968377B (en) Anti-cheating method of electronic scale
KR101395749B1 (en) Method for creating a secure counter on an on-board computer system comprising a chip card
US11495075B2 (en) Distributed voting system, method, apparatus, computer device and readable storage medium
CN104584025B (en) For controlling equipment, the method and system of the access to webpage or the web object of web browser applications
Melo et al. Using blockchains to implement distributed measuring systems
CN108009199A (en) A kind of search method and system of measurement and calibration calibration certificate
JP2009059303A (en) Access control device, access control method, and access control program
US20090287917A1 (en) Secure software distribution
US10541986B2 (en) Method and apparatus for securing an application using a measurement of a location dependent physical property of the environment
CN104501935B (en) The anti-cheating monitoring and managing method of a kind of electronic scale and system
CN106355081A (en) Android program start verification method and device
CN107211024A (en) Many granularity verification techniques
CN201788005U (en) Cheating prevention electronic scale
CN110442973A (en) A kind of durability degree test method, system and the storage medium of vehicle key components and parts
CN102564554A (en) Anti-cheating method for electronic scale and electronic scale
Khan et al. Implementation of decentralized blockchain e-voting
CN102509226A (en) Electric lottery certificate generating and verifying method and electric lottery marketing and management system
CN103369520B (en) The intention anticipation system and method for the application program questionable conduct of mobile terminal
CN104217141B (en) Reinforced virtual instrument measuring software metrology support method and device
Antonyan et al. State-wide elections, optical scan voting systems, and the pursuit of integrity
Blaze et al. Source code review of the Sequoia voting system
CN110121174A (en) A kind of implicit identity identifying method of mobile intelligent terminal
CN101930389A (en) Automatic test system of computer and test method thereof
CN107767511A (en) A kind of gate inhibition's verification method based on Quick Response Code
CN108173660A (en) Electric energy meter continuous data copy reading method and 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150114

Termination date: 20151220

EXPY Termination of patent right or utility model