CN103994810A - Anti-cheating electronic scale - Google Patents

Anti-cheating electronic scale Download PDF

Info

Publication number
CN103994810A
CN103994810A CN201410235735.2A CN201410235735A CN103994810A CN 103994810 A CN103994810 A CN 103994810A CN 201410235735 A CN201410235735 A CN 201410235735A CN 103994810 A CN103994810 A CN 103994810A
Authority
CN
China
Prior art keywords
electronic
electronic scale
machine code
chip
scale chip
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
CN201410235735.2A
Other languages
Chinese (zh)
Other versions
CN103994810B (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.)
Guangzhou Zhong Xing Electronic Scale Factory
Original Assignee
Guangzhou Zhong Xing Electronic Scale Factory
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 Guangzhou Zhong Xing Electronic Scale Factory filed Critical Guangzhou Zhong Xing Electronic Scale Factory
Priority to CN201410235735.2A priority Critical patent/CN103994810B/en
Publication of CN103994810A publication Critical patent/CN103994810A/en
Application granted granted Critical
Publication of CN103994810B publication Critical patent/CN103994810B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Storage Device Security (AREA)
  • Pinball Game Machines (AREA)

Abstract

The invention relates to the technical field of weight metering, in particular to an anti-cheating electronic scale. A machine code rewriting module which can rewrite working machine codes of an electronic scale chip is additionally arranged on the electronic scale chip, the machine code rewriting module is started through a trigger switch electrically connected to a PCB substrate, and the trigger switch is tightly connected with a trigger piece and closed through the trigger piece. After an electronic scale shell is disassembled by people, the trigger piece is separated from and starts the trigger switch, and the machine code rewriting module can start and automatically rewrite the working machine codes of the electronic scale chip, so that the electronic scale chip cannot conduct weighing work and valuation work normally. Thus, the situation that an illegal person conducts cheating behaviors on the electronic scale by disassembling the electronic scale to tamper internal hardware or the machine codes can be effectively prevented, the electronic scale can be prevented from being counterfeited, the illegal person is prevented from modifying a normal electronic scale into a counterfeit, and therefore integrity and fairness of the market trading environment are guaranteed.

Description

A kind of anti-cheated electronic weighing scale
Technical field
The present invention relates to weight metering technical field, particularly relate to a kind of anti-cheated electronic weighing scale.
Background technology
Along with the use of electronic scales is universal, some illegal technician and businessman, for individual interest, personation, repacking electronic scales become the electronic scales that can practise fraud.Upset whole market order.Quality supervision department has proposed technical requirement to electronic scales producer.Check on technically, identify, prevent electronic scales cheating, counterfeiting.At present, common cheat method be mainly following some:
One, the amplification coefficient that changes prime operational amplifier, as shown in Figure 1, toggle switch SW, just receives in different resistance.Figure changes varying signal amplifier amplification quantity; Fig. 2 changes sensor signal amount; All reach and change weight indicating value object.
Two, switch SW above can also replace with remote control module, becomes distance type.This way, must take scale body apart, installs cheating annex additional.As long as just can find with original-pack scale contrast.Some can utilize the place that people are not too careful that cheating annex is stashed.Such as: 1, ensconce wiring board after; 2, battery is emptied and is arranged on the inside; 3, be contained in terminal box etc.But as long as carefully contrast master circuit; Whether whether hollow sensation, extension line be many to knock battery; Sensor cable stage casing whether connects not clear device.Just can find.
These two kinds of methods are used many years ago, rare in recent years.
Three, software coordinates with hardware.As Fig. 3, change the chip (MCU) of primary electron scale, teleswitch to be received on the I/O mouth of chip (MCU), the varying level state of switch is reflected on the I/O mouth of MCU, and matching program changes operational parameter, changes weight indicating value.Tear open after machine, with original-assemblied machine comparison, can see and have more some elements, can be penetrated.
Four, pure software cheating.Change the chip (MCU) of primary electron scale.By compared with complex operations method, call different operational parameters and change weight indicating value.By shirtsleeve operation, recovery normal operation parameter, make scale recover normal.
For example, after internal processes by change electronic scale chip, press the function key of electronic scales, input password, such as 12.345, electronic scales enters cheating state, then presses " M1 " key of electronic scales, and weight indicating value is original 110%, or press " M2 " key, weight indicating value is original 120% etc., presses " M6 " key and exits cheating function, and it is normal that electronic scales recovers.The method of operating of this type of cheating varies, and crypticity is extremely strong.
Five, electromagnetic interference (EMI).For the electronic scales of type in certain, use certain frequency range high reject signal generator, undesired signal is added in sensor signal to change semaphore, reaches and changes weight indicating value object.But be difficult to control the amount of disturbing, and make indicated value instability, easily under a cloud, discovery.
Six, some little tricks.Make electronic scales tilt; Haul the scale pan frame application of force with " stealth " thread; One platform balance enters, a platform balance goes out; Destroy sealing, again demarcate electronic scales etc.
Summary of the invention
In view of this, the present invention discloses a kind of anti-cheated electronic weighing scale, can prevent that electronic scales is counterfeiting, prevents that the normal electronic scales of lawbreaker's handle from repacking cheating product into, guarantees sincerity, the justice of market trade environment.
It should be noted that, the groundwork of electronic scales is all completed by a chip (MCU) of inside.All " action " of chip (MCU) all determined by the machine code of enrolling wherein.As shown in Figure 4, each machine code is the storage address of corresponding chip one by one, if reduced, increase machine code, will make the corresponding relation variation of original memory address and machine code, if only revise machine code (do not increase or reduce), will destroy original program so that cannot normally work.
Based on above-mentioned know-why, the technical solution used in the present invention is: a kind of anti-cheated electronic weighing scale, comprise housing, base, be located at PCB substrate on described base, be located on PCB substrate and deposit the electronic scale chip of Work machine code, in the time that electronic scales is normally worked, described electronic scale chip can read described Work machine code, thereby electronic scales can be weighed and the work such as accounting price normally.In addition, also comprise trigger switch and trigger part, on described electronic scale chip, be also provided with machine code and rewrite module, machine code is rewritten in module and has been comprised one section from rewriting program, described machine code is rewritten the Work machine code that can rewrite described electronic scale chip after module starts, described trigger switch is electrically connected on described PCB substrate and can triggers and starts described machine code rewriting module, be installed at housing under the state of base, described trigger switch does not trigger startup, described triggering part is located between described housing and trigger switch, trigger part and can trigger described trigger switch with taking apart of housing.After electronic scales installation, its inner trigger switch can not trigger startup, allows trigger switch can not start described machine code and rewrites module, electronic scales thereby the work of can weighing normally.But, when the moment that electronic weigher casing is separated, described triggering part between housing and trigger switch will be separated This move as induction taking housing, and then impel the contact of described trigger switch to produce trigger action, make trigger switch give electronic scale chip a trigger pip, and the machine code starting in electronic scale chip is rewritten module, machine code is rewritten module just can rewrite the Work machine code in electronic scale chip automatically, the work of can not weighing normally again of electronic scale chip after Work machine code is modified, stop timely and effectively lawless people to continue to utilize the electronic scales of split mistake to carry out cheating.Therefore, the present invention can effectively prevent that electronic scales is counterfeiting, prevents that the normal electronic scales of lawbreaker's handle from repacking cheating product into, guarantees sincerity, the justice of market trade environment.
Preferably, described triggering part is elastic component, and described elastic component one end is tightly pushed away by described housing, and the other end presses and closes described trigger switch, and described trigger switch can reset and trigger startup with separating of described housing.Tightly pushing of housing, described elastic component can press trigger switch, make trigger switch in closed condition, when housing by people for taking apart, housing disappears to the acting force of elastic component, thereby elastic component disappears to the acting force of trigger switch, makes trigger switch can reset and trigger startup, produce trigger pip.Need to press described trigger switch owing to triggering part, if it is long or excessive to trigger the size of part, will directly increase the pressure to trigger switch, thereby easily damage the contact of trigger switch, therefore, described triggering part is that elastic component can allow and triggers the pressure energy flexible adjustment between part and trigger switch, makes trigger switch be not easy to damage.
But, although the mode that above-mentioned triggering electronic scale chip utilizes machine code to rewrite the automatic modification machine code of module is conducive to prevent that electronic scales is by malicious modification, but can in the production assembling process of electronic scales, cause great inconvenience, to be electronic scales go to toward need to be first through assembling and debug phase dispatching from the factory and formally come into operation reason, in the time of assembling, must ensure that described machine code rewriting module can not be activated, could effectively complete assembling, in the time of the debug phase, the electronic scales that often has part need to be taken housing apart and readjusts the deviation of weighing, if therefore start trigger switch, and the code that starts the machine is rewritten module, chip operation machine code will seriously be hindered the debugging work of electronic scales after rewriting.For fear of the generation of above-mentioned situation, on described electronic scale chip, also programming has one section of initial test routine, described initial test routine is not rewritten by the described editor from the program of rewriting, electronic scale chip, by reading the work of weighing of described initial test routine, makes electronic scale chip exit described initial test routine by electronic scale function key being inputted to predefined order.Therefore, at electronic scales during in the debug phase, electronic scale chip only can read and move the initial test routine of programming on electronic scale chip, because not being subject to the described editor from the program of rewriting, rewrites described initial test routine, even if thereby the housing of electronic scales is disassembled, the electronic scales work of still weighing, has ensured that the debugging work of electronic scales can be carried out smoothly.After described assembling and debug phase complete, technician can impel electronic scale chip to exit described initial test routine by the specific order of function key input of electronic scales, electronic scale chip enters into normal use state, under normal use state, described in electronic scale chip can read in the course of the work, contain from the original program (comprise Work machine code and certainly rewrite program) of rewriting module, electronic scales can start trigger switch because of being opened of housing at any time.
Further, the storage area length of described electronic scale chip is greater than the length of actual required write-in program, and described Work machine code adds that the remaining space of electronic scale chip fills up the mixed and disorderly machine code that can not move from the length of the program of rewriting.It should be noted that, the described mixed and disorderly machine code that can not move refers to the machine code cutting little ice in the work of electronic scales, this part machine code is only filled up for the remaining space electronic scale chip, in addition, described mixed and disorderly machine code can select to be programmed into the beginning of electronic scale chip original program, middle, optional position, end, after the remaining space of electronic scale chip is filled up, can Prevent cheating person continue chip to be added to cheating program, use tricks, avoid electronic scales to be queried Shi Shi producer program, when operation, forward again the situation that cheating program is gone to.
Preferably, described electronic scale chip is encapsulated on described PCB substrate in the lump with the peripheral cell being located on PCB substrate, after preventing that electronic scale chip and various peripheral electron element from being split out easily, allow cribber plagiarize the circuit of chip program and PCB substrate, increased the difficulty of flight.
Preferably, on described PCB substrate, be coated with radome, can effectively prevent that interference unit from practising fraud from electronic scales outside.
An electronic scales anti-cheating method based on such scheme, comprises the following steps: S1: in the original program of electronic scale chip, insert the polling routine of one section of inquiry chip self machine code, and can start described polling routine by the function key of controlling electronic scales; In the time that electronic scales need to be verified the true and false, can start described polling routine by electronic scale function key input related command, to inquire about the machine code in electronic scale chip.
S2: the machine code to electronic scale chip is put on record, generates the data of putting on record; This step can be carried out before electronic scales product export, and the data of putting on record can be with paper document as preservation, or is kept in computer etc.
S3: in the time that electronic scales need to be verified, recall the machine code of electronic scale chip by starting polling routine, and compare with the described data of putting on record.When the data of putting on record before the machine code being transferred out and electronic scales dispatch from the factory are inconsistent, the internal machine code that just proves electronic scale chip was by people for distorting, and just can judge this electronic scales being verified is cheating product.
The anti-cheating method of above-mentioned electronic scales has utilized the machine code in chip to carry out false proof inspection work fully, machine code in electronic scale chip is as " security code ", without for inspection work, additional device being installed on electronic scales extraly, also without the false proof inspection machine of ad hoc researching and developing for electronic scales, therefore the method for inspection is simply effective, technician, supervisory personnel is by comparing with the data of putting on record, just can verify electronic scales easily, user also can be easily carries out real-time machine code inquiry comparison work by phone or alternate manner and manufacturer, thereby inspection work can conveniently realize effectively, effectively guarantee the sincerity of market trade environment, fair.
In addition, in the anti-cheated electronic weighing scale scheme of one of the present invention, described electronic weigher casing is opened, after machine code rewriting module is activated, technician can allow selectively the machine code in electronic scale chip do variation or local variation a little in design process, but can not form impact to the work of weighing of electronic scales, in the time recalling the machine code of chip by described polling routine, can obviously find the machine code that is transferred out with described in the data transformation of putting on record consistent, just can judge that electronic scales was modified, this mode can allow lawbreaker in involuntary situation, leave the clue of crime, be conducive to law enfrocement official taking this clue as foundation, put to the proof on evidence lawbreaker's cheating, stop illegal cheating, the fair sincerity of Maintenance Market trade.
In addition, in the anti-cheated electronic weighing scale scheme of one of the present invention, the described mixed and disorderly machine code that is filled in electronic scale chip can with chip in real work program (comprise Work machine code and certainly rewrite program) in the lump as putting data on record, therefore in the time inquiring about the machine code of electronic scale chip and compare with the data of putting on record, described mixed and disorderly machine code also participates in wherein in the lump, increase the content of comparison, as long as the machine code being transferred out slightly changes and changes, can judge electronic scales inside is tampered, make inspection work more effective, also increased cribber's the difficulty of distorting simultaneously.
Further, in checkout procedure, machine code tends to directly be recalled to display device, for example to be presented on the display screen that electronic scales itself carries, or be to be presented on computer monitor after machine code is transferred out and is sent to host computer, so will allow the personnel that do not possess inspection qualification have an opportunity directly the to plagiarize program machine code of chip, in order not reveal program, in described step S3, after being encrypted, the machine code after recalling is sent to again on display device.
Alternatively, in described step S3, described in the electronic scale chip machine code that is transferred out be presented in the electronic display of electronic scales, and compare with the data of putting on record.The reviewer that this mode can be convenient to have authority at the scene in real time checking electronic scale whether be tampered.
Alternatively, in described step S3, described electronic scales is connected with a reading code device signal, described in the electronic scale chip machine code that is transferred out be sent on reading code equipment, and cumulative summation on described reading code equipment, the accumulated value drawing and described in put on record the accumulated value of data compare.Described reading code equipment can be special code reader, can be also the other electronic scales for read machine code, and by the connection of communication port, the electronic scales being verified is sent to the electronic scales for read machine code the machine code of self.The reviewer that this mode can be convenient to have authority at the scene in real-time inspection electronic scales whether be tampered.
Alternatively, in described step S3, described in the electronic scale chip machine code that is transferred out be sent on computing machine, and compare with the backup data of putting on record on computers.This mode can be carried out comprehensive degree of depth inspection to electronic scales, more accurately the each machine code in checking electronic scale chip.
The invention has the beneficial effects as follows: the machine code that can rewrite electronic scale chip Work machine code on electronic scale chip by setting up is rewritten module, machine code is rewritten module and is started by the trigger switch being electrically connected on described PCB substrate, trigger switch is by triggering part immediately and closing, when electronic weigher casing by people for after taking apart, described triggering part leaves and starts described trigger switch, machine code is rewritten module and can be started and automatically rewrite electronic scale chip Work machine code, cause electronic scale chip normally not weigh and piecework, therefore can effectively prevent that lawless people is by taking electronic scales apart and distort inner hardware or machine code being implemented cheating to electronic scales, can effectively prevent that electronic scales is counterfeiting, prevent that the normal electronic scales of lawbreaker's handle from repacking cheating product into, guarantee the sincerity of market trade environment, fair.
Brief description of the drawings
Fig. 1 is the cheating control schematic diagram of prior art.
Fig. 2 is the cheating control schematic diagram of prior art.
Fig. 3 is the cheating control schematic diagram of prior art.
Fig. 4 is the machine code schematic diagram of electronic scale chip inside.
Fig. 5 is the one-piece construction schematic diagram of the embodiment of the present invention one
Fig. 6 is the schematic diagram of selecting electronic scale chip storage area length in the embodiment of the present invention one.
Fig. 7 is the schematic diagram of the embodiment of the present invention one display device code.
Fig. 8 is the record sheet that in the embodiment of the present invention one, polling routine recalls electronic scale chip internal machine code at every turn.
Fig. 9 is the schematic diagram in the embodiment of the present invention one, code distortion being shown.
Figure 10 is the connection diagram of the embodiment of the present invention two.
Figure 11 is the schematic diagram that the embodiment of the present invention two lieutenant colonels test electronic scales display device code accumulated value.
Figure 12 is the schematic diagram in computing machine comparison machine code in the embodiment of the present invention three.
Embodiment
Below in conjunction with embodiment, the present invention is further illustrated.Wherein, accompanying drawing is only for exemplary illustration, expression be only schematic diagram, but not pictorial diagram can not be interpreted as the restriction to this patent; For embodiments of the invention are described better, some parts of accompanying drawing have omission, zoom in or out, and do not represent the size of actual product; For a person skilled in the art, in accompanying drawing some known features and explanation thereof may to omit be understandable.
Embodiment mono-: as shown in Figure 5, a kind of anti-cheated electronic weighing scale, comprise housing 1, base 11, be fixedly connected on the PCB substrate 12 on described base 11, on PCB substrate 12, be provided with electronic scale chip 4, electronic scale chip 4 is deposited the Work machine code of electronic scales, in the time that electronic scales is normally worked, described electronic scale chip 4 can read described Work machine code, thereby electronic scales can be weighed and the work such as accounting price normally, in addition, on electronic scale chip 4, also enroll machine code and rewritten module, machine code is rewritten in module and has been comprised one section from rewriting program, when machine code is rewritten the Work machine code that can rewrite described electronic scale chip 4 after module starts, and then cause electronic scale chip 4 normally not work again.In addition, also comprise trigger switch 3 and trigger part, in the present embodiment, described triggering part is elastic component 2, trigger switch 3 is electrically connected on described PCB substrate 12 and can starts described machine code rewrites module, elastic component 2 is arranged between housing 1 and trigger switch 3, elastic component 2 upper ends are tightly pushed away downwards by housing 1, thereby the lower end that makes elastic component 2 is pressed and is closed trigger switch 3, when housing 1 by people for taking apart, housing 1 disappears to the acting force of elastic component 2, thereby elastic component 2 disappears to the acting force of trigger switch 3, make trigger switch 3 can reset and trigger startup, electronic scale chip 4 is produced to trigger pip, so that starting described machine code, electronic scale chip 4 rewrites module.
That is to say, after electronic scales installation, its inner elastic component 2 is immediately on trigger switch 3, allows trigger switch 3 code that can not start the machine rewrite module, electronic scales thereby the work of can weighing normally.But, when the moment that electronic weigher casing 1 is opened, elastic component 2 will leave trigger switch 3 with electronic weigher casing 1, trigger switch 3 changes original state with regard to moment, and the machine code starting in electronic scale chip 4 is rewritten module, machine code is rewritten module just can rewrite the Work machine code in electronic scale chip 4 automatically, the work of can not weighing normally again of electronic scale chip 4 after Work machine code is modified, stops lawless people to continue to utilize the electronic scales of split mistake to carry out cheating timely and effectively.Therefore, the present invention can effectively prevent that electronic scales is counterfeiting, prevents that the normal electronic scales of lawbreaker's handle from repacking cheating product into, guarantees sincerity, the justice of market trade environment.
As to further improvement of this embodiment, on described electronic scale chip, also programming has one section of initial test routine, described initial test routine is not rewritten by the described editor from the program of rewriting, electronic scale chip, by reading the work of weighing of described initial test routine, makes electronic scale chip exit described initial test routine by electronic scale function key being inputted to predefined order.Therefore, at electronic scales during in the debug phase, electronic scale chip only can read and move the initial test routine of programming on electronic scale chip, because not being subject to the described editor from the program of rewriting, rewrites described initial test routine, even if thereby the housing of electronic scales is disassembled, the electronic scales work of still weighing, has ensured that the debugging work of electronic scales can be carried out smoothly.After described assembling and debug phase complete, technician can impel electronic scale chip to exit described initial test routine by the specific order of function key input of electronic scales, electronic scale chip enters into normal use state, under normal use state, described in electronic scale chip can read in the course of the work, contain from the original program (comprise Work machine code and certainly rewrite program) of rewriting module, electronic scales can start trigger switch because of being opened of housing at any time.
As to further improvement of this embodiment, as shown in Figure 6, while selecting electronic scale chip, follow the principles: the program storage area length L of chip needs the length L 2 of write-in program just greater than user, and remaining space is filled up by mixed and disorderly character code, Prevent cheating person increases cheating program L1 on the remaining space of electronic scale chip, and, in the time of L<L1+L2, electronic chip just can not load cheating program.After the remaining space of electronic scale chip is filled up, can Prevent cheating person continue chip to be added to cheating program, use tricks, avoided electronic scales to be queried Shi Shi producer program, when operation, forward again the situation that cheating program is gone to.
As to further improvement of this embodiment, electronic scale chip 4 is encapsulated on described PCB substrate 12 in the lump with the peripheral cell being located on PCB substrate 12, after preventing that electronic scale chip 4 and various peripheral electron element from being split out easily, allow cribber plagiarize the circuit of chip program and PCB substrate 12, increased the difficulty of flight.
As to further improvement of this embodiment, on PCB substrate 12, be coated with radome (not shown in FIG.), can effectively prevent that interference unit from practising fraud from electronic scales outside.
A kind of electronic scales anti-cheating method based on embodiment mono-, comprise the following steps: as shown in Figure 4, show each machine code of electronic scale chip inside, and with each machine code corresponding stored device address one by one, this enforcement utilizes the machine code in chip to carry out false proof inspection work just, machine code in electronic scale chip is as " security code ", comprising following steps:
S1: in the time that electronic scales is manufactured, in the original program of electronic scale chip, insert the polling routine of one section of inquiry chip self machine code, and the input command that is the described polling routine of startup by " 9 " set on electronic scale function key, in addition, the decimal number that polling routine can be inputted according to electronic scale function key finds the memory address of the hexadecimal format of answering in contrast in chip, and recalls the machine code leaving in this storage address.
S2: the machine code to electronic scale chip is put on record, the generation data of putting on record, the data bit of putting on record papery shelves or e-file, identical with shown in Fig. 4 of the form of the data of putting on record, has clearly backed up each address and the machine code corresponding with address in its chip program before electronic scales dispatches from the factory.
S3: after electronic scales dispatches from the factory, in the time that needs are verified it, press " 9 " key start, electronic scales is entered and check oneself functional status, then in function key, input decimal number word command " 64 ", the decimal system " 64 " is converted to sexadecimal " 40 " in program, polling routine has found the memory address of hexadecimal format in chip according to sexadecimal " 40 ", the fifth line " 000040 " of this memory address in Fig. 4, polling routine just recalls the first five machine code " D2 41 D2 45 7B " in memory address " 000040 ", then in each electronic display of electronic scales display window, show (as shown in Figure 7).Then more consistent with the tables of data of putting on record, if comparison result is inconsistent, original product can really admit a fault.Certainly, in order to improve the effect of inspection, reviewer can input repeatedly decimal number word command, make polling routine recall many group machine codes, and the memory address at every turn inquiring and corresponding machine code are presented in electronic display successively, as shown in Figure 8, reviewer is recorded as form the memory address and the machine code that are presented on electronic scales display window at every turn, last and the data of putting on record are compared one by one, data in form only have on all four with the data of putting on record time, could prove that this electronic scales being verified is original-pack, artificially do not revised.
As to further improvement of this embodiment, in order not reveal program, can be by output or demonstration again after machine code " distortion ", namely machine code is encrypted, such as sexadecimal is converted to the decimal system, loses hundred, as shown in Figure 9, certainly, can adopt other algorithms of different, to reach secret object.
Embodiment bis-: principle of work and the embodiment of the present embodiment and embodiment mono-are similar, its difference is, as shown in figure 10, is verified electronic scales 100 and connects by the serial ports of order wire and a verification electronic scales 200, then operates according to following steps;
A. press " 9 " key that is verified electronic scales 100, polling routine recalls after the first five machine code " D2 41 D2 45 7B " in memory address " 000040 ", is then sent on described checking electronic scale 200.
B. checking electronic scale 200, to the machine code the receiving summation that adds up, show that accumulated value is " 20B37D ", and accumulated value is presented on the display screen of verification electronic scales 200, as shown in figure 11.
C. then that aggregate-value is more consistent with the data of putting on record, if comparison result is inconsistent, can confirm to be verified electronic scales 100 is not original product.
The NM part of the present embodiment is identical with embodiment mono-, repeats no more herein.
Embodiment tri-: principle of work and the embodiment of the present embodiment and embodiment mono-are similar, its difference is, is connected, then operation according to the following steps by verification electronic scales by the serial ports of order wire and computing machine:
A. in computing machine, open serial ports software, select com port, set " baud rate 9600, no parity check position, 8 bit data, 1 position of rest " and enter wait accepting state;
B. press " 9 " key of the electronic scales being verified, electronic scales starts to send toward computing machine the machine code of electronic chip inside;
C. computing machine is preserved received file in order to case file same format, and contrasts with file comparer, whether can find difference, as shown in figure 12.
Whether due to all machine codes that can compare in computing machine in electronic scale chip, therefore can accurately find electronic scales has the vestige being tampered.
The NM part of the present embodiment is identical with embodiment mono-, repeats no more herein.
Obviously, the above embodiment of the present invention is only for example of the present invention is clearly described, and is not the restriction to embodiments of the present invention.For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description, here without also giving exhaustive to all embodiments.All any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in the protection domain of the claims in the present invention.

Claims (10)

1. an anti-cheated electronic weighing scale, comprise housing, base, be located at the PCB substrate on described base, be located on PCB substrate and deposit the electronic scale chip of Work machine code, it is characterized in that, also comprise trigger switch and trigger part, on described electronic scale chip, be also provided with machine code and rewrite module, described machine code is rewritten the Work machine code that can rewrite described electronic scale chip after module starts, described trigger switch is electrically connected on described PCB substrate and can triggers and starts described machine code rewriting module, be installed at housing under the state of base, described trigger switch can not trigger startup, described triggering part is located between described housing and trigger switch, trigger part and can trigger described trigger switch with separating of housing.
2. anti-cheated electronic weighing scale according to claim 1, it is characterized in that, described triggering part is elastic component, and described elastic component one end is tightly pushed away by described housing, the other end presses and closes described trigger switch, and described trigger switch can reset and trigger startup with separating of described housing.
3. anti-cheated electronic weighing scale according to claim 1, it is characterized in that, on described electronic scale chip, also programming has one section of initial test routine, described initial test routine is not rewritten by the described editor from the program of rewriting, electronic scale chip, by reading the work of weighing of described initial test routine, makes electronic scale chip exit described initial test routine by electronic scale function key being inputted to predefined order.
4. anti-cheated electronic weighing scale according to claim 1, is characterized in that, the storage area length of described electronic scale chip is greater than the length of actual required write-in program, and the remaining space of electronic scale chip fills up the mixed and disorderly machine code that can not move.
5. anti-cheated electronic weighing scale according to claim 1, is characterized in that, described electronic scale chip is encapsulated on described PCB substrate in the lump with the peripheral cell being located on PCB substrate, on described PCB substrate, is coated with radome.
6. the electronic scales anti-cheating method based on claim 1 ~ 5, is characterized in that, comprises the following steps:
S1: insert the polling routine of one section of inquiry chip self machine code in the original program of electronic scale chip, and can start described polling routine by the function key of controlling electronic scales;
S2: the machine code to electronic scale chip is put on record, generates the data of putting on record;
S3: in the time that electronic scales need to be verified, recall the machine code of electronic scale chip by starting polling routine, and compare with the described data of putting on record.
7. electronic scales anti-cheating method according to claim 6, is characterized in that, in described step S3, after the machine code after recalling is encrypted, is sent on display device again.
8. electronic scales anti-cheating method according to claim 6, is characterized in that, in described step S3, described in the electronic scale chip machine code that is transferred out be presented on the display window of electronic scales, and compare with the data of putting on record.
9. electronic scales anti-cheating method according to claim 6, it is characterized in that, in described step S3, described electronic scales is connected with a reading code device signal, the described electronic scale chip machine code being transferred out is sent on reading code equipment, and cumulative summation on described reading code equipment, the accumulated value drawing and described in put on record the accumulated value of data compare.
10. electronic scales anti-cheating method according to claim 6, is characterized in that, in described step S3, described in the electronic scale chip machine code that is transferred out be sent on computing machine, and compare with the backup data of putting on record on computers.
CN201410235735.2A 2014-05-29 2014-05-29 A kind of anti-cheated electronic weighing scale and anti-cheating method Active CN103994810B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410235735.2A CN103994810B (en) 2014-05-29 2014-05-29 A kind of anti-cheated electronic weighing scale and anti-cheating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410235735.2A CN103994810B (en) 2014-05-29 2014-05-29 A kind of anti-cheated electronic weighing scale and anti-cheating method

Publications (2)

Publication Number Publication Date
CN103994810A true CN103994810A (en) 2014-08-20
CN103994810B CN103994810B (en) 2016-05-25

Family

ID=51309038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410235735.2A Active CN103994810B (en) 2014-05-29 2014-05-29 A kind of anti-cheated electronic weighing scale and anti-cheating method

Country Status (1)

Country Link
CN (1) CN103994810B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106768252A (en) * 2016-11-18 2017-05-31 中山市凯衡衡器有限公司 A kind of electronic scale anti-cheating system and its anti-cheating control method
CN109655147A (en) * 2018-11-02 2019-04-19 深圳市计量质量检测研究院(国家高新技术计量站、国家数字电子产品质量监督检验中心) The anti-cheating method of electronic scale and electronic scale with anti-cheating function
CN109724680A (en) * 2019-01-18 2019-05-07 深圳市计量质量检测研究院(国家高新技术计量站、国家数字电子产品质量监督检验中心) Weighing anti-cheating method in market
CN113091871A (en) * 2019-12-23 2021-07-09 广州市中兴电子衡器厂 Electronic scale management control method
CN113124976A (en) * 2019-12-31 2021-07-16 广州市中兴电子衡器厂 Self-service retail electronic scale and control method
CN113124977A (en) * 2019-12-31 2021-07-16 广州市中兴电子衡器厂 Self-service retail electronic scale capable of preventing cheating

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004015917A1 (en) * 2002-08-12 2004-02-19 Oy Plusdial Ab Method and arrangement for authenticating a commodity of value delivered as a digital message
CN201637469U (en) * 2009-11-09 2010-11-17 凯丰集团有限公司 Anti-cheating electronic scale
CN202041275U (en) * 2011-03-23 2011-11-16 成都九洲电子信息系统股份有限公司 Device for detecting and recording shell opening time in real time
CN202101750U (en) * 2011-05-26 2012-01-04 上海大华电子秤厂 Anti-cheating electronic scale
CN203231811U (en) * 2012-12-03 2013-10-09 金华职业技术学院 Control module for effectively preventing electronic scale cheating
CN204007847U (en) * 2014-05-29 2014-12-10 广州市中兴电子衡器厂 A kind of anti-cheated electronic weighing scale

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004015917A1 (en) * 2002-08-12 2004-02-19 Oy Plusdial Ab Method and arrangement for authenticating a commodity of value delivered as a digital message
CN201637469U (en) * 2009-11-09 2010-11-17 凯丰集团有限公司 Anti-cheating electronic scale
CN202041275U (en) * 2011-03-23 2011-11-16 成都九洲电子信息系统股份有限公司 Device for detecting and recording shell opening time in real time
CN202101750U (en) * 2011-05-26 2012-01-04 上海大华电子秤厂 Anti-cheating electronic scale
CN203231811U (en) * 2012-12-03 2013-10-09 金华职业技术学院 Control module for effectively preventing electronic scale cheating
CN204007847U (en) * 2014-05-29 2014-12-10 广州市中兴电子衡器厂 A kind of anti-cheated electronic weighing scale

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周岸: "防作弊电子计价秤的研制", 《产品介绍》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106768252A (en) * 2016-11-18 2017-05-31 中山市凯衡衡器有限公司 A kind of electronic scale anti-cheating system and its anti-cheating control method
CN109655147A (en) * 2018-11-02 2019-04-19 深圳市计量质量检测研究院(国家高新技术计量站、国家数字电子产品质量监督检验中心) The anti-cheating method of electronic scale and electronic scale with anti-cheating function
CN109724680A (en) * 2019-01-18 2019-05-07 深圳市计量质量检测研究院(国家高新技术计量站、国家数字电子产品质量监督检验中心) Weighing anti-cheating method in market
CN113091871A (en) * 2019-12-23 2021-07-09 广州市中兴电子衡器厂 Electronic scale management control method
CN113124976A (en) * 2019-12-31 2021-07-16 广州市中兴电子衡器厂 Self-service retail electronic scale and control method
CN113124977A (en) * 2019-12-31 2021-07-16 广州市中兴电子衡器厂 Self-service retail electronic scale capable of preventing cheating

Also Published As

Publication number Publication date
CN103994810B (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN103994810A (en) Anti-cheating electronic scale
WO2008045699A3 (en) Remote configuration of gaming terminals
CN204007847U (en) A kind of anti-cheated electronic weighing scale
CN111192019A (en) Reimbursement processing method of target bill and related equipment
CN109631697A (en) A kind of blasting cap initiation supervision server, terminal, system and method
CN100418111C (en) Method and system for real time early warning monitoring to bank ATM terminal safety hidden peril
JP2020107327A5 (en)
CN110933113A (en) Block chain-based interactive behavior detection method, device, equipment and storage medium
CN207473752U (en) Intelligent storage cabinet system based on recognition of face
CN102685121B (en) A kind of digital signature method and device
CN110457601A (en) The recognition methods and device of social account, storage medium and electronic device
US20210217023A1 (en) Secure financial settlement method and system of block chain
US20210319434A1 (en) Electronic device for sending cryptocurrency to blockchain account and method for operating the same
CN103198558B (en) Bank counter intelligent processing terminal
CN103995779A (en) Anti-cheating method of electronic scale
CN109857004A (en) A kind of digital electric detonator register method and its initiation system
JP2001137516A (en) Game monitoring device
CN111158572B (en) Interaction method and electronic equipment
EP2087326A1 (en) Control for a scale
CN208654980U (en) Electronic lead sealing detection device and system, electronic equipment
CN111935247A (en) Experimental equipment management system based on Internet of things and use method thereof
CN111104993A (en) SN bar code management method and system
CN204007826U (en) A kind of novel electron balance
Nurdi Designing BRI ATM Security System Prototype with Arduino 37 Sensor Based on Arduino Microcontroller
CN104036391A (en) Information interaction method and system, information processing method and electronic key equipment

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