CN110031077A - It is a kind of intelligently to cross title method and its system - Google Patents

It is a kind of intelligently to cross title method and its system Download PDF

Info

Publication number
CN110031077A
CN110031077A CN201910397702.0A CN201910397702A CN110031077A CN 110031077 A CN110031077 A CN 110031077A CN 201910397702 A CN201910397702 A CN 201910397702A CN 110031077 A CN110031077 A CN 110031077A
Authority
CN
China
Prior art keywords
weight
item
information
gap value
item information
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
CN201910397702.0A
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.)
Shenzhen Luchunxiang Agricultural Technology Co Ltd
Original Assignee
Shenzhen Luchunxiang Agricultural 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 Shenzhen Luchunxiang Agricultural Technology Co Ltd filed Critical Shenzhen Luchunxiang Agricultural Technology Co Ltd
Priority to CN201910397702.0A priority Critical patent/CN110031077A/en
Publication of CN110031077A publication Critical patent/CN110031077A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G19/00Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups
    • G01G19/387Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups for combinatorial weighing, i.e. selecting a combination of articles whose total weight or number is closest to a desired value

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Labeling Devices (AREA)

Abstract

The present invention relates to a kind of intelligence to cross title method and its system, it is as follows that one of intelligence crosses title method: S101: a single-item information is selected from single-item information bank as selected information, it include single-item weight in single-item information, the single-item weight in selected information is as selected weight;S102: according to selected weight, adding practical single-item, while weighing to practical single-item on weighing device, when actual weight is within the scope of the first error of selected weight, stops adding practical single-item, obtains actual weight;S103: error amount between actual weight and selected weight is calculated;S104: by the single-item weight of single-item information a certain range of in single-item information bank compared with actual weight, gap value is calculated, forms gap value group;S105: the gap value under choosing in gap value group most judges whether minimum gap value is less than error amount as minimum gap value, if so, choosing the corresponding single-item information of minimum gap value as selected information, if it is not, then selected information is constant;And etc..

Description

It is a kind of intelligently to cross title method and its system
Technical field
The present invention relates to computer program application fields more particularly to a kind of intelligence to cross title method and its system.
Background technique
In the prior art, when user selects commodity and needs to weigh, it is common practice to which commodity are gradually added in weighing On device, when the weight that weighing device weighs reaches the within a certain error range of weight needed for user, it will stop increasing Add commodity on weighing device.In general, seeming powdered, granular, the single lesser commodity of weight ratio of acquisition, claim The weight and required weight restored is relatively.But when commodity are the biggish quotient of the single weight of such as apple, orange When product, the weight for being difficult to weigh weighing device reaches the within a certain error range of weight needed for user, is with apple Example, as made commodity weight reach weight needed for user by the apple for constantly exchanging other sizes for, it is clear that can waste relatively more Time.
Summary of the invention
The purpose of the present invention one is to provide a kind of intelligently mistake title method have the advantages that improving commodity goes out single-action rate.
Above-mentioned purpose one of the invention has the technical scheme that
It is a kind of intelligently to cross title method, which is characterized in that described method includes following steps: S101: to be selected from single-item information bank One single-item information includes single-item weight in single-item information as selected information, and the single-item weight in selected information is as selected Weight;S102: according to selected weight, practical single-item is added on weighing device, while weighing to practical single-item, work as reality When weight is within the scope of the first error of selected weight, stops adding practical single-item, obtain actual weight;S103: it calculates practical Error amount between weight and selected weight;S104: by the single-item weight of single-item information a certain range of in single-item information bank with Actual weight compares, and calculates gap value, forms gap value group;S105: choose gap value group in most under gap value, as minimum Gap value, judges whether minimum gap value is less than error amount, if so, choosing the corresponding single-item information of minimum gap value as choosing Information is determined, if it is not, then selected information is constant;S106: according to actual weight print label, and selected information is added in the label.
Further, a certain range of single-item information choosing method in the single-item information bank are as follows: in single-item information bank Middle selection single-item weight and single-item information of the selected weight difference in the second error range.
It further, further include that step S1051 judges that selected information is corresponding after the step S105, before S106 Whether minimum gap value or error amount are less than third error range, if so, S106 is entered step, if it is not, then return step Selected weight in S102, step S102 is still the selected obtained corresponding selected weight of selected information of step S101.
The purpose of the present invention one is to provide a kind of intelligently mistake title system have the advantages that improve commodity weighing efficiency.
Above-mentioned purpose one of the invention has the technical scheme that
It is a kind of intelligently to cross title system, the system comprises: single-item information bank, the single-item information to place an order for storing user;It chooses Unit is used as selected information for selecting a single-item information from single-item information bank, includes single-item weight in single-item information, select The single-item weight in information is determined as selected weight;Weighing unit adds practical single according to selected weight on weighing device Product, while weighing to practical single-item, when actual weight is within the scope of the first error of selected weight, it is practical to stop addition Single-item obtains actual weight;Error amount computing unit, for calculating error amount between actual weight and selected weight;Gap value Computing unit, for compared with actual weight, calculating the single-item weight of single-item information a certain range of in single-item information bank Gap value forms gap value group;Switch unit is sentenced for the gap value under choosing in gap value group most as minimum gap value Whether disconnected minimum gap value is less than error amount, if so, the corresponding single-item information of minimum gap value is chosen as selected information, if No, then selected information is constant;Label print unit, for letter to be selected in addition according to actual weight print label, and in the label Breath.
It further, further include range shorter unit, for choosing single-item weight and selected weight in single-item information bank Single-item information of the difference in the second error range.
It further, further include data pull unit, for saving single-item information exploitation to single-item information bank.
It further, further include adjustment unit, for judging whether are the corresponding minimum gap value of selected information or error amount Less than third error range, if for judging the corresponding minimum gap value of selected information in switch unit and label print unit Or whether error amount is less than third error range, if so, the step of circulation to label print unit, if it is not, then returning to weighing The step of unit, selected weight are still the selected obtained corresponding selected weight of selected information of selection unit.
In conclusion the invention has the following advantages:
After a selected selected weight, is weighed on the basis of selected weight to single-item, actual weight is being weighed up to single-item It is matched afterwards with the single-item weight in selected weight and multiple single-item information, the single-item after weighing is allocated to and practical weight The corresponding single-item information of immediate single-item weight is measured, above-mentioned single-item information, that is, final selected information is printed with actual weight and marked Label, and selected information is added in the label, so that single-item after weighing to be allocated to the single-item information nearest with its actual weight.It keeps away Exempt from the case where weighing repeatedly to single single-item information, that improves single-item goes out single-action rate, and improves single-item actual weight and single-item The matching degree of single-item weight in information.
Detailed description of the invention
Fig. 1 is the method flow diagram of the embodiment of the present invention one;
Fig. 2 is the method flow diagram of the embodiment of the present invention two;
Fig. 3 is the system structure diagram of the embodiment of the present invention three;
Fig. 4 is the system structure diagram of the embodiment of the present invention four.
Specific embodiment
Below in conjunction with attached drawing, the technical solution of the embodiment of the present invention is described.
Embodiment one
It is a kind of intelligently to cross title method, as shown in Figure 1, this method comprises the following steps:
S101: selecting a single-item information from single-item information bank and be used as selected information, includes single-item weight in single-item information, selects The single-item weight in information is determined as selected weight.
In the embodiment of the present invention, single-item information is wrapped in single-item information by the information of the single-item in the order under user The single-item weight selected containing user, for distinguishing the information such as user identity unique identifier, lower single time, also if you need to send outside Contact method, address including user.The selected sequence of single-item information is generally subject to lower single time of user in single-item information.
S102: according to selected weight, adding practical single-item, while weighing to practical single-item on weighing device, when When actual weight is within the scope of the first error of selected weight, stops adding practical single-item, obtain actual weight.
In the embodiment of the present invention, take apple as an example, selecting weight is 1OOOg, then will up add on weighing device Add apple, makes the actual weight of apple on weighing device close to 1000g, when actual weight is within the scope of the first error of 1000g When, can stop adding practical single-item, such as here first error range be ± 50g, then when actual weight 950g~1050g it Between, it can stop adding apple.
S103: error amount between actual weight and selected weight is calculated.
In the embodiment of the present invention, error amount can be obtained by simple subtraction operation, and error amount is taken absolute value.
S104: it by the single-item weight of single-item information a certain range of in single-item information bank compared with actual weight, calculates Gap value forms gap value group.
In the embodiment of the present invention, a certain range of single-item information choosing method are as follows: chosen in single-item information bank single Product weight and single-item information of the selected weight difference in the second error range.The above range for reducing single-item information is to pick Except biggish single-item information is differed with selected weight, biggish single-item information is differed with selected weight, necessarily with actual weight Gap value it is larger.The calculation amount of data can be reduced by reducing the scope.Or by taking above-mentioned apple as an example, the second mistake can be taken here Poor range is ± 25g.To obtain single-item information of the single-item weight between 975g~1025g, and pass through subtraction meter The gap value of they and actual weight is calculated, and gap value is taken absolute value.
S105: choose gap value group in most under gap value judge whether minimum gap value is less than as minimum gap value Error amount, if so, choosing the corresponding single-item information of minimum gap value as selected information, if it is not, then selected information is constant.
In the embodiment of the present invention or for above apple, if selected weight is 1000g, actual weight is 960g, then error amount is 40g, and the single-item weight in single-item information in the second error range is 970g, 985g, 1020g.It obtains Gap value group { 10g, 25g, 60g }, then minimum gap value is 10g, therefore the 10g of minimum gap value is less than the 40g of error amount, from And selected information is changed to the single-item information of the corresponding single-item weight of minimum gap value as selected information.And such as, work as actual weight For 995g, when other conditions are constant, then error amount is 5g, and minimum gap value is 10g, then selected information is constant.
S106: according to actual weight print label, and selected information is added in the label.
In the embodiment of the present invention, the single-item after completion step S105 is packaged, with actual weight print label, and is being marked Selected information, such as single-item weight, user's unique identifier, user information are added in label, after label is finally attached to packing It is realized out in single-item single.
After completing step S106, detect in single-item information bank whether there are also single-item information, if so, then continuing cycling through step S101~S106, until single-item information bank is emptied.
Embodiment two
It is a kind of intelligence cross title method, as shown in Fig. 2, with embodiment one the difference is that, after step S105, before S106, Further include that step S1051 judges whether the corresponding minimum gap value of selected information or error amount are less than third error range, if so, S106 is then entered step, is obtained if it is not, the selected weight in then return step S102, step S102 is still that step S101 is selected The corresponding selected weight of selected information.
In the embodiment of the present invention, that is, the single-item actual weight finally obtained need to meet them with the selected weight finally selected Between error in third error range.Or by taking the apple in embodiment one as an example, if third error range is ± 10g, Actual weight is 995g, then selected weight must be between 985g~1005g, it otherwise just need to be clear by the apple on weighing device Except zero, restarts to put apple, that is, restart step S102.
Embodiment three
It is a kind of intelligently to cross title system, as shown in figure 3, the system comprises:
Single-item information bank, the single-item information to place an order for storing user;
Selection unit is used as selected information for selecting a single-item information from single-item information bank, comprising singly in single-item information Product weight, the single-item weight in selected information is as selected weight;
Weighing unit adds practical single-item, while weighing to practical single-item according to selected weight on weighing device, when When actual weight is within the scope of the first error of selected weight, stops adding practical single-item, obtain actual weight;
Error amount computing unit, for calculating error amount between actual weight and selected weight;
Gap value computing unit, for by the single-item weight and actual weight of single-item information a certain range of in single-item information bank Compare, calculate gap value, forms gap value group;
Whether switch unit judges minimum gap value as minimum gap value for the gap value under choosing in gap value group most Less than error amount, if so, choose the corresponding single-item information of minimum gap value as selected information, if it is not, then selected information is not Become;
Label print unit is used for according to actual weight print label, and adds selected information in the label.
Range shorter unit, for choosing single-item weight and selected weight difference in single-item information bank in the second error model Enclose interior single-item information.
Data pull unit, for saving single-item information exploitation to single-item information bank.
Example IV
A kind of intelligence crosses title system, as shown in figure 4, with embodiment three the difference is that, including adjustment unit, for cutting It changes unit and label print unit judges whether the corresponding minimum gap value of selected information or error amount are less than third error range, If so, the step of circulation to label print unit, if it is not, the step of then returning to weighing unit, selected weight is still to choose list The selected obtained corresponding selected weight of selected information of member.
Various illustrative logical blocks, module, circuit, element and/or the component described in conjunction with embodiments disclosed herein is equal It can be by general processor, digital signal processor (DSP), specific integrated circuit (ASIC), field programmable gate array (FPGA) it or other programmable logic components, discrete gate or transistor logic, discrete hardware components or is designed to execute this paper Any combination of described function is practiced or carried out.General processor can be microprocessor, but it is another be selected as, the place Reason device can be any conventional processor, controller, microcontroller or state machine.It is computation module that processor is also implementable Combination, such as the combination of DSP and microprocessor, the combination of multi-microprocessor, one or more microprocessors and DSP core The joint of the heart or any other this configuration.
In conjunction with embodiments disclosed herein describe method or algorithm can be directly contained in hardware, can by processor execute In the combination of software module or both.Software module can reside in RAM memory, flash memory, ROM memory, EPROM and deposit In reservoir, eeprom memory, register, hard disc, removable disk, CD-ROM or technical field it is known it is any its In the computer-readable media of its form.Computer-readable media can be coupled to the processor so that the processor can be from meter Calculation machine readable media reads information and writes information to the computer-readable media.Alternatively, computer-readable media can collect At arrive processor.

Claims (7)

1. a kind of intelligence crosses title method, which is characterized in that described method includes following steps:
S101: selecting a single-item information from single-item information bank and be used as selected information, includes single-item weight in single-item information, selects The single-item weight in information is determined as selected weight;
S102: according to selected weight, practical single-item is added on weighing device, while weighing to practical single-item, work as reality When weight is within the scope of the first error of selected weight, stops adding practical single-item, obtain actual weight;
S103: error amount between actual weight and selected weight is calculated;
S104: by the single-item weight of single-item information a certain range of in single-item information bank compared with actual weight, gap is calculated Value forms gap value group;
S105: choose gap value group in most under gap value judge whether minimum gap value is less than error as minimum gap value Value, if so, choosing the corresponding single-item information of minimum gap value as selected information, if it is not, then selected information is constant;
S106: according to actual weight print label, and selected information is added in the label.
2. a kind of intelligence according to claim 1 crosses title method, which is characterized in that a certain range in the single-item information bank Interior single-item information choosing method are as follows: single-item weight and selected weight difference are chosen in single-item information bank in the second error range Interior single-item information.
3. it is according to claim 1 it is a kind of intelligence cross title method, which is characterized in that after the step S105, S106 it Before, further include step S1051: judging whether the corresponding minimum gap value of selected information or error amount are less than third error range, If so, S106 is entered step, if it is not, the selected weight in then return step S102, step S102 is still step S101 selected The corresponding selected weight of obtained selected information.
4. a kind of intelligence crosses title system, which is characterized in that the system comprises:
Single-item information bank, the single-item information to place an order for storing user;
Selection unit is used as selected information for selecting a single-item information from single-item information bank, comprising singly in single-item information Product weight, the single-item weight in selected information is as selected weight;
Weighing unit adds practical single-item, while weighing to practical single-item according to selected weight on weighing device, when When actual weight is within the scope of the first error of selected weight, stops adding practical single-item, obtain actual weight;
Error amount computing unit, for calculating error amount between actual weight and selected weight;
Gap value computing unit, for by the single-item weight and actual weight of single-item information a certain range of in single-item information bank Compare, calculate gap value, forms gap value group;
Whether switch unit judges minimum gap value as minimum gap value for the gap value under choosing in gap value group most Less than error amount, if so, choose the corresponding single-item information of minimum gap value as selected information, if it is not, then selected information is not Become;
Label print unit is used for according to actual weight print label, and adds selected information in the label.
5. a kind of intelligence according to claim 4 crosses title system, which is characterized in that further include range shorter unit, be used for Single-item weight and single-item information of the selected weight difference in the second error range are chosen in single-item information bank.
6. a kind of intelligence according to claim 4 crosses title system, which is characterized in that further include data pull unit, be used for Single-item information exploitation to single-item information bank is saved.
7. a kind of intelligence according to claim 4 crosses title system, which is characterized in that further include adjustment unit, for cutting It changes unit and label print unit judges whether the corresponding minimum gap value of selected information or error amount are less than third error range, If so, the step of circulation to label print unit, if it is not, the step of then returning to weighing unit, selected weight is still to choose list The selected obtained corresponding selected weight of selected information of member.
CN201910397702.0A 2019-05-14 2019-05-14 It is a kind of intelligently to cross title method and its system Pending CN110031077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910397702.0A CN110031077A (en) 2019-05-14 2019-05-14 It is a kind of intelligently to cross title method and its system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910397702.0A CN110031077A (en) 2019-05-14 2019-05-14 It is a kind of intelligently to cross title method and its system

Publications (1)

Publication Number Publication Date
CN110031077A true CN110031077A (en) 2019-07-19

Family

ID=67242169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910397702.0A Pending CN110031077A (en) 2019-05-14 2019-05-14 It is a kind of intelligently to cross title method and its system

Country Status (1)

Country Link
CN (1) CN110031077A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011179880A (en) * 2010-02-26 2011-09-15 Yamato Scale Co Ltd Vehicle weight measuring system
CN107741267A (en) * 2017-11-29 2018-02-27 农业部南京农业机械化研究所 A kind of fruit and vegetable dryness high accuracy on-line weighing device based on multiple force snesor
CN108680240A (en) * 2018-05-18 2018-10-19 惠科股份有限公司 Product inspection method and device
CN108765704A (en) * 2018-05-23 2018-11-06 济南每日优鲜便利购网络科技有限公司 Replenishment control method, device and equipment for automatic vending system and storage medium
CN109556687A (en) * 2018-12-20 2019-04-02 帷幄匠心科技(杭州)有限公司 Weight measurements, device, equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011179880A (en) * 2010-02-26 2011-09-15 Yamato Scale Co Ltd Vehicle weight measuring system
CN107741267A (en) * 2017-11-29 2018-02-27 农业部南京农业机械化研究所 A kind of fruit and vegetable dryness high accuracy on-line weighing device based on multiple force snesor
CN108680240A (en) * 2018-05-18 2018-10-19 惠科股份有限公司 Product inspection method and device
CN108765704A (en) * 2018-05-23 2018-11-06 济南每日优鲜便利购网络科技有限公司 Replenishment control method, device and equipment for automatic vending system and storage medium
CN109556687A (en) * 2018-12-20 2019-04-02 帷幄匠心科技(杭州)有限公司 Weight measurements, device, equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李德龙: "《C语言程序设计教程》", 30 September 2015 *

Similar Documents

Publication Publication Date Title
Wu An EOQ inventory model for items with Weibull distribution deterioration, ramp type demand rate and partial backlogging
Ouyang et al. An inventory model for deteriorating items with exponential declining demand and partial backlogging
Liviatan Monetary expansion and real exchange rate dynamics
US7110843B2 (en) Arrangements and methods for monitoring processes and devices using a web service
US8156017B2 (en) System and method for real-time activity-based accounting
CN106528980A (en) Water chilling unit model selecting method and device
CN109034505A (en) Metering table demand on-line prediction method and terminal device
WO2001097154A1 (en) System having digital weighing scale device and method for outputting diet information transmitted through internet network
US20060287945A1 (en) Trading system
CN105045863B (en) A kind of method and system for Entities Matching
WO2006007118A2 (en) Nullification of measurement error, particularly within a dual turbine flow meter used in a fuel dispenser
CN109649916A (en) A kind of Intelligent cargo cabinet cargo recognition methods and device
CN106920119A (en) The evaluation method and device of a kind of user's value
CN110440893A (en) Weight-calibration method, apparatus and weighing-appliance
CN110031077A (en) It is a kind of intelligently to cross title method and its system
CN108573348A (en) Financial indicator distributed computing method and its system
CN106092358A (en) A kind for the treatment of method and apparatus of resistance sensor signal
CN109523245A (en) It transfers accounts path recommended method and terminal device
CN110533259A (en) A kind of method, apparatus that estimating waiting time, system and storage medium
Wüger Measuring market power for some industrial sectors in Austria
CN112184276A (en) Preferential recommendation method and device and storage medium
CN108159677A (en) Exercise data statistical method, electronic device and computer readable storage medium
CN109323702A (en) A kind of navigation route planning method and device
KR100453103B1 (en) Uptake Salinity Measuring Apparatus
CN106980957A (en) A kind of self-service mailing system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190719