Weighing tray partition detection method, device, electronic equipment and storage medium
By setting up partitions on the weighing pallet and using modules to detect weight change data, the problem of inaccurate weight detection of small items in the existing technology is solved, and more accurate weight data acquisition and user reminder functions are achieved.
Patent Information
- Application Number
- CN202211191847.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-28
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-09-28
AI Technical Summary
The existing weighing pallet has the problem of insufficient weight detection accuracy when detecting tiny items such as granules, flakes, and powders.
By setting up partitions on the weighing pallet, and using the timing module, acquisition module, processing module and transmission module, the preset time threshold is determined, the weight change data of each area is obtained, the partition usage is judged, the partition usage information is generated, and the The cloud server sends it to the user terminal.
It achieves accurate detection of the usage of weighing pallet partitions, ensures more accurate acquisition of item weight data, and reminds users to use partitions correctly.
Smart Images

Figure CN115560834B_ABST
Abstract
Description
Background Art
[0002] In recent years, with the advancement of science and technology and the improvement of living standards, people have a higher pursuit of quality of life. In daily life, people want to know the weight data of items accurately to meet the needs of life. However, in the prior art, since the common weighing tray needs to use all areas of the weighing tray to obtain the weight data of the item. For tiny items such as granules, flakes, and powders, the existing weighing tray has the problem of inaccurate detection. In order to solve the above problems, a partition detection method for a weighing tray is designed. Summary of the invention
[0003] The purpose of the present application is to provide a partition detection method, device, electronic device and storage medium for a weighing tray, which can detect the partition usage of the weighing tray, thereby facilitating the use of several areas of the weighing tray to obtain the weight data of the items, thereby ensuring that the weight data of the items on the weighing tray are obtained more accurately.
[0004] According to one aspect of the present application, a partition detection method for a weighing tray is provided, comprising:
[0005] Determining a preset time threshold;
[0006] Obtain weight change data of each area of the weighing tray within the time threshold;
[0007] Determining the partition usage of the weighing tray according to the weight change data;
[0008] Generating partition usage information corresponding to the partition usage according to the partition usage;
[0009] The partition usage information is sent to a cloud server, and the partition usage information is sent to a user terminal through the cloud server, so that the user terminal can display the partition usage information.
[0010] In an exemplary embodiment of the present application, determining the partition usage of the weighing tray according to the weight change data includes:
[0011] determining the article type of the article on the weighing tray;
[0012] The partition usage of the weighing tray is determined according to the item type and the weight change data.
[0013] In an exemplary embodiment of the present application, the partition usage information includes the weight change data of each partition, and / or the number information of each partition, and / or the item type information of each partition.
[0014] In an exemplary embodiment of the present application, determining the partition usage of the weighing tray according to the weight change data includes:
[0015] When it is detected according to the weight change data that each partition of the weighing tray is used independently, determining the partition use of each partition;
[0016] When it is detected according to the weight change data that the partitions of the weighing tray are combined for use, the combined use of the partitions is determined.
[0017] In an exemplary embodiment of the present application, the partition detection method of the weighing tray provided in the present application further includes:
[0018] When it is detected that the weighing tray has been used in the partitioned manner and then used in the combined manner, conflict alarm information is generated and the conflict information is sent to the user terminal.
[0019] In an exemplary embodiment of the present application, the partition detection method of the weighing tray provided in the present application further includes:
[0020] When it is detected that only one partition generates the weight change data within the time threshold, determining that each partition of the weighing tray is used independently;
[0021] When it is detected that at least two partitions generate the weight change data within the time threshold and the change directions of the weight change data are inconsistent, it is determined that the partitions of the weighing tray are used independently.
[0022] In an exemplary embodiment of the present application, the partition detection method of the weighing tray provided in the present application further includes:
[0023] When it is detected that at least two partitions generate the weight change data within the time threshold and the change directions of the weight change data are consistent, it is determined that the partitions of the weighing tray are combined for use.
[0024] According to one aspect of the present application, a partition detection device for a weighing tray is provided, comprising:
[0025] A timing module, used to determine a preset time threshold;
[0026] A collection module, used for acquiring weight change data of the items on the weighing tray that have weight changes within the time threshold;
[0027] A processing module, used to determine the partition usage of the weighing tray according to the weight change data;
[0028] a parsing module, configured to generate partition usage information corresponding to the partition usage according to the partition usage; and
[0029] The transmission module is used to send the partition usage information to the cloud server, and send the partition usage information to the user terminal through the cloud server, so that the user terminal can display the partition usage information.
[0030] According to one aspect of the present application, an electronic device is provided, including:
[0031] Processor; and
[0032] A memory having computer-readable instructions stored therein, wherein the computer-readable instructions implement any of the above embodiments when executed by the processor.
[0033] According to one aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any one of the above embodiments is implemented.
[0034] In the technical solution provided in the embodiment of the present application, a preset time threshold is determined, and weight change data of the weight change of the items on the weighing tray within the time threshold is obtained. According to the weight change data, the partition usage of the weighing tray is determined; according to the partition usage, partition usage information corresponding to the partition usage is generated; the partition usage information is sent to the cloud server, and the partition usage information is sent to the user terminal through the cloud server, so that the user terminal can display the partition usage information. The technical solution provided by the present application can detect the partition usage of the weighing tray, and then facilitate the use of several areas of the weighing tray to obtain the weight data of the items, thereby ensuring that the weight data of the items on the weighing tray is obtained more accurately.
[0035] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0037] Figure 1 A schematic diagram of a weighing tray is schematically shown.
[0038] Figure 2Schematic diagram of a weighing tray with a weight sensor.
[0039] Figure 3 A schematic diagram schematically shows a weight sensor and a central processing module.
[0040] Figure 4 A flow chart of a partition detection method for a weighing tray is schematically shown.
[0041] Figure 5 A flow chart for obtaining weight change data of each area of a weighing tray within a time threshold is schematically shown.
[0042] Figure 6 A flow chart for determining the zone usage of a weighing tray based on weight change data is schematically shown.
[0043] Figure 7 A diagram of a weighing tray working system is schematically shown.
[0044] Figure 8 A partition detection device for a weighing tray is schematically shown.
[0045] Fig. 9 An electronic device for implementing the above-mentioned partition detection method of the weighing tray is schematically shown.
[0046] Fig.10 A computer-readable storage medium for implementing the above-mentioned partition detection method of the weighing tray is schematically shown. DETAILED DESCRIPTION
[0047] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.
[0048] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the present application.
[0049] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices. The flowcharts shown in the accompanying drawings are merely exemplary and do not necessarily include all the contents and operations / steps, nor do they necessarily have to be executed in the order described. For example, some operations / steps may be further decomposed, while some operations / steps may be combined or partially combined, so the actual execution order may change according to the actual situation.
[0050] The present application provides a partition detection method for a weighing tray, which can be applied to electronic devices including but not limited to refrigerators, ovens, microwave ovens, etc. that can use a weighing tray. By applying this method, the partition usage of the weighing tray can be detected, and then the weight data of the items on the weighing tray can be obtained more accurately by using several areas of the weighing tray.
[0051] In a specific embodiment, a weighing tray 100 is provided, referring to Figure 1 As shown, the weighing tray 100 may include two areas, a partition 1 110 and a partition 2 120. Moreover, there are four weight sensors corresponding to a weight processing module under each area, such as Figure 2 Each weight processing module is responsible for processing the weight change data of the corresponding four weight sensors detected by the items in the area, and sending the partition number and weight change data to the central processing module. Figure 3 The central processing module is responsible for receiving the partition number and weight change data sent by each weight processing module. (In the subsequent embodiments, for the purpose of brief description, unless otherwise specified, the "weighing tray", "partition one" and "partition two" appearing in the text are all shown as examples of the weighing tray and the partition one and partition two contained therein, and should not limit the function and scope of use of this application.)
[0052] refer to Figure 4 As shown, the steps of the partition detection method of the weighing tray include:
[0053] Step S410: Determine a preset time threshold.
[0054] In a specific embodiment, the time threshold can be set according to user needs. For example, the user can set it to 200ms by pressing a button on the user interface associated with the weighing tray, and the weighing tray performs data processing through several modules, and finally displays 200ms on the user interface.
[0055] Step S420: Obtain weight change data of each area of the weighing tray within a time threshold.
[0056] In a specific embodiment, the weight change data can be detected by sensors under each area of the weighing tray. For example, the weight increase data generated by a user putting a 30g apple in the first partition can be detected by the sensor under the first partition.
[0057] Step S430: Determine the partition usage of the weighing tray according to the weight change data.
[0058] In a specific embodiment, the weight change data may include weight change information such as 30g, change mode information such as increase, change area information such as partition one, etc. The partition usage may be normal usage such as partition use, or abnormal usage such as partition use and then combined use, etc. For example, according to a specific weight change data, the partition usage of the weighing tray is partition use, and the partition one increases by 30g.
[0059] Step S440: generating partition usage information corresponding to the partition usage according to the partition usage;
[0060] In a specific embodiment, the partition usage information may include overall conditions such as partition usage, and may also include specific conditions such as partition number information, partition item type information, partition weight information, etc. For example, according to a specific partition usage condition, the corresponding partition usage information is 001, and 100g of apples is added.
[0061] Step S450: sending the partition usage information to the cloud server, and sending the partition usage information to the user terminal through the cloud server, so that the user terminal can display the partition usage information.
[0062] In a specific embodiment, the partition usage information sent to the cloud server and displayed on the user terminal may be inconsistent. For example, the partition usage information sent to the cloud server includes all available content, while the user terminal displays only part of the content; or some partition usage information is processed by the cloud server and then displayed on the user terminal.
[0063] refer to Figure 5 As shown, the steps of obtaining weight change data of each area of the weighing tray within a time threshold include:
[0064] Step S510: The weight change data of each area of the weighing tray within a time threshold is detected by the sensor under each area of the weighing tray.
[0065] In a specific embodiment, the weighing tray may have multiple zones, and a sensor is provided under each zone to detect whether the weight data has changed. For example, the sensor under zone one detects that the weight of the item in zone one increases by 30g within 200ms.
[0066] Step S520: Determine a weight change region where the weight of the weighing tray changes within a time threshold according to the weight change data.
[0067] In a specific embodiment, the weight change area can be obtained by determining the position of the sensor that detects the weight change data. For example, if a sensor detects that the weight change data of the item increases by 30g within 200ms, after determining that the sensor position is below the partition one, the weight change area is the partition one.
[0068] Step S530: Summarize the weight change data of several weight change areas to determine the weight change data of the items on the weighing tray that have undergone weight changes within a time threshold.
[0069] In a specific embodiment, if the weight data of multiple regions change within a time threshold, they can be classified according to the weight change mode, and the same type of data can be summed. For example, within 200ms, the first area increases by 30g, and the second area increases by 50g. Since both increase, the weighing tray increases by 80g.
[0070] refer to Figure 6 As shown, the steps of determining the partition usage of the weighing tray according to the weight change data include:
[0071] Step S610, determining the type of items on the weighing tray;
[0072] In a specific embodiment, the item type can be set according to the user's needs. For example, the user can set it to apples by pressing a button on the user interface associated with the weighing tray, and the apples are finally displayed on the user interface after data processing by several modules of the weighing tray.
[0073] Step S620: Determine the partition usage of the weighing tray according to the item type and weight change data.
[0074] In a specific embodiment, the item type can be set by the user, and the weight change data can be a series of data information obtained by detecting by sensors and processing by several modules, such as change mode information, and the partition usage can be obtained through the item type and several information of the weight change data. For example, the user sets the item type to apples, and the weight change data to increase 30g in partition 1, and the partition usage obtained is that partition 1 increases apples by 30g.
[0075] In a specific embodiment, determining the partition usage of the weighing tray according to the weight change data includes:
[0076] When it is detected that each partition of the weighing tray is used independently according to the weight change data, the partition use of each partition is determined. In this embodiment, it can be determined that each partition is used independently according to the change mode information contained in the weight change data, and then the partition use can be determined as the partition use. For example, according to the weight change data, it can be determined that each partition is used independently if the first partition increases and the second partition decreases, and the partition use is the partition use.
[0077] When it is detected according to the weight change data that the partitions of the weighing tray are combined for use, the combined use of the partitions is determined. In this embodiment, it can be detected according to the change mode information contained in the weight change data that the partitions are combined for use, and then the partition usage can be determined to be combined for use. For example, according to the weight change data, it is determined that both the first and second partitions are increased, and it can be determined that the partitions are combined for use, and the partition usage is combined for use.
[0078] In a specific embodiment, when it is detected that the weighing tray has been used in partitions and then combined, a conflict alarm message is generated and sent to the user terminal. In this embodiment, the weighing tray has been used in partitions and then combined, which means that both partitions have been used in partitions and then the two partitions are combined. The conflict alarm message can remind the user that the placement is wrong and that the partitions need to be used. For example, different items have been placed in partitions 1 and 2 for partition use, and then an item is placed and the two partitions are combined for use, and the user terminal can receive a reminder.
[0079] In a specific embodiment, when partitions are used, the partition use information generated for sending to the user terminal includes: each partition number, weight change data, and partition use mark. In this embodiment, each partition number can be automatically generated by the weighing tray and the user terminal can choose to hide it. The partition use mark can be in the form of an identifier at a preset position of the user terminal. For example, when apple 30g is placed in partition 1 for partition use, the user terminal displays (001) to add 30g of apples. (Wherein, 001 is the number of partition 1.)
[0080] In a specific embodiment, when merging zones, the partition usage information generated for sending to the user terminal includes: merging zone number, weight change data, merging zone usage flag. In this embodiment, the merging zone number is the same as the partition number principle, which will not be repeated. The merging zone usage flag is the same as the partition usage flag principle, which will not be repeated. For example, when 2 kg of watermelon is put into zone 1 and zone 2 for merging, the user terminal displays (000) to add 2 kg of watermelon. (Where 000 is the merging zone number.)
[0081] In a specific embodiment, when partitions have been used and then merged, conflict alarm information generated for sending to the user terminal includes: the number of each partition, weight change data, and a conflict alarm flag. In this embodiment, the number of each partition is the same as above and will not be repeated. The principle of the conflict alarm flag is the same as that of the partition use flag and will not be repeated; the only difference is the color of the mark displayed to the user terminal. For example, when apples have been placed in partition one for partition use and then 2kg of watermelons are placed in partition one and partition two, the user terminal displays (001) 30g of apples, 1kg of watermelons; (002) 1kg of watermelons. (Wherein, 001 is the number of partition one, and 002 is the number of partition two.)
[0082] In a specific embodiment, when it is detected that only one partition generates weight change data within a time threshold, it is determined that each partition of the weighing tray is used independently. In this embodiment, the weighing tray may include two or more partitions. For example, when it is detected that the first partition increases by 30g within 200ms, each partition of the weighing tray is used independently.
[0083] In a specific embodiment, when it is detected that at least two partitions generate weight change data within a time threshold, and the change directions of the weight change data are inconsistent, it is determined that each partition of the weighing tray is used independently. In this embodiment, the weighing tray can include two or more partitions, and the inconsistent change direction must include at least any two of the change directions: increase, decrease, and no change. For example, when it is detected that the first partition increases by 30g and the second partition decreases by 2kg within 200ms, each partition of the weighing tray is used independently.
[0084] In a specific embodiment, when at least two partitions generate weight change data within a detected time threshold, and the weight change data have the same change direction, it is determined that the partitions of the weighing tray are combined for use. In this embodiment, the weighing tray may include two or more partitions, and the change direction is consistent, which only includes either increase or decrease in the change direction. For example, when it is detected that the first partition increases by 30g and the second partition increases by 30g within 200ms, the partitions of the weighing tray are combined for use.
[0085] In a specific embodiment, reference Figure 7 As shown, a relatively complete weighing tray working system. The weighing tray 710 is connected to the refrigerator 720 through a communication module (Bluetooth), the refrigerator 710 is connected to the cloud server 730 through a communication module (Bluetooth), and the cloud server 730 is connected to the user terminal 740 through a communication module (Bluetooth).
[0086] In this embodiment, the specific working conditions may include:
[0087] 1. The user can set it to 200ms by pressing a button on the user interface associated with the weighing tray. After the weighing tray performs data processing in several modules, 200ms is finally displayed on the user interface.
[0088] Second, the sensor under the first partition detects that the weight of the item in the first partition increases by 30g within 200ms. The weight change area under the first partition is determined to be the first partition according to the sensor position. The weight change data is determined to be the weight change of the first partition according to the weight change area. (The weight change data here is used for each partition, and can also be used for the combined partition according to the actual situation.)
[0089] 3. The user can set the weight to apple by pressing a button on the user interface associated with the weighing tray. After the weighing tray performs data processing, the apple is finally displayed on the user interface. According to the item type selected by the user, the weight change data is that the first partition increases by 30g, and the partition usage of the weighing tray is that the first partition increases by 30g. (The partition usage here is obtained based on the weight change data when the partition is used, and it can also be obtained based on the weight change data when the partition is used together.) Subsequent weight changes in each partition are independent weight changes of each partition. (If the partition is used together, the subsequent weight changes in each partition are overall weight changes.)
[0090] 4. According to the partition usage, add 30g of apples to partition 1, and the generated partition usage information is 001 add 30g of apples. (The partition usage information here refers to the situation when the partition is used, and it can also be the situation when the partition is used.) (Wherein, 001 is the number of partition 1.)
[0091] 5. The partition usage information of adding 30g of apples to 001 is sent to the cloud server through the communication module, and the partition usage information of adding 30g of apples to 001 is sent to the user's mobile phone APP or refrigerator display module through the cloud server; the user can view the partition usage information of adding 30g of apples to (001) through the mobile phone or refrigerator.
[0092] 6. If it has been determined to be used in partitions through steps 2 and 3 and then determined to be used in a combined area through steps 2 and 3, a conflict alarm message will be generated in step 4 and sent to the user terminal in step 5 to remind the user.
[0093] In this embodiment, users do not need to define the name of the food type through the mobile phone, which is more suitable for novices and users who pursue simplicity, and improves the convenience of reminding users of food and food shelf life. (Wherein, 001 is the partition number.)
[0094] The technical solution of the present application determines a preset time threshold, obtains the weight change data of each area of the weighing tray within the time threshold, determines the partition usage of the weighing tray based on the weight change data; generates partition usage information corresponding to the partition usage based on the partition usage; sends the partition usage information to the cloud server, and sends the partition usage information to the user terminal through the cloud server, so that the user terminal can display the partition usage information. The technical solution provided by the present application can detect the partition usage of the weighing tray, thereby ensuring a more convenient reminder for the user.
[0095] The present application also provides a partition detection device for a weighing tray, referring to Figure 8 As shown, the partition detection device for the weighing tray may include a timing module 810, a collection module 820 and a processing module 830. Among them:
[0096] The timing module 810 is used to determine a preset time threshold;
[0097] The acquisition module 820 is used to obtain weight change data of items on the weighing tray that change in weight within a time threshold;
[0098] The processing module 830 is used to determine the partition usage of the weighing tray according to the weight change data;
[0099] The parsing module 840 is used to generate partition usage information corresponding to the partition usage according to the partition usage; and
[0100] The transmission module 850 is used to send the partition usage information to the cloud server, and send the partition usage information to the user terminal through the cloud server, so that the user terminal can display the partition usage information.
[0101] In an exemplary embodiment of the present application, the processing module is used to:
[0102] Determine the type of item on the weighing pallet;
[0103] Determine the partition usage of the weighing pallet based on the item type and weight change data.
[0104] In an exemplary embodiment of the present application, the processing module is used to:
[0105] When it is detected based on the weight change data that each partition of the weighing tray is used independently, determining the partition use of each partition;
[0106] When it is detected according to the weight change data that the partitions of the weighing tray are combined for use, the combined use of the partitions is determined.
[0107] In an exemplary embodiment of the present application, the processing module is used to:
[0108] When it is detected that the weighing tray has been used in partitions and then in combined areas, a conflict alarm message is generated and the conflict message is sent to the user terminal.
[0109] In an exemplary embodiment of the present application, the processing module is used to:
[0110] When only one partition generates weight change data within the time threshold, it is determined that each partition of the weighing tray is used independently;
[0111] When it is detected that at least two partitions generate weight change data within a time threshold and the change directions of the weight change data are inconsistent, it is determined that the partitions of the weighing tray are used independently.
[0112] In an exemplary embodiment of the present application, the processing module is used to:
[0113] When it is detected that at least two partitions generate weight change data within a time threshold and the change directions of the weight change data are consistent, it is determined that the partitions of the weighing tray are combined for use.
[0114] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0115] In addition, although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0116] The present application also provides an electronic device capable of implementing the above-mentioned partition detection method of the weighing tray, referring to Fig. 9 shown.
[0117] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".
[0118] Reference below Fig. 9 1 is used to describe an electronic device 900 according to this embodiment of the present invention. Fig. 9 The electronic device 900 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0119] refer to Fig. 9 As shown, the electronic device 900 is in the form of a general computing device. The components of the electronic device 900 may include but are not limited to: at least one processing unit 910, at least one storage unit 920, and a bus 930 connecting different system components (including the processing unit 910 and the storage unit 920).
[0120] The storage unit stores program codes, which can be executed by the processing unit 910, so that the processing unit 910 performs the steps of various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 910 can execute the reference Figure 4 Step S410 shown: determine a preset time threshold; step S420: obtain weight change data of each area of the weighing tray within the time threshold; step S430: determine the partition usage of the weighing tray based on the weight change data; step S440: generate partition usage information corresponding to the partition usage based on the partition usage; step S450: send the partition usage information to the cloud server, and send the partition usage information to the user terminal through the cloud server, so that the user terminal can display the partition usage information.
[0121] The storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 9201 and / or a cache storage unit 9202 , and may further include a read-only storage unit (ROM) 9203 .
[0122] The storage unit 920 may also include a program / utility 9204 having a set (at least one) of program modules 9205, such program modules 9205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0123] Bus 930 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0124] The electronic device 900 may also communicate with one or more external devices 1100 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a client to interact with the electronic device 900, and / or any device that enables the electronic device 900 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 950. Furthermore, the electronic device 900 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 960. Reference Fig. 9 As shown, the network adapter 960 communicates with other modules of the electronic device 900 via the bus 930. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0125] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution provided by the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation method of the present application.
[0126] The present application also provides a computer-readable storage medium, referring to Fig.10 shown.
[0127] A program product capable of implementing the above method of this specification is stored on a computer-readable storage medium. In some possible implementations, various aspects of the present invention may also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary implementations of the present invention described in the above "Exemplary Method" section of this specification.
[0128] refer to Fig.10As shown, a program product 1000 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0129] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0130] Computer readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0131] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0132] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the client computing device, partially on the client device, as a separate software package, partially on the client computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the client computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0133] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0134] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application. The specification and embodiments are to be regarded as exemplary only, and the true scope and spirit of the present application are indicated by the claims.
Claims
1. A partition detection method for a weighing tray, characterized in that: include: Determining a preset time threshold; Obtain weight change data of each area of the weighing tray within the time threshold; determining the article type of the article on the weighing tray; Determining the partition usage of the weighing tray according to the item type and the weight change data; When it is detected according to the weight change data that each partition of the weighing tray is used independently, the partition use of each partition is determined; wherein, when it is detected that only one partition generates the weight change data within a time threshold, it is determined that each partition of the weighing tray is used independently; when it is detected that at least two partitions generate the weight change data within the time threshold, and the change directions of the weight change data are inconsistent, it is determined that each partition of the weighing tray is used independently; When it is detected according to the weight change data that the partitions of the weighing tray are combined for use, determining the combined use of the partitions; wherein, when it is detected that at least two partitions generate the weight change data within the time threshold and the change directions of the weight change data are consistent, determining that the partitions of the weighing tray are combined for use; Generate partition usage information corresponding to the partition usage according to the partition usage, the partition usage information including the weight change data of each partition, and / or the number information of each partition, and / or the item type information of each partition; The partition usage information is sent to a cloud server, and the partition usage information is sent to a user terminal through the cloud server, so that the user terminal can display the partition usage information.
2. The partition detection method of the weighing tray according to claim 1 is characterized in that: The method further comprises: When it is detected that the weighing tray has been used in the partitioned manner and then used in the combined manner, conflict alarm information is generated and sent to the user terminal.
3. A partition detection device for a weighing tray, characterized in that: include: A timing module, used to determine a preset time threshold; A collection module, used for acquiring weight change data of the items on the weighing tray that have weight changes within the time threshold; a processing module, for determining the type of the items on the weighing tray; Determining the partition usage of the weighing tray according to the item type and the weight change data; When it is detected according to the weight change data that each partition of the weighing tray is used independently, the partition use of each partition is determined; wherein, when it is detected that only one partition generates the weight change data within a time threshold, it is determined that each partition of the weighing tray is used independently; when it is detected that at least two partitions generate the weight change data within the time threshold, and the change directions of the weight change data are inconsistent, it is determined that each partition of the weighing tray is used independently; When it is detected according to the weight change data that the partitions of the weighing tray are combined for use, determining the combined use of the partitions; wherein, when it is detected that at least two partitions generate the weight change data within the time threshold and the change directions of the weight change data are consistent, determining that the partitions of the weighing tray are combined for use; a parsing module, configured to generate partition usage information corresponding to the partition usage according to the partition usage, wherein the partition usage information includes the weight change data of each partition, and / or the number information of each partition, and / or the item type information of each partition; and The transmission module is used to send the partition usage information to the cloud server, and send the partition usage information to the user terminal through the cloud server, so that the user terminal can display the partition usage information.
4. An electronic device, characterized in that: include Processor; and A memory having computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by the processor, implement the partition detection method for a weighing tray according to any one of claims 1 to 2.
5. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the partition detection method of a weighing tray according to any one of claims 1 to 2 is implemented.
