Distribution method of intelligent wardrobe

文档序号:1467159 发布日期:2020-02-21 浏览:11次 中文

阅读说明:本技术 一种智能更衣柜的分配方法 (Distribution method of intelligent wardrobe ) 是由 潘康达 于 2019-10-31 设计创作,主要内容包括:本发明属于智能更衣柜技术领域,尤其涉及一种智能更衣柜的分配方法,服务器将柜子分为高、中、低三层柜子,按照录入的人员身高进行合适的分配,更有利于身高较低和行动不便的残疾人士,并且同时兼容固定分配和随机分配两种模式,能够降低随机分配时更衣柜终端与服务器之间的交互压力,同时服务器与更衣柜终端之间采用一对多的模式,即服务器管理多个更衣柜终端,终端与服务器实时交互,通过服务器录入人员信息,多个更衣柜终端共享数据,减少管理员的工作,在达到数据的及时性和准确性的同时,使得更衣系统的使用更为有效的便利进行。(The invention belongs to the technical field of intelligent locker, and particularly relates to a distribution method of an intelligent locker, wherein a server divides a cabinet into a high-layer cabinet, a middle-layer cabinet and a low-layer cabinet, proper distribution is carried out according to the recorded height of a person, the low-height and handicapped people with inconvenient actions are facilitated, two modes of fixed distribution and random distribution are compatible, the interaction pressure between a locker terminal and a server during random distribution can be reduced, meanwhile, a one-to-many mode is adopted between the server and the locker terminal, namely, the server manages a plurality of locker terminals, the terminals and the server interact in real time, the server records information of the person, the plurality of locker terminals share data, the work of a manager is reduced, and the use of a locker system is more effectively and conveniently carried out while the timeliness and the accuracy of the data are achieved.)

1. A distribution method of an intelligent wardrobe is characterized in that: the method comprises the following steps:

s1, configuring cabinet information by the wardrobe terminal, and uploading the cabinet information to a server, wherein the cabinet information comprises cabinet layer areas arranged according to the height of the cabinet;

s2, the server records personnel information and distributes cabinets of corresponding cabinet areas according to the height which can be reached by human bodies;

s3, the locker terminal verifies the user and opens the locker.

2. The method of claim 1, wherein the method comprises the following steps: in step S1, the locker terminal configures the cabinet information to generate a configuration message, and then uploads the configuration message to the server.

3. The method of claim 1, wherein the method comprises the following steps: in step S2, the server sets a staff type according to the staff information, divides the staff type into fixed staff and mobile staff, performs fixed allocation for the fixed staff, and performs random allocation for the mobile staff.

4. The method of claim 3, wherein the method comprises the following steps: the server binds fixedly distributed cabinets and synchronizes data to the wardrobe terminals; the server does not bind the randomly distributed cabinets and does not need to synchronize data to the locker terminal.

5. The method of claim 1, wherein the method comprises the following steps: in step S2, the personal information includes height and health status information of the human body, which is used as a basis for determining the height that can be reached by the human body, and parameters of the server for distributing the floor area of the cabinet.

6. The method of claim 1, wherein the method comprises the following steps: in step S2, the locker terminal divides the cabinet into five states of idle, occupied, locked, overtime, and offline, and the server allocates the cabinets in the idle state only.

7. The method of claim 1, wherein the method comprises the following steps: in step S3, the person verifies the user card number or the fingerprint information.

8. The method of claim 7, wherein the method comprises the steps of: in step S3, the wardrobe terminal reads and generates a verification message and uploads the verification message to the server, the server verifies the verification message and generates a verification result and returns the verification result to the wardrobe terminal, and finally the wardrobe terminal opens the cabinet according to the verification result and uploads a cabinet opening log to the server for recording.

9. The method of claim 1, wherein the method comprises the following steps: when the personnel information changes, the server sends a synchronization instruction to enable the wardrobe terminal to synchronize the server information.

10. The method of claim 1, wherein the method comprises the following steps: UDP communication is adopted between the wardrobe terminal and the server and between the wardrobe terminal and the door opening plate for controlling the door opening.

Technical Field

The invention belongs to the technical field of intelligent wardrobe, and particularly relates to a distribution method of an intelligent wardrobe.

Background

Disclosure of Invention

Aiming at the defects that in the prior art, a wardrobe system randomly distributes all cabinets and does not perform adaptive high-low-level cabinet distribution according to the height and health information of personnel, the invention provides the distribution method of the intelligent wardrobe, which sets the personnel type, performs fixed distribution on fixed personnel, performs random distribution on temporary personnel, reduces the system pressure, includes height parameters in input personnel information, and distributes high, medium and low cabinet layers according to the height, so that the use of the wardrobe is more humanized.

In order to achieve the purpose, the invention provides an allocation method of an intelligent wardrobe, which comprises the following steps:

s1, configuring cabinet information by the wardrobe terminal, and uploading the cabinet information to a server, wherein the cabinet information comprises cabinet layer areas arranged according to the height of the cabinet;

s2, the server records personnel information and distributes cabinets of corresponding cabinet areas according to the height which can be reached by human bodies;

s3, the locker terminal verifies the user and opens the locker.

As a further improvement of the allocation method of the intelligent locker of the present invention, in step S1, the locker terminal configures the cabinet information, generates a configuration message, and uploads the configuration message to the server.

As a further improvement of the distribution method of the intelligent wardrobe, the distribution method is characterized in that: in step S2, the server sets a staff type according to the staff information, divides the staff type into fixed staff and mobile staff, performs fixed allocation for the fixed staff, and performs random allocation for the mobile staff.

As a further improvement of the distribution method of the intelligent wardrobe, the distribution method is characterized in that: the server binds fixedly distributed cabinets and synchronizes data to the wardrobe terminals; the server does not bind the randomly distributed cabinets and does not need to synchronize data to the locker terminal.

As a further improvement of the distribution method of the intelligent wardrobe, the distribution method is characterized in that: in step S2, the person information includes height and health status information of the person, which is used as parameters for the server to allocate the shelf-zone.

As a further improvement of the distribution method of the intelligent wardrobe, the distribution method is characterized in that: in step S2, the locker terminal divides the cabinet into five states of idle, occupied, locked, overtime, and offline, and the server allocates the cabinets in the idle state only.

As a further improvement of the distribution method of the intelligent wardrobe, the distribution method is characterized in that: in step S3, the person verifies the user card number or the fingerprint information.

As a further improvement of the distribution method of the intelligent wardrobe, the distribution method is characterized in that: in step S3, the wardrobe terminal reads and generates a verification message and uploads the verification message to the server, the server verifies the verification message and generates a verification result and returns the verification result to the wardrobe terminal, and finally the wardrobe terminal opens the cabinet according to the verification result and uploads a cabinet opening log to the server for recording. The method of claim 1, wherein the method comprises the following steps: when the personnel information changes, the server sends a synchronization instruction to enable the wardrobe terminal to synchronize the server information.

As a further improvement of the distribution method of the intelligent wardrobe, the distribution method is characterized in that: UDP communication is adopted between the wardrobe terminal and the server and between the wardrobe terminal and the door opening plate for controlling the door opening.

The distribution method of the intelligent wardrobe has the beneficial effects that:

(1) the server carries out high, medium and low layering on the cabinet of the wardrobe terminal, when a user inputs information into the server, the information comprises personal height and health condition information of the user, the server carries out proper distribution of the high, medium and low cabinets according to the height information and the health condition information of the user, so that the wardrobe terminal is more beneficial to disabled people with low height and inconvenient actions, and is compatible with two modes of fixed distribution and random distribution;

(2) the mode that the server manages the wardrobe terminals is one-to-many, namely the server manages the wardrobe terminals, the terminals interact with the server in real time, personnel information is input through the server, the wardrobe terminals share data, the personnel information verification is verified through the server, the storage pressure of the wardrobe terminals is reduced to the maximum extent, the work of an administrator is reduced, and the use of the clothes changing system is more effective and convenient while the timeliness and the accuracy of the data are achieved.

Drawings

FIG. 1 is a step diagram of the wardrobe distribution method of the present invention;

FIG. 2 is a flow chart of the present invention;

FIG. 3 is a schematic diagram of a pair of multiple modes of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

The invention provides an allocation method of an intelligent wardrobe, which comprises the following steps:

s1, configuring cabinet information by the wardrobe terminal, and uploading the cabinet information to a server, wherein the cabinet information comprises cabinet layer areas arranged according to the height of the cabinet;

s2, the server records personnel information and distributes cabinets of corresponding cabinet areas according to the height which can be reached by human bodies;

s3, the locker terminal verifies the user and opens the locker.

The specific process comprises the steps that the terminal requests the server to verify, the server feeds back a verification result, and the terminal sends a door opening instruction to the door opening plate and a door opening plate response instruction and returns a result. The UDP communication is divided into a server and a client, the server is the server for the server and the wardrobe terminals, the wardrobe terminals are the clients, the server needs to add the wardrobe terminals to the list, the data sent from the specific port is monitored by the server through the IP and the wardrobe terminal cabinet number as the identifier, the wardrobe terminals are identified through the IP and the cabinet number in the data xml message sent from the wardrobe terminals, the equipment list is searched, whether the client belongs to the own list is judged, and corresponding processing is carried out. For a wardrobe terminal and a door opening plate for controlling door opening, the wardrobe terminal is a server side, the door opening plate is a client side, the wardrobe needs to add a door opening plate controlled by the wardrobe to a wardrobe terminal door opening plate list, the door opening plate is identified through IP and a door opening plate number, a specific port is monitored, door opening plate data is identified through the plate number, and meanwhile a door opening instruction and the like are issued. The xml message is mainly aimed at data interaction between a server and a wardrobe terminal, and the message fixed necessary content comprises: the information type comprises a message type (data message: data or instruction is issued by a server or actively uploaded by a wardrobe terminal), a response message (result feedback after the data message is received by the server or the wardrobe terminal), a message receiving end (server or the wardrobe terminal), a wardrobe terminal cabinet number (unique identification for identifying each wardrobe), a message type (comprising message types such as user information synchronization, user verification, storage order, fetching order, terminal cabinet opening log and the like), a message main body and message verification. The data interaction between the wardrobe terminal and the door opening plate is mainly a data packet in a plurality of arrays, which is divided into instruction data and response data, the wardrobe terminal generally sends an instruction to the door opening plate, the door opening plate returns a response message, and the data format is as follows: data packet size, instruction (door opening, door body checking or object state checking, etc.), door opening plate number, data body and check code.

In step S1, the cabinet information configured by the locker terminal includes a cabinet number (unique identifier for distinguishing each terminal), a cabinet number, a cabinet type (large, medium, small), and a floor area (high, medium, and low); the wardrobe terminal configuration server IP is used for connecting a server, such as a server database name, an IP, a port number and the like, and is used for data interaction between the server and the wardrobe terminal; the wardrobe terminal is provided with an opening door plate IP and a port number and used for carrying out data interaction with the opening door plate.

In step S2, fixed allocation is used for the fixed users, and random allocation is used for the mobile users, specifically, fixed allocation means that a cabinet number of a cabinet is fixed and allocated to a person, then the personnel occupies the cabinet effectively for a long time, the fixed distribution needs a server to input personnel information which comprises personnel names, card numbers and fingerprint information, the personnel information is distributed to the cabinet in the area, the zone of the selected distribution layer (high, medium and low) and the cabinet type (large, medium and small), a synchronous instruction is issued to the wardrobe terminal, the wardrobe terminal receives the synchronous information instruction of the server, the server database is connected to obtain the fixed distribution personnel information of the cabinet to the local, distributing the fixed cabinets according to the layer areas, generating a fixed use order, and sending order information to the server, so that the server can inquire the fixed distribution condition of each wardrobe terminal; the mobile distribution means that a cabinet is temporarily and randomly distributed to a certain person by a wardrobe terminal, the number of times that the person uses the cabinet is limited, the person is generally used for one time, and the mobile user enters the information of the person in a server without synchronizing to the wardrobe terminal.

The server configures height information and layer area binding rules, such as: the height is below 1.5 meters, the binding is a low layer, the binding is a middle layer at 1.5-1.75 meters, the binding is a high layer at more than 1.75 meters, distribution rules are set and then the distribution rules are issued to all wardrobe terminals, the mode can be flexibly set according to the height of the wardrobe, and meanwhile, when the disabled uses the wardrobe, height information below 1.5 meters can be recorded, and the distribution is convenient for use at the low layer.

In step S3, a locker terminal collects user card numbers or fingerprint information to form a verification message sending server, the server receives a verification message, searches a database, returns a verification result and personnel types, for fixed distribution personnel, the locker terminal searches fixed distribution cabinets through the personnel information and sends a cabinet opening instruction to a door opening plate, for mobile users, free and unfixed cabinets are randomly distributed to suitable floor cabinets according to the height information of the personnel, if no height information exists, a middle-layer cabinet is firstly distributed according to a middle-layer priority distribution principle, a middle-layer cabinet is not available, a high layer is distributed, a low layer is finally distributed, and cabinets suitable for the users are distributed to the maximum extent; when the terminal receives the verification message and distributes cabinets, a cabinet opening instruction is sent to the door opening plate, after the door opening plate returns successful cabinet opening information, the terminal goes to a cabinet opening interface to prompt a user to store articles or take articles, the cabinet door is closed, a cabinet opening record is recorded and stored locally, and meanwhile the record is uploaded to the server for recording the cabinet opening record of all personnel, so that abnormal conditions are conveniently processed.

The cabinet changing terminal divides all cabinets into five states of idle state, occupied state, locking state, overtime state and offline state, the idle state is a state that the cabinets can be used and are not used by people, the occupied state is a state that the cabinets are distributed out, the locking state is locked due to faults, manual unlocking is needed, the cabinets cannot be used before being unlocked, the cabinets cannot be used due to overtime, the service life is set for mobile users, the cabinets cannot be verified and opened by the users of the cabinets in the overtime state, the cabinets can be opened only by a manager background, the mobile users are prevented from occupying for a long time, the offline state is that when the door opening plate and the cabinet changing terminal network are abnormal, all the cabinets are in the offline state, all the cabinets cannot be used at the moment, and therefore, mobile distribution and fixed distribution can only distribute the cabinets in the.

The fixed distribution is distributed at the moment of personnel information input, after the fixed user inputs information in the server, the corresponding cabinet is selected, the server informs the locker terminal to update the fixed personnel information, after the locker terminal synchronizes the fixed user information of the cabinet, the cabinet distribution is carried out according to the height and the selected cabinet type of the fixed personnel information, the corresponding low-level, middle-level and high-level idle cabinets are distributed, namely, the locker distributes cabinets meeting the conditions according to the cabinet type and the proper floor area, then the cabinets are bound with the personnel to generate a use order and are uploaded to the server to complete the fixed distribution, if no height information exists, the distribution is carried out according to the middle-level priority principle, namely, the middle-level cabinet is distributed preferentially, if the middle-level cabinet does not have an idle cabinet, the high-level cabinet is distributed, and if no idle cabinet exists; the mobile user can temporarily distribute cabinets when the storage operation is carried out at the wardrobe terminal, the distribution method is consistent with that of the fixed distribution personnel, the server returns a verification result and personnel information after the mobile user verifies the information, the wardrobe terminal distributes cabinets according to the height information and the distribution rule of the personnel information, and no height information is still distributed according to the middle-layer priority distribution principle.

The process of the locker for completing the storage and fetching comprises the following steps:

s01, firstly, the administrator inputs the information of the user into the server, after the information is input, if fixed distribution exists, a synchronous data instruction is sent to the wardrobe terminal, and the wardrobe terminal is remotely connected with the server to synchronously distribute the information of the user on the cabinet to the local database;

s02, a user selects storage and fetching operations at the wardrobe terminal, then swipes an IC card or performs fingerprint verification, the wardrobe terminal acquires verification data and sends the verification data to the server, and the server searches the identity information of the user through the verification information and returns the identity information to the wardrobe terminal;

s03, the wardrobe terminal receives the returned identity information, if the person belongs to a fixed user, the person looks up a record of a local current use order of the wardrobe terminal, finds a bound cabinet number of the person, if the person is a mobile user, the current clothes storage operation is carried out, firstly, a cabinet type (large, medium and small) is selected, then, according to the height information of the person, a cabinet type cabinet corresponding to a suitable layer area is selected, if no height information exists, according to a middle-layer preferential allocation principle, the current object taking operation is carried out, and then the current mobile person order is looked up, and the corresponding cabinet is found.

And S04, after the corresponding cabinet is found, carrying out cabinet opening operation, sending a cabinet opening instruction to the door opening plate, after the cabinet opening is successful, if the cabinet opening is performed by a fixed distributor, recording and uploading cabinet opening information to the server, and if the cabinet opening is performed by a mobile user, recording and uploading newly-built or completed orders to the server, and updating the current order state.

And when the personnel information changes, the server timely issues a synchronization instruction to enable the wardrobe terminal to synchronize the server information, especially fixed allocation personnel, and after the server is changed, the wardrobe terminal is notified, the wardrobe terminal resynchronizes the server information, allocates cabinets, generates an order and uploads the order to the server, so that the data of the server and the wardrobe terminal are consistent. The data is real-time and accurate, and the server can check the use condition of each wardrobe terminal at any time.

Although the present invention has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种离港前端系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!