Platform scale data platform networking method based on lora technology

CN119676761AInactive Publication Date: 2025-03-21EAST HIGH MEASUREMENT CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510186642.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-20
Publication Date
2025-03-21
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

[0003]但是,将台秤设备采集的物体的重量数据传输至台秤数据平台的过程中,外界噪声会产生干扰,从而降低重量数据的传输质量,通信距离过远会导致重量数据在传输的过程中产生错误,从而不能正确的远程记录物体的重量数据,长时间工作后,台秤设备内的电池可能会产生故障或者出现电池电量耗尽的情况,从而不能确保台秤设备正常运行

Benefits of technology

对原始重量数据进行了正向同态转换和去噪,获得了去噪重量数据,对去噪重量数据进行了反向同态转换,获得了预处理重量数据,去除了噪声的影响,使得采集的物体的重量数据更加准确,将预处理重量数据转换为lora无线信号,并将lora无线信号传输至台秤数据平台,lora无线信号的传输距离远,功耗低,抗干扰能力强,台秤数据平台根据lora无线信号对物体的重量进行记录,判断了重量数据在传输过程中是否发生了错误,并对发生错误的部分进行纠正,从而确保了远程记录的物体的重量数据的准确性,根据电池状态数据判断是否更换台秤设备的电池,当电池电量耗尽时,对台秤设备的电池进行更换,当电池的电压变化幅度过大时,电池出现故障,会对台秤设备造成损伤,对台秤设备的电池进行更换,当电池的电压不发生变化时,电池不放电,对台秤设备的电池进行更换,从而确保了台秤设备正常工作并延长了台秤设备的使用寿命。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119676761A_ABST
    Figure CN119676761A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of platform scale data processing, and discloses a platform scale data platform networking method based on a lora technology. Comprising the steps of collecting original weight data of an object and battery state data of platform scale equipment; performing forward homomorphic conversion and denoising on the original weight data to obtain denoised weight data, and performing reverse homomorphic conversion on the denoised weight data to obtain preprocessed weight data; converting the preprocessed weight data into lora wireless signals, and transmitting the lora wireless signals to a platform scale data platform; the platform scale data platform records the weight of the object according to the lora wireless signal, and judges whether the battery of the platform scale equipment is replaced or not according to the battery state data; and errors in transmission are further reduced, the battery of the platform scale equipment is replaced in time, and normal operation of the platform scale equipment is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of platform scale data processing, and more specifically, to a platform scale data platform networking method based on Lora technology. Background Art

[0002] The patent application with the publication number CN108254057A discloses a traceability scale parameter setting system based on remote control and its implementation method. The system includes a background server, a traceability scale terminal and a background monitoring system; the method includes: sending a parameter data packet to the traceability scale terminal through the background server; setting the parameters of the traceability scale terminal according to the acquired parameter data packet; acquiring the parameter data packet of the background server through the background monitoring system, and using VR technology to generate a virtual environment, and then monitoring the parameter setting status of the traceability scale terminal in real time through the generated virtual environment. This patent application sets the parameters of the traceability scale terminal according to the parameter data packet of the background server, which improves work efficiency and reduces labor costs; in addition, this patent application monitors the parameter setting status of the traceability scale terminal in real time through the background monitoring system, which improves real-time performance and can be widely used in the field of remote control.

[0003] However, in the process of transmitting the weight data of the object collected by the scale device to the scale data platform, external noise will cause interference, thereby reducing the transmission quality of the weight data. The long communication distance will cause errors in the weight data during transmission, and the weight data of the object cannot be correctly recorded remotely. After working for a long time, the battery in the scale device may malfunction or run out of battery power, thereby failing to ensure the normal operation of the scale device.

[0004] In view of this, the present invention proposes a scale data platform networking method based on lora technology to solve the above problems. Summary of the invention

[0005] In order to overcome the above-mentioned defects of the prior art and to achieve the above-mentioned purpose, the present invention provides the following technical solutions: a method for networking a scale data platform based on lora technology, comprising: Step S1: collecting the original weight data of the object and the battery status data of the scale device; Step S2: performing forward homomorphic transformation and denoising on the original weight data to obtain denoised weight data, and performing reverse homomorphic transformation on the denoised weight data to obtain preprocessed weight data; Step S3: convert the pre-processed weight data into a LoRa wireless signal, and transmit the LoRa wireless signal to the scale data platform; Step S4: The scale data platform records the weight of the object according to the lora wireless signal, and determines whether to replace the battery of the scale device according to the battery status data.

[0006] Furthermore, the battery status data of the platform scale device includes battery voltage and battery current.

[0007] Furthermore, the method of performing forward homomorphic transformation and denoising on the original weight data to obtain denoised weight data, and performing reverse homomorphic transformation on the denoised weight data to obtain preprocessed weight data includes: Perform a forward homomorphic transformation on the original weight data to obtain the representation of the original weight data in the frequency domain ; in, ; is the original weight data, which is in the form of digital signal and binary. is the base of natural logarithms, is the frequency, is an imaginary unit, For time; Set the cutoff frequency, denoise the original weight data according to the cutoff frequency, and obtain the denoised weight data ; in, ; is the cut-off frequency; Perform reverse homomorphic transformation on the denoised weight data to obtain preprocessed weight data ; in, ; The pre-processed weight data is expressed as a digital signal and is binary.

[0008] Further, the method of converting the pre-processed weight data into a lora wireless signal includes: Obtain the collection time of the original weight data corresponding to the pre-processed weight data and the serial number of the scale device that collected the original weight data, convert the collection time and the serial number into binary, and add them to the end of the pre-processed weight data in sequence to obtain the comprehensive weight data; Encoding the comprehensive weight data to obtain comprehensive coded data; Modulate the integrated coded data and set the rising Chirp signal And the falling Chirp signal ; in, ; ; in, is the starting frequency of the rising Chirp signal, is the end frequency of the rising Chirp signal, and ; is the starting frequency of the descending Chirp signal, is the end frequency of the falling Chirp signal, and ; is the starting time of the rising Chirp signal, is the end time of the rising Chirp signal, is the starting time of the falling Chirp signal, is the end time of the falling Chirp signal; The integrated coded data is mapped into corresponding rising Chirp signals and falling Chirp signals. If the binary in the integrated coded data is , it is mapped to a rising Chirp signal. If the binary in the integrated coded data is , it is mapped as a descending Chirp signal, and all mapped ascending Chirp signals and descending Chirp signals are collected to obtain the lora wireless signal.

[0009] Furthermore, the method of encoding the comprehensive weight data to obtain the comprehensive coded data includes: Every The comprehensive weight data is split once to obtain a comprehensive weight binary data block, and the length of the last comprehensive weight binary data block is obtained. If the length of the last comprehensive weight binary data block is not , then add at the end of the last comprehensive weight binary data block Binary ; in, ; The length of the last comprehensive weight binary data block; The number of check codes is obtained through the inequality, which is: ; is a positive integer; Get the minimum value that makes the inequality true Value, minimum The value is the number of check digits; Initially set the check code and set the check code to binary , insert the check code into the comprehensive weight binary data block, and the inserted check code is located at the first 1st 1st 1st, 2nd, 3rd, 4th Bit; The check code is finally set to obtain a comprehensive weight check data block, and all comprehensive weight check data blocks are collected to obtain comprehensive coding data.

[0010] Furthermore, the method for finally setting the verification code includes: Step A1: Label the binary in the comprehensive weight binary data block, and convert the binary label in the comprehensive weight binary data block into binary representation, and obtain the first binary on the right side as The binary in the comprehensive weight binary data block corresponding to the label is recorded as the first comprehensive binary, and the first comprehensive binary is obtained. the number of According to the first comprehensive binary The number of If the first integrated binary If the number of is an even number, then Change the checksum at bit 1 to binary , if the first integrated binary If the number of is odd, then the The checksum at bit is changed; Step A2: Repeat step A1 to get the second binary digit on the right. The binary in the comprehensive weight binary data block corresponding to the label is recorded as the second comprehensive binary. The number of Repeat step A1 until the check code at the first bit is processed. Processing of the checksum at bit.

[0011] Furthermore, the method for the scale data platform to record the weight of an object according to the lora wireless signal includes: Demodulate the lora wireless signal and map the rising chirp signal in the lora wireless signal into a binary number , maps the descending Chirp signal in the lora wireless signal into a binary number , obtain demodulated coded data; The demodulated coded data is composed of demodulated data blocks, and the error correction coefficient of the demodulated data block is obtained. The error correction coefficient is Bit binary structure; The error correction coefficient is converted into decimal. If the error correction coefficient after conversion into decimal is zero, no error occurs in the demodulated data block during transmission. If the error correction coefficient after conversion into decimal is not zero, it means that an error occurs in the demodulated data block during transmission. Then, the Qth binary bit in the demodulated data block is inverted, and Q is the error correction coefficient after conversion into decimal. Remove the check code in the demodulated data block, reorganize the demodulated data block after removing the check code according to the segmentation order, obtain the reorganized weight data, convert the reorganized weight data into decimal, obtain the weight of the object, the collection time and the serial number of the scale device, and record the weight of the object, the collection time and the serial number of the scale device.

[0012] Furthermore, the method for obtaining the error correction coefficient of the demodulated data block includes: Step B1: Label the binary in the demodulated data block, convert the binary label in the demodulated data block into binary representation, and obtain the first binary on the right side as The binary number in the demodulated data block corresponding to the number is recorded as the first demodulated binary number, and the first demodulated binary number is obtained. the number of According to the first demodulated binary The number of the first binary on the right side of the error correction coefficient is obtained. If the first demodulated binary If the number is an even number, the first binary digit on the right side of the error correction coefficient is recorded as , if the first demodulated binary If the number is an odd number, the first binary digit on the right side of the error correction coefficient is recorded as ; Step B2: Repeat step B1 to get the second binary digit on the right. The binary number in the demodulated data block corresponding to the number is recorded as the second demodulated binary number. The number of bits is used to obtain the second binary bit on the right side of the error correction coefficient, and step B1 is repeated until all the binary bits in the error correction coefficient are obtained.

[0013] Furthermore, the method for determining whether to replace the battery of the platform scale device according to the battery status data includes: Create a blank coordinate system. The time points are sequentially filled into the abscissa of the blank coordinate system, the ordinate of the blank coordinate system is set to the battery voltage, and the battery voltage at the time point is filled into the blank coordinate system to obtain the battery voltage data sample points, and the battery voltage data sample points are sequentially connected by straight lines in time sequence to obtain a battery voltage change line graph; Starting from the second battery voltage data sample point, straight lines parallel to the horizontal axis and the vertical axis are drawn through the battery voltage data sample point, and are respectively recorded as the first straight line and the second straight line, and straight lines parallel to the horizontal axis and the vertical axis are drawn through the battery voltage data sample point immediately before the battery voltage data sample point, and are respectively recorded as the third straight line and the fourth straight line, and the intersection point of the first straight line and the fourth straight line is recorded as the first intersection point, and the intersection point of the second straight line and the third straight line is recorded as the second intersection point; Obtain the area of ​​the rectangle formed by the first intersection point, the second intersection point, the battery voltage data sample point and the previous battery voltage data sample point, and obtain the slope of the straight line between the battery voltage data sample point and the previous battery voltage data sample point, and obtain the voltage sudden change coefficient according to the area of ​​the rectangle and the slope of the straight line ; in, ; ; is the area of ​​the rectangle, is the interval between time points, is the battery voltage corresponding to the battery voltage data sample point, is the battery voltage corresponding to the last battery voltage data sample point, ; is the slope of the straight line, is the absolute value of the slope of the straight line; and is the weight coefficient; Set the voltage surge factor threshold ,when or If the battery fails, it cannot be used again and the battery of the scale equipment needs to be replaced; Set the battery voltage threshold. When the battery voltage is less than or equal to the battery voltage threshold, replace the battery of the scale device and determine whether the battery can be used again. when and When the battery voltage is greater than the battery voltage threshold, the battery of the scale device is not replaced.

[0014] Furthermore, the method for determining whether the battery can be reused includes: Obtain the time when the battery starts discharging and the time when the battery ends discharging, establish a new blank coordinate system, fill the time points from the time when the battery starts discharging to the time when the battery ends discharging into the abscissa of the new blank coordinate system in sequence, set the ordinate of the new blank coordinate system as the battery current, and fill the battery current at the time point into the blank coordinate system to obtain the battery current data sample points, connect the battery current data sample points in sequence through curves in chronological order, and obtain a battery current change curve graph; Get the maximum storage capacity of the battery according to the battery current change curve ; in, ; is the time when the battery starts to discharge, The time when the battery ends discharging. for arrive Battery current variation curve function within a time period; Set the maximum power storage threshold ,when The battery can be used again when The battery cannot be used again.

[0015] The technical effects and advantages of the scale data platform networking method based on LoRa technology of the present invention are as follows: The original weight data is forwardly homomorphically transformed and denoised to obtain denoised weight data. The denoised weight data is reversely homomorphically transformed to obtain pre-processed weight data, removing the influence of noise and making the collected weight data of the object more accurate. The pre-processed weight data is converted into a LoRa wireless signal, and the LoRa wireless signal is transmitted to the scale data platform. The LoRa wireless signal has a long transmission distance, low power consumption and strong anti-interference ability. The scale data platform records the weight of the object according to the LoRa wireless signal, determines whether an error occurs in the weight data during the transmission process, and corrects the erroneous part, thereby ensuring the accuracy of the weight data of the object recorded remotely. It is determined whether to replace the battery of the scale device according to the battery status data. When the battery is exhausted, the battery of the scale device is replaced. When the battery voltage changes too much, the battery fails, which will cause damage to the scale device. The battery of the scale device is replaced. When the battery voltage does not change, the battery does not discharge. The battery of the scale device is replaced, thereby ensuring the normal operation of the scale device and extending the service life of the scale device. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic diagram of a method for networking a scale data platform based on LoRa technology of the present invention. DETAILED DESCRIPTION

[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0018] Example 1 See also Figure 1 As shown, the networking method of a scale data platform based on lora technology described in this embodiment includes: Step S1: collecting the original weight data of the object and the battery status data of the scale device; Step S2: performing forward homomorphic transformation and denoising on the original weight data to obtain denoised weight data, and performing reverse homomorphic transformation on the denoised weight data to obtain preprocessed weight data; Step S3: convert the pre-processed weight data into a LoRa wireless signal, and transmit the LoRa wireless signal to the scale data platform; Step S4: The scale data platform records the weight of the object according to the lora wireless signal, and determines whether to replace the battery of the scale device according to the battery status data.

[0019] The process of collecting the raw weight data of the object and the battery status data of the scale device includes: The battery status data of the platform scale device includes battery voltage and battery current; The weighing device collects the original weight data of the object through the weighing sensor, the battery voltage through the ADC (analog to digital converter), and the battery current through the current sensor.

[0020] The process of performing forward homomorphic transformation and denoising on the original weight data to obtain denoised weight data, and performing reverse homomorphic transformation on the denoised weight data to obtain preprocessed weight data includes: Perform a forward homomorphic transformation on the original weight data to obtain the representation of the original weight data in the frequency domain ; in, ; is the original weight data, which is in the form of digital signal and binary. is the base of natural logarithms, is the frequency, is an imaginary unit, For time; Set the cutoff frequency, denoise the original weight data according to the cutoff frequency, and obtain the denoised weight data ; in, ; is the cut-off frequency; It should be explained that noise usually appears as high-frequency components. The components above the cutoff frequency in the original weight data are set to , effectively removing the noise in the original weight data; Perform reverse homomorphic transformation on the denoised weight data to obtain preprocessed weight data ; in, ; The pre-processed weight data is expressed as a digital signal and is binary.

[0021] The process of converting the pre-processed weight data into LoRa wireless signals includes: Obtaining the collection time of the original weight data corresponding to the preprocessed weight data and the serial number of the scale device that collected the original weight data, converting the collection time of the original weight data corresponding to the preprocessed weight data and the serial number of the scale device that collected the original weight data into binary, and sequentially adding them to the end of the preprocessed weight data to obtain the comprehensive weight data; For example: the pre-processed weight data is 0101, the collection time is 17:53:20 on December 20, 2024, the serial number of the scale device is 8312, the collection time is converted to binary as 0010000000100100000100100010000000010111010100100100000, the serial number of the scale device is converted to binary as 1000001100010010, and the comprehensive weight data is 01010010000000100100000010010000000010011101010011001000001000001100010010; Encode the comprehensive weight data to obtain comprehensive coded data, modulate the comprehensive coded data to obtain a lora wireless signal; The comprehensive weight data is encoded, and the process of obtaining the comprehensive encoded data includes: Every The comprehensive weight data is split once to obtain a comprehensive weight binary data block, and the length of the last comprehensive weight binary data block is obtained. If the length of the last comprehensive weight binary data block is not , then add at the end of the last comprehensive weight binary data block Binary ; in, ; The length of the last comprehensive weight binary data block; The number of check codes is obtained through the inequality, which is: ; is a positive integer; Get the minimum value that makes the inequality true Value, minimum The value is the number of check digits; Initially set the check code and set the check code to binary , insert the check code into the comprehensive weight binary data block, and the inserted check code is located at the first 1st 1st 1st, 2nd, 3rd, 4th Bit; Perform final setting on the check code to obtain a comprehensive weight check data block, collect all comprehensive weight check data blocks, and obtain comprehensive coding data; The process of finalizing the checksum includes: Label the binary in the comprehensive weight binary data block, and convert the binary label in the comprehensive weight binary data block into binary representation, and obtain the first binary from right to left. The binary in the comprehensive weight binary data block corresponding to the label is recorded as the first comprehensive binary, and the first comprehensive binary is obtained. If the first integrated binary If the number of is an even number, then Change the checksum at bit 1 to binary , if the first integrated binary If the number of is odd, then the The check code at the position is changed, and the second binary digit is obtained from right to left. The binary in the comprehensive weight binary data block corresponding to the label is recorded as the second comprehensive binary, and the second comprehensive binary is obtained. If the second integrated binary If the number of is an even number, then Change the checksum at bit 1 to binary , if the second integrated binary If the number of is odd, then the Change the check code at the position, ..., repeat this cycle, and get the number from right to left, The binary bit is The binary number in the comprehensive weight binary data block corresponding to the label is recorded as Comprehensive binary, get the Comprehensive binary The number of Comprehensive binary If the number of is an even number, then Change the checksum at bit 1 to binary , Comprehensive binary If the number of is odd, then the The checksum at bit is changed; The process of modulating the integrated coded data to obtain the lora wireless signal includes: Set the rising chirp signal And the falling Chirp signal ; in, ; ; in, is the starting frequency of the rising Chirp signal, is the end frequency of the rising Chirp signal, and ; is the starting frequency of the descending Chirp signal, is the end frequency of the falling Chirp signal, and ; is the starting time of the rising Chirp signal, is the end time of the rising Chirp signal, is the starting time of the falling Chirp signal, is the end time of the falling Chirp signal; Map the integrated coded data to the corresponding rising Chirp signal And the falling Chirp signal , if the binary in the integrated coded data is , it is mapped to a rising Chirp signal. If the binary in the integrated coded data is , then it is mapped as a descending Chirp signal, and all the mapped ascending Chirp signals are collected And the falling Chirp signal , get lora wireless signal.

[0022] The process by which the scale data platform records the weight of an object based on the lora wireless signal includes: Demodulate the lora wireless signal to obtain demodulated coded data; The process of demodulating the LoRa wireless signal and obtaining the demodulated coded data includes: Map the rising chirp signal in the lora wireless signal into a binary number , maps the descending Chirp signal in the lora wireless signal into a binary number , obtain demodulated coded data; The demodulated coded data is composed of a demodulated data block, an error correction coefficient of the demodulated data block is obtained, and it is determined whether an error occurs in the demodulated data block during transmission according to the error correction coefficient. If an error occurs, the error is corrected; The process of obtaining the error correction coefficient of the demodulated data block includes: The error correction coefficient is given by Bit binary structure; Label the binary in the demodulated data block, convert the binary label in the demodulated data block into binary representation, and obtain the first binary from right to left. The binary number in the demodulated data block corresponding to the number is recorded as the first demodulated binary number, and the first demodulated binary number is obtained. If the first demodulated binary If the number is an even number, the first binary bit on the right side of the error correction coefficient is recorded as , if the first demodulated binary If the number is an odd number, the first binary digit on the right side of the error correction coefficient is recorded as , get the second binary digit from right to left The binary number in the demodulated data block corresponding to the number is recorded as the second demodulated binary number, and the second demodulated binary number is obtained. If the second demodulated binary If the number is an even number, the second binary digit on the right side of the error correction coefficient is recorded as , if the second demodulated binary If the number is an odd number, the second binary digit on the right side of the error correction coefficient is recorded as , ..., repeat this cycle to get the number from right to left, The binary bit is The binary number in the demodulated data block corresponds to the number of Demodulate the binary and obtain the Demodulate binary The number of Demodulate binary If the number is an even number, the error correction coefficient on the right side The binary bit is written as , Demodulate binary If the number is an odd number, the error correction coefficient on the right side The binary bit is written as ; The error correction coefficient is used to determine whether an error occurs in the demodulated data block during transmission. If an error occurs, the process of correcting the error includes: The error correction coefficient is converted into decimal. If the error correction coefficient after conversion into decimal is zero, no error occurs in the demodulated data block during transmission. If the error correction coefficient after conversion into decimal is not zero, it means that an error occurs in the demodulated data block during transmission. Then, the Qth binary bit in the demodulated data block is inverted, and Q is the error correction coefficient after conversion into decimal. Remove the check code in the demodulated data block, reorganize the demodulated data block after removing the check code according to the segmentation order, obtain reorganized weight data, convert the reorganized weight data into decimal, obtain the weight of the object, the collection time and the serial number of the platform scale device, and record the weight of the object, the collection time and the serial number of the platform scale device; The process of determining whether to replace the battery of the scale device based on the battery status data includes: Create a blank coordinate system. The time points are sequentially filled into the abscissa of the blank coordinate system, the ordinate of the blank coordinate system is set to the battery voltage, and the battery voltage at the time point is filled into the blank coordinate system to obtain the battery voltage data sample points, and the battery voltage data sample points are sequentially connected by straight lines in time sequence to obtain a battery voltage change line graph; It should be explained that the battery voltage at a time point is the battery voltage collected at different time points; Starting from the second battery voltage data sample point, a straight line parallel to the horizontal axis is drawn through the battery voltage data sample point and recorded as the first straight line, a straight line parallel to the vertical axis is drawn through the battery voltage data sample point and recorded as the second straight line, a straight line parallel to the horizontal axis is drawn through the last battery voltage data sample point of the battery voltage data sample point and recorded as the third straight line, a straight line parallel to the vertical axis is drawn through the last battery voltage data sample point of the battery voltage data sample point and recorded as the fourth straight line, the intersection of the first straight line and the fourth straight line is recorded as the first intersection, and the intersection of the second straight line and the third straight line is recorded as the second intersection; The area of ​​the rectangle formed by the first intersection point, the second intersection point, the battery voltage data sample point and the battery voltage data sample point before the battery voltage data sample point is obtained, and the slope of the straight line between the battery voltage data sample point and the battery voltage data sample point before the battery voltage data sample point is obtained, and the voltage sudden change coefficient is obtained according to the area of ​​the rectangle and the slope of the straight line ; in, ; ; is the area of ​​the rectangle, is the interval between time points, is the battery voltage corresponding to the battery voltage data sample point, is the battery voltage corresponding to the previous battery voltage data sample point of the battery voltage data sample point, ; is the slope of the straight line, is the absolute value of the slope of the straight line; and is the weight coefficient; Set the voltage surge factor threshold ,when When the battery fails, it cannot be used again. Replace the battery of the scale equipment. If the battery fails, it cannot be used again and the battery of the scale equipment needs to be replaced; Set the battery voltage threshold. When the battery voltage is less than or equal to the battery voltage threshold, replace the battery of the scale device and determine whether the battery can be used again. It should be explained that the larger the voltage sudden change coefficient is, the greater the voltage change amplitude is, the more likely the battery is to fail, so the battery needs to be replaced. When the voltage sudden change coefficient is zero, the battery does not discharge and the battery fails, so the battery also needs to be replaced. When the battery voltage is less than or equal to the battery voltage threshold, the battery power will be used up, so the battery also needs to be replaced. The process of determining whether a battery is reusable includes: Obtain the time when the battery starts discharging and the time when the battery ends discharging, establish a new blank coordinate system, fill the time points from the time when the battery starts discharging to the time when the battery ends discharging into the abscissa of the new blank coordinate system in sequence, set the ordinate of the new blank coordinate system as the battery current, and fill the battery current at the time point into the blank coordinate system to obtain the battery current data sample points, connect the battery current data sample points in sequence through curves in chronological order, and obtain a battery current change curve graph; It should be explained that the time when the battery starts discharging is the time when the fully charged battery in the platform scale device starts discharging, and the time when the battery voltage ends is the time when the battery voltage is less than or equal to the battery voltage threshold; Get the maximum storage capacity of the battery according to the battery current change curve ; in, ; is the time when the battery starts to discharge, The time when the battery ends discharging. for arrive Battery current variation curve function within a time period; Set the maximum power storage threshold ,when The battery can be used again when The battery cannot be used again; when and When the battery voltage is greater than the battery voltage threshold, the battery of the scale device is not replaced.

[0023] In this embodiment, the original weight data is forwardly homomorphically transformed and denoised to obtain denoised weight data, and the denoised weight data is reversely homomorphically transformed to obtain pre-processed weight data, thereby removing the influence of noise and making the collected weight data of the object more accurate. The pre-processed weight data is converted into a LoRa wireless signal, and the LoRa wireless signal is transmitted to the scale data platform. The LoRa wireless signal has a long transmission distance, low power consumption, and strong anti-interference ability. The scale data platform records the weight of the object according to the LoRa wireless signal, determines whether an error occurs in the weight data during the transmission process, and corrects the erroneous part, thereby ensuring the accuracy of the weight data of the object recorded remotely. It is determined whether to replace the battery of the scale device according to the battery status data. When the battery is exhausted, the battery of the scale device is replaced. When the battery voltage changes too much, the battery fails, which will cause damage to the scale device. The battery of the scale device is replaced. When the battery voltage does not change, the battery does not discharge. The battery of the scale device is replaced, thereby ensuring the normal operation of the scale device and extending the service life of the scale device.

[0024] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0025] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only one, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0026] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

[0027] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for networking a platform scale data platform based on lora technology, characterized in that: The method for networking a platform scale data platform based on LoRa technology includes: Step S1: collecting the original weight data of the object and the battery status data of the scale device; Step S2: performing forward homomorphic transformation and denoising on the original weight data to obtain denoised weight data, and performing reverse homomorphic transformation on the denoised weight data to obtain preprocessed weight data; Step S3: convert the pre-processed weight data into a LoRa wireless signal, and transmit the LoRa wireless signal to the scale data platform; Step S4: The scale data platform records the weight of the object according to the lora wireless signal, and determines whether to replace the battery of the scale device according to the battery status data.

2. According to a method for networking a platform scale data platform based on lora technology according to claim 1, it is characterized in that: The battery status data of the platform scale device includes battery voltage and battery current.

3. According to a method for networking a platform scale data platform based on lora technology as described in claim 2, it is characterized in that: The method of performing forward homomorphic transformation and denoising on the original weight data to obtain denoised weight data, and performing reverse homomorphic transformation on the denoised weight data to obtain pre-processed weight data comprises: Perform a forward homomorphic transformation on the original weight data to obtain the representation of the original weight data in the frequency domain ; in, ; is the original weight data, which is in the form of digital signal and binary. is the base of natural logarithms, is the frequency, is an imaginary unit, For time; Set the cutoff frequency, denoise the original weight data according to the cutoff frequency, and obtain the denoised weight data ; in, ; is the cut-off frequency; Perform reverse homomorphic transformation on the denoised weight data to obtain preprocessed weight data ; in, ; The pre-processed weight data is expressed as a digital signal and is binary.

4. According to the method for networking a platform scale data platform based on lora technology as claimed in claim 3, it is characterized in that: The method for converting the pre-processed weight data into a lora wireless signal comprises: Obtain the collection time of the original weight data corresponding to the pre-processed weight data and the serial number of the scale device that collected the original weight data, convert the collection time and the serial number into binary, and add them to the end of the pre-processed weight data in sequence to obtain the comprehensive weight data; Encoding the comprehensive weight data to obtain comprehensive coded data; Modulate the integrated coded data and set the rising Chirp signal And the falling Chirp signal ; in, ; ; in, is the starting frequency of the rising Chirp signal, is the end frequency of the rising Chirp signal, and ; is the starting frequency of the descending Chirp signal, is the end frequency of the falling Chirp signal, and ; is the starting time of the rising Chirp signal, is the end time of the rising Chirp signal, is the starting time of the falling Chirp signal, is the end time of the falling Chirp signal; The integrated coded data is mapped into corresponding rising Chirp signals and falling Chirp signals. If the binary in the integrated coded data is , it is mapped to a rising Chirp signal. If the binary in the integrated coded data is , it is mapped as a descending Chirp signal, and all mapped ascending Chirp signals and descending Chirp signals are collected to obtain the lora wireless signal.

5. According to the method for networking a platform scale data platform based on lora technology as claimed in claim 4, it is characterized in that: The method of encoding the comprehensive weight data to obtain the comprehensive coded data comprises: Every The comprehensive weight data is split once to obtain a comprehensive weight binary data block, and the length of the last comprehensive weight binary data block is obtained. If the length of the last comprehensive weight binary data block is not , then add at the end of the last comprehensive weight binary data block Binary ; in, ; The length of the last comprehensive weight binary data block; The number of check codes is obtained through the inequality, which is: ; is a positive integer; Get the minimum value that makes the inequality true Value, minimum The value is the number of check digits; Initially set the check code and set the check code to binary , insert the check code into the comprehensive weight binary data block, and the inserted check code is located at the first 1st 1st 1st, 2nd, 3rd, 4th Bit; The check code is finally set to obtain a comprehensive weight check data block, and all comprehensive weight check data blocks are collected to obtain comprehensive coding data.

6. According to the method for networking a platform scale data platform based on lora technology according to claim 5, it is characterized in that: The method for finally setting the verification code comprises: Step A1: Label the binary in the comprehensive weight binary data block, and convert the binary label in the comprehensive weight binary data block into binary representation, and obtain the first binary on the right side as The binary in the comprehensive weight binary data block corresponding to the label is recorded as the first comprehensive binary, and the first comprehensive binary is obtained. the number of According to the first comprehensive binary The number of If the first integrated binary If the number of is an even number, then Change the checksum at bit 1 to binary , if the first integrated binary If the number of is odd, then the The checksum at bit is changed; Step A2: Repeat step A1 to get the second binary digit on the right. The binary in the comprehensive weight binary data block corresponding to the label is recorded as the second comprehensive binary. The number of Repeat step A1 until the check code at the first bit is processed. Processing of the checksum at bit.

7. A method for networking a platform scale data platform based on lora technology according to claim 6, characterized in that: The method for the scale data platform to record the weight of an object according to the lora wireless signal includes: Demodulate the lora wireless signal and map the rising chirp signal in the lora wireless signal into a binary number , maps the descending Chirp signal in the lora wireless signal into a binary number , obtain demodulated coded data; The demodulated coded data is composed of demodulated data blocks, and the error correction coefficient of the demodulated data block is obtained. The error correction coefficient is Bit binary structure; The error correction coefficient is converted into decimal. If the error correction coefficient after conversion into decimal is zero, no error occurs in the demodulated data block during transmission. If the error correction coefficient after conversion into decimal is not zero, it means that an error occurs in the demodulated data block during transmission. Then, the Qth binary bit in the demodulated data block is inverted, and Q is the error correction coefficient after conversion into decimal. Remove the check code in the demodulated data block, reorganize the demodulated data block after removing the check code according to the segmentation order, obtain the reorganized weight data, convert the reorganized weight data into decimal, obtain the weight of the object, the collection time and the serial number of the scale device, and record the weight of the object, the collection time and the serial number of the scale device.

8. The method for networking a platform scale data platform based on LoRa technology according to claim 7 is characterized in that: The method for obtaining the error correction coefficient of the demodulated data block comprises: Step B1: Label the binary in the demodulated data block, convert the binary label in the demodulated data block into binary representation, and obtain the first binary on the right side as The binary in the demodulated data block corresponding to the label is recorded as the first demodulated binary, and the first demodulated binary is obtained. the number of According to the first demodulated binary The number of the first binary on the right side of the error correction coefficient is obtained. If the first demodulated binary If the number is an even number, the first binary digit on the right side of the error correction coefficient is recorded as , if the first demodulated binary If the number is an odd number, the first binary digit on the right side of the error correction coefficient is recorded as ; Step B2: Repeat step B1 to get the second binary digit on the right. The binary number in the demodulated data block corresponding to the number is recorded as the second demodulated binary number. The number of bits is used to obtain the second binary bit on the right side of the error correction coefficient, and step B1 is repeated until all the binary bits in the error correction coefficient are obtained.

9. A method for networking a platform scale data platform based on lora technology according to claim 8, characterized in that: The method for determining whether to replace the battery of the platform scale device according to the battery status data includes: Create a blank coordinate system. The time points are sequentially filled into the abscissa of the blank coordinate system, the ordinate of the blank coordinate system is set to the battery voltage, and the battery voltage at the time point is filled into the blank coordinate system to obtain the battery voltage data sample points, and the battery voltage data sample points are sequentially connected by straight lines in time sequence to obtain a battery voltage change line graph; Starting from the second battery voltage data sample point, straight lines parallel to the horizontal axis and the vertical axis are drawn through the battery voltage data sample point, and are respectively recorded as the first straight line and the second straight line, and straight lines parallel to the horizontal axis and the vertical axis are drawn through the battery voltage data sample point immediately before the battery voltage data sample point, and are respectively recorded as the third straight line and the fourth straight line, and the intersection point of the first straight line and the fourth straight line is recorded as the first intersection point, and the intersection point of the second straight line and the third straight line is recorded as the second intersection point; Obtain the area of ​​the rectangle formed by the first intersection point, the second intersection point, the battery voltage data sample point and the previous battery voltage data sample point, and obtain the slope of the straight line between the battery voltage data sample point and the previous battery voltage data sample point, and obtain the voltage sudden change coefficient according to the area of ​​the rectangle and the slope of the straight line ; in, ; ; is the area of ​​the rectangle, is the interval between time points, is the battery voltage corresponding to the battery voltage data sample point, is the battery voltage corresponding to the last battery voltage data sample point, ; is the slope of the straight line, is the absolute value of the slope of the straight line; and is the weight coefficient; Set the voltage surge factor threshold ,when or If the battery fails, it cannot be used again and the battery of the scale equipment needs to be replaced; Set the battery voltage threshold. When the battery voltage is less than or equal to the battery voltage threshold, replace the battery of the scale device and determine whether the battery can be used again. when and When the battery voltage is greater than the battery voltage threshold, the battery of the scale device is not replaced.

10. A method for networking a platform scale data platform based on lora technology according to claim 9, characterized in that: The method for determining whether a battery is reusable comprises: Obtain the time when the battery starts discharging and the time when the battery ends discharging, establish a new blank coordinate system, fill the time points from the time when the battery starts discharging to the time when the battery ends discharging into the abscissa of the new blank coordinate system in sequence, set the ordinate of the new blank coordinate system as the battery current, and fill the battery current at the time point into the blank coordinate system to obtain the battery current data sample points, connect the battery current data sample points in sequence through curves in chronological order, and obtain a battery current change curve graph; Get the maximum storage capacity of the battery according to the battery current change curve ; in, ; is the time when the battery starts to discharge, The time when the battery ends discharging. for arrive Battery current variation curve function within a time period; Set the maximum power storage threshold ,when The battery can be used again when The battery cannot be used again.

Citation Information

Patent Citations

  • Remote control-based source-tracing platform scale parameter setting system and implementation method thereof

    CN108254057A

  • Intelligent cloud scale system

    CN111292046A

  • Broadband voltage signal measuring method and system

    CN117434337A

  • Management method and system based on BMS

    CN118264997A

  • Intelligent storage inventory tray

    CN213364006U