Intelligent scale state detection method based on Internet of Things
By configuring the working conditions in the smart scale and real-time collection of identity tag signals, combined with the comparison of weighing sensor data, the problems of user identity identification and abnormal behavior monitoring in the smart scale are solved, and efficient abnormal event recognition and weighing accuracy are achieved, adapting to a variety of application scenarios.
Patent Information
- Application Number
- CN202510715035.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-08-15
AI Technical Summary
In the Internet of Things environment, during the weighing process of smart scales, how to effectively identify the user's identity and monitor the acquisition behavior of target objects, reduce the risk of human interference and abnormal acquisition, and improve the recognition rate of abnormal events when picking and putting up.
By configuring the first working condition and the second working condition, the identity tag signal is collected in real time using the sensing element to judge the validity of the identity tag, control the status switching of the smart scale, and obtain and compare data through the weighing sensor to identify the accuracy difference value to make an alarm prompt.
Realize the instant identity recognition and abnormal behavior detection of smart scales, reduce the risk of error acquisition, ensure the accuracy of weighing results and the flexibility of the system, reduce human errors, and adapt to complex smart application scenarios.
Smart Images

Figure CN120489315A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an Internet of Things (IoT) smart system, and in particular to a method for detecting the state of a smart scale based on the IoT. Background Art
[0002] With the rapid development of e-commerce, logistics, and intelligent business services, accurate weighing management is becoming a critical factor influencing cost control and operational efficiency. Smart scales, integrating advanced sensor and IoT technologies, are beginning to appear on the market. These scales serve as a platform for placing objects (such as food or other items) and calculate how much a user has taken by measuring weight changes, replacing traditional weighing equipment and improving measurement management efficiency.
[0003] In the actual use of smart scales, there are some situations that need to be improved. First of all, when smart scales mainly record weight changes, they usually need to verify the user's operating authority. When multiple users pick up the target on the same smart scale, the smart scale is also easily interfered with by human factors. On the one hand, if there is negligence when multiple users pick up the target, unauthorized users may also take the target; on the other hand, when multiple users pick up the target on the same smart scale, abnormal replacement may occur and it may not be recognized, resulting in damage or loss of the target. More importantly, the process of picking up the target may involve continuous behavior, and there may be risky operations such as picking up and then putting it back, which cannot be effectively monitored. Therefore, how to obtain effective monitoring and management methods in the environment of the Internet of Things to reduce the interference caused by human factors and ensure that abnormal behavior in the picking process can be identified is worth studying. Summary of the Invention
[0004] The purpose of the present invention is to provide a smart scale status detection method based on the Internet of Things, in order to detect abnormalities in the smart scale status, obtain the situation of taking the target object on the smart scale, and improve the recognition rate of abnormal picking and placing events.
[0005] The embodiment of the present invention provides a working condition configuration of a smart scale, which obtains a curve graph and uses a host computer to analyze the curve graph to identify abnormal behavior during the user's picking process.
[0006] The embodiment of the present invention provides that when multiple smart scales are used in conjunction, permission management can be performed by a host computer. By using the smart scales in conjunction, the picking method of the entire target object picking process is restricted, reducing the risks associated with wrong picking or forced picking.
[0007] To address the aforementioned technical issues, the present invention employs the following technical solution: a method for detecting the status of a smart scale based on the Internet of Things (IoT), used to control weighing timing in conjunction with a smart scale, comprising the following steps: S100: configuring several smart scales, placing a target object on each smart scale, and establishing signal exchange between the smart scales and a host computer. The smart scales and the host computer interact via a network. S200: acquiring anchor data for the target object, writing the device code corresponding to each smart scale into the anchor data; the anchor data includes mass data of the target object placed on the smart scale. S300: configuring a first operating condition, placing the smart scale in a standby state in the first operating condition and physically isolating the target object. Simultaneously, the smart scale's sensing element is activated in the first operating condition, collecting signals from an identity tag in real time and determining whether the tag is valid. If the sensing element detects the identity tag and determines it is valid, the smart scale releases the target object. If the sensing element detects the identity tag and determines it is invalid, the smart scale maintains isolation of the target object and executes S400.
[0008] At step S400, the smart scale is adjusted to the second operating mode. The smart scale feeds back information about the invalid identity tag to the host computer. The smart scale immediately acquires mass data of the current target object through the load cell, obtaining first data. The load cell is then controlled to acquire multiple second data points in a time-sharing manner under the second operating mode. The second data points are compared with the first data points to obtain multiple precision differences. A determination is made as to whether the precision differences are within the load cell's allowable range, which is typically defined by a preset deviation. If the allowable range is exceeded, the smart scale issues an alarm.
[0009] The technical concept is as follows: by configuring a first operating condition, the smart scale activates the identification tag sensing in real time under the first operating condition. If the smart scale does not sense the identification tag, the smart scale is in standby mode and isolates the target object. After sensing the identification tag, the smart scale determines whether the identification tag is valid. When the smart scale determines that the identification tag is valid, the smart scale is in an effective state and releases the target object. When the smart scale determines that the identification tag is invalid, the smart scale is in an invalid state and maintains the isolation of the target object. Under the second operating condition, the smart scale feeds the identification tag information back to the host computer, obtains the current raw quality data as the first data, and collects the quality data in a time-sharing manner to obtain a number of second data. The second data is compared with the first data to obtain a number of precision differences, and a determination is made as to whether the precision differences are within the allowable range of the weighing sensor. The allowable range is generally a preset deviation. If the preset deviation is exceeded, the smart scale will issue an alarm.
[0010] Preferably, when the smart scale obtains a valid identity tag, the smart scale further includes the following steps: S400, when the smart scale obtains a valid identity tag, the smart scale obtains quality data during an identification cycle of the identity tag; and records the quality data at the beginning and end of the identification cycle as third data and fourth data, respectively. S500, calculates the quality difference between the third data and the fourth data and feeds it back to the host computer.
[0011] A further technical solution is that the smart scale sets a first window period at the beginning of the identification cycle. The first window period is the time period from the beginning of the identification cycle to the time when the smart scale completes the opening of the target object. During the first window period, the smart scale will obtain quality data in a time series and make a first curve graph. The zero point number is obtained through the first curve graph and used as the third data.
[0012] A further technical solution is that the smart scale sets a second window period after the recognition cycle is completed. The second window period is the time period from the end of the recognition cycle to the completion of the target object isolation. The smart scale will obtain quality data during the second window period and make a second curve graph according to the time series; obtain the zero point number through the second curve graph and use it as the fourth data.
[0013] Preferably, the smart scale determines whether the identity tag is valid, comprising the following steps: S301, the host computer establishes an authorization list; wherein the authorization list contains a number of unique ID codes, each ID code corresponding to at least one identity tag. S302, the host computer obtains the device health status of all smart scales, and sets the smart scales in a healthy state to the first operating state. S303, the smart scale determines whether the identity tag corresponds to the ID code in the authorization list; if the identity tag does not have a corresponding ID code, the identity tag is in an invalid state; if the identity tag has a corresponding ID code, the identity tag is in a valid state.
[0014] A further technical solution is that when the host computer creates an authorization list, it performs a deauthorization filter and a disable filter on the ID codes in the authorization list. During the disable filter, the host computer marks the ID codes with restricted access in the authorization list, and the smart scale is configured to filter out the restricted ID codes when traversing the authorization list. During the permission filter, the host computer removes the ID codes with limited access from the authorization list and creates an access list.
[0015] A further technical solution is that the steps of the permission screening are as follows: determine the ID codes that allow local access and obtain a quantity value N; N is an integer, and N≥1; the host computer performs a guidance mark on the ID codes that allow local access in the authorization list to obtain a guidance code; extract N guidance codes from the authorization list, and each guidance code separately adds a device code to generate N permission instructions; wherein the permission instruction contains a guidance code and at least one device code information. Send the permission instruction to the corresponding smart scale; the smart scale obtains the device code of the permission instruction and establishes an access list; when the identity tag does not have a corresponding ID code in the authorization list, determine whether the ID code of the identity tag exists in the access list. If the ID code of the identity tag exists in the access list, the smart scale is in a valid state; if the ID code of the identity tag does not exist in the access list, the smart scale is in an invalid state.
[0016] A further technical solution is that the quality difference between the third data and the fourth data is the consumption value; when the consumption value is positive, the smart scale sends a calculation instruction to the host computer, and the host computer is used to record the consumption value and device code corresponding to the ID code in the authorization list; when the consumption value is negative, the smart scale stops working and sends feedback information to the host computer, and the feedback information includes the most recently obtained ID code, and the host computer marks the ID code for restriction from the authorization list.
[0017] Preferably, in step S100, determining the operating status of all smart scales includes the following steps: S101, the host computer obtains quality data of all smart scales. S102, the host computer presets verification data, where the verification data is the quality data of the smart scale when it is unloaded. S103, the host computer compares the verification data with the quality data and determines the status of the smart scale; if the quality data is greater than the verification data, the smart scale is in a standby state; if the quality data is less than or equal to the verification data, the smart scale is in an idle state.
[0018] Compared with the prior art, the present invention has at least one of the following beneficial effects:
[0019] The present invention collects the signal of the identity tag in real time through the sensing element, and the smart scale can instantly identify the identity of the user who requests to obtain the target object, ensuring the permissibility of the weighing process. Under the first working condition, the target object is physically isolated from the smart scale to prevent it from being taken when the identity tag is invalid, thereby reducing the risk of wrong taking and abnormal taking. By obtaining the first data and the second data and comparing them, the working state of the weighing sensor can be detected in real time to ensure the accuracy of the obtained result of the amount taken, and to detect abnormal taking in time. According to different working conditions, the smart scale can adjust its working state, thereby improving the adaptability and flexibility of the system. In addition, this technology can reduce human risks, and its automated identity authentication and data processing process reduces the intervention of manual operations and reduces the possibility of human errors. From the perspective of applicability, the present invention can be used in conjunction with other Internet of Things devices and systems to form a more complex intelligent detection process to meet the development needs of future smart access scenarios.
[0020] The present invention can utilize a weighing sensor to collect mass data of a target object in real time, especially under the second working condition. By acquiring the second data multiple times, the target object that may have a risk of change can be monitored in real time. The second data is compared with the first data to obtain multiple precision differences. The precision differences are compared with the allowable range of the weighing sensor to ensure the credibility of the weighing results. If a large deviation is found, an alarm prompt is issued.
[0021] The present invention also establishes recognition logic for the first and second window periods to capture the entire dynamic removal process, facilitating later analysis of the entire removal behavior, such as initial removal amount, return amount, and frequency of removal. At the same time, each smart scale establishes a separate authorization list. Through permission screening and disable screening, each smart scale limits access permissions for different ID codes. Especially when multiple smart scales are used in conjunction, the host computer uniformly monitors all smart scales, allowing dynamic adjustment of each smart scale's authorization list. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a schematic diagram of the process of the present invention.
[0023] Figure 2 This is a schematic diagram of the structure of a smart scale according to an embodiment.
[0024] Figure 3 This is a schematic diagram of the orientation of a smart scale according to an embodiment.
[0025] Figure 4 Schematic diagram of the location of the sensing components of the smart scale. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0027] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are intended only to explain relative positional relationships and movement conditions within a specific operating state. If the specific posture changes, the directional indication will also change accordingly. In the present invention, unless otherwise specified or limited, the term "connection" and the like should be understood broadly. For example, "connection" can refer to an electrical signal connection or a signal connection; it can also refer to the internal connection between two components or the interaction between two components, unless otherwise specified. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on the specific circumstances.
[0028] If there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of such features. In addition, the meaning of "and / or" appearing throughout the text includes three parallel schemes. Taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme in which A and B are satisfied at the same time. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is mutually contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0029] One embodiment of the present invention is a method for detecting the state of a smart scale based on the Internet of Things, which is used to control weighing timing in conjunction with a smart scale. The method comprises the following steps:
[0030] S100: Configure several smart scales and place a target on each. Signals are then exchanged between the smart scales and a host computer. The smart scales can be existing commercial products. In principle, the smart scales include an electrically controlled arm mechanism that opens and closes to block the target on the scales. The smart scale control unit is connected to the host computer. The host computer sends start and stop signals to the smart scale control unit, which then controls the operation of the various components of the smart scale.
[0031] S200: Acquire anchor data for the target object and write the device code corresponding to each smart scale into the anchor data. The anchor data includes mass data of the target object placed on the smart scale. The smart scale collects data after the target object is placed as anchor data. The anchor data is then appended with the device code and sent to the host computer for unified recording. The device code uniquely corresponds to the smart scale.
[0032] S300, configure the first working condition, put the smart scale into standby mode under the first working condition and physically isolate the target object, and at the same time, turn on the sensing element of the smart scale under the first working condition. When the sensing element of the smart scale is turned on under the first working condition, the sensing element of the smart scale collects the approaching identity tag and obtains the signal of the identity tag. When the sensing element of the smart scale obtains the identity tag signal, the sensing element collects the identity tag signal in real time and determines whether the identity tag is valid.
[0033] When the sensor element detects the identity tag and determines it is valid, the smart scale opens the target object. The valid state means that when the sensor element recognizes a valid identity tag and confirms that the identity tag has access permission, it sends a signal to the control unit of the rotating arm mechanism, which then moves the rotating arm mechanism to open the target object and allow the user to pick it up.
[0034] When the sensing element obtains the identity tag and determines that it is invalid, the smart scale keeps isolating the target object and executes S400.
[0035] For reference, consider whether the smart scale's arm mechanism opens to block the target object depending on the access state. If the smart scale fails to recognize a valid ID tag, the arm mechanism defaults to the first operating state, maintaining isolation of the target object and protecting the food from external contamination or unauthorized access.
[0036] At step S400, considering the potential risk of an invalid identity tag, the smart scale is adjusted to a second operating mode. The smart scale transmits information related to the invalid identity tag to a host computer. The smart scale immediately acquires mass data of the current target object via a weighing sensor, obtaining first data. The smart scale then controls the weighing sensor to acquire multiple second data in a time-sharing manner under the second operating mode.
[0037] The second data is compared with the first data to obtain several precision differences. The accuracy differences are then determined to be within the allowable range of the weighing sensor, which is a preset deviation. If the allowable range is exceeded, the smart scale will issue an alarm. When acquiring specific user information through the sensing element, the weight change of the container must also be captured by the weighing unit in real time. Generally speaking, if the sensing element fails to successfully acquire user information, there may be a risk of violent acquisition. Therefore, the weighing unit needs to collect and obtain several second data in a time-sharing manner under the second working condition. This second data is used to monitor weight changes on the smart scale to promptly identify unauthorized removal.
[0038] Among them, after the identity tag is invalid, there may be forced or tentative picking actions by the user. Therefore, the second data is the quality data that needs to be collected in time under the second working condition. The smart scale collects the mass changes of the target object on the smart scale in time to identify whether the user has made abnormal picking actions.
[0039] For example, abnormal handling can also cause changes in the mass data of the target object. Using the first data as a baseline, the second data collected in time-sharing is used for comparison to determine the mass change during the abnormal handling process, which is represented by the precision difference. If the precision difference is within the allowable range of the weighing sensor (a deviation condition can be preset based on the accuracy differences caused by the weighing sensor itself), it is likely due to environmental impact on the weighing sensor caused by touching the target object and is not considered abnormal handling. Conversely, if the precision difference is outside the preset deviation of the weighing sensor, it is likely an abnormal handling, and the smart scale will issue an alarm. It may also be due to load cell damage or other conditions.
[0040] Based on the above embodiment, one embodiment of the present invention is that the structure of the smart scale used in the present invention is referenced to Figure 1 and Figure 2As shown, the smart scale includes a carrier 1, which is primarily used to facilitate device installation and ensure the relative positioning of components. A weighing unit is mounted on the carrier 1, upon which a carrying container is placed. The weighing unit is a conventional weight sensor that detects the weight of the carrying container in real time, thereby detecting changes in the container's weight. The smart scale also includes a rotating arm mechanism 2 and a flap 3. The rotating arm mechanism 2 is mounted on the carrier 1. The flap 3 is connected to the movable end of the rotating arm mechanism 2, and the rotating arm mechanism 2 drives the flap 3 to flip. The rotating arm mechanism 2 is fixed to the carrier 1 and connected to the movable end of the rotating arm mechanism 2 via the flap 3. Rotation of the movable end of the rotating arm mechanism 2 drives the flap 3 to move, thereby enabling the flap 3 to cover or unlock the carrying container. The smart scale also includes a sensing element 4, which can be a commercially available product and can be selected based on the desired identification target. The flap 3 can cover the carrying container in two main ways: first, the flap 3 can completely cover / obstruct the carrying container. On the other hand, flap 3 only partially blocks the container. When partially blocking the container, based on the user's handling habits, there is typically a path between the container and the user for items to be retrieved, and flap 3 needs to block this path. The arm mechanism 2 can be a conventional travel mechanism and linkage mechanism or other electronically controlled device that allows for the movement of flap 3. Flap 3 can be used to block and unlock the container before and after the user reaches for it.
[0041] Among them, the sensing element 4 can be a face recognition, and the user stands in the area corresponding to the sensing element 4 for identification. The sensing element 4 can call the database to obtain user information, and after reading the user data, the flap 3 is allowed to be opened for picking up. For example, the sensing element can also be an RFID sensing element, and the user information is read by placing an NFC card close to the sensing element 4. After the reading is completed, the flap 3 is allowed to be opened for picking up. For example, the sensing element can also be a code reader, and the sensing element scans the mobile phone or printed QR code / barcode presented by the user. After reading the user information, the flap 3 is allowed to be opened for picking up. Of course, the sensing element is also allowed to use other existing methods for identity recognition, which will not be elaborated here.
[0042] Considering that the sensing element 4 is installed on the carrier 1, the sensing element 4 is connected to the control unit of the arm mechanism 2 by signal; the sensing element 4 sends a signal to the control unit of the arm mechanism 2. The arm mechanism 2 responds to the authorization signal from the sensing element 4, and only allows one user information at a time through the sensing element 4 to effectively prevent multiple users from taking things from the carrying container at the same time, thereby effectively managing the order of taking things and reducing confusion. When the sensing element 4 fails to recognize a valid identity tag, the arm mechanism 2 drives the flap 3 to move to the lower limit position, and the bottom of the flap 3 approaches the weighing unit and blocks the outside of the carrying container. At this time, the flap 3 blocks the carrying container to prevent taking, thereby avoiding unauthorized taking behavior.
[0043] Based on the above embodiment, another embodiment of the present invention is that when the smart scale obtains the identity tag, it also includes the following steps: when the smart scale confirms that the obtained identity tag is valid, the smart scale establishes an identification cycle, and the weighing sensor of the smart scale collects quality data in real time during the identification cycle; the quality data at the beginning and end of the identification cycle are recorded as third data and fourth data respectively; and the quality difference between the third data and the fourth data is calculated and fed back to the host computer.
[0044] Among them, the recognition cycle set by the weighing sensor is a reasonable time range for picking up. By obtaining the quality data at the beginning and end of the recognition cycle and calculating the quality difference between the third data and the fourth data, the weight and time of one pick-up can be obtained. The relevant data is uploaded to the host computer, which can analyze the user's habits. At the same time, after the recognition cycle is completed, the arm mechanism of the smart scale needs to re-block the target object. It should be noted that during the recognition cycle, the sensing element needs to collect the identity tag in real time. When the sensing element detects that the identity tag is away, the recognition cycle should be terminated immediately, and the smart scale will re-control the arm mechanism to block the target object.
[0045] Furthermore, the smart scale sets a first window period at the beginning of the recognition cycle. The first window period is the time period from the start of the recognition cycle to the time the smart scale completes the opening of the target object. During the first window period, the smart scale generates a first curve graph based on the time series of the acquired quality data. The zero point number is obtained from the first curve graph and used as the third data. The first window period serves as the time for picking up the target object. The first window period typically lasts for more than 10 seconds, and the user typically continuously picks up the target object on the smart scale during the first window period.
[0046] The third data is a zero point number obtained through the first curve graph, and the zero point number is a starting point parameter of the first curve graph. Therefore, the third parameter usually represents a weighing reference of the identification cycle.
[0047] On the one hand, since the first curve graph is typically decreasing, it can be used to identify anomalies in the process. When the curve graph shows non-decreasing behavior, the cause of the non-decreasing behavior can be determined by analyzing the non-decreasing interval of the first curve graph and the fluctuations within the non-decreasing interval. When the non-decreasing interval of the first curve graph is small, it is usually a normal fluctuation in the picking and placing process. When the non-decreasing interval of the first curve graph is large or there are continuous non-decreasing areas, it may be that the user has taken something and then returned it, which should be considered an abnormal situation. The smart scale uploads data to the host computer, which then issues an alarm.
[0048] On the other hand, plotting the quality data collected during the recognition cycle into a chronological graph can intuitively display the real-time changes in the weight of the target object during the picking process. The direction of the graph can be used to determine the degree of weight change during the picking process, and thus the trend of the graph can be used to help analyze the trend of weight change. This helps staff use the graph to determine the user's picking method of the target object during the first window period, which is conducive to planning the picking situation of the target object later. For example, the frequency of continuous picking by the user and the amount picked up each time can be obtained to determine the user's preference for the target object.
[0049] If necessary, the host computer can also set an expected value, which represents the single-time picking amount of the target object. Since the first window period is a time period, there may be multiple or continuous picking. The single picking amount is calculated through a curve chart, the single picking amount is averaged, and the result is compared with the expected value. It can be determined whether the single picking amount of the user in the identification period reaches the expected value.
[0050] Furthermore, the smart scale sets a second window period after the recognition cycle is completed. The second window period is the time period from the end of the recognition cycle to the completion of the target object isolation. During the second window period, the smart scale obtains mass data and generates a second curve graph in a time series. The zero point number is obtained from the second curve graph and used as the fourth data. The second curve graph is similar to the first curve graph, but the second curve graph is mainly used for monitoring during the second window period. The fourth data is the starting point parameter of the second curve graph. The fourth data represents the baseline weight after the user picks up the object during the recognition cycle.
[0051] Based on the above embodiment, another embodiment of the present invention provides a smart scale that determines whether an identity tag is valid, including the following steps: S301: The host computer establishes an authorization list; wherein the authorization list includes a plurality of unique ID codes, each of which corresponds to at least one identity tag. By establishing the authorization list, user permissions can be set, allowing different users to access different objects on the smart scale in a targeted manner.
[0052] In step S302, the host computer obtains the health status of all smart scales and sets healthy smart scales to the first operating state. The host computer obtains the operating status of all smart scales so that smart scales that lack target objects can be temporarily shut down or stopped to reduce energy consumption and computing resources. Healthy smart scales are set to the first operating state.
[0053] S303: The smart scale determines whether the identity tag corresponds to an ID code in the authorization list. If the identity tag does not have a corresponding ID code, the identity tag is invalid. If the identity tag does have a corresponding ID code, the identity tag is valid. When the smart scale recognizes the identity tag under the first operating condition, it determines whether the identity tag corresponds to an ID code in the authorization list. If the identity tag does not have a corresponding ID code, the smart scale is invalid. If the identity tag does have a corresponding ID code, the smart scale is valid.
[0054] A further technical solution is that when the host computer establishes the authorization list, the host computer performs deauthorization screening and disablement screening on the ID codes in the authorization list.
[0055] When filtering is disabled, the host computer marks restricted ID codes in the authorization list. The smart scale then filters out restricted ID codes when traversing the authorization list. By disabling filtering, permissions for a specific ID code can be disabled, preventing the user with that ID code from accessing the target object. This method can be configured with a time period to limit the access time for certain ID codes. If an ID code exceeds the set access time, the smart scale cannot be used to access the target object.
[0056] During permission screening, the host computer removes the ID code with limited access from the authorization list and creates an access list. This permission screening can be used to limit the ID code's eligibility for use on different smart scales; it is often used to manage permissions by category. For example, permission screening can restrict certain users to only accessing and placing specific objects.
[0057] For reference, when the target object is food, permission screening can be used to manage access to specific ID codes, preventing people holding that ID code from taking unnecessary food during the access process. For example, restricting patients from taking restricted food.
[0058] Furthermore, the permission screening step is as follows: S211, determining the ID codes that are allowed partial access and obtaining a number N; N is an integer, and N ≥ 1. The user ID codes that are allowed to access the smart scale under certain specific circumstances (such as a specific time period or specific device) are determined. This step is typically performed by using a host computer to scan the authorization list and obtain the ID codes that can access the smart scale under certain conditions.
[0059] In step S212, the host computer marks the ID codes in the authorization list that allow local access, obtaining a guidance code. The host computer generates a unique guidance code for each of the selected ID codes, facilitating the generation and issuance of subsequent permission instructions. The host computer may generate the guidance code using an existing encoding method, such as by adding a prefix or suffix.
[0060] S213, extracting N guidance codes from the authorization list, and adding a device code to each guidance code to generate N permission instructions, wherein the permission instruction includes a guidance code and at least one device code information.
[0061] For example, the authorization list obtains ID code N as 3, and the host computer determines it as the ID code that allows local access in the authorization list, and obtains the following ID codes: {USER00, Zhang San}, {USER002, Li Si}, {USER004, Wang Wu}.
[0062] Generate a guide code by adding the prefix DIR to the ID code, such as {DIR_USER00, Zhang San}, {DIR_USER002, Li Si}, {DIR_USER004, Wang Wu};
[0063] Extract N guidance codes from the authorization list, smart scale device codes {DEV1, DEV1, DEV1...DEVN}, pair each guidance code with a device code, and generate an authorization instruction, wherein the authorization instruction at least makes each guidance code correspond to more than one device code.
[0064] S214: The permission instruction is issued to the corresponding smart scale. The smart scale obtains the device code of the permission instruction and establishes an access list. If the identity tag does not have a corresponding ID code in the authorization list, it is determined whether the identity tag's ID code is in the access list. If the identity tag's ID code is in the access list, the smart scale is in a valid state. If the identity tag's ID code is not in the access list, the smart scale is in an invalid state.
[0065] Based on the above embodiment, another embodiment of the present invention is that the difference between the third and fourth data quality values is a consumption value. When the consumption value is positive, the smart scale sends a calculation instruction to a host computer, which records the consumption value and device code corresponding to the ID code in an authorization list. When the consumption value is negative, the smart scale stops operating and sends feedback information to the host computer, including the most recently acquired ID code. The host computer then marks the ID code as restricted from the authorization list.
[0066] Based on the above embodiment, another embodiment of the present invention is that before executing S200, the detection method further includes determining the working status of all smart scales, specifically including the following steps:
[0067] Step 101: The host computer obtains the quality data of all smart scales.
[0068] Step 102: The host computer presets verification data, which is the mass data of the smart scale when it is not loaded.
[0069] In step 103, the host computer compares the verification data with the quality data and determines the state of the smart scale. If the quality data is greater than the verification data, the smart scale is in a standby state. If the quality data is less than or equal to the verification data, the smart scale is in an idle state.
[0070] Based on the above embodiment, one embodiment of the present invention is that the carrier 1 includes a base 5 and an auxiliary frame 6, the auxiliary frame 6 is set up on one side of the base 5, the weighing unit is placed on the base 5, the tumbler mechanism 2 is set on the auxiliary frame 6, and there is a height difference between the tumbler mechanism 2 and the base 5. The tumbler mechanism 2 is supported by the auxiliary frame 6, and the auxiliary frame 6 extends above the base 5. By ensuring the height difference between the tumbler mechanism 2 and the base 5, the height difference is utilized to meet the placement of the weighing unit and the carrying container. Objectively speaking, the greater the height difference, the greater the upper limit of the volume of the carrying container that can be placed. More importantly, establishing the height difference can ensure that the tumbler mechanism 2 is located above or to the side of the carrying container, avoiding the tumbler mechanism 2 from directly interfering with the weighing unit or the carrying container on the base 5.
[0071] Based on the above embodiment, one embodiment of the present invention is that a contact switch 7 is provided on the auxiliary frame 6, and the contact switch 7 is fixed on the auxiliary frame 6 and corresponds to the moving path of the flap 3; at the same time, the contact point of the contact switch 7 faces the flap 3. The contact switch 7 corresponds to the upper limit position of the flap 3, and the contact switch 7 is used to contact the outer wall of the flap 3 and send a signal to the control unit of the arm mechanism 2, and the arm mechanism 2 control unit controls the arm mechanism 2 to stop. When the flap 3 moves to the upper limit of the stroke, the outer wall of the flap 3 comes into physical contact with the contact switch 7, and the contact causes the contact point of the contact switch 7 to change, so that the contact switch 7 sends a signal to the control unit of the arm mechanism 2. Subsequently, the control unit of the arm mechanism 2 stops the arm mechanism 2 from further driving the flap 3, so that the flap 3 stays in the appropriate position.
[0072] Based on the above embodiments, one embodiment of the present invention is to consider the signal of the contact switch 7 as a feedback signal and limit the flap 3 to stop relatively stably at the set position. Since the flap 3 starts and stops under the influence of the rotating arm mechanism 2, it is easy to shake under the action of inertia, which may cause the contact switch 7 to rebound and cause more than two collision risks. In order to reduce this risk, the contact switch 7 is provided with a first magnetic member, and the flap 3 is provided with a second magnetic member corresponding to the first magnetic member. The first magnetic member and the second magnetic member are magnetically matched. Magnetic matching is performed by the first magnetic member and the second magnetic member. On the one hand, the stability of the flap 3 stopping at the set position can be improved. On the other hand, the magnetic matching method can avoid the risk of secondary collision caused by the reaction force after the contact switch 7 and the flap 3 come into contact.
[0073] Based on the above embodiment, one embodiment of the present invention is that the above-mentioned rotating arm mechanisms 2 are two, and the rotating arm mechanisms 2 are symmetrically arranged on both sides of the carrier 1. The above-mentioned flap 3 is placed between the two rotating arm mechanisms 2, and the rotating arm mechanisms 2 synchronously drive the flap 3 to move. The two rotating arm mechanisms 2 support the flap 3 on both sides, so that during the movement of the flap 3, as long as the consistency of the two rotating arm mechanisms 2 is maintained, the flap 3 can be in a more stable state.
[0074] Based on the above embodiments, one embodiment of the present invention is that the material of the flip plate 3 is generally acrylic, so as to facilitate the display or observation of dishes on the smart scale. On the basis of using acrylic, the flip plate 3 has a certain toughness. Therefore, during the synchronous start-up process of the rotating arm mechanism 2, the stress fluctuation of the flip plate 3 caused by the starting deviation can be effectively overcome by the toughness of the acrylic.
[0075] The auxiliary frame 6 includes a first bracket 601 and a second bracket 602. The first bracket 601 forms a height base. The second bracket 602 is placed on both sides of the first bracket 601. The pivot mechanism 2 is mounted on the second bracket 602 via the second bracket 602 on both sides of the first bracket 601. The first bracket 601 is connected to the base 5, and the second bracket 602 provides a stable support position for the installation of the pivot mechanism 2. Furthermore, by placing the second bracket 602 on both sides of the first bracket 601, the pivot mechanism 2 on the second bracket 602 does not directly obstruct the weighing unit on the base 5. At the same time, a reasonable working distance is maintained between the pivot mechanism 2 and the weighing unit. The first bracket 601 provides good support on the base 5, while the second bracket 602 is symmetrically arranged on the first bracket 601. This ensures that the auxiliary frame 6 has a good center of gravity distribution, preventing significant center of gravity changes when the flap 3 moves.
[0076] Based on the above embodiment, one embodiment of the present invention is that the second bracket 602 is L-shaped and includes a horizontal frame 603 and a vertical frame 604. The front end of the horizontal frame 603 is connected to the first bracket 601, and the vertical frame 604 is connected to the rear end of the horizontal frame 603. The spacing between the vertical frames 604 of two adjacent second brackets 602 is greater than or equal to the lateral dimension of the weighing unit. The horizontal frame 603 increases the spacing between the vertical frames 604, thereby reserving sufficient space for placing the carrying container on the weighing unit. Due to the variable spacing between the vertical frames 604, on the one hand, the spacing between the vertical frames 604 ensures that the weighing unit has sufficient space during installation, avoiding spatial interference and installation difficulties. On the other hand, the spacing between the vertical frames 604 can extend the length of the flap 3, thereby providing a better field of view for the user when taking food from the carrying container, making it easier to observe the food on the carrying container.
[0077] To better maintain the stability of the flap 3 during movement, based on the above embodiment, another embodiment of the invention is that the flap 3 includes a first plate 301 and a second plate 302, with both ends of the first plate 301 connected to the rotating arm mechanism 2. By connecting the two ends of the first plate 301 to the rotating arm mechanism 2, the flap 3 has good stability between the vertical frames 604. It should be noted that the connection between the first plate 301 and the rotating arm mechanism 2 is mainly a detachable connection, such as a bolt connection, an interlocking connection, etc.
[0078] The second plate 302 is connected to the first plate 301, shielding the outside of the container. The second plate 302 and the first plate 301 may be spliced or integrally formed. The second plate 302 moves with the first plate 301, shielding the outside of the container. This reduces or blocks the effects of saliva, dust, or other external factors on the food in the container, while also preventing unauthorized users from accessing the food.
[0079] For reference, by placing the second plate 302 on the side of the first plate 301, the first plate 301 more intuitively forms a clear visual and physical boundary, allowing users to clearly know where the accessible area is when taking the items. This can provide a certain sense of order, especially in self-service or unattended situations.
[0080] Based on the above embodiment, another embodiment of the invention is that the arm mechanism 2 includes a housing 201, a crank mechanism 202, and a drive unit 203. The crank mechanism 202 is disposed within the housing 201. The crank mechanism 202 is a conventional crank structure. The drive unit 203 applies pressure to one end of the crank mechanism 202, driving the other end of the crank mechanism 202 to perform a rocking motion. The crank mechanism 202 is already known and comes in many forms, so a detailed description is omitted. In principle, any existing crank mechanism 202 can adjust the end movement trajectory and speed by changing the length and mounting angle of the crank. Furthermore, the placement of the crank mechanism 202 within the housing 201 significantly reduces space usage and prevents the crank mechanism 202 from becoming stuck due to environmental influences. The crank mechanism 202 is connected to the flap 3. The drive unit 203 is positioned on one side of the housing 201 and connected to the crank mechanism 202. The drive unit 203 drives the flap 3 to move via the crank mechanism 202. Among them, the driving unit 203 can be an existing forward and reverse motor, or it can be a pneumatic smart scale or other types of driving components. The driving unit 203 is connected to one end of the crank mechanism 202, and the flip plate 3 is connected to the other end of the crank mechanism 202. The crank mechanism 202 is used to convert the rotational motion of the driving unit 203 into the left and right swinging of the flip plate 3, so as to realize the flip plate 3 moving away from or close to the weighing unit.
[0081] Based on the above embodiment, another embodiment of the invention is that a display screen 9 is provided at the upper end of the auxiliary frame 6 , and the display screen 9 is connected to the weighing unit signal, and the weight parameters of the weighing unit are displayed on the display screen 9 .
[0082] Among them, the display screen 9 is an existing product. The display screen 9 can display the weight changes in the carrying container in real time. For managers or operators, the weight parameters presented on the display screen can help them monitor the inventory of food and replenish or adjust it in time, which is helpful for food safety and inventory management.
[0083] If necessary, the display screen 9 can also be connected to the host computer. Since the weighing unit is externally connected to the host computer, the weighing unit forms weight data by recording the weight changes each time the item is taken. The host computer can output the change value and corresponding parameter information to the display screen 9. This is beneficial for the user to intuitively see the weight changes after each take through the display screen 9 when taking the item, so that the user can have a clearer understanding of his or her own taking situation, which increases the transparency of the take.
[0084] References in this specification to "one embodiment," "another embodiment," "an embodiment," "a preferred embodiment," and the like refer to specific features, structures, or characteristics described in conjunction with that embodiment as included in at least one embodiment generally described herein. The appearance of the same term in multiple places in this specification does not necessarily refer to the same embodiment. Furthermore, when a specific feature, structure, or characteristic is described in conjunction with any embodiment, it is intended that such feature, structure, or characteristic, when implemented in conjunction with other embodiments, also fall within the scope of the present invention.
[0085] Although the present invention has been described herein with reference to a number of illustrative embodiments thereof, it will be understood that numerous other modifications and implementations may be devised by those skilled in the art that fall within the scope and spirit of the principles disclosed herein. More specifically, within the scope of the present disclosure, the drawings, and the claims, numerous variations and modifications may be made to the components and / or layout of the subject combination arrangement. In addition to variations and modifications to the components and / or layout, other uses will also be apparent to those skilled in the art.
Claims
1. A method for detecting the state of a smart scale based on the Internet of Things, which is used to control weighing timing in conjunction with a smart scale; characterized in that: The steps include: S100: Configure several smart scales and place the target objects on them, and the smart scales interact with the host computer; S200, obtaining anchoring data of the target object, and writing the device code corresponding to each smart scale into the anchoring data; Its anchor data includes the mass data of the target object; S300, configuring a first operating condition, in which the smart scale is in a standby state and physically isolates the target object. At the same time, a sensing element of the smart scale is turned on, and the sensing element collects a signal from the identity tag in real time and determines whether the identity tag is valid. When the identity tag is obtained and judged to be valid, the smart scale opens the target object; When the identity tag is obtained and determined to be invalid, the smart scale keeps isolating the target object and executes S400; S400: The smart scale is adjusted to the second working condition. The smart scale will feed back the relevant information of the invalid identity tag to the host computer; the smart scale immediately obtains the mass data of the current target object through the weighing sensor to obtain the first data, and controls the weighing sensor to collect the data in time under the second working condition to obtain a number of second data; the second data are compared with the first data respectively to obtain a number of precision differences, and it is determined whether the precision differences are within the allowable range of the weighing sensor. If the allowable range is exceeded, the smart scale will issue an alarm.
2. The method for detecting the state of an intelligent scale based on the Internet of Things according to claim 1, wherein: When the smart scale obtains the identity tag, the following steps are also included: when the smart scale confirms that the obtained identity tag is valid, the smart scale establishes an identification cycle, and the weighing sensor of the smart scale collects quality data in real time during the identification cycle; the quality data at the beginning and end of the identification cycle are recorded as third data and fourth data respectively; and the quality difference between the third data and the fourth data is calculated and fed back to the host computer.
3. The method for detecting the state of an intelligent scale based on the Internet of Things according to claim 2, characterized in that: The smart scale sets a first window period at the beginning of the identification cycle. The first window period is the time period from the start of the identification cycle to the time when the smart scale completes the opening of the target object. During the first window period, the smart scale obtains quality data and generates a first curve graph in time series. The zero point number is obtained through the first curve graph and used as the third data.
4. The method for detecting the state of an intelligent scale based on the Internet of Things according to claim 2, wherein: The smart scale sets a second window period after the recognition cycle is completed. The second window period is the time period from the end of the recognition cycle to the completion of the target object isolation. The smart scale obtains quality data in the second window period and makes a second curve graph according to the time series; obtains the zero point number through the second curve graph and uses it as the fourth data.
5. The method for detecting the state of an intelligent scale based on the Internet of Things according to claim 2, wherein: The smart scale determines whether the identity tag is valid, including the following steps: S301, the host computer establishes an authorization list; wherein the authorization list includes a number of unique ID codes, each ID code corresponding to at least one identity tag; S302, the host computer obtains the health status of all smart scales and sets the healthy smart scales to the first working state; S303, the smart scale determines whether the identity tag corresponds to the ID code in the authorization list; If the identity tag does not have a corresponding ID code, the identity tag is invalid; If the identity tag has a corresponding ID code, the identity tag is in a valid state.
6. The method for detecting the state of an intelligent scale based on the Internet of Things according to claim 5, characterized in that: When the host computer establishes an authorization list, the host computer performs a deauthorization screening and a disabled screening on the ID codes in the authorization list; When the screening is disabled, the host computer marks the ID codes with restricted access in the authorization list, and the smart scale is used to filter the ID codes with restricted marks when traversing the authorization list; During the permission screening, the host computer removes the ID code of the local access from the authorization list and creates an access list.
7. The method for detecting the state of an intelligent scale based on the Internet of Things according to claim 6, characterized in that: The steps for permission screening are as follows: Determine the ID codes that allow partial access and obtain a quantity N; N is an integer, and N ≥ 1; the host computer performs guidance marking on the ID codes that allow partial access in the authorization list to obtain guidance codes; extract N guidance codes from the authorization list, and separately add a device code to each guidance code to generate N permission instructions; wherein the permission instruction includes a guidance code and at least one device code information; The permission instruction is issued to the corresponding smart scale; the smart scale obtains the device code of the permission instruction and establishes an access list; when the identity tag does not have a corresponding ID code in the authorization list, it is determined whether the ID code of the identity tag exists in the access list; If the ID code of the identity tag exists in the access list, the smart scale is in a valid state; If the ID code of the identity tag does not exist in the access list, the smart scale is in an invalid state.
8. The method for detecting the state of an intelligent scale based on the Internet of Things according to claim 5, characterized in that: The quality difference between the third data and the fourth data is a consumption value: When the consumption value is positive, the smart scale sends a calculation instruction to the host computer, and the host computer is used to record the consumption value and device code corresponding to the ID code in the authorization list; When the consumption value is negative, the smart scale stops working and sends feedback information to the host computer. The feedback information includes the most recently acquired ID code, and the host computer marks the ID code as restricted from the authorization list.
9. The method for detecting the state of an intelligent scale based on the Internet of Things according to claim 1, wherein: Before executing S200, the detection method further includes determining the working status of all smart scales, which specifically includes the following steps: Step 101, the host computer obtains the quality data of all smart scales; Step 102: The host computer presets verification data, which is the mass data of the smart scale when it is not loaded; In step 103, the host computer compares the verification data with the quality data and determines the state of the smart scale. If the quality data is greater than the verification data, the smart scale is in a standby state. If the quality data is less than or equal to the verification data, the smart scale is in an idle state.