CN112261073A - Scheme for data persistence of intelligent electronic scale - Google Patents

Scheme for data persistence of intelligent electronic scale Download PDF

Info

Publication number
CN112261073A
CN112261073A CN202010719966.6A CN202010719966A CN112261073A CN 112261073 A CN112261073 A CN 112261073A CN 202010719966 A CN202010719966 A CN 202010719966A CN 112261073 A CN112261073 A CN 112261073A
Authority
CN
China
Prior art keywords
electronic scale
information
intelligent electronic
data processing
processing service
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
CN202010719966.6A
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.)
Hangzhou Leishu Technology Co ltd
Original Assignee
Hangzhou Leishu Technology 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 Hangzhou Leishu Technology Co ltd filed Critical Hangzhou Leishu Technology Co ltd
Priority to CN202010719966.6A priority Critical patent/CN112261073A/en
Publication of CN112261073A publication Critical patent/CN112261073A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G23/00Auxiliary devices for weighing apparatus
    • G01G23/18Indicating devices, e.g. for remote indication; Recording devices; Scales, e.g. graduated
    • G01G23/38Recording and/or coding devices specially adapted for weighing apparatus
    • G01G23/42Recording and/or coding devices specially adapted for weighing apparatus electrically operated
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a scheme for data persistence of an intelligent electronic scale, which relates to the technical field of data transmission and aims to be applied to the production and operation process of enterprises, weigh the weight of articles, transmit the weight information to a data processing service, and automatically persist the weight information of the articles after the data processing service so as to provide metadata information for enterprise operation and accounting, wherein the method comprises the following steps: initializing the intelligent electronic scale; establishing communication connection between the intelligent electronic scale and an electronic scale data processing service; the intelligent electronic scale acquires an article information list; selecting an article to be weighed, and displaying the currently selected article by the intelligent electronic scale; weighing the weight information of the article; the electronic scale sends the article information to an electronic scale data processing service, and prints a paper receipt of the weighing information of the current article; and the electronic scale data processing service processes the article weighing information persistently.

Description

Scheme for data persistence of intelligent electronic scale
Technical Field
The invention relates to the technical field of data transmission, in particular to a scheme for data persistence of an intelligent electronic scale.
Background
In the actual production and operation process of an enterprise, purchase, production and sale are not involved, and in the operation process of the enterprise, the weight of an article needs to be recorded for accounting the production and operation cost of the enterprise, tracking the production quality and analyzing the production process.
However, in the traditional actual operation process, the paper documents are generally weighed by a common electronic scale and recorded in the paper documents, and after the uniform weighing is finished, the paper documents are uniformly recorded into the persistence platform by a uniform person; the method has the following defects: the recording, filling in the paper document and recording are time-consuming and labor-consuming, so that the working labor capacity is increased, and workers need to spend some experience to do recording work; during the recording, errors can occur in the data correctness due to misoperation, and when the auditing is carried out at the end of the month/year, the accounting result is inconsistent with the reality; the data entry is not timely, and the article information accounting information lags behind; paper documents are lost, the enterprise operation cost cannot be checked, and historical article usage tracing is not facilitated.
In summary, how to make the weight information of the objects weighed by the electronic scale automatically persist, make the electronic scale obtain the objects to be weighed, and make the information of the weighed objects automatically persist on the platform after weighing the objects, so as to provide the accounting of the actual enterprise production and management, track the production quality, and analyze the production process, has become a problem to be solved urgently by those skilled in the art.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a data cloud method of an intelligent electronic scale, which is applied to weighing the weight of an article in the actual production and operation process of an enterprise and aims to automatically persist the weighed weight information through the electronic scale.
The technical purpose of the invention is realized by the following technical scheme:
a scheme for data persistence of an intelligent electronic scale comprises the following steps:
initializing the configuration of the intelligent electronic scale, and connecting the intelligent electronic scale with a network (wired or wireless);
furthermore, an ip initialized by an electronic scale through an intranet environment ping;
if the ping is on, starting electronic scale data processing service to ensure that the two services are in the same local area network;
otherwise, the initialized configuration and connection information is checked until ping-through is enabled.
Furthermore, intelligence electronic scale sends the signal of shaking hands, and electronic scale data processing service accepts the signal of shaking hands and analyzes, specifically includes the following step:
updating the item list information of the current system to be the latest item list information;
the electronic scale data processing service analyzes whether the handshake information is an electronic scale handshake signal;
if yes, establishing connection, and sending a real-time heartbeat packet to monitor the link state;
and otherwise, continuing to accept the analysis of the sent handshake signals until the analysis is successful.
Further, selecting an article to be weighed, and automatically displaying the name and related information of the selected article by the electronic scale;
the intelligent electronic scale weighs the weight of an article and comprises the following steps:
printing a weighing information sheet of the article;
and sending the information sheet of the weighed object to an electronic scale data processing service.
Further, the electronic scale data processing service starts a thread to analyze the information sent by the intelligent electronic scale, and the method comprises the following steps:
if the message header with the object persistent weight information is successfully analyzed, object weight information of the intelligent electronic scale is persisted, and a PLU information success return code is sent to the electronic scale;
otherwise, prompting the persistence failure information and re-weighing the weight information of the article.
In summary, compared with the prior art, the beneficial effects of the invention are as follows:
according to the invention, the information of the object to be weighed is selected to the electronic scale by the terminal, the staff does not need to record the weight information of the object by handwriting, the weight information of the object is fully automatically and directly persisted in the whole process, the weight information of the object does not need to be recorded in other terminals again, repeated work is avoided, the accuracy of data is improved, and the cost and other information of the object in the operation cost can be more accurately calculated.
Drawings
FIG. 1 is a flow chart of the present invention for intelligent electronic scale data persistence;
FIG. 2 is an interaction flow diagram for data persistence of an intelligent electronic scale of embodiment 1.
Detailed description of the preferred embodiments
The present invention will now be described in more detail with reference to the accompanying drawings, in which the description of the invention is given by way of illustration and not of limitation. The various embodiments may be combined with each other to form other embodiments not shown in the following description.
The embodiment provides a method for persisting data of an intelligent electronic scale, and aims to realize automatic persistence of data weighed by the electronic scale, compared with the traditional working mode that the last terminal is manually recorded and input, the information of an object is weighed by selecting, the intelligent electronic scale weighs the weight of the object, the data is automatically sent to electronic scale data processing service, the service automatically persists the data, the method enables the data to be persisted in real time, accurately and fully automatically, repeated labor work is avoided, the data accuracy is improved, real-time data is provided, and the method is more convenient for the accounting work of the object in the actual production and operation process of an enterprise.
According to the principle, the intelligent electronic scale data persistence is introduced, as shown in fig. 1 and fig. 2, the intelligent electronic scale data persistence method specifically comprises the following steps:
the intelligent electronic scale acquires the weight information of the article and transmits the data to an electronic scale data processing service;
and the electronic scale data processing service analyzes the weight information of the article and carries out persistence processing.
Preferably, the step of acquiring the weight information of the article by the intelligent electronic scale comprises the following steps:
accessing the intelligent electronic scale to a network;
initializing configuration information of the electronic scales and confirming that each electronic scale has a unique number so as to ensure that the input article weight information can correspond to the electronic scale.
Initializing an ip by using an electronic scale initialized by a terminal ping through an intranet environment;
if the ping is on, starting electronic scale data processing service, and ensuring that the two services are in the same local area network and can communicate with each other;
otherwise, checking the initialized configuration information and connection information, and trying again.
Preferably, only the electronic scale sends handshake information to the electronic scale data processing service, and the electronic scale data processing service receives and analyzes the handshake information, specifically including the steps of:
updating the item list information of the current system to be the latest item list information;
the electronic scale data processing service analyzes the current handshake information;
if the communication is in accordance with the protocol specification, the normal communication with the intelligent electronic scale is indicated, and at the moment, information of successful connection establishment is sent to the electronic scale;
and otherwise, continuing to accept the sent handshake signals until the analysis is successful.
Preferably, the intelligent electronic scale is connected with an electronic scale data processing service, and a real-time heartbeat packet is sent to monitor whether the data link between the two services is normal or not;
preferably, the weight of the information of the article to be weighed is selected, and the selected information of the article is displayed by the electronic scale;
preferably, the item is placed on an electronic scale, where the electronic scale weighs the item and sends the weight to the electronic scale data processing service for permanent use by the electronic scale data processing service.
The embodiment introduces the data persistence of the intelligent electronic scale to be applied to the acquisition and sending of the article information, and the connection mode can be realized in a wired or wireless manner by the connection network in actual application, so that the condition that the ip of the initialized local area network of the intelligent electronic scale is not occupied is only required to be ensured, the ip addresses of two services can be freely communicated with the same network segment of the local area network in the data processing service.
Preferably, the electronic scale data processing service analyzes the weight information of the article, and the persistence processing comprises the following steps:
the electronic scale data processing service starts a thread for analyzing the information sent by the intelligent electronic scale;
if the message header with the weight information is analyzed, the corresponding weight information and the model of the electronic scale are identical and are subjected to persistence, PLU information successful codes are written back to the intelligent electronic scale to inform that the weight information of the electronic scale is successfully persisted, and the intelligent electronic scale prints paper documents of the weight information of the article.
Otherwise, writing back the information of the persistence failure to the intelligent electronic scale, and if the intelligent electronic scale displays the persistence failure, weighing again and persisting again.
In this embodiment, the electronic scale automatically sends the information of the article to the electronic successful data processing service through the selected information of the article to be weighed, and the electronic scale data processing service analyzes the weight information of the article and is automatic and durable, so that the cost reduction and efficiency improvement in the enterprise operation process are improved, and the production cost accounting of the enterprise is accelerated.
It should be noted that, in the foregoing embodiment, each included unit and each included module are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
The above description is intended to be illustrative of the present invention and not to limit the scope of the invention, which is defined by the claims appended hereto.

Claims (7)

1. A scheme for data persistence of an intelligent electronic scale is characterized by comprising the following steps:
the intelligent electronic scale acquires weight information of an object to be weighed and sends the weight information to electronic scale data processing service;
the electronic scale data processing service analyzes the information sent by the intelligent electronic scale, persists the weight information of the article, and writes back the success prompt information to the intelligent electronic scale;
the intelligent electronic scale displays the success of persistence and prints the article weight information document.
2. The data persistence scheme of the intelligent electronic scale according to claim 1, wherein: the intelligent electronic scale acquires the weight information of an object to be weighed and sends the weight information to electronic scale data processing service, and the method specifically comprises the following steps:
establishing connection between the intelligent electronic scale and electronic scale data service;
the intelligent electronic scale weighs the weight information of the article and sends the weight information to the electronic scale data processing service.
3. The data persistence scheme of the intelligent electronic scale according to claim 2, wherein: the method comprises the following steps of establishing connection between the intelligent electronic scale and electronic scale data service:
initializing the configuration of the intelligent electronic scale;
the intelligent electronic scale and the electronic scale data processing service are connected with the same local area network;
and the intelligent electronic scale and the electronic scale data processing service normally communicate.
4. The data persistence scheme of the intelligent electronic scale according to claim 3, wherein: intelligent electronic scale and electronic scale data processing service normal communication include:
the intelligent electronic scale sends handshake information to electronic scale data processing service;
the electronic scale data processing service analyzes the handshake information and returns PLU codes to indicate that the handshake is successful;
the intelligent electronic scale continuously sends the heartbeat packet to the electronic scale data processing service so as to ensure that the two services are not disconnected.
5. The scheme for data persistence of the intelligent electronic scale according to any one of claims 1 to 4, wherein: the intelligent electronic scale acquires information of an object to be weighed and sends the information to an electronic scale data processing service, and the intelligent electronic scale data processing service specifically comprises the following steps: initializing intelligent electronic scale service, weighing object weight information by the electronic scale, and sending the object weight information to the electronic scale data processing service.
6. The data persistence scheme of the intelligent electronic scale according to claim 1, wherein: the electronic scale data processing service analyzes information sent by the intelligent electronic scale, persists the weight information of the article, writes back the successfully written information to the intelligent electronic scale, and specifically comprises the following steps:
the electronic scale data processing service starts a thread for analyzing the weight information of the electronic scale;
and the electronic scale data processing service writes back the persistence success information to the corresponding electronic scale by using the thread.
7. The data persistence scheme of the intelligent electronic scale according to claim 6, wherein: the electronic scale data processing service starts a thread for analyzing the weight information of the electronic scale, and further comprises the following steps:
judging whether the weight information of the electronic scale is a message header containing weight information;
if the weight information meets the requirement, the weight information is analyzed, the article weight information and the electronic scale number are persisted, and the persisted information is written back to the intelligent electronic scale.
Otherwise, the failure information is written back to the intelligent electronic scale to prompt that the weighing needs to be carried out again.
CN202010719966.6A 2020-07-24 2020-07-24 Scheme for data persistence of intelligent electronic scale Pending CN112261073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010719966.6A CN112261073A (en) 2020-07-24 2020-07-24 Scheme for data persistence of intelligent electronic scale

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010719966.6A CN112261073A (en) 2020-07-24 2020-07-24 Scheme for data persistence of intelligent electronic scale

Publications (1)

Publication Number Publication Date
CN112261073A true CN112261073A (en) 2021-01-22

Family

ID=74224428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010719966.6A Pending CN112261073A (en) 2020-07-24 2020-07-24 Scheme for data persistence of intelligent electronic scale

Country Status (1)

Country Link
CN (1) CN112261073A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4034818A (en) * 1974-10-24 1977-07-12 Vaaka-Nyholm Scales, in particular shop scales
JP2000251185A (en) * 1999-02-26 2000-09-14 Teraoka Seiko Co Ltd Data transmission/reception method between external equipment and electronic scale
CN104881985A (en) * 2015-05-28 2015-09-02 仲恺农业工程学院 Electronic scale intelligent wireless transmission method, system and equipment applied to internet of things
CN106124017A (en) * 2016-07-05 2016-11-16 上海市卫生和计划生育委员会监督所 A kind of intelligent weighing method based on RFID
CN205861194U (en) * 2015-05-12 2017-01-04 广东华南物联网研究院有限责任公司 Intelligent tracing electronic scale
CN106600199A (en) * 2016-12-26 2017-04-26 河南信安通信技术股份有限公司 Intelligent control system and intelligent control method for high-risk express items
CN207540237U (en) * 2017-11-15 2018-06-26 惠州高盛达科技有限公司 A kind of intelligent refrigerator
CN110782606A (en) * 2019-12-03 2020-02-11 骆俊良 Method for inquiring turnover through electronic scale
CN210071099U (en) * 2019-04-04 2020-02-14 浙江禾平数据技术有限公司 Electronic scale and electronic scale system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4034818A (en) * 1974-10-24 1977-07-12 Vaaka-Nyholm Scales, in particular shop scales
JP2000251185A (en) * 1999-02-26 2000-09-14 Teraoka Seiko Co Ltd Data transmission/reception method between external equipment and electronic scale
CN205861194U (en) * 2015-05-12 2017-01-04 广东华南物联网研究院有限责任公司 Intelligent tracing electronic scale
CN104881985A (en) * 2015-05-28 2015-09-02 仲恺农业工程学院 Electronic scale intelligent wireless transmission method, system and equipment applied to internet of things
CN106124017A (en) * 2016-07-05 2016-11-16 上海市卫生和计划生育委员会监督所 A kind of intelligent weighing method based on RFID
CN106600199A (en) * 2016-12-26 2017-04-26 河南信安通信技术股份有限公司 Intelligent control system and intelligent control method for high-risk express items
CN207540237U (en) * 2017-11-15 2018-06-26 惠州高盛达科技有限公司 A kind of intelligent refrigerator
CN210071099U (en) * 2019-04-04 2020-02-14 浙江禾平数据技术有限公司 Electronic scale and electronic scale system
CN110782606A (en) * 2019-12-03 2020-02-11 骆俊良 Method for inquiring turnover through electronic scale

Similar Documents

Publication Publication Date Title
US6370455B1 (en) Method and apparatus for networked wheel alignment communications and service
JP2004133632A (en) Data relay device and data management system using it
CN112365360B (en) Material consumption statistical calculation method for cigarette production line
CN114219645A (en) Accounting date switching method, device, equipment, readable storage medium and product
CN111966600B (en) Webpage testing method, webpage testing device, computer equipment and computer readable storage medium
CN112261073A (en) Scheme for data persistence of intelligent electronic scale
CN113052457A (en) Manufacturing management method and system of intelligent product and readable storage medium
CN109634792B (en) Cloud computing-based server hardware test platform system
CN106484513A (en) Sales volume data processing equipment and sales volume data processing method
CN112966794B (en) RFID-based production traceability and dynamic process management system
CN114022065A (en) Picking and delivery list printing parallel processing method and device
CN111652539A (en) Abnormal event monitoring method, device and system
CN114363311B (en) Message reporting method and system for simulation tool of intelligent operation and maintenance monitoring system of turnout
CN112926433B (en) Biopharmaceutical safety monitoring method and system based on head-mounted display equipment
CN113642870B (en) Data analysis system and analysis method based on informatization platform
CN217032746U (en) Weighing system of two-dimensional code automatic identification sample serial number
CN217504955U (en) Weighbridge weighing information management system and weighbridge single printer thereof
CN117041051A (en) Vehicle configuration method, device, electronic equipment and storage medium
CN109862066B (en) Universal metering original record uploading method for QMap serialization marks
JP3109701B2 (en) Communication device, information processing device having communication function, communication management device, and control method thereof
CN115422298A (en) Interface information synchronization method and device, computer equipment and storage medium
CN114189508A (en) Weekly checking system and method for gas meter
CN116781745A (en) Mobile APP for on-site monitoring of offline environmental protection industry
CN111308973A (en) Data processing method and system for automation equipment universal for intranet
CN114328054A (en) Test data storage method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210122

RJ01 Rejection of invention patent application after publication