CN105222877A - Acceleration of gravity modification method and system - Google Patents

Acceleration of gravity modification method and system Download PDF

Info

Publication number
CN105222877A
CN105222877A CN201410270130.7A CN201410270130A CN105222877A CN 105222877 A CN105222877 A CN 105222877A CN 201410270130 A CN201410270130 A CN 201410270130A CN 105222877 A CN105222877 A CN 105222877A
Authority
CN
China
Prior art keywords
module
weighing device
acceleration
gravity
electronic weighing
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
Application number
CN201410270130.7A
Other languages
Chinese (zh)
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.)
SHANGHAI TERAOKA ELECTRONIC CO Ltd
Original Assignee
SHANGHAI TERAOKA ELECTRONIC 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 SHANGHAI TERAOKA ELECTRONIC CO Ltd filed Critical SHANGHAI TERAOKA ELECTRONIC CO Ltd
Priority to CN201410270130.7A priority Critical patent/CN105222877A/en
Publication of CN105222877A publication Critical patent/CN105222877A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of acceleration of gravity modification method and system, when wherein acceleration of gravity modification method is included in and demarcates acceleration of gravity first, one first request is sent to server, and the control code of encryption is sent back to by server, and electronic weighing device is deciphered and stored; After electronic weighing device obtains one first external command, this first external command is forwarded to server, the control code of acceleration of gravity and encryption is also sent back to by server selection, whether the control code that electronic weighing device is deciphered after also comparison deciphering is identical with the control code of storage, if, this acceleration of gravity is set to the acceleration of gravity of this electronic weighing device, if not, terminates.The accuracy that the present invention can set acceleration of gravity automatically according to the position at electronic weighing device place, guarantee is weighed, can also prevent other server from distorting the acceleration of gravity of electronic weighing device simultaneously, effectively ensure that the security of correction and the disguise of data transmission.

Description

Acceleration of gravity modification method and system
Technical field
The present invention relates to a kind of acceleration of gravity modification method and system, particularly relate to a kind of acceleration of gravity modification method and system of electronic weighing device.
Background technology
Electronic weighing device is the device for measuring mass of object.During measurement, be placed on by object on the scale pan of electronic weighing device, there is deformation owing to being subject to the gravity of object in the elastic body under the scale pan, is measured the size of gravity by deformation quantity, the quality of recycling formulae discovery object.
As everyone knows, the size of acceleration of gravity follows the gravity of object to be directly proportional, and the quality with object is inversely proportional to, and the difference of latitude, height above sea level, corresponding gravity acceleration value is also different.Generally, the acceleration of gravity of electronic weighing device according to the sales region of electronic weighing device, can be set to the acceleration of gravity of this sales region in advance by manufacturer before dispatching from the factory, to ensure the accuracy of weighing.But in specific implementation process, manufacturer is difficult to determine where electronic weighing device can be sold to, even if determine, can not ensure that the actual use location of electronic weighing device after selling is just in this sales region.Once the acceleration of gravity of actual use location is identical with the acceleration of gravity pre-set, the quality that claims will be caused inaccurate.
Summary of the invention
The technical problem to be solved in the present invention is can only preset the acceleration of gravity of electronic weighing device in prior art, can not ensure the defect of accuracy of the quality measuring object, provides a kind of and can automatically set acceleration of gravity, the acceleration of gravity modification method ensureing the accuracy of weighing and system according to the position at electronic weighing device place.
The present invention is solved the problems of the technologies described above by following technical proposals:
A kind of acceleration of gravity modification method, is characterized in, is included in electronic weighing device when demarcating acceleration of gravity first, performs following steps:
S 11, electronic weighing device the first request of obtaining the control code of certification correction acceleration of gravity authority by one is sent to server;
S 12, server by through encryption control code be sent to electronic weighing device;
S 13, electronic weighing device to get control code deciphering and store decrypted after control code;
This acceleration of gravity modification method performs following steps after being also included in the first external command of electronic weighing device acquisition one correction acceleration of gravity:
S 21, this first external command is forwarded to server by electronic weighing device;
S 22, server selection electronic weighing device position, and obtain the acceleration of gravity of this position;
S 23, server is sent to electronic weighing device by the acceleration of gravity got with through the control code of re-encrypted;
S 24, electronic weighing device deciphers the control code through re-encrypted got, and whether control code after comparison deciphering identical with the control code of storage, if so, performs S 25, if not, process ends;
S 25, the acceleration of gravity got is set to the acceleration of gravity of this electronic weighing device by electronic weighing device.
In the technical program, acceleration of gravity modification method is contemplated that substantially: first when electronic weighing device demarcates acceleration of gravity first, electronic weighing device obtains and stores control code, then after obtaining the instruction revising acceleration of gravity, the acceleration of gravity of this position is obtained by the mode of the position at server selection electronic weighing device place, whether the control code sent by comparison server is identical with the control code of storage, determines whether the acceleration of gravity being set to by the acceleration of gravity of electronic weighing device get.The technical program achieves the position according to electronic weighing device place, automatically the acceleration of gravity of setting electronic weighing device.Because acceleration of gravity serves vital effect to measurement result, so the design adding control code is distorted to prevent acceleration of gravity by other unauthorized server, that is only have the server with electronic weighing device with identical control code just to have permission the acceleration of gravity revising electronic weighing device, effectively ensure that the security revising acceleration of gravity.Serve further protective effect by the transmission of mode to control code of server for encrypting, electronic weighing device deciphering again simultaneously, prevent control code monitored.
Preferably, S 11also comprise electronic weighing device and send one first random code to server;
S 12in, this first random code of server by utilizing is encrypted control code;
S 13in, electronic weighing device utilizes this first random code to the control code deciphering got;
S 21also comprise electronic weighing device and send one second random code to server;
S 23in, this second random code of server by utilizing is to control code re-encrypted;
S 24in, electronic weighing device utilizes this second random code to the control code deciphering got.
In the technical program, further the refinement encryption of control code, decrypting process, first random code and the second random code are together sent to server in company with this first request and this first external command respectively, are equivalent to the encryption of twice control code, key needed for deciphering.
Preferably, S 21in, this first external command is forwarded to server by network by electronic weighing device;
S 22in, server is by the position of IP (InternetProtocol, the agreement interconnected between network) the address location electronic weighing device of electronic weighing device.
In the technical program, server obtains the IP address sending this first external command while receiving this first external command, by inquiring about the position corresponding to this IP address, obtain the acceleration of gravity of this position, reach data and transmit the effect of simultaneously locating, eliminate the trouble using other locating device to position, improve the utilization factor of data.
Preferably, S 23also comprise server and the position of electronic weighing device is sent to electronic weighing device;
At S 24comparison result for being time, perform S 26: electronic weighing device exports position and/or the acceleration of gravity of the electronic weighing device got, and judges whether the second external command receiving a confirmation correction, if so, performs S 25, if not, process ends.
In the technical program, whether electronic weighing device is revised according to the acceleration of gravity got, and is controlled by external command.The position only having the user of electronic weighing device to confirm to export is the position at electronic weighing device place or the acceleration of gravity of output is after the acceleration of gravity of locality, just can send this second external command to allow to revise, further ensure the accuracy of acceleration of gravity, prevent the acceleration of gravity caused due to Wrong localization from makeing mistakes.
Preferably, at S 26judged result for being time, perform following steps:
S 27, electronic weighing device send one obtain revise license second request to server;
S 28, this second request of server record, and the control code through again encrypting is sent to electronic weighing device;
S 29, electronic weighing device to get through again encrypt control code deciphering, and comparison deciphering after control code whether identical with the control code of storage, if so, perform S 25, if not, process ends.
In the technical program, electronic weighing device is after the correction license obtaining user, and server authorizes the authority of electronic weighing device amendment acceleration of gravity after this second request being recorded.The each correction of electronic weighing device can be recorded, verification after convenient by the technical program.
Preferably, this second request is one the 3rd random code; S 28in, server by utilizing the 3rd random code is encrypted again to control code; S 29in, electronic weighing device utilizes the 3rd random code to the control code deciphering through again encrypting got.
In the technical program, by the 3rd random code as the second request, reach trigger server record simultaneously and encrypt the effect that key is provided to control code.
Preferably, before the acceleration of gravity demarcating electronic weighing device first, this acceleration of gravity modification method also comprises execution S 10: electronic weighing device is used for the unique identities identifying electronic weighing device information by one is sent to server.
In the technical program, a station server can revise the acceleration of gravity of multiple electronic weighing device, and the information of each electronic weighing device is different, can determine corresponding electronic weighing device by information.
Preferably, when demarcating the acceleration of gravity of electronic weighing device first, this acceleration of gravity modification method also comprises Zero calibration and completely measures demarcation.Zero calibration is for demarcating zero point, and full amount is demarcated for demarcating full scale, and both are the basic steps of electronic weighing device calibration in prior art, do not repeat them here.
The present invention also provides a kind of acceleration of gravity update the system, is characterized in, comprises: at least one electronic weighing device and a server;
Each electronic weighing device comprises respectively: one first sending module, one first receiver module, a deciphering module, one first memory module, a comparing module and arrange module;
This server comprises: one second sending module, one second receiver module, an encrypting module, a locating module and an acquisition module;
When electronic weighing device demarcates acceleration of gravity first, call this first sending module and the first request of the control code of one acquisition certification correction acceleration of gravity authority is sent to this second receiver module; This second receiver module be used for receive this first request after, call this encrypting module and control code encrypted, then call this second sending module by through encryption control code be sent to this first receiver module; This first receiver module is used for receiving after the control code of encryption, calls this deciphering module to the control code deciphering got, then calls the control code after this first memory module store decrypted;
Obtain the first external command of a correction acceleration of gravity at electronic weighing device after, call this first sending module and this first external command is forwarded to this second receiver module; This second receiver module is also for after receiving this first external command, call the position of this locating module positioning electronic weighing device, call the acceleration of gravity that this acquisition module obtains this position again, call this encrypting module again to control code re-encrypted, then call this second sending module and be sent to this first receiver module by the acceleration of gravity got with through the control code of re-encrypted; This first receiver module is also for receiving after the control code of re-encrypted, call this deciphering module to decipher the control code through re-encrypted got, whether identically call the control code that control code and this first memory module after the deciphering of this comparison module store again, if, call this and acceleration of gravity that acceleration of gravity got is set to this electronic weighing device by module is set, if not, terminate to call.
Preferably, each electronic weighing device also comprises a random code generation module respectively;
When electronic weighing device demarcates acceleration of gravity first, also call this random code generation module and generate one first random code, this first sending module is also for being sent to this encrypting module when this first request is sent to this second receiver module by this first random code, this encrypting module utilizes this first random code to encrypt control code, and this deciphering module utilizes this first random code to the control code deciphering got;
After electronic weighing device obtains this first external command, also call this random code generation module and generate one second random code, this first sending module is also for being forwarded to this encrypting module when this first external command being forwarded to this second receiver module by this second random code, this encrypting module utilizes this second random code to control code re-encrypted, and this deciphering module utilizes this second random code to the control code deciphering got.
Preferably, this first sending module is sent by network;
This locating module is by the position of this electronic weighing device of IP address location of this electronic weighing device.
Preferably, each electronic weighing device also comprises an output module and a judge module respectively;
This second sending module is also for being sent to this first receiver module by the acceleration of gravity got with through the control code of re-encrypted, and position and/or the acceleration of gravity of this electronic installation of being located by this locating module are sent to this output module;
When the comparison result of this comparing module is for being, call position and/or acceleration of gravity that this output module exports this electronic weighing device got, call the second external command that this judge module judges whether to receive a confirmation correction again, if, call this and module is set, if not, terminate to call.
Preferably, this server also comprises one second memory module;
When the judged result of this judge module is for being, calls this first sending module and the second request of one acquisition correction license is sent to this second receiver module;
This second receiver module is also for after receiving this second request, call this second request of this second memory module record, call this encrypting module more again to encrypt control code, then call this second sending module the control code through again encrypting is sent to this first receiver module;
This first receiver module is also for getting after the control code of again encrypting, call this deciphering module to the control code deciphering got, whether identically call the control code that control code and this first memory module after the deciphering of this comparison module store again, if, call this and acceleration of gravity that acceleration of gravity got is set to this electronic weighing device by module is set, if not, terminate to call.
Preferably, this second request is one the 3rd random code, and the 3rd random code is generated by a random code generation module, and this encrypting module utilizes the 3rd random code again to encrypt control code, and this deciphering module utilizes the 3rd random code to the control code deciphering got.
Preferably, before the acceleration of gravity demarcating this electronic weighing device first, call this first sending module is used for identifying the unique identities of this electronic weighing device information by one and be sent to this second receiver module;
After this second receiver module receives this information, call this second memory module and store this information.
Preferably, each electronic weighing device also comprises a Zero calibration module and respectively and completely measures demarcating module.
On the basis meeting this area general knowledge, above-mentioned each optimum condition, can combination in any, obtains the preferred embodiments of the invention.
Positive progressive effect of the present invention is: acceleration of gravity modification method of the present invention and the accuracy that system can set acceleration of gravity automatically according to the position at electronic weighing device place, guarantee is weighed, can also prevent other unauthorized server from distorting the acceleration of gravity of electronic weighing device simultaneously, effectively ensure that the security of correction and the disguise of data transmission.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the registration of the electronic weighing device of embodiments of the invention 1.
Fig. 2 is the process flow diagram of the demarcation of the acceleration of gravity first of the electronic weighing device of embodiments of the invention 1.
Fig. 3 is the process flow diagram of the correction of the long-range acceleration of gravity of the electronic weighing device of embodiments of the invention 1.
Fig. 4 is the schematic diagram of the acceleration of gravity update the system of embodiments of the invention 1.
Fig. 5 is the schematic diagram of the electronic weighing device of the acceleration of gravity update the system of embodiments of the invention 1.
Fig. 6 is the schematic diagram of the server of the acceleration of gravity update the system of embodiments of the invention 1.
Fig. 7 is the process flow diagram of the correction of the long-range acceleration of gravity of the electronic weighing device of embodiments of the invention 2.
Fig. 8 is the schematic diagram of the electronic weighing device of the acceleration of gravity update the system of embodiments of the invention 2.
Fig. 9 is the process flow diagram of the correction of the long-range acceleration of gravity of the electronic weighing device of embodiments of the invention 3.
Embodiment
Mode below by embodiment further illustrates the present invention, but does not therefore limit the present invention among described scope of embodiments.
Embodiment 1
A kind of acceleration of gravity modification method, for revising the acceleration of gravity of electronic weighing device (as electronic scales), mainly comprise three flow processs: the demarcation of the registration of electronic weighing device, first acceleration of gravity and the correction of long-range acceleration of gravity.
The registration of electronic weighing device, is mainly used in the information registering electronic weighing device on the server, is particularly useful for the situation that a station server can revise the acceleration of gravity of multiple stage electronic weighing device.Wherein, each electronic weighing device is all identify the unique identities of oneself by sequence number, and namely electronic weighing device is different, and sequence number is different.The registration of electronic weighing device, see Fig. 1, comprises the steps:
Step 101, electronic weighing device judge whether to store 8 bit sequence number, if so, perform step 105, if not, perform step 102.
Step 102, electronic weighing device judge whether to store MAC Address (hardware address of machine), if so, perform step 104, if not, perform step 103.
Step 103, electronic weighing device receive the MAC Address of user's input of electronic weighing device.
Step 104, electronic weighing device receive 8 bit sequence number of user's input of electronic weighing device.
8 bit sequence number are sent to server by network by step 105, electronic weighing device.In this step, the out of Memory (as hardware configuration, software version etc.) of electronic weighing device also can be sent to server by electronic weighing device simultaneously.
8 bit sequence number of step 106, server stores electronic weighing device.If also have out of Memory, also store in the lump.
The demarcation of acceleration of gravity first, is mainly used in electronic weighing device and gets rid of other calibration of measuring outside acceleration of gravity factor and obtain one for the control code of certification correction acceleration of gravity authority, see Fig. 2, comprise the steps:
Step 201, electronic weighing device produce one first random code, and the first request being used for this first random code and one to obtain this control code is sent to server.
This first random code is encrypted as double secret key control code by step 202, server, and the control code through encryption is sent to electronic weighing device.
The control code deciphering that this first random code gets as double secret key by step 203, electronic weighing device, and the control code after store decrypted.
Step 204, electronic weighing device carry out Zero calibration.This step prior art can realize, and does not repeat them here.
Step 205, electronic weighing device carry out full amount demarcation.This step prior art can realize, and does not repeat them here.
Step 204,205 and step 201-203 do not influence each other, step 204,205 performed before step 201 also can.
The correction of long-range acceleration of gravity, is mainly used in the position setting acceleration of gravity according to electronic weighing device place, to ensure the accuracy of weighing.Whether performing the correction that this flow process carries out acceleration of gravity in the present embodiment is determined by the user of electronic weighing device, namely only after electronic weighing device obtains the first external command of a correction acceleration of gravity, just start to perform following steps, see Fig. 3:
Step 301, electronic weighing device produce one second random code, and the form that this second random code and this first external command are wrapped with TCP (TransmissionControlProtocol, transmission control protocol) by forwarded to server.
Step 302, server are by sending the position of the IP address location electronic weighing device of TCP bag, and this position comprises city name.(if IP address is 58.246.73.70, orientating Shanghai as) this step prior art can realize, therefore not repeat them here.
Step 303, server obtain latitude and the sea level elevation of this position by city name, calculate the acceleration of gravity of this position.(Shanghai is north latitude 31 degree 11 points, and sea level on the average is 4 meters, and calculating acceleration of gravity is 9.794m/s 2) this step prior art can realize, therefore not repeat them here.
This second random code is carried out re-encrypted as double secret key control code by step 304, server, and the acceleration of gravity (9.794m/s that will get 2) and be sent to electronic weighing device through the control code of re-encrypted.
The control code through re-encrypted that this second random code gets as double secret key is deciphered by step 305, electronic weighing device.
Whether the control code after step 306, electronic weighing device comparison deciphering is identical with the control code stored in step 203, if so, step 307, then process ends, if not, and process ends.
The acceleration of gravity got is set to the acceleration of gravity of this electronic weighing device by step 307, electronic weighing device.
In the present embodiment, the demarcation of the registration of electronic weighing device, first acceleration of gravity needs to carry out before electronic weighing device dispatches from the factory, and electronic weighing device and server store the rule of encryption and decryption respectively; The correction of long-range acceleration of gravity needs to carry out in the location of weighing.
The acceleration of gravity update the system of the present embodiment, see Fig. 4, comprises four electronic weighing devices 4 and a server 5.
Each electronic weighing device 4, see Fig. 5, comprise respectively: one first judge module 401,1 second judge module 402, load module 403,1 first sending module 404, random code generation module 405,1 first receiver module 406, deciphering module 407,1 first memory module 408, Zero calibration module 409, is completely measured demarcating module 410, comparing module 411 and and arranged module 412.
This server 5, see Fig. 6, comprising: one second receiver module 501,1 second memory module 502,1 second sending module 503, encrypting module 504, locating module 505 and an acquisition module 506.
When electronic weighing device 4 is registered, this first judge module 401 is for judging whether this electronic weighing device 4 stores 8 bit sequence number, if, call this first sending module 404, by network, 8 bit sequence number are sent to this second receiver module 501, if not, call this second judge module 402 and judge whether this electronic weighing device 4 stores MAC Address, if the judged result of this second judge module 402 is yes, call 8 bit sequence number that this load module 403 receives user's input of electronic weighing device 4, then call this first sending module 404, by network, 8 bit sequence number are sent to this second receiver module 501, if the judged result of this second judge module 402 is no, call the MAC Address that this load module 403 receives user's input of electronic weighing device 4, then 8 bit sequence number that this load module 403 receives user's input of electronic weighing device 4 are called, call this first sending module 404 again, by network, 8 bit sequence number are sent to this second receiver module 501.Wherein, the out of Memory (as hardware configuration, software version etc.) of electronic weighing device 4, also for when 8 bit sequence number are sent to this second receiver module 501, is sent to the second receiver module 501 by this first sending module 404.
This second receiver module 501, for after 8 bit sequence number receiving each electronic weighing device 4 and out of Memory, calls this second memory module 502 and stores.
When electronic weighing device 4 demarcates acceleration of gravity first, this random code generation module 405, for generating one first random code, then calls this first sending module 404 and first request of the control code of an acquisition certification correction acceleration of gravity authority and this first random code is sent to this second receiver module 501; This second receiver module 501 for receive this first request after, call this encrypting module 504 and utilize this first random code to encrypt control code, then call this second sending module 503 by through encryption control code be sent to this first receiver module 406; This first receiver module 406 is for receiving after the control code of encryption, calling this deciphering module 407 utilizes this first random code to the control code deciphering got, call the control code after this first memory module 408 store decrypted again, call this Zero calibration module 409 again and carry out Zero calibration and this is completely measured demarcating module 410 and carries out full amount demarcation, finally terminate to call.
Obtain the first external command of a correction acceleration of gravity at electronic weighing device 4 after, this random code generation module 405, for generating one second random code, then calls form that this first external command and this second random code wrap with TCP by this first sending module 404 by forwarded to this second receiver module 501; This second receiver module 501 is also for after receiving this first external command and this second random code, call the position of this locating module 505 positioning electronic weighing device 4, this position comprises city name, call this acquisition module 506 obtains this position latitude and sea level elevation by city name again, calculate the acceleration of gravity of this position, calling this encrypting module 504 again utilizes this second random code to control code re-encrypted, then calls this second sending module 503 and be sent to this first receiver module 406 by the acceleration of gravity got with through the control code of re-encrypted; This first receiver module 406 is also for receiving after the control code of re-encrypted, calling this deciphering module 407 utilizes this second random code to decipher the control code through re-encrypted got, whether identically call the control code that control code and this first memory module 408 after this comparing module 411 comparison deciphering store again, if, call this and acceleration of gravity that acceleration of gravity got is set to this electronic weighing device 4 by module 412 is set, if not, terminate to call.
This first random code, the second random code and the 3rd random code are the different random number that this random code generation unit generates.
Embodiment 2
The present embodiment is substantially the same manner as Example 1, and difference is, see Fig. 7, this city name (Shanghai) is also sent to electronic weighing device by step 304.
Step 306 replaces with: whether the control code after electronic weighing device comparison deciphering is identical with the control code stored in step 203, if so, step 308, if not, and process ends.
The city name (Shanghai) of the electronic weighing device that the display screen display of step 308, electronic weighing device gets and acceleration of gravity (9.794m/s 2).
By display, user judges whether location is correct, if electronic weighing device is just in the city (namely in Shanghai) of display, then input a confirmation instruction confirming to revise, as pressed " confirmation " key on the keyboard of electronic weighing device, if electronic weighing device is not or not the city (namely not in Shanghai) of display, if but user think the acceleration of gravity of display and the acceleration of gravity of locality reality close, and user can accept the error between the acceleration of gravity of display and the acceleration of gravity of locality reality, user also can input validation instruction, the acceleration of gravity of display is set to the acceleration of gravity of electronic weighing device.If user think display city name and acceleration of gravity all incorrect, then input one cancel revise cancellation instruction, as pressed " cancellation " key on the keyboard of electronic weighing device.
Step 309, electronic weighing device judge whether to receive this confirmation instruction, if so, perform step 307, (namely receive this cancellation instruction) if not, process ends.
The difference of the acceleration of gravity update the system of the present embodiment and the acceleration of gravity update the system of embodiment 1 is, see Fig. 8, each electronic weighing device of this acceleration of gravity update the system also comprises display screen 413 and one the 3rd judge module 414 respectively.
This second sending module 503 is also for by the acceleration of gravity got with when being sent to this first receiver module 406 through the control code of re-encrypted, and this city name of locate this locating module 505 and acceleration of gravity are sent to this display screen 413.This display screen 413 for showing after receiving this city name and acceleration of gravity, then the confirmation instruction whether the 3rd judge module 414 receives a confirmation correction is called, if, call this and acceleration of gravity that acceleration of gravity got is set to this electronic weighing device by module 412 is set, if not, terminate to call.
Embodiment 3
The present embodiment is substantially the same manner as Example 2, and difference is, see Fig. 9, step 309 replaces with: electronic weighing device judges whether to receive this confirmation instruction, if so, performs step 310, if not, and process ends.
Step 310, electronic weighing device send one the 3rd random code to server, and the 3rd random code obtains as one the second request revising license.
Step 311, server receive the 3rd random code and 8 bit sequence number of this electronic weighing device be recorded as to obtain revises license.
3rd random code is encrypted as double secret key control code by step 312, server again, then the control code through again encrypting is sent to electronic weighing device.
The control code deciphering through again encrypting that 3rd random code gets as double secret key by step 313, electronic weighing device.
Whether the control code after step 314, comparison deciphering is identical with the control code of storage, if so, performs step 307, if not, and process ends.
The difference of the acceleration of gravity update the system of the present embodiment and the acceleration of gravity update the system of embodiment 2 is, when the judged result of the 3rd judge module is for being, call this random code generation module 405 and generate one the 3rd random code, then call this first sending module 404 and the 3rd random code is sent to this second receiver module 501.This second receiver module 501 is also for after receiving the 3rd random code, call this second memory module 502 8 bit sequence number of this electronic weighing device are recorded as obtain revise license, calling this encrypting module 504 again utilizes the 3rd random code again to encrypt control code, then calls this second sending module 503 control code through again encrypting is sent to this first receiver module 406.This first receiver module 406 is also for getting after the control code of again encrypting, calling this deciphering module 407 utilizes the 3rd random code to the control code deciphering got, whether identically call the control code that control code and this first memory module 408 after this comparing module 411 comparison deciphering store again, if, call this and acceleration of gravity that acceleration of gravity got is set to this electronic weighing device by module 412 is set, if not, terminate to call.
The key distinction of embodiment 1, embodiment 2, embodiment 3 is that the object allowing to revise acceleration of gravity is different: embodiment 1 is when comparison control code is identical, and electronic weighing device directly allows to revise acceleration of gravity; Embodiment 2 is under the prerequisite that comparison control code is identical, after the permission that obtains user, electronic weighing device could revise acceleration of gravity; Embodiment 3 is that after obtaining the permission of user and the response of server end, electronic weighing device could revise acceleration of gravity, and server can record the amendment of this acceleration of gravity, so that later inquiry.
Although the foregoing describe the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is defined by the appended claims.Those skilled in the art, under the prerequisite not deviating from principle of the present invention and essence, can make various changes or modifications to these embodiments, but these change and amendment all falls into protection scope of the present invention.

Claims (16)

1. an acceleration of gravity modification method, is characterized in that, is included in electronic weighing device when demarcating acceleration of gravity first, performs following steps:
S 11, electronic weighing device the first request of obtaining the control code of certification correction acceleration of gravity authority by one is sent to server;
S 12, server by through encryption control code be sent to electronic weighing device;
S 13, electronic weighing device to get control code deciphering and store decrypted after control code;
This acceleration of gravity modification method performs following steps after being also included in the first external command of electronic weighing device acquisition one correction acceleration of gravity:
S 21, this first external command is forwarded to server by electronic weighing device;
S 22, server selection electronic weighing device position, and obtain the acceleration of gravity of this position;
S 23, server is sent to electronic weighing device by the acceleration of gravity got with through the control code of re-encrypted;
S 24, electronic weighing device deciphers the control code through re-encrypted got, and whether control code after comparison deciphering identical with the control code of storage, if so, performs S 25, if not, process ends;
S 25, the acceleration of gravity got is set to the acceleration of gravity of this electronic weighing device by electronic weighing device.
2. acceleration of gravity modification method as claimed in claim 1, is characterized in that, S 11also comprise electronic weighing device and send one first random code to server;
S 12in, this first random code of server by utilizing is encrypted control code;
S 13in, electronic weighing device utilizes this first random code to the control code deciphering got;
S 21also comprise electronic weighing device and send one second random code to server;
S 23in, this second random code of server by utilizing is to control code re-encrypted;
S 24in, electronic weighing device utilizes this second random code to the control code deciphering got.
3. acceleration of gravity modification method as claimed in claim 1, is characterized in that, S 21in, this first external command is forwarded to server by network by electronic weighing device;
S 22in, server is by the position of the IP address location electronic weighing device of electronic weighing device.
4. acceleration of gravity modification method as claimed in claim 1, is characterized in that, S 23also comprise server and the position of electronic weighing device is sent to electronic weighing device;
At S 24comparison result for being time, perform S 26: electronic weighing device exports position and/or the acceleration of gravity of the electronic weighing device got, and judges whether the second external command receiving a confirmation correction, if so, performs S 25, if not, process ends.
5. acceleration of gravity modification method as claimed in claim 4, is characterized in that, at S 26judged result for being time, perform following steps:
S 27, electronic weighing device send one obtain revise license second request to server;
S 28, this second request of server record, and the control code through again encrypting is sent to electronic weighing device;
S 29, electronic weighing device to get through again encrypt control code deciphering, and comparison deciphering after control code whether identical with the control code of storage, if so, perform S 25, if not, process ends.
6. acceleration of gravity modification method as claimed in claim 5, is characterized in that, this second request is one the 3rd random code; S 28in, server by utilizing the 3rd random code is encrypted again to control code; S 29in, electronic weighing device utilizes the 3rd random code to the control code deciphering through again encrypting got.
7. acceleration of gravity modification method as claimed in claim 1, is characterized in that, before the acceleration of gravity demarcating electronic weighing device first, this acceleration of gravity modification method also comprises execution S 10: electronic weighing device is used for the unique identities identifying electronic weighing device information by one is sent to server.
8. acceleration of gravity modification method as claimed in claim 1, is characterized in that, when demarcating the acceleration of gravity of electronic weighing device first, this acceleration of gravity modification method also comprises Zero calibration and completely measures demarcation.
9. an acceleration of gravity update the system, is characterized in that, comprising: at least one electronic weighing device and a server;
Each electronic weighing device comprises respectively: one first sending module, one first receiver module, a deciphering module, one first memory module, a comparing module and arrange module;
This server comprises: one second sending module, one second receiver module, an encrypting module, a locating module and an acquisition module;
When electronic weighing device demarcates acceleration of gravity first, call this first sending module and the first request of the control code of one acquisition certification correction acceleration of gravity authority is sent to this second receiver module; This second receiver module be used for receive this first request after, call this encrypting module and control code encrypted, then call this second sending module by through encryption control code be sent to this first receiver module; This first receiver module is used for receiving after the control code of encryption, calls this deciphering module to the control code deciphering got, then calls the control code after this first memory module store decrypted;
Obtain the first external command of a correction acceleration of gravity at electronic weighing device after, call this first sending module and this first external command is forwarded to this second receiver module; This second receiver module is also for after receiving this first external command, call the position of this locating module positioning electronic weighing device, call the acceleration of gravity that this acquisition module obtains this position again, call this encrypting module again to control code re-encrypted, then call this second sending module and be sent to this first receiver module by the acceleration of gravity got with through the control code of re-encrypted; This first receiver module is also for receiving after the control code of re-encrypted, call this deciphering module to decipher the control code through re-encrypted got, whether identically call the control code that control code and this first memory module after the deciphering of this comparison module store again, if, call this and acceleration of gravity that acceleration of gravity got is set to this electronic weighing device by module is set, if not, terminate to call.
10. acceleration of gravity update the system as claimed in claim 9, it is characterized in that, each electronic weighing device also comprises a random code generation module respectively;
When electronic weighing device demarcates acceleration of gravity first, also call this random code generation module and generate one first random code, this first sending module is also for being sent to this encrypting module when this first request is sent to this second receiver module by this first random code, this encrypting module utilizes this first random code to encrypt control code, and this deciphering module utilizes this first random code to the control code deciphering got;
After electronic weighing device obtains this first external command, also call this random code generation module and generate one second random code, this first sending module is also for being forwarded to this encrypting module when this first external command being forwarded to this second receiver module by this second random code, this encrypting module utilizes this second random code to control code re-encrypted, and this deciphering module utilizes this second random code to the control code deciphering got.
11. acceleration of gravity update the systems as claimed in claim 9, it is characterized in that, this first sending module is sent by network;
This locating module is by the position of this electronic weighing device of IP address location of this electronic weighing device.
12. acceleration of gravity update the systems as claimed in claim 9, it is characterized in that, each electronic weighing device also comprises an output module and a judge module respectively;
This second sending module is also for being sent to this first receiver module by the acceleration of gravity got with through the control code of re-encrypted, and position and/or the acceleration of gravity of this electronic installation of being located by this locating module are sent to this output module;
When the comparison result of this comparing module is for being, call position and/or acceleration of gravity that this output module exports this electronic weighing device got, call the second external command that this judge module judges whether to receive a confirmation correction again, if, call this and module is set, if not, terminate to call.
13. acceleration of gravity update the systems as claimed in claim 12, it is characterized in that, this server also comprises one second memory module;
When the judged result of this judge module is for being, calls this first sending module and the second request of one acquisition correction license is sent to this second receiver module;
This second receiver module is also for after receiving this second request, call this second request of this second memory module record, call this encrypting module more again to encrypt control code, then call this second sending module the control code through again encrypting is sent to this first receiver module;
This first receiver module is also for getting after the control code of again encrypting, call this deciphering module to the control code deciphering got, whether identically call the control code that control code and this first memory module after the deciphering of this comparison module store again, if, call this and acceleration of gravity that acceleration of gravity got is set to this electronic weighing device by module is set, if not, terminate to call.
14. acceleration of gravity update the systems as claimed in claim 13, it is characterized in that, this second request is one the 3rd random code, 3rd random code is generated by a random code generation module, this encrypting module utilizes the 3rd random code again to encrypt control code, and this deciphering module utilizes the 3rd random code to the control code deciphering got.
15. acceleration of gravity update the systems as claimed in claim 9, it is characterized in that, before the acceleration of gravity demarcating this electronic weighing device first, call this first sending module is used for identifying the unique identities of this electronic weighing device information by one and be sent to this second receiver module;
After this second receiver module receives this information, call this second memory module and store this information.
16. acceleration of gravity update the systems as claimed in claim 9, is characterized in that, each electronic weighing device also comprises a Zero calibration module and respectively and completely measures demarcating module.
CN201410270130.7A 2014-06-17 2014-06-17 Acceleration of gravity modification method and system Pending CN105222877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410270130.7A CN105222877A (en) 2014-06-17 2014-06-17 Acceleration of gravity modification method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410270130.7A CN105222877A (en) 2014-06-17 2014-06-17 Acceleration of gravity modification method and system

Publications (1)

Publication Number Publication Date
CN105222877A true CN105222877A (en) 2016-01-06

Family

ID=54991956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410270130.7A Pending CN105222877A (en) 2014-06-17 2014-06-17 Acceleration of gravity modification method and system

Country Status (1)

Country Link
CN (1) CN105222877A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108362367A (en) * 2018-03-01 2018-08-03 成都特思特仪器有限公司 A kind of electronic scale anti-cheating method
CN108769404A (en) * 2018-05-28 2018-11-06 苏州创存数字科技有限公司 A kind of music automatic broadcasting method based on mobile terminal
CN109167815A (en) * 2018-08-03 2019-01-08 深圳市深信信息技术有限公司 The anti-cheating calibration method and system of intelligent traceable electronic scale
CN110149387A (en) * 2019-05-15 2019-08-20 合肥联宝信息技术有限公司 A kind of transmission method and device of file
CN111279178A (en) * 2017-08-31 2020-06-12 单尼斯科仪器仪表有限公司 Correction for gravity variations in the measurement of the melt flow index of polymers
CN112350977A (en) * 2019-08-06 2021-02-09 广东元心科技有限公司 Method and system for calibrating scale

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008145122A (en) * 2006-12-06 2008-06-26 Anritsu Sanki System Co Ltd Weighing apparatus
CN101634586A (en) * 2008-07-23 2010-01-27 宇权兴业股份有限公司 Quality measuring device with gravity correction function
CN102954830A (en) * 2011-08-31 2013-03-06 深圳富泰宏精密工业有限公司 Electronic weighing method and system
CN103534563A (en) * 2011-04-01 2014-01-22 斯堪尼亚商用车有限公司 Estimation of weight for a vehicle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008145122A (en) * 2006-12-06 2008-06-26 Anritsu Sanki System Co Ltd Weighing apparatus
CN101634586A (en) * 2008-07-23 2010-01-27 宇权兴业股份有限公司 Quality measuring device with gravity correction function
CN103534563A (en) * 2011-04-01 2014-01-22 斯堪尼亚商用车有限公司 Estimation of weight for a vehicle
CN102954830A (en) * 2011-08-31 2013-03-06 深圳富泰宏精密工业有限公司 Electronic weighing method and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111279178A (en) * 2017-08-31 2020-06-12 单尼斯科仪器仪表有限公司 Correction for gravity variations in the measurement of the melt flow index of polymers
US11499901B2 (en) 2017-08-31 2022-11-15 Dynisco Instruments Llc Correcting for gravitational force variation in measuring the melt flow index of a polymer
CN108362367A (en) * 2018-03-01 2018-08-03 成都特思特仪器有限公司 A kind of electronic scale anti-cheating method
CN108769404A (en) * 2018-05-28 2018-11-06 苏州创存数字科技有限公司 A kind of music automatic broadcasting method based on mobile terminal
CN109167815A (en) * 2018-08-03 2019-01-08 深圳市深信信息技术有限公司 The anti-cheating calibration method and system of intelligent traceable electronic scale
CN110149387A (en) * 2019-05-15 2019-08-20 合肥联宝信息技术有限公司 A kind of transmission method and device of file
CN112350977A (en) * 2019-08-06 2021-02-09 广东元心科技有限公司 Method and system for calibrating scale
CN112350977B (en) * 2019-08-06 2023-05-26 广东惠农鲜品科技有限公司 Method and system for calibrating scale

Similar Documents

Publication Publication Date Title
CN105222877A (en) Acceleration of gravity modification method and system
CN1902694B (en) Server device for authentication, and method and system for detecting unauthorized terminal
US20180220278A1 (en) System and method for securing and verifying information from transportation monitors
JP2020005282A (en) Transmission of beacon message
CN101944170B (en) Method, system and device for issuing software version
JP2013015884A (en) Authentication system and authentication method
US8220046B2 (en) Method and system for GNSS receiver login protection and prevention
CN105900398B (en) System, security server and fuel distributor for fuel distributor safety
CN104322005A (en) Function for the challenge derivation for protecting components in a challenge response authentication protocol
CN109743679A (en) A kind of differential position system and its implementation for satellite navigation
CN110300400A (en) One kind is registered method, apparatus, electronic equipment and storage medium
JPWO2007094035A1 (en) Device, verification server, information processing server, device registration server, and information processing method
CN109086621B (en) Electric energy meter verification report data tamper-proof method and system and storage medium
JP4918717B2 (en) Measuring device
CN108268755A (en) The copyright data processing method of original works
US8800027B1 (en) Authentication using privacy protected personally identifiable information
CN103493430A (en) Information processing device and information processing method
CN104378199A (en) Dynamic password generating method and system and dynamic password generator of unit
CN111510421B (en) Data processing method and device, electronic equipment and computer readable storage medium
JP4868322B2 (en) Information processing system and information processing method
CN101931908B (en) Method, device and system for acquiring service by portable equipment
JP2019149707A (en) Verification device and verification system
CN113538777B (en) Authorization method, intelligent container, server and computer storage medium
KR20190108888A (en) Electronic device and certification method in electronic device
CN104239754B (en) A kind of indoor electronic map treating method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160106