Building block sand table interaction method and related equipment
By introducing the building block sand table interaction method into the logistics sand table, the movement and interaction of the building block model is automatically controlled, and the problem of low efficiency and accuracy of the existing sand table in actual simulation is solved, achieving more efficient and accurate simulation training.
Patent Information
- Application Number
- CN202411484085.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-03-04
AI Technical Summary
The existing pure hardware logistics sandbox takes a lot of time to debug and simulate during actual simulation, resulting in low usage efficiency and accuracy, and the inability to achieve information interoperability.
Provide a building block sand table interaction method, which realizes automatic interaction between building block models by obtaining target interaction tasks, determining building block models and interactive instructions, obtaining environmental plan diagrams, determining moving routes, and controlling building block model movement and execution instructions.
It shortens the time for sand table debugging and simulation, reduces the errors caused by manual debugging, and improves the efficiency and accuracy of practical simulation.
Smart Images

Figure CN119556816A_ABST
Abstract
Description
Background Art
[0002] The modern logistics development plan proposes to "support logistics companies and manufacturing companies to innovate supply chain collaborative operation models, deeply embed logistics services into the manufacturing supply chain system, and promote the deep integration of the logistics industry and the manufacturing industry." It emphasizes "enhancing the quality competitiveness of the industry, improving the level of specialization in production services, actively developing multimodal transport, smart logistics, and supply chain logistics, and improving modern logistics, production control, information data and other service capabilities." This requires companies to pay attention to the cultivation of high-quality technical and skilled personnel in higher vocational colleges.
[0003] At present, there are also cases about logistics sandbox at home and abroad, but these logistics sandboxes are all pure hardware sandboxes, which cannot realize information exchange through Internet of Things technology, and cannot be used for more scientific and practical teaching. Students cannot quickly and conveniently combine the operation process in the textbook with the pure hardware logistics sandbox. When using the pure hardware sandbox for sandbox practice, it takes a lot of time to debug and simulate the pure hardware sandbox, which increases the errors caused by manual debugging in the actual practice link, making the use efficiency and accuracy of the pure hardware sandbox low when performing actual simulation. Summary of the invention
[0004] In order to overcome the problem that when using a pure hardware sandbox for sandbox practice, a lot of time is needed to debug and simulate the pure hardware sandbox, which increases the errors caused by manual debugging in the actual practice link, making the use efficiency and accuracy of the pure hardware sandbox low when performing actual simulation, the present application provides a building block sandbox interaction method and related equipment.
[0005] In the first aspect, in order to solve the above technical problems, the present application provides a building block sandbox interaction method, comprising:
[0006] Get the target interactive task of the sandbox;
[0007] Based on the target interaction task, determine the corresponding target fixed block model and target moving block model in the sandbox, as well as the target interaction instructions for the target moving block model;
[0008] Get the environmental floor plan of the sandbox;
[0009] Determine a target moving route between the target moving block model and the target fixed block model based on the environment plan, the target fixed block model and the target moving block model;
[0010] Control the target moving block model to move along the target moving route in the sandbox, and control the target moving block model to execute the target interactive instructions.
[0011] In a second aspect, the present application also provides a building block interactive sandbox, which uses a building block sandbox interactive method.
[0012] In a third aspect, the present application also provides a building block sandbox interactive system, including:
[0013] The first acquisition module is used to acquire the target interactive task of the sandbox;
[0014] A first determination module is used to determine the corresponding target fixed building block model and target moving building block model in the sandbox based on the target interaction task, as well as the target interaction instruction for the target moving building block model;
[0015] The second acquisition module is used to obtain the environmental plan of the sand table;
[0016] A second determination module is used to determine a target moving route between the target moving block model and the target fixed block model based on the environment plan, the target fixed block model and the target moving block model;
[0017] The control module is used to control the target moving block model to move along the target moving route in the sandbox, and to control the target moving block model to execute the target interaction instruction.
[0018] In a fourth aspect, the present application also provides a computing device, including a memory, a processor, and a program stored in the memory and running on the processor, and when the processor executes the program, the steps of a building block sandbox interaction method as described above are implemented.
[0019] In a fifth aspect, the present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device executes the steps of a building block sandbox interaction method.
[0020] The beneficial effects of the present application are as follows: according to the target interactive tasks to be performed in the sandbox as needed, the corresponding target fixed block model and target mobile block model in the sandbox, as well as the target interactive instructions for the target mobile block model are determined. Then, according to the environmental plan view of the sandbox, the target fixed block model and the target mobile block model, the situation of the target fixed block model and the target mobile block model in the sandbox can be understood, so that the target moving route between the target mobile block model and the target fixed block model can be determined. The target mobile block model is controlled to move according to the target moving route in the sandbox, and the target mobile block model is controlled to execute the target interactive instructions, so that the interaction between the target mobile block model and the target fixed block model is realized. In this way, the interaction between any two block models in the sandbox can be automatically realized, the time of sandbox debugging and simulation is shortened, and the error caused by manual debugging of the sandbox is reduced, so that the use efficiency of the sandbox during actual combat simulation can be improved, and the accuracy of actual combat simulation can be improved at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A flowchart of a block sandbox interaction method for this application;
[0022] Figure 2 A technical roadmap for applying for a building block interactive sandbox;
[0023] Figure 3 A network architecture diagram of a building block sandbox interaction method for this application;
[0024] Figure 4 This is a structural schematic diagram of a building block sandbox interactive system for the present application. DETAILED DESCRIPTION
[0025] The following examples are provided to further explain and supplement the present application and do not constitute any limitation to the present application.
[0026] The following describes a building block sandbox interaction method and related equipment according to an embodiment of the present application in conjunction with the accompanying drawings.
[0027] A building block sandbox interaction method is disclosed in an embodiment of the present application. The method is applied to a terminal device. In the present application scheme, the terminal device is used as the execution subject to illustrate the present application scheme. The terminal device is used to execute the steps of a building block sandbox interaction method.
[0028] like Figure 1 As shown, the present application provides a building block sandbox interaction method, comprising:
[0029] Step S1, obtaining the target interactive task of the sandbox;
[0030] Step S2, based on the target interaction task, determining the corresponding target fixed building block model and target moving building block model in the sandbox, as well as the target interaction instruction for the target moving building block model;
[0031] Step S3, obtaining the environmental plan of the sandbox;
[0032] Step S4, determining a target moving route between the target moving block model and the target fixed block model based on the environment plan, the target fixed block model and the target moving block model;
[0033] Step S5, controlling the target moving block model to move along the target moving route in the sandbox, and controlling the target moving block model to execute the target interactive instruction.
[0034] A building block sand table interaction method provided by the present embodiment determines the corresponding target fixed building block model and target mobile building block model in the sand table according to the target interaction task performed in the sand table as needed, as well as the target interaction instruction for the target mobile building block model. Then, according to the environmental plan view of the sand table, the target fixed building block model and the target mobile building block model, the situation of the target fixed building block model and the target mobile building block model in the sand table can be understood, so that the target moving route between the target mobile building block model and the target fixed building block model can be determined. The target mobile building block model is controlled to move according to the target moving route in the sand table, and the target mobile building block model is controlled to execute the target interaction instruction, so that the interaction between the target mobile building block model and the target fixed building block model is realized. In this way, the interaction between any two building block models in the sand table can be automatically realized, the time of sand table debugging and simulation is shortened, and the error caused by manual debugging of the sand table is reduced, so that the use efficiency of the sand table when performing actual combat simulation can be improved, and the accuracy of actual combat simulation can be improved at the same time.
[0035] In some embodiments, a building block sand table interactive method of the present application can be implemented through the main body of the software system (a building block sand table interactive system), system data packets, SQL services, and editing and building modules. The main body of the software system is an independently developed editable and modular management system. The management system is equipped with an SQL database to break through the barriers of different platforms, allowing users to use it freely according to their needs. The software system (a building block sand table interactive system) updates and reads the ID information of the passive tags of all building blocks in the building block interactive sand table by using a wide range of scanners. And modify and adjust the database system developed independently. The last called operation module cooperates with the user to use a remote control or software to automatically control the sand table to complete logistics sand table operations, other various sand table operations or various sand table work.
[0036] Optionally, based on the environment plan, the target fixed building block model and the target mobile building block model, determining a target moving route between the target mobile building block model and the target fixed building block model includes:
[0037] Get the first position of the target fixed building block model in the sandbox;
[0038] Obtain the second position of the target moving block model in the sandbox;
[0039] A target moving route between the target moving block model and the target fixed block model is planned based on the environment plan, the first position and the second position.
[0040] In this embodiment, according to the first position of the target fixed building block model in the sandbox and the second position of the target moving building block model in the sandbox, the positions of the target fixed building block model and the target moving building block model in the environmental plan of the sandbox can be understood, so that the line situation between the target fixed building block model and the target moving building block model in the sandbox can be understood, thereby determining the target moving route between the two, which is convenient for subsequent control of the target moving building block model to move according to the target moving route.
[0041] Optionally, planning a target moving route between the target mobile building block model and the target fixed building block model based on the environment plan, the first position, and the second position includes:
[0042] Obtain the road conditions in the environment plan;
[0043] Based on road conditions, planning multiple movement routes between the first location and the second location;
[0044] A moving route that meets preset conditions among the multiple moving routes is used as a target moving route between the target moving building block model and the target fixed building block model; wherein the preset condition is characterized by selecting a moving route with the shortest distance from the multiple moving routes, or selecting a moving route with the lowest road congestion from the multiple moving routes.
[0045] In this embodiment, according to the road conditions, the first position and the second position in the environment plan, the positions of the target fixed building block model and the target mobile building block model in the environment plan of the sandbox can be understood, so that the line conditions between the target fixed building block model and the target mobile building block model in the sandbox can be understood, and multiple moving routes between the two can be determined, and the moving route that meets the preset conditions is used as the optimal target moving route. In this way, by automatically selecting the optimal target moving route between the target mobile building block model and the target fixed building block model, the interaction scheme between the target mobile building block model and the target fixed building block model can be optimized, thereby realizing the optimization of the interaction scheme between every two building block models in the sandbox.
[0046] Optionally, the method further comprises:
[0047] When controlling the target moving block model to move along the target moving route in the sandbox, obtaining the real-time motion state of the target moving block model;
[0048] Determine the collision situation of the target moving block model based on the real-time motion state;
[0049] Based on the collision situation, the moving direction of the target moving block model is dynamically controlled.
[0050] In this embodiment, the target moving block model may be collided with other block models or may collide with other block models due to uncontrolled yaw when moving along the target moving route. When the target moving block model collides, its motion state is different from that during normal movement. Therefore, according to the real-time motion state of the target moving block model, the collision situation of the target moving block model can be understood in real time. Based on the collision situation, the moving direction of the target moving block model is dynamically regulated, so that even if the target moving block model collides, the yaw error of the target moving block model can be promptly repaired, so that the target moving block model can be adjusted back to the target moving route in time to move, ensuring that the target moving block model can eventually interact with the target fixed block model.
[0051] Optionally, determining a collision condition of the target moving block model based on the real-time motion state includes:
[0052] Obtain the continuous historical motion position of the target moving block model from the moment it starts moving to the moment of the real-time motion state;
[0053] When the real-time motion state is characterized by the real-time speed of the target moving block model being less than 0, or the real-time position of the target moving block model coincides with the continuous historical motion position, or the real-time position of the target moving block model is not on the target moving route, it is determined that the collision condition of the target moving block model is characterized as a collision;
[0054] When the real-time motion state is characterized by that the real-time speed of the target moving block model is greater than or equal to 0, and the real-time position of the target moving block model does not overlap with the continuous historical motion position, and the real-time position of the target moving block model is on the target moving route, it is determined that the collision situation of the target moving block model is characterized as no collision.
[0055] In this embodiment, when the real-time speed of the target moving block model is less than 0, or the real-time position of the target moving block model overlaps with the continuous historical motion position, or the real-time position of the target moving block model is not on the target moving route, it means that the target moving block model is not moving normally on the target moving route, and a collision occurs at this time. Therefore, the collision situation of the target moving block model can be determined according to the real-time speed and real-time position of the target moving block model, so as to facilitate the dynamic regulation of the moving direction of the target moving block model according to the collision situation.
[0056] Optionally, based on the collision situation, the moving direction of the target moving block model is dynamically regulated, including:
[0057] When the collision situation is characterized as a collision, adjusting the moving direction of the target moving block model until the moving direction is the same as the moving direction of the target moving block model on the target moving route, and the position of the target moving block model is on the target moving route;
[0058] When the collision situation is characterized as no collision, the target moving block model is controlled to move along the target moving route in the sandbox.
[0059] In this embodiment, when the collision situation is characterized as a collision, the moving direction of the target moving block model is adjusted so that the target moving block model can be restored to the normal moving state of the target moving route. When the collision situation is characterized as no collision, the target moving block model is controlled to move along the target moving route in the sandbox. In this way, even if the target moving block model deviates due to the collision, it can return to the original target moving route to move, ensuring that the target moving block model can eventually achieve interaction with the target fixed block model.
[0060] The collision detection and dynamic control of the target moving block model are simulated on the two-dimensional plane of the sandbox, simulating the speed update, boundary collision detection and rebound, and speed attenuation. The control logic of collision detection and dynamic control is as follows:
[0061] Define Bevegelser Kollisjoner? ;
[0062] Increase y_speed by -1,
[0063] Increase the x coordinate by x_speed,
[0064] Increase the y coordinate by y_speed;
[0065] If Kollisjoner? Then,
[0066] Rotate right by Spin degrees,
[0067] Sprett fra punkt-156 42, Sprett: 0.8, Starrelse: Radius,
[0068] Sprett fra Punkt-206 42, Sprett: 0.8, Starrelse: Radius;
[0069] If the y coordinate is less than -130, then
[0070] Set the y coordinate to -130,
[0071] Set y_speed to y_speed*-0.8,
[0072] Set x_speed to x_speed*0.98,
[0073] Sett Spin 1*x_speed;
[0074] If the y coordinate is > 161 then,
[0075] Set the y coordinate to 161,
[0076] Set y_speed to y_speed*-0.8,
[0077] Set x_speed to x_speed*0.98,
[0078] Sett Spin-1*x_speed;
[0079] If x coordinate > 220 then,
[0080] Set the x coordinate to 220,
[0081] Set y_speed to y_speed*-0.8,
[0082] Set x_speed to x_speed*0.98,
[0083] Sett Spin-1*y_speed;
[0084] If the x coordinate is less than -170 then,
[0085] Set the x coordinate to -170,
[0086] Set y_speed to y_speed*-0.8,
[0087] Set x_speed to x_speed*0.98,
[0088] Sett Spin-1*y_speed;
[0089] End dynamic control.
[0090] Among them, the defined variables in the above control logic are:
[0091] Kollisjoner? : Represents a Boolean variable that indicates whether a collision has occurred.
[0092] Bevegelser: represents an object (target moving block model), including the object's motion state, current speed and position. y_speed and x_speed represent the object's speed in the y and x directions.
[0093] Increase the x coordinate by x_speed and the y coordinate by y_speed, indicating that the object moves at the current speed.
[0094] The principle of collision detection is: if Kollisjoner? is true (i.e. a collision occurs), then: rotate right (the specific rotation logic is implemented in the Spin function).
[0095] Sprett fra punkt-156 and Sprett fra punkt-206 represent rebounding from a specific point.
[0096] Sprett: Indicates the rebound processing logic.
[0097] Starrelse: Radius: Indicates the size of the object, used for collision detection.
[0098] Boundary conditions:
[0099] If the y coordinate is less than -130, then: Set the y coordinate to -130; Set y_speed and x_speed to specific values (indicating a reversal or deceleration of speed);
[0100] If the y coordinate is greater than 161, then: set the y coordinate to 161; set y_speed and x_speed to specific values (indicating a reversal or deceleration of speed);
[0101] If the x coordinate is greater than 220, then: Set the x coordinate to 220; Set y_speed and x_speed to specific values (indicating a reversal or deceleration of speed);
[0102] If the x coordinate is less than -170, then: Set the x coordinate to -170 Set the y_speed and x_speed to specific values (indicating a reversal or deceleration of speed).
[0103] Speed decay and rotation principle: Each time the speed is updated, x_speed and y_speed are multiplied by 0.98, indicating the decay of speed (friction or air resistance).
[0104] Sett spin: means setting the rotation speed or direction of the object.
[0105] Optionally, controlling the target moving block model to execute the target interaction instruction includes:
[0106] Obtain at least one sub-instruction included in the target interactive instruction;
[0107] Determine the building block interaction object corresponding to the sub-instruction; wherein the target fixed building block model is a building block interaction object corresponding to a sub-instruction;
[0108] The control target moving block model executes the corresponding sub-instructions for each block interactive object.
[0109] In this embodiment, since the target interactive instruction may contain multiple sub-instructions that need to be executed, each sub-instruction corresponds to a building block interactive object that executes the sub-instruction. Therefore, by determining the building block interactive object corresponding to each sub-instruction in the target interactive instruction, and controlling the target mobile building block model to execute the corresponding sub-instruction on each building block interactive object, the target mobile building block model can automatically interact with multiple building block interactive objects, thereby improving the degree of automated interaction between multiple building block models in the sandbox.
[0110] In some embodiments, the target moving block model is a forklift, and the target interaction instruction includes two sub-instructions. The first sub-instruction is characterized as forking the goods, and the block interaction object corresponding to the sub-instruction is the goods; the second sub-instruction is characterized as placing the goods on the target shelf according to the preset placement rules, and the block interaction objects corresponding to the sub-instruction are the goods and the target shelf, and the target shelf is the target fixed block model. The goods are forked by the forklift, and after moving to the target shelf according to the target moving route, the goods are placed on the target shelf according to the preset placement rules, thereby completing the interaction between the forklift and the goods, and the interaction between the forklift and the target shelf, and the interaction between the goods and the target shelf. Among them, the movement mode of the forklift when moving includes moving forward, moving backward, turning left and turning backward. The preset placement rules are characterized as rules for placement from left to right and from bottom to top.
[0111] In other embodiments, the target moving block model is an automatic stacking machine model, and the target interaction instruction includes two sub-instructions. The first sub-instruction is characterized as grabbing goods, and the block interaction object corresponding to the sub-instruction is the goods; the second sub-instruction is characterized as stacking the goods in the warehouse according to the preset stacking rules, and the block interaction objects corresponding to the sub-instruction are the goods and the warehouse, and the warehouse is the target fixed block model. The goods are grabbed by the automatic stacking machine model, and then moved to the target shelf according to the target moving route, and the goods are moved to the corresponding position in the warehouse according to the preset stacking rules. After the claws are released, the goods are placed, thereby completing the interaction between the automatic stacking machine model and the goods, and the interaction between the automatic stacking machine model and the warehouse, and the interaction between the goods and the warehouse. Among them, the movement mode of the automatic stacking machine model includes rotation, lifting, and descending, and the rotation includes 90-degree rotation and 180-degree rotation. The preset stacking rules are characterized by the rules of placement from left to right and from bottom to top.
[0112] In other embodiments, the target moving block model is a plugboard in an automatic three-dimensional shelf storage device in a sandbox, and the target interactive instruction includes four sub-instructions. The first sub-instruction is characterized by moving the plugboard below the goods to be stored and lifting the goods to be stored, and the block interactive object corresponding to the sub-instruction is the goods to be stored. The second sub-instruction is characterized by placing the goods to be stored on an idle position in the automatic three-dimensional shelf storage device and retracting the plugboard, and the block interactive object corresponding to the sub-instruction is the goods to be stored and the idle position. The third sub-instruction is characterized by moving the plugboard to the goods to be shipped out of the automatic three-dimensional shelf storage device and lifting the goods to be shipped out of the warehouse, and the block interactive object corresponding to the sub-instruction is the goods to be shipped out of the warehouse. The fourth sub-instruction is characterized by placing the goods to be shipped out of the warehouse in the outbound warehouse outside the automatic three-dimensional shelf storage device and retracting the plugboard, and the block interactive object corresponding to the sub-instruction is the goods to be shipped out of the warehouse and the outbound warehouse. First, by moving the plugboard in the automatic three-dimensional shelf storage device in the sandbox to the bottom of the goods to be stored, and lifting the goods to be stored, after moving to the free position in the automatic three-dimensional shelf storage device according to the corresponding sub-route in the target moving route, the goods to be stored are placed on the free position, and the plugboard is retracted, so as to complete the interaction between the plugboard and the goods to be stored, and the interaction between the plugboard and the free position, and the interaction between the goods to be stored and the free position. Then, by moving the plugboard to the goods to be shipped out of the automatic three-dimensional shelf storage device, and lifting the goods to be shipped out, after moving to the shipping warehouse outside the automatic three-dimensional shelf storage device according to the corresponding sub-route in the target moving route, the goods to be shipped out are placed in the shipping warehouse, and the plugboard is retracted, so as to complete the interaction between the plugboard and the goods to be shipped out, and the interaction between the plugboard and the shipping warehouse, and the interaction between the goods to be shipped out and the shipping warehouse. Among them, the movement mode of the plugboard includes raising, shrinking, descending, parallel movement, vertical movement, insertion and falling, and retracting the plugboard. In this way, through the interaction between the plug-in board, the goods to be stored, and the free storage space, as well as the interaction between the plug-in board, the goods to be shipped out, and the shipping warehouse, the warehousing and shipping operations of the automatic three-dimensional shelf storage equipment can be automatically realized.
[0113] Figure 2 This application is a technical roadmap for a building block interactive sandbox, such as Figure 2As shown, when using a building block interactive sandbox of the present application for project practice, it is necessary to plan project requirements, key issues, key technologies and research objectives in advance. Among them, the project requirements are that the building block interactive sandbox (building block interactive editing sandbox) needs to realize the building block assembly software and the entity interactive scene platform based on modularization, informatization and intelligence. Key issues include: 1. 3D printing sandbox model; 2. Model implementation drive, scanning, and revealing signal modules; 3. Sandbox operation information can realize data twins in the software; 4. Sandbox and building block assembly software realize module self-assembly. Key technologies include: 1. CAD drawing and model analysis; 2. Robot, mechanical design and practical application; 3. Codable data system based on a new generation of transmission methods; 4. Programming and application of information platforms and physical platforms that can be easily spliced and built. Methods and research contents include: 1. Data research on the proportion of physical equipment and models; 2. Research on functional sandbox model equipment; 3. Research on the combination of programmable construction systems; 4. Research on the construction of information transmission data systems; 5. Actual use test of building block interactive editing sandbox. The research objectives include realizing the practical application of building block interactive editing sandbox in various scenarios such as teaching.
[0114] The block sandbox interactive method of the present application is mainly applied to vocational schools, enterprises and other situations.
[0115] When used in vocational schools, this application mainly provides the following functions:
[0116] 1. Practical teaching: Through the sandbox and supporting software to realize the building block sandbox interaction method, students can conduct practical training in a simulated warehousing environment to understand and master the process and operation skills of warehousing operations. 2. Data analysis: A building block sandbox interaction system of the present application can record and analyze the data of students during the operation process, helping students understand the laws and optimization directions of logistics operations. 3. Competition training: The sandbox of the present application can be used for training and simulation of various logistics competitions to improve students' practical ability and teamwork ability. 4. Course evaluation: Through the data recorded by a building block sandbox interaction system during the building block interaction process in the sandbox, teachers can evaluate students' learning progress and achievements, and provide feedback and improvement suggestions for teaching.
[0117] When used in enterprises and other situations, this application mainly provides the following functions:
[0118] 1. Employee training: Companies can use the sandbox of this application to train new employees, helping them quickly become familiar with and master the processes and specifications of warehousing operations. 2. Business simulation: Companies can conduct business simulations on the sandbox to help employees understand the rules and optimization directions of logistics operations, and improve their business level and decision-making ability. 3. Academic research: The sandbox of this application can provide data and experimental environment for academic research in the field of logistics, and promote the development and innovation of the logistics field. 4. Industry exchanges: The sandbox of this application can be used in various industry conferences and exchange activities, providing a platform for communication and learning for companies and experts in the industry.
[0119] The advantages of a building block sand table interactive method in practical applications include high simulation, data-driven, flexible customization, easy operation, high security, and strong scalability. Among them, the high simulation is embodied in: the sand table and supporting software of the present application realize the building block sand table interactive method, which can highly restore the real storage environment, allowing students or employees to conduct practical training in a simulated environment to improve their practical ability and coping ability. Data-driven is embodied in: a building block sand table interactive system of the present application can record and analyze data in the practical operation process, provide feedback and improvement suggestions for teaching or training, and help students or employees better understand and master the laws and optimization directions of logistics operations. Flexible customization is embodied in: the sand table of the present application can be customized according to different needs, which can meet the needs of different schools, different enterprises, and different scenarios, and improve the applicability and practicality of the product. Easy operation is embodied in: the sand table and supporting software of the present application are simple and easy to understand, convenient for teachers, students or employees to use, and reduce the time and cost of learning and training. High security is embodied in: the sand table of the present application fully considers safety factors in the design and manufacturing process, and is manufactured with environmentally friendly materials to ensure safety and reliability during use. The strong expansibility is reflected in the fact that the sandbox of this application can be expanded and upgraded as needed, and more functions and modules can be added to meet the ever-changing market demands and technological developments.
[0120] Figure 3 A network architecture diagram of a building block sandbox interactive method for this application is shown in FIG. Figure 3 As shown, it includes user layer, interface layer, system (a building block sand table interactive system) service, storage and basic services. Among them, the user layer includes the building block interactive sand table entity terminal and 2.4G operation remote control device, the interface layer includes WiFi IPV4 technology and RFID exchange technology, the system service includes module editing function, operation information function, scene building and scoring function, storage includes Redis, Memory Cache, MySQLDB, and basic services include cache, file, and others.
[0121] An interactive sandbox with building blocks in an embodiment of the present application applies the above-mentioned sandbox interactive method with building blocks.
[0122] A building block interactive sand table of the present application includes a sand table environment plan, a 3D printing model appliance, a wireless charging device and a battery compartment, a driving module required for the model, a signal module, a battery module, and a scanning and reading and writing module. The operating principle of the sand table is: use 3D printing technology to print out all the building block models required for the building block interactive sand table, and implant the fixed building block model (such as a shelf, an area) with a passive readable and writable tag to facilitate the scanner to identify, and then implant the required driving module, signal module, battery module, and scanning and reading and writing module into the mobile building block model (such as a vehicle, a person), wherein the driving operation module of the vehicle adopts a mechanical drive, and the driving operation module of the model personnel adopts an electromagnet connected at the end, which can realize a complete set of models for remote control interaction and simulation operation. Then, by designing the scene plan required in the scene, a copper ring is placed in the movable model storage area on the desktop to charge the model wirelessly, and it is ensured that a single charge can be used for more than 90 minutes. Use 3 No. 5 batteries to power the sand table, and manipulate each building block model in the sand table through a building block sand table interaction method, so as to realize the interaction of each building block model on the sand table.
[0123] The building block interactive sandbox of the present application has high scalability, can realize data intercommunication, and can also realize platform compatibility.
[0124] High scalability is reflected in: all building blocks (equipment, goods, etc.) in the sandbox can have one ID, and data can be read and written to each building block through the identification scanner, and can be modified uniformly. In the subsequent optimization, the database system and a building block sandbox interactive system will be used to launch different types of shelves and equipment. In actual application, different modifications can be made to goods, facilities, and operating procedures according to the training enterprises, skills competitions, teaching requirements, and real scenarios.
[0125] Data intercommunication is reflected in that all data in the sandbox is sent to the computer via the mobile device's transceiver via wifi, which enables data intercommunication between physical flow and information flow. When a building block interactive sandbox of the present application is used for teaching, students can experience the logistics information and actual operation brought by different operation methods according to the operation process in the book, and because of data intercommunication, the platform can independently design a scoring teaching system to achieve independent scoring for classroom group characters.
[0126] Platform compatibility is reflected in the following aspects: with the support of the building block interactive sandbox and a building block sandbox interactive system, it is possible to break the technical barriers between the different operating logics of different R&D companies in the past, and simulate different enterprise logistics system operations on the system platform of this application, greatly reducing the cost for colleges and enterprises to purchase different logistics platforms and other sandbox software platforms.
[0127] like Figure 4 As shown, the present application provides a building block sand table interactive system, including:
[0128] The first acquisition module is used to acquire the target interactive task of the sandbox;
[0129] A first determination module is used to determine the corresponding target fixed building block model and target moving building block model in the sandbox based on the target interaction task, as well as the target interaction instruction for the target moving building block model;
[0130] The second acquisition module is used to obtain the environmental plan of the sand table;
[0131] A second determination module is used to determine a target moving route between the target moving block model and the target fixed block model based on the environment plan, the target fixed block model and the target moving block model;
[0132] The control module is used to control the target moving block model to move along the target moving route in the sandbox, and to control the target moving block model to execute the target interaction instruction.
[0133] Optionally, the second determining module is specifically configured to:
[0134] Get the first position of the target fixed building block model in the sandbox;
[0135] Obtain the second position of the target moving block model in the sandbox;
[0136] A target moving route between the target moving block model and the target fixed block model is planned based on the environment plan, the first position and the second position.
[0137] Optionally, the second determining module is specifically configured to:
[0138] Obtain the road conditions in the environment plan;
[0139] Based on road conditions, planning multiple movement routes between the first location and the second location;
[0140] A moving route that meets a preset condition among the multiple moving routes is used as a target moving route between the target moving building block model and the target fixed building block model.
[0141] Optionally, the system further includes a collision control module; the collision control module includes an acquisition unit, a collision detection unit and a control unit;
[0142] An acquisition unit, used to acquire the real-time motion state of the target moving block model when controlling the target moving block model to move along the target moving route in the sandbox;
[0143] A collision detection unit, used to determine the collision situation of the target moving building block model based on the real-time motion state;
[0144] The control unit is used to dynamically control the moving direction of the target moving block model based on the collision situation.
[0145] Optionally, the collision detection unit is specifically used to:
[0146] Obtain the continuous historical motion position of the target moving block model from the moment it starts moving to the moment of the real-time motion state;
[0147] When the real-time motion state is characterized by the real-time speed of the target moving block model being less than 0, or the real-time position of the target moving block model coincides with the continuous historical motion position, or the real-time position of the target moving block model is not on the target moving route, it is determined that the collision condition of the target moving block model is characterized as a collision;
[0148] When the real-time motion state is characterized by that the real-time speed of the target moving block model is greater than or equal to 0, and the real-time position of the target moving block model does not overlap with the continuous historical motion position, and the real-time position of the target moving block model is on the target moving route, it is determined that the collision situation of the target moving block model is characterized as no collision.
[0149] Optionally, the control unit is specifically used to:
[0150] When the collision situation is characterized as a collision, adjusting the moving direction of the target moving block model until the moving direction is the same as the moving direction of the target moving block model on the target moving route, and the position of the target moving block model is on the target moving route;
[0151] When the collision situation is characterized as no collision, the target moving block model is controlled to move along the target moving route in the sandbox.
[0152] A computing device according to an embodiment of the present application includes a memory, a processor, and a program stored in the memory and running on the processor. When the processor executes the program, some or all steps of the above-mentioned building block sandbox interaction method are implemented.
[0153] Among them, the computing device can be a computer, and correspondingly, its program is computer software. The above-mentioned parameters and steps in a computing device of the present application can refer to the parameters and steps in an embodiment of a building block sandbox interaction method mentioned above, and will not be repeated here.
[0154] In an embodiment of the present application, a computer-readable storage medium is provided, in which instructions are stored. When the instructions are executed, the steps of the above-mentioned building block sandbox interaction method are executed.
[0155] The computer-readable storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0156] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method of the embodiment of the present disclosure. The aforementioned computer-readable storage medium may be a non-transitory computer-readable storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes, or a transient computer-readable storage medium.
[0157] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0158] Those skilled in the art know that the present application can be implemented as a system, method or computer program product. Therefore, the present disclosure can be specifically implemented in the following forms, namely: it can be complete hardware, it can be complete software (including firmware, resident software, microcode, etc.), or it can be a combination of hardware and software, generally referred to as "module" or "system" herein. In addition, in some embodiments, the present application can also be implemented in the form of a computer program product in one or more computer-readable media, and the computer-readable medium contains computer-readable program code. Computer-readable storage media can be, for example, but not limited to - electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above.
[0159] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0160] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A building block sand table interaction method, characterized in that: include: Get the target interactive task of the sandbox; Based on the target interaction task, determining the corresponding target fixed building block model and target moving building block model in the sandbox, and the target interaction instruction for the target moving building block model; Obtaining an environmental plan of the sandbox; Determine a target moving route between the target moving block model and the target fixed block model based on the environment plan, the target fixed block model and the target moving block model; The target moving block model is controlled to move in the sandbox according to the target moving route, and the target moving block model is controlled to execute the target interaction instruction.
2. The method according to claim 1, characterized in that The step of determining a target moving route between the target moving block model and the target fixed block model based on the environment plan, the target fixed block model and the target moving block model comprises: Acquire a first position of the target fixed building block model in the sandbox; Acquire a second position of the target mobile building block model in the sandbox; A target moving route between the target mobile building block model and the target fixed building block model is planned based on the environment plan, the first position and the second position.
3. The method according to claim 2, characterized in that The step of planning a target moving route between the target mobile building block model and the target fixed building block model based on the environment plan, the first position, and the second position includes: Acquire the road conditions in the environment plan; Based on the road conditions, planning a plurality of movement routes between the first location and the second location; A moving route that meets a preset condition among the multiple moving routes is used as a target moving route between the target moving building block model and the target fixed building block model.
4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When controlling the target moving block model to move along the target moving route in the sandbox, obtaining a real-time motion state of the target moving block model; Determine a collision condition of the target moving building block model based on the real-time motion state; Based on the collision situation, the moving direction of the target moving building block model is dynamically regulated.
5. The method according to claim 4, characterized in that The determining the collision condition of the target moving building block model based on the real-time motion state includes: Obtaining the continuous historical motion position of the target moving building block model from the moment when the movement starts to the moment when the real-time motion state is present; When the real-time motion state is characterized by the real-time speed of the target moving block model being less than 0, or the real-time position of the target moving block model coincides with the continuous historical motion position, or the real-time position of the target moving block model is not on the target moving route, it is determined that the collision condition of the target moving block model is characterized as a collision; When the real-time motion state is characterized by that the real-time speed of the target moving block model is greater than or equal to 0, and the real-time position of the target moving block model does not overlap with the continuous historical motion position, and the real-time position of the target moving block model is on the target moving route, it is determined that the collision situation of the target moving block model is characterized as no collision.
6. The method according to claim 4, characterized in that The dynamically regulating the moving direction of the target moving building block model based on the collision situation includes: When the collision situation is characterized as a collision, adjusting the moving direction of the target moving block model until the moving direction is the same as the moving direction of the target moving block model on the target moving route, and the position of the target moving block model is on the target moving route; When the collision situation is characterized as no collision, the target moving block model is controlled to move in the sandbox according to the target moving route.
7. A building block interactive sand table, characterized in that: A building block sandbox interaction method as described in any one of claims 1 to 6 is applied.
8. A building block sand table interactive system, characterized in that: include: The first acquisition module is used to acquire the target interactive task of the sandbox; A first determination module is used to determine the corresponding target fixed building block model and target moving building block model in the sandbox based on the target interaction task, and the target interaction instruction for the target moving building block model; A second acquisition module is used to acquire an environmental plan view of the sandbox; A second determining module is used to determine a target moving route between the target moving building block model and the target fixed building block model based on the environment plan, the target fixed building block model and the target moving building block model; The control module is used to control the target moving block model to move in the sandbox according to the target moving route, and control the target moving block model to execute the target interaction instruction.
9. A computing device comprising a memory, a processor, and a program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the steps of the building block sandbox interaction method as described in any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device executes the steps of a building block sandbox interaction method as described in any one of claims 1 to 6.