Freight box inversion and sideways times recording system, method, terminal and storage medium
Through the recording system of the number of inversions and sideways of freight boxes, and the cooperation of the detection module and the recording module, the status of the freight boxes is monitored and recorded in real time, which solves the problem of difficulty in monitoring the inversion or sideways status during the freight process, and realizes the division of responsibilities and transportation Increased transparency of the process.
Patent Information
- Application Number
- CN202111156059.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-09-30
AI Technical Summary
During the freight process, it is difficult to monitor the inverted or sideways status of freight boxes in real time, which makes it difficult to assign responsibilities and may cause unnecessary trouble.
Design a system for recording the number of times a freight box is inverted or placed on its side, including a detection module and a recording module. The detection module detects the status of the freight box and generates control instructions. The recording module records the number of times it is inverted or placed on its side. The sensing unit and the reading unit are used to The connection status determines the status of the freight box and enables real-time monitoring and recording of the status of the freight box.
By recording the number of inversions or sideways of shipping boxes in real time, it helps divide responsibilities, reduces unnecessary trouble, and improves the transparency and safety of the transportation process.
Smart Images

Figure CN113947295B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of logistics and transportation, and in particular to a system, method, terminal and storage medium for recording the number of times a freight box is inverted or placed on its side. Background Art
[0002] Freight trucks are mainly used to transport goods. They can be divided into heavy and light types according to the weight of the truck. When transporting goods, the goods are usually loaded into freight boxes, which are then stacked in the truck for transportation.
[0003] With respect to the above-mentioned related technologies, the inventors believe that placing the freight box in the vehicle compartment for transportation makes it impossible to know the status of the freight box during transportation. If the goods are subsequently damaged, it is impossible to determine the responsibility, thus causing unnecessary trouble. Summary of the invention
[0004] In order to understand the status of goods during transportation and reduce unnecessary trouble, the present application provides a system, method, terminal and storage medium for recording the number of times a freight box is inverted or placed on its side.
[0005] In the first aspect, the present application provides a system for recording the number of times a freight box is inverted or placed sideways, which adopts the following technical solution:
[0006] A system for recording the number of times a freight box is inverted or sideways, comprising:
[0007] A freight box, wherein the freight box is used to store goods;
[0008] An auxiliary module, the auxiliary module is fixedly mounted on the freight box, and the auxiliary module includes three detection pipes arranged perpendicular to each other;
[0009] Detection modules, each of which is installed in the detection pipe, and is used to detect whether the freight box is inverted or sideways, and generate a control instruction;
[0010] and a recording module, wherein the recording module is connected to the detection module and is used to perform a recording operation based on the control instruction.
[0011] By adopting the above technical solution, the detection module detects whether the freight box is inverted or sideways, and issues different control instructions according to the different states of the freight box. The recording module receives the control instructions issued by the detection module and performs recording operations based on the control instructions. The present application can record the number of times the freight box is inverted or sideways during transportation through the detection module and the recording module, thereby understanding the state of the freight box during transportation, facilitating the division of responsibilities and reducing unnecessary troubles.
[0012] Optionally, the detection module includes a sensing unit, a reading unit and a first connecting unit, the sensing unit, the reading unit and the first connecting unit are all installed in the detection pipe, the reading unit is fixedly connected to one end of the detection pipe, the first connecting unit is a spring, one end of the first connecting unit is connected to the reading unit, and the other end of the first connecting unit is connected to the sensing unit, the sensing unit can slide in the detection pipe, and the reading unit is used to generate control instructions based on the connection status between the sensing unit and the reading unit.
[0013] By adopting the above technical solution, the inverted and sideways states of the freight box can be displayed according to the cooperation between the first connecting unit and the sensing unit, and the structure is ingenious and highly practical.
[0014] Optionally, when the freight box is in a stable state, the first connection unit controls the reading unit to establish a connection with the sensing unit, the reading unit generates a first control instruction, and sends the first control instruction to the recording module, and the recording module does not perform any processing;
[0015] When the freight box is inverted or sideways, the first connection unit controls the reading unit to disconnect from the sensing unit, the reading unit generates a second control instruction, and sends the second control instruction to the recording module, and the recording module performs a recording operation.
[0016] By adopting the above technical solution, it is more intuitive and accurate to judge whether the freight box is inverted or sideways based on whether a connection is established between the reading unit and the sensing unit.
[0017] Optionally, the detection module includes a sensing unit, a reading unit, an interference unit and a second connecting unit, the second connecting unit is a spring, the interference unit is connected to one end of the detection pipe through the second connecting unit, the interference unit can slide in the detection pipe, the sensing unit is placed at one end of the detection pipe away from the second connecting unit, the reading unit is placed outside the detection pipe, and the reading unit is used to establish a connection with the sensing unit.
[0018] By adopting the above technical solution, the inverted or sideways state of the freight box can be displayed according to the cooperation between the interference unit, the sensing unit, the reading unit and the second connecting unit, which has a clever structure and high practicality.
[0019] Optionally, when the freight box is in a stable state, the second connection unit controls the interference unit to be away from the sensing unit, the reading unit establishes a connection with the sensing unit, the reading unit generates a first control instruction, and sends the first control instruction to the recording module, and the recording module does not perform any processing;
[0020] When the cargo box is inverted or sideways, the second connecting unit controls the interference unit to approach the sensing unit, and the sensing unit is interfered by the interference unit, so that the reading unit is disconnected from the sensing unit, and the reading unit generates a second control instruction and sends the second control instruction to the recording module, and the recording module performs a recording operation.
[0021] By adopting the above technical solution, it is more intuitive and accurate to judge whether the freight box is inverted or sideways based on whether a connection is established between the reading unit and the sensing unit.
[0022] Optionally, within a preset time threshold, when at least two of the reading units generate the second control instruction, the recording module performs a recording operation only once.
[0023] By adopting the above technical solution, when the freight box is inverted or sideways, it may cause multiple reading units to issue a second control instruction at the same time. At this time, the recording module only performs a recording operation once, reducing the risk of repeated calculations and making the data more accurate.
[0024] In a second aspect, the present application provides a method for recording the inversion and sideways placement of a freight box, using the following technical solution:
[0025] A method for recording the number of times a freight box is inverted or placed sideways is applied to the above-mentioned system for recording the number of times a freight box is inverted or placed sideways, and comprises the following steps:
[0026] Acquiring a connection status between the sensing unit and the reading unit;
[0027] When the sensing unit is in a connected state with the reading unit, the reading unit generates a first control instruction and sends the first control instruction to the recording module, and the recording module does not perform any action;
[0028] When the sensing unit is in a disconnected state from the reading unit, the reading unit generates a second control instruction and sends the second control instruction to the recording module, and the recording module performs a recording operation.
[0029] By adopting the above technical solution, the connection relationship between the sensing unit and the reading unit is obtained. When the sensing unit and the reading unit are in a connected state, it indicates that the freight box is in a stable state. When the sensing module and the reading module are in a disconnected state, it indicates that the freight box is in an inverted or sideways state. At this time, the recording module makes a record, and the inverted or sideways state of the freight box is represented by the connection state between the sensing unit and the reading unit, and the number of inversions or sideways is recorded in time, which can understand the state of the freight box during transportation, help to divide responsibilities, and reduce unnecessary troubles.
[0030] In a third aspect, the present application provides a terminal device, which adopts the following technical solution:
[0031] A terminal device includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor loads and executes the computer program, the above-mentioned method for recording the number of inversions and sideways placements of a freight box during transportation is adopted.
[0032] By adopting the above technical solution, a computer program is generated by the method for recording the number of inversions and sideways times of the freight box during transportation, and stored in a memory so as to be loaded and executed by a processor. Thus, a terminal device is manufactured based on the memory and the processor for easy use.
[0033] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0034] A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is loaded and executed by a processor, the above-mentioned method for recording the number of times a freight box is inverted or sideways is adopted.
[0035] By adopting the above technical solution, a computer program is generated by the above-mentioned method of recording the number of times the freight box is inverted and placed on its side, and the program is stored in a computer-readable storage medium so that the program can be loaded and executed by a processor. The computer-readable storage medium facilitates the reading and storage of the computer program. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a schematic diagram of the overall structure of a freight box inversion and sideways recording system according to an embodiment of the present application.
[0037] Figure 2 It is a structural schematic diagram of a detection module and an auxiliary module in Example 1 of a freight box inversion and sideways recording system of the present application.
[0038] Figure 3 It is a schematic diagram of the module connection structure of Example 1 of a freight box inversion and sideways recording system of the present application.
[0039] Figure 4 It is a structural schematic diagram of a detection module and an auxiliary module in Example 2 of a freight box inversion and sideways recording system of the present application.
[0040] Figure 5 It is a schematic diagram of the module connection structure of Example 2 of a freight box inversion and sideways recording system of the present application.
[0041] Figure 6 It is a flow chart of a method for recording inversion and sideways placement of a freight box according to an embodiment of the present application.
[0042] Description of reference numerals:
[0043] 1. Cargo box; 2. Auxiliary module; 21. First detection pipeline; 22. Second detection pipeline; 23. Third detection pipeline; 3. Detection module; 31. Sensing unit; 32. Reading unit; 33. First connection unit; 34. Interference unit; 35. Second connection unit; 4. Recording module. DETAILED DESCRIPTION
[0044] The following is combined with Figure 1-6 This application is described in further detail.
[0045] The embodiment of the present application discloses a system for recording the number of times a freight box is inverted or placed on its side.
[0046] Example 1
[0047] Reference Figure 1 , Figure 2 and Figure 3 The system for recording the number of times a freight box 1 is inverted or placed on its side includes a freight box 1, an auxiliary module 2, a detection module 3 and a recording module 4, wherein the freight box 1 is used to store goods, the detection module 3 is used to detect whether the freight box 1 is inverted or placed on its side, and generate a control instruction, and the recording module 4 is connected to the detection module 3. When the detection module 3 detects that the freight box 1 is inverted or placed on its side, the recording module 4 performs a recording operation based on the control instruction.
[0048] Specifically, refer to Figure 1, the freight box 1 is square. In this embodiment, the auxiliary module 2 is arranged inside the freight box 1. In other embodiments, the auxiliary module 2 can also be arranged outside the freight box 1. The auxiliary module 2 includes three mutually perpendicular detection pipes in an xyz three-axis shape. The detection pipes are fixed at a bottom corner of the freight box 1, and the detection pipes fit the edges of the freight box 1, so that two of the detection pipes are in a horizontal state and the other detection pipe is in a vertical state. The fixing method can be gluing or welding. For the convenience of explanation, in this embodiment, the detection pipe in the z-axis (vertical state) is called the first detection pipe 21, the detection pipe in the x-axis is called the second detection pipe 22, and the detection pipe in the y-axis is the third detection pipe 23.
[0049] Specifically, a detection module 3 is provided in each detection pipeline, and the following description is made by taking the first detection pipeline 21 as an example.
[0050] Reference Figure 2 The detection module 3 includes a sensing unit 31, a reading unit 32 and a first connecting unit 33, wherein the reading unit 32 is fixed to the bottom of the first detection pipe 21, and the fixing method can be bonding or welding, etc. In this embodiment, the first connecting unit 33 is a spring, one end of the spring is fixedly connected to the reading unit 32, and the other end is fixedly connected to the sensing unit 31, and the fixing method can be welding or other fixing methods. The sensing unit 31 is placed above the reading unit 32, and the sensing unit 31 is slidably connected to the first detection pipe 21, so the sensing unit 31 can slide in the first detection pipe 21 under the action of the spring.
[0051] When the sensing unit 31 is within the reading range of the reading unit 32, the reading unit 32 can establish a connection with the sensing unit 31 and read the information of the sensing unit 31; when the sensing unit 31 is outside the reading range of the reading unit 32, the reading unit 32 is disconnected from the sensing unit 31, and the reading unit 32 cannot read the information of the sensing unit 31.
[0052] More specifically, in this embodiment, an RFID system is used as a carrier of the detection module 3, wherein the sensing unit 31 is an electronic tag (Tag) in the RFID system, and specifically can be a radio frequency card fixedly connected to the first connecting unit 33, and the reading unit 32 is a reader (Reader) in the RFID system, which is used to read the information of the radio frequency card.
[0053] As can be seen from the above, when the cargo box 1 is in a stable state, the RFID card is placed above the reader and writer, and maintains balance under the support force of the first connection unit 33 and its own gravity. The reading range of the reader is adjusted by adjusting the power of the reader, for example, the reading range of the reader is adjusted to 0-5cm, that is, when the distance between the RFID card and the reader is 0-5cm, the reader can establish a connection with the RFID card, so that the information of the RFID card can be read; when the distance between the RFID card and the reader exceeds 5cm, the connection between the reader and the RFID card is disconnected, so that the reader cannot read the information of the RFID card.
[0054] More specifically, in this embodiment, when the cargo box 1 is in a stable state, the RFID card is within the reading range of the reader / writer under the action of the first connection unit 33. For example, the distance between the RFID card and the reader / writer is 4 cm. At this time, the reader / writer can establish a connection with the RFID card.
[0055] When the cargo box 1 is in an inverted state, the RFID card moves toward the end away from the reader / writer in the first detection pipe 21 under the action of the first connection unit 33, and the distance between the RFID card and the reader / writer exceeds the reading range of the reader / writer. For example, the distance between the RFID card and the reader / writer is 10 cm. At this time, the connection between the reader / writer and the RFID card is disconnected, and the reader / writer cannot read the information of the RFID card.
[0056] When the freight box 1 is in a side position, the RFID card and the first connection unit 33 are in an inclined state, which destroys the force balance of the RFID card. Therefore, the RFID card moves toward the end away from the reader in the first detection pipe 21 under the support force of the first connection unit 33. A fluctuation threshold range is established. When the distance between the RFID card and the reader is within the fluctuation threshold range, it proves that the side angle of the freight box 1 in the z-axis direction (vertical direction) is within a reasonable range. It may be due to the acceleration and deceleration of the truck, or slight bumps on the road that cause the fluctuation of the RFID card; when the distance between the RFID card and the reader exceeds the fluctuation threshold range, the reader is disconnected from the RFID card, and the reader cannot read the information of the RFID card.
[0057] More specifically, in this embodiment, the fluctuation threshold range is 4-5cm. When the distance between the RFID card and the reader is within 4-5cm, for example, the distance between the RFID card and the reader is 4.5cm. At this time, the side angle of the freight box 1 is small and within the normal fluctuation range. The reader still establishes a connection with the RFID card, and the reader can read the information of the RFID card. When the distance between the RFID card and the reader exceeds the fluctuation threshold range, for example, the distance between the RFID card and the reader is 6cm, the reader is disconnected from the RFID card, and the reader cannot read the information of the RFID card.
[0058] From the above, it can be seen that when the RFID card is connected to the reader / writer, the freight box 1 is determined to be in a stable state; when the RFID card is disconnected from the reader / writer, the freight box 1 is determined to be in an inverted or sideways state.
[0059] Since the RFID card is light in weight, the first connecting unit 33 cannot respond according to the state of the cargo box 1. A counterweight block can be added to the RFID card. The counterweight block is cylindrical in shape, and the diameter of the counterweight block is the same as the inner diameter of the first detection pipe 21, which can make the support of the first connecting unit 33 more stable.
[0060] The working principle of the detection module 3 in the second detection pipe 22 and the third detection pipe 23 is basically the same as the working principle of the detection module 3 in the first detection pipe 21. The difference is that, taking the second detection pipe 22 as an example, the reader-writer in the second detection pipe 22 is placed at one end close to the first detection pipe 21, and when the freight box 1 is in a stable state, the radio frequency card and the spring in the second detection pipe 22 are in a horizontal state; when the freight box 1 is in an inclined state in the x-axis direction (the second detection pipe 22), that is, in a sideways state, the radio frequency card can slide in the second detection pipe 22, and when the radio frequency card slides toward the end away from the reader-writer, if it exceeds the fluctuation threshold range, the reader-writer is disconnected from the radio frequency card, and the reader-writer cannot read the information of the radio frequency card.
[0061] Through the cooperation of the first detection pipe 21, the second detection pipe 22 and the third detection pipe 23, no matter which direction the freight box is placed sideways or upside down during transportation, the reader / writer in at least one detection pipe will disconnect from the corresponding radio frequency card.
[0062] Specifically, refer to Figure 3 When the reading unit 32 and the sensing unit 31 are in a connected state, that is, the reader can read the information of the radio frequency card at this time, the reading unit 32 generates a first control instruction "freight box 1 is normal" and sends the first control instruction to the recording module 4. After receiving the first control instruction, the recording module 4 does not take any action; when the reading unit 32 and the sensing unit 31 change from a connected state to a disconnected state, the reading unit 32 generates a second control instruction "freight box 1 is abnormal", indicating that the freight box 1 is inverted or placed on its side. After receiving the second control instruction, the recording module 4 performs a recording operation, indicating that the freight box 1 is inverted or placed on its side.
[0063] After the reading unit 32 is disconnected from the sensing unit 31, a second control instruction is issued. If the reading unit 32 reconnects with the sensing unit 31, that is, when the freight box 1 changes from the sideways state to the normal state, the reading unit 32 continues to maintain the connection state with the sensing unit 31 and generates a first control instruction. If the reading unit 32 is disconnected from the sensing unit 31 again, the second control instruction is generated again, and the recording module 4 performs a recording operation again, indicating that the freight box 1 is inverted or sideways again.
[0064] In order to reduce the judgment error, a time threshold is established. For example, the time threshold is set to 1s. When at least two of the reading units 32 in the first detection pipeline 21, the second detection pipeline 22 and the third detection pipeline 23 generate the second control instruction within 1s, the recording module 4 only records it once, indicating that one inversion or sideways placement affects at least two detection modules 3.
[0065] The implementation principle of the system for recording the number of times a freight box is inverted or placed on its side in the embodiment of the present application is as follows: by judging whether the reading unit 32 and the sensing unit 31 in the detection module 3 are connected, it is judged whether the freight box 1 is inverted or placed on its side. If the freight box 1 is in a stable state, the reading unit 32 can establish a connection with the sensing unit 31 at this time, then the reading unit 32 sends a first control instruction to the recording module 4, and the recording module 4 does not do any processing; if the freight box 1 is in an inverted or placed on its side, the reading unit 32 is disconnected from the sensing unit 31 at this time, then the reading unit 32 sends a second control instruction to the recording module 4, and the recording module 4 performs a recording operation. The present application can record the number of times the freight box 1 is inverted or placed on its side during transportation through the cooperation between the reading units 32 and the sensing units 31 inside multiple detection pipes, and can understand the state of the freight box 1 during transportation through the number of inversions and sideways, which is helpful for the division of responsibilities and reduces unnecessary troubles.
[0066] Example 2
[0067] Reference Figure 4 and Figure 5 The difference between this embodiment and the first embodiment is that the detection module 3 includes a sensing unit 31, a reading unit 32, an interference unit 34 and a second connection unit 35, and the first detection pipe 21 is also used as an example for description. The sensing unit 31 is fixed to the top of the inner wall of the first detection pipe 21, and the reading unit 32 is fixed to the top of the outer wall of the first detection pipe 21. In the absence of other interferences, the reading unit 32 can establish a connection with the sensing unit 31 and can read the information of the sensing unit 31.
[0068] Specifically, the second connection unit 35 is a spring, one end of which is welded to the end of the first detection pipe 21 away from the sensing unit 31, and the other end is fixedly connected to the interference unit 34, and the connection method can be bonding or welding. The interference unit 34 is slidably connected to the first detection pipe 21, so when the freight box 1 is inverted or sideways, the interference unit 34 can slide in the first detection pipe 21 under the action of the spring.
[0069] More specifically, the interference unit 34 moves toward the sensing unit 31. When the interference unit 34 enters the interference range of the sensing unit 31, the sensing unit 31 is interfered with and the reading unit 32 cannot read the information of the sensing unit 31, that is, the reading unit 32 is disconnected from the sensing unit 31.
[0070] In this embodiment, an RFID system is used as a carrier of the detection module 3, wherein the sensing unit 31 is an electronic tag (Tag) in the RFID system, specifically a radio frequency card fixedly connected to the first connecting unit 33, and the reading unit 32 is a reader (Reader) in the RFID system, which is used to read the information of the radio frequency card. The interference unit 34 can be a metal, such as a copper block, or a magnetic object. When the interference unit 34 is close to the radio frequency card, it interferes with the signal of the radio frequency card, so that the reader and the radio frequency card are disconnected, and the reader cannot read the information of the radio frequency card.
[0071] The working principle of the detection module 3 in the second detection pipeline 22 and the third detection pipeline 23 is the same as the working principle of the first detection module 3 .
[0072] More specifically, when the freight box 1 is in a stable state, the second connection unit 35 controls the interference unit 34 outside the interference range of the sensing unit 31. At this time, the reading unit 32 can establish a connection with the sensing unit 31, and the reading unit 32 generates a first control instruction "Freight box 1 is normal". The recording module 4 receives the first control instruction and does not take any action; when the freight box 1 is in an inverted or sideways state, the interference unit 34 moves toward the sensing unit 31 to interfere with the sensing unit 31, so that the connection between the reading unit 32 and the sensing unit 31 is disconnected. At this time, the reading unit 32 generates a second control instruction and sends the second control instruction to the recording module 4. The recording module 4 receives the second control instruction and performs a recording operation, indicating that the freight box 1 is inverted or sideways.
[0073] After the reading unit 32 is disconnected from the sensing unit 31, a second control instruction is issued. If the reading unit 32 reconnects with the sensing unit 31, that is, when the freight box 1 changes from the sideways state to the normal state, the reading unit 32 continues to maintain the connection state with the sensing unit 31 and generates a first control instruction. If the reading unit 32 is disconnected from the sensing unit 31 again, the second control instruction is generated again, and the recording module 4 performs a recording operation again, indicating that the freight box 1 is inverted or sideways again.
[0074] In order to reduce the judgment error, a time threshold is established. For example, the time threshold is set to 1s. When at least two of the reading units 32 in the first detection pipeline 21, the second detection pipeline 22 and the third detection pipeline 23 generate the second control instruction within 1s, the recording module 4 only records it once, indicating that one inversion or sideways placement affects at least two detection modules 3.
[0075] The present application also discloses a method for recording the number of times a freight box is inverted or placed sideways, which is applied to the above-mentioned freight box inverted or placed sideways recording system, referring to Figure 6 , the method comprises the following steps:
[0076] S100, obtaining a connection status between the sensing unit and the reading unit;
[0077] S200, when the sensing unit and the reading unit are in a connected state, the reading unit generates a first control instruction and sends the first control instruction to the recording module, and the recording module does not perform any action;
[0078] S300: When the sensing unit and the reading unit are in a disconnected state, the reading unit generates a second control instruction and sends the second control instruction to the recording module, and the recording module performs a recording operation.
[0079] Specifically, in steps S100 to S300, when the sensing unit is within the reading range of the reading unit, the reading unit can establish a connection with the sensing unit and read the information of the sensing unit; when the sensing unit is outside the reading range of the reading unit, the reading unit is disconnected from the sensing unit, and the reading unit cannot read the information of the sensing unit.
[0080] More specifically, in this embodiment, an RFID system is used as a carrier of the detection module, wherein the sensing unit is an electronic tag (Tag) in the RFID system, specifically a radio frequency card fixedly connected to the first connection unit, and the reading unit is a reader (Reader) in the RFID system, which is used to read the information of the radio frequency card.
[0081] Specifically, when the reading unit and the sensing unit are in a connected state, that is, the reader can read the information of the radio frequency card at this time, the reading unit generates a first control instruction "the freight box is normal" and sends the first control instruction to the recording module. After receiving the first control instruction, the recording module does not take any action; when the reading unit and the sensing unit change from a connected state to a disconnected state, the reading unit generates a second control instruction "the freight box is abnormal", indicating that the freight box is inverted or placed on its side. After receiving the second control instruction, the recording module performs a recording operation, indicating that the freight box is inverted or placed on its side.
[0082] After the reading unit is disconnected from the sensing unit, a second control instruction is issued. If the reading unit reconnects with the sensing unit, that is, when the freight box changes from the sideways state to the normal state, the reading unit continues to maintain the connection state of the sensing unit and generates a first control instruction. If the reading unit is disconnected from the sensing unit again, the second control instruction is generated again, and the recording module performs a recording operation again, indicating that the freight box is inverted or sideways again.
[0083] In order to reduce the judgment error, a time threshold is established. For example, the time threshold is set to 1s. When at least two of the reading units in the first detection pipeline, the second detection pipeline and the third detection pipeline generate the second control instruction within 1s, the recording module only records it once, indicating that one inversion or side placement affects at least two detection modules.
[0084] An embodiment of the present application also discloses a terminal device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein when the processor executes the computer program, the inversion and sideways recording method in the freight box in the above embodiment is adopted.
[0085] The terminal device may be a computer device such as a desktop computer, a laptop computer or a cloud server, and the terminal device includes but is not limited to a processor and a memory. For example, the terminal device may also include input and output devices, a network access device and a bus.
[0086] Among them, the processor can adopt a central processing unit (CPU). Of course, according to actual usage, other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. can also be adopted. The general-purpose processor can adopt a microprocessor or any conventional processor, etc., and this application does not impose any restrictions on this.
[0087] Among them, the memory can be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device, or it can be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (SMC), a secure digital card (SD) or a flash memory card (FC) equipped on the terminal device, and the memory can also be a combination of an internal storage unit and an external storage device of the terminal device. The memory is used to store computer programs and other programs and data required by the terminal device. The memory can also be used to temporarily store data that has been output or is to be output, and this application does not impose any restrictions on this.
[0088] Among them, through this terminal device, the inverted and sideways recording method of the freight box in the above embodiment is stored in the memory of the terminal device, and is loaded and executed on the processor of the terminal device for easy use.
[0089] The embodiment of the present application further discloses a computer-readable storage medium, and the computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the method for recording the inversion and sideways placement of the freight box in the above embodiment is adopted.
[0090] Among them, the computer program can be stored in a computer-readable medium, the computer program includes computer program code, the computer program code can be in the form of source code, object code, executable file or certain middleware, etc. The computer-readable medium includes any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the computer-readable medium includes but is not limited to the above-mentioned components.
[0091] Among them, through this computer-readable storage medium, the inversion and sideways recording method of the freight box in the above embodiment is stored in the computer-readable storage medium, and is loaded and executed on the processor to facilitate the storage and application of the above method.
[0092] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A system for recording the number of times a freight box is inverted or placed sideways, characterized in that: include: A freight box (1), wherein the freight box (1) is used to store goods; An auxiliary module (2), the auxiliary module (2) being fixedly mounted on the freight box (1), the auxiliary module (2) comprising three detection pipes arranged perpendicular to each other; Detection modules (3), the detection modules (3) being installed in the detection pipes respectively, the detection modules (3) being used to detect whether the freight box (1) is inverted or sideways, and to generate control instructions; and a recording module (4), the recording module (4) being connected to the detection module (3), the recording module (4) being used to perform a recording operation based on the control instruction; The detection module (3) comprises a sensing unit (31), a reading unit (32) and a first connecting unit (33); the sensing unit (31), the reading unit (32) and the first connecting unit (33) are all installed in the detection pipe; the reading unit (32) is fixedly connected to one end of the detection pipe; the first connecting unit (33) is a spring; one end of the first connecting unit (33) is connected to the reading unit (32); the other end of the first connecting unit (33) is connected to the sensing unit (31); the sensing unit (31) is capable of sliding in the detection pipe; and the reading unit (32) is used to generate a control instruction based on the connection state between the sensing unit (31) and the reading unit (32); Alternatively, the detection module (3) comprises a sensing unit (31), a reading unit (32), an interference unit (34) and a second connection unit (35); the second connection unit (35) is a spring; the interference unit (34) is connected to one end of the detection pipe via the second connection unit (35); the interference unit (34) is capable of sliding in the detection pipe; the sensing unit (31) is disposed at one end of the detection pipe away from the second connection unit (35); the reading unit (32) is disposed outside the detection pipe; and the reading unit (32) is used to establish a connection with the sensing unit (31); When the sensing unit (31) is within the reading range of the reading unit (32), the reading unit (32) can establish a connection with the sensing unit (31) to read the information of the sensing unit (31); when the sensing unit (31) is outside the reading range of the reading unit (32), the reading unit (32) is disconnected from the sensing unit (31), and at this time, the reading unit (32) cannot read the information of the sensing unit (31); Wherein, an RFID system is used as a carrier of the detection module (3); the sensing unit (31) is an electronic tag in the RFID system; the sensing unit (31) is configured as a radio frequency card fixedly connected to the first connection unit (33); and the reading unit (32) is a reader / writer in the RFID system, which is used to read information from the radio frequency card; When the reading unit (32) and the sensing unit (31) are in a connected state, the reader / writer can read the information of the radio frequency card, the reading unit (32) generates a first control instruction "freight box is normal", and sends the first control instruction to the recording module (4). After receiving the first control instruction, the recording module (4) does not perform any action. When the reading unit (32) and the sensing unit (31) change from a connected state to a disconnected state, the reading unit (32) generates a second control instruction "freight box is abnormal", indicating that the freight box is inverted or sideways. After receiving the second control instruction, the recording module (4) performs a recording operation, indicating that the freight box is inverted or sideways. After the reading unit (32) is disconnected from the sensing unit (31), a second control instruction is issued; if the reading unit (32) is connected to the sensing unit (31) again, a first control instruction is generated; if the reading unit (32) is disconnected from the sensing unit (31) again, a second control instruction is generated again, and the recording module (4) performs a recording operation again, indicating that the freight box is inverted or sideways again; When at least two of the reading units (32) in the first detection pipeline, the second detection pipeline and the third detection pipeline generate the second control instruction within a preset time threshold, the recording module only records it once, indicating that one inversion or sideways placement affects at least two detection modules (3).
2. A system for recording the number of times a freight box is inverted or sideways according to claim 1, characterized in that: When the freight box (1) is in a stable state, the first connection unit (33) controls the reading unit (32) to establish a connection with the sensing unit (31), the reading unit (32) generates a first control instruction, and sends the first control instruction to the recording module (4), and the recording module (4) does not perform any processing; When the freight box (1) is inverted or placed on its side, the first connection unit (33) controls the reading unit (32) to disconnect from the sensing unit (31), the reading unit (32) generates a second control instruction, and sends the second control instruction to the recording module (4), and the recording module (4) performs a recording operation.
3. A system for recording the number of times a freight box is inverted or sideways according to claim 1, characterized in that: When the freight box (1) is in a stable state, the second connection unit (35) controls the interference unit (34) to be away from the sensing unit (31), the reading unit (32) establishes a connection with the sensing unit (31), the reading unit (32) generates a first control instruction, and sends the first control instruction to the recording module (4), and the recording module (4) does not perform any processing; When the freight box (1) is inverted or placed on its side, the second connection unit (35) controls the interference unit (34) to approach the sensing unit (31), and the sensing unit (31) is interfered by the interference unit (34), so that the reading unit (32) is disconnected from the sensing unit (31), and the reading unit (32) generates a second control instruction and sends the second control instruction to the recording module (4), and the recording module (4) performs a recording operation.
4. A system for recording the number of times a freight box is inverted or placed sideways according to claim 2 or 3, characterized in that: Within a preset time threshold, when at least two of the reading units (32) generate the second control instruction, the recording module (4) performs a recording operation only once.
5. A method for recording the number of times a freight box is inverted or placed sideways, applied to the system for recording the number of times a freight box is inverted or placed sideways according to any one of claims 1 to 4, characterized in that: The following steps are involved: Acquiring a connection status between the sensing unit and the reading unit; When the sensing unit is in a connected state with the reading unit, the reading unit generates a first control instruction and sends the first control instruction to the recording module, and the recording module does not perform any action; When the sensing unit is in a disconnected state from the reading unit, the reading unit generates a second control instruction and sends the second control instruction to the recording module, and the recording module performs a recording operation.
6. A terminal comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that: When the processor loads and executes the computer program, the method according to claim 5 is adopted.
7. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, characterized in that: When the computer program is loaded and executed by a processor, the method according to claim 5 is adopted.
