Method, device, server and storage medium for determining elevator floor
Technical Field
The embodiment of the invention relates to the technical field of elevator control, in particular to a method, a device, a server and a storage medium for determining elevator floors.
Background
With the development of modern cities in China, residential districts, commercial buildings and office buildings mainly comprising high-rise buildings in the cities are greatly emerged, and the elevator serving as a vertical transportation means becomes an essential transportation means for people in the cities.
In some office buildings with high personnel saturation, the utilization rate of the elevator is very high in peak periods of working, leaving work and dining, and the elevator generally runs in a full state. When the elevator is in a full state, the elevator car is basically in a state of people beside each other, so that some people taking the elevator cannot contact the elevator keys and cannot select floors, and great inconvenience is brought to the people taking the elevator.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, a server, and a storage medium for determining an elevator floor, so as to solve the technical defect that, in the prior art, when a passenger in an elevator car cannot touch a floor key, an elevator cannot actively select a target floor of the passenger.
In a first aspect, an embodiment of the present invention provides a method for determining elevator floors, including:
establishing a wireless connection with a device entering an elevator car;
acquiring a target floor of the equipment;
and correcting the current destination floor list according to the destination floor.
In the above method, preferably, the obtaining of the target floor of the device includes:
obtaining an identifier of the device;
determining a target floor of the device based on the identifier and device floor association data.
In the above method, preferably, the determining a target floor of the device based on the identifier and the device floor association data includes:
determining a first target floor of the device based on the identifier and device floor association data;
judging whether the equipment is associated with a second target floor or not according to the travel management data;
sending the first target floor and the second target floor to the device if the device is associated with a second target floor;
and determining the first target floor or the second target floor as a target floor according to the received floor selection instruction of the equipment.
In the above method, it is preferable that the determining whether the device is associated with the second target floor according to the trip management data includes:
acquiring travel data associated with the current time in the travel management data;
determining whether the trip data is associated with the device;
and if so, determining that the equipment is associated with a second target floor, wherein the second target floor is a target floor associated with the travel data.
In the above method, it is preferable that, after determining the target floor of the device based on the identifier and the device floor association data, the method includes:
if the target floor is a restricted floor, sending an identity verification instruction to the equipment;
receiving authentication data sent by the equipment;
and if the authentication data is correct, confirming that the target floor is valid.
In the above method, preferably, the obtaining of the target floor of the device includes:
and determining a target floor according to the target floor instruction sent by the equipment.
In the above method, it is preferable that before establishing the wireless connection with the device entering the elevator car, the method includes:
acquiring statistical data of floors corresponding to each device entering an elevator car within a set time period;
and determining target floors corresponding to the equipment according to the statistical data, and establishing the equipment floor related data.
In a second aspect, an embodiment of the present invention provides an elevator floor determination apparatus, including:
the wireless connection module is used for establishing wireless connection with equipment entering the elevator car;
the target floor acquisition module is used for acquiring a target floor of the equipment;
and the floor list correction module is used for correcting the current target floor list according to the target floor.
In a third aspect, an embodiment of the present invention provides a server, where the server includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of determining elevator floors as described in embodiments of the invention.
In a fourth aspect, embodiments of the present invention provide a storage medium containing computer-executable instructions that, when executed by a computer processor, perform a method of elevator floor determination as described in embodiments of the present invention.
The embodiment of the invention provides a method, a device, a server and a storage medium for determining elevator floors, which are characterized in that wireless connection is established with equipment entering an elevator car, then a target floor of the equipment is obtained, and finally a current target floor list is corrected according to the target floor.
Drawings
Fig. 1 is a flowchart of a method for determining elevator floors according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for determining an elevator floor according to a second embodiment of the present invention;
fig. 3 is a flowchart of a method for determining elevator floors according to a third embodiment of the present invention;
fig. 4 is a structural view of an elevator floor determination device according to a fourth embodiment of the present invention;
fig. 5 is a structural diagram of a server according to a fifth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in further detail below with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a method for determining an elevator floor according to an embodiment of the present invention, where the method of this embodiment may be implemented by an elevator floor determination device, and the device may be implemented by hardware and/or software, and may be generally integrated in a control server of an elevator. The method of the embodiment specifically includes:
101. a wireless connection is established with a device entering the elevator car.
In this embodiment, install wireless connection equipment in the elevator car, can carry out wireless connection with the equipment that gets into the elevator, wherein, wireless connection's mode specifically can be bluetooth connection and WIFI connection etc. and this embodiment does not restrict this.
Generally speaking, as long as the equipment is in the signal range of wireless connection, the equipment can be successfully wirelessly connected with the elevator car, but the equipment does not need to wait for wireless connection after entering the elevator car, so that the target floor of the equipment can be known more quickly.
It should be noted that the device that can successfully perform the wireless connection with the elevator floor determination device and perform the subsequent data interactive operation should be a device that is installed with application software corresponding to the elevator floor determination device, and if the device is not installed with the application software, generally speaking, the device cannot successfully perform the wireless connection with the elevator car and successfully perform the data interactive operation.
102. A target floor of the device is obtained.
It should be noted here that since all devices within the signal range of the wireless connection can be connected, the destination floor obtained in this step can be all devices within the signal range of the wireless connection or all devices entering the elevator. However, after the elevator car door is closed, some users of the equipment may not enter the elevator car, and specifically, whether the user enters the elevator car can be judged through the strength of the wireless connection signal, and the above judgment process belongs to the prior art and is not described in detail herein. Therefore, in this embodiment, the target floor may be obtained only for the device entering the elevator car after the door of the elevator car is closed, and of course, the target floors of all the wireless connection devices may be obtained first, and after the door of the elevator car is closed, the current target floor list may be modified according to whether the device enters the elevator car.
In this embodiment, the manner of obtaining the target floor of the device may specifically be:
A. the device determines the target floor according to the target floor command sent by the device, and the device actively sends the target floor to the determining device of the elevator floor through wireless connection.
B. The method comprises the steps of obtaining identity verification data of a user of the equipment through the equipment, comparing the identity verification data with stored identity characteristic data, and if matching is successful, determining a target floor corresponding to the identity verification data as a target floor of the equipment.
C. The method includes the steps of obtaining a target floor of equipment according to a stored corresponding relation between the equipment and the target floor, wherein the corresponding relation between the equipment and the target floor specifically refers to a corresponding relation between the equipment and the target floor obtained through statistical analysis according to target floor data selected by each equipment in the near term (for example, in last two weeks) (specifically, selected by a floor key in an elevator car or selected by application software). In the process of acquiring the corresponding relationship between the equipment and the target floor, data such as the MAC address, the IMEI number, and the mobile phone number used by the equipment can be used to uniquely identify one equipment, so as to accurately distinguish different equipment.
D. The method comprises the steps of firstly obtaining a travel schedule in the associated travel management software and contents such as personnel information related to the travel schedule, wherein the travel schedule can be specifically a meeting schedule or an outgoing activity schedule. The personal information may specifically include names of persons, IMEI numbers using mobile phones, or mobile phone numbers, and the like, where the personal information is mainly used to uniquely identify one device or one user, and therefore, information such as gender, height, age, and the like, which cannot be used to uniquely identify one device, does not belong to the personal information of this embodiment; then, according to the routing, an adjacent trip is selected, and if the device entering the elevator car is associated with the adjacent trip, the target floor associated with the adjacent trip is taken as the target floor of the device.
103. And correcting the current destination floor list according to the destination floor.
In this embodiment, after the destination floor of the device is obtained, the current destination floor is corrected, and the destination floor is added to the current destination floor list.
The invention provides a method for determining elevator floors, which comprises the steps of establishing wireless connection with equipment entering an elevator car, then obtaining a target floor of the equipment, and finally correcting a current target floor list according to the target floor, so that the technical defect that in the prior art, when passengers in the elevator car cannot touch floor keys, an elevator cannot actively select the target floors of the passengers is overcome, the elevator can automatically select the target floors of the passengers, and the using satisfaction degree of the passengers is improved.
Example two
Fig. 2 is a flowchart of a method for determining an elevator floor according to a second embodiment of the present invention. In this embodiment, the target floor of the device is obtained by optimizing the following steps: acquiring an identifier of a device; and determining the target floor of the device according to the identifier and the device floor associated data.
Further, after determining a target floor for the device based on the identifier and the device floor association data, the optimizing comprises: if the target floor is a restricted floor, sending an identity verification instruction to the equipment; receiving authentication data sent by equipment; and if the authentication data is correct, confirming that the target floor is valid.
Further, before establishing a wireless connection with a device entering the elevator car, the optimizing comprises: acquiring statistical data of floors corresponding to each device entering an elevator car within a set time period; and determining a target floor corresponding to each device according to the statistical data, and establishing device floor related data.
Correspondingly, the method of the embodiment specifically includes:
201. and acquiring statistical data of floors corresponding to each device entering the elevator car within a set time period.
In this embodiment, the floors corresponding to the respective devices are recorded and stored, specifically, after a device enters the elevator car and is wirelessly connected with the device successfully, the target floor corresponding to the device can be first determined according to the wireless connection state of the device, for example, when the elevator car stops at 3 floors, the device enters the elevator car as the elevator car establishes wireless connection with the device, when the elevator car stops at 10 floors, the wireless connection between the elevator car and the device is terminated, the target floor corresponding to the device is considered to be 10 floors, or the target floor of the device can be determined according to the target floor data directly sent by the device, and then the target floor of the device and the identifier of the device are recorded and stored.
Further, in this embodiment, the destination floor of a certain device and the identifier of the device recorded in a set time period are taken as statistical data to determine the destination floor corresponding to the device, where the set time period may be two weeks or three weeks.
202. And determining a target floor corresponding to each device according to the statistical data, and establishing device floor related data.
In this embodiment, after obtaining the statistical data of the floors corresponding to each device entering the elevator car, the target floors corresponding to each device may be determined according to the statistical data, and the specific method may be: and taking the floor with the most corresponding times of the equipment in the defined time period as the target floor of the equipment in the defined time period.
Illustratively, in the statistical data, it is recorded that, in the last two weeks, the device a takes 5 floors as the target floor 12 times and 8 floors 2 times as the target floor in the period from 7 o 'clock to 9 o' clock earlier, and therefore, it can be determined that the target floor corresponding to the device a in the period from 7 o 'clock to 9 o' clock is 5 floors.
In this embodiment, after the target floors corresponding to the respective devices are determined according to the statistical data, the obtained correspondence results between all the devices and the target floors thereof are used as device floor related data.
203. A wireless connection is established with a device entering the elevator car.
204. An identifier of the device is obtained.
In this embodiment, the identifier of the device specifically refers to data that can be used to uniquely identify a device, and typically may be a MAC address of the device or a mobile phone number used by the device.
205. And determining the target floor of the device according to the identifier and the device floor associated data.
In this embodiment, after the device enters the elevator car and is successfully wirelessly connected to the elevator car, the identifier of the device is obtained, and then the destination floor of the device is determined according to the correspondence between the identifier of the device and the destination floor in the device-floor association data.
206. And if the target floor is the restricted floor, sending an identity verification instruction to the equipment.
In this embodiment, the limitation floor may specifically be a floor where an office of an important person is located, a storage floor of an important article, a floor where a machine room is located, or the like. When the target floor is the restricted floor, authentication of the user of the device is required.
In this embodiment, the identity verification instruction may specifically be an instruction for verifying a feature that can uniquely identify a person, such as a voice, a fingerprint, or a retina of the user of the device, and, of course, correspondingly, the identity identification data corresponding to the restricted floor (i.e., the feature data of the person authorized to enter the restricted floor) should be stored in advance to perform identity verification on the user of the device.
207. And receiving the authentication data sent by the equipment.
In this embodiment, after the device receives the authentication instruction, the device may enter authentication data of the user corresponding to the authentication instruction, and send the authentication data.
208. And if the authentication data is correct, confirming that the target floor is valid.
In this embodiment, after receiving the authentication data, the authentication data is compared with the stored identification data corresponding to the restricted floor, and if the comparison is successful, it is determined that the target floor corresponding to the device is valid.
209. And correcting the current destination floor list according to the destination floor.
The second embodiment of the invention provides a method for determining elevator floors, in particular to a method for acquiring target floors of equipment, wherein the target floors of the equipment are determined according to identifiers of the equipment, meanwhile, the further operation that the target floors are limited floors is specifically optimized and added, the identity of a user of the equipment needs to be verified, the establishment process of equipment floor related data is also specifically optimized and added, and the equipment floor related data is established through statistical data of the equipment and the floors corresponding to the equipment. The method can simply and accurately establish the corresponding relation between the equipment and the floor, conveniently, quickly and accurately select the corresponding target floor for the equipment by utilizing the established corresponding relation between the equipment and the floor, improve the use satisfaction degree of a user, and simultaneously improve the safety of personnel entering important floors.
EXAMPLE III
Fig. 3 is a flowchart of a method for determining an elevator floor according to a third embodiment of the present invention. In this embodiment, the target floor of the device is determined according to the identifier and the device floor related data, and the optimization is performed based on the above embodiment as follows: determining a first target floor of the device based on the identifier and the device floor association data; judging whether the equipment is associated with a second target floor or not according to the travel management data; if the device is associated with a second target floor, sending the first target floor and the second target floor to the device; and determining the first target floor or the second target floor as a target floor according to the received floor selection instruction of the equipment.
Further, whether the equipment is related to the second target floor or not is judged according to the travel management data, and the optimization is as follows: acquiring travel data associated with the current time in the travel management data; determining whether the trip data is associated with a device; and if so, determining that the equipment is associated with a second target floor, wherein the second target floor is a target floor associated with the travel data.
Correspondingly, the method of the embodiment specifically includes:
301. a wireless connection is established with a device entering the elevator car.
302. An identifier of the device is obtained.
303. A first target floor of the device is determined based on the identifier and the device floor association data.
In this embodiment, the device corresponds to two target floors, and the target floor of the device determined from the identifier and the device floor association data is taken as the first target floor of the device.
304. And acquiring the travel data associated with the current time in the travel management data.
In this embodiment, the travel management data may specifically be data related to a corporate meeting, which may specifically include data such as a start time and an end time of the meeting, and identifiers of devices used by participants, or data related to an out-of-business of a corporate person, which includes data such as an out-of-time and identifiers of devices used by the out-of-business.
In this embodiment, the travel data associated with the current time specifically refers to travel data of a travel started to be executed at a certain time after the current time, where the certain time may typically be 15 minutes or the like.
305. And judging whether the travel data is associated with the equipment, if so, executing step 306, and if not, executing step 311.
In this embodiment, determining whether the trip data is associated with a device means, in particular, determining whether the associated device included in the trip data coincides with a device entering the elevator car.
306. The determination device associates a second target floor, wherein the second target floor is a target floor to which the trip data is associated.
In this embodiment, when it is determined that the device entering the elevator car is associated with the trip data associated with the current time, the associated target floor of the trip data associated with the current time is taken as the second target floor of the device.
307. The first target floor and the second target floor are sent to the device.
In this embodiment, after the first and second target floors of the device are determined, both target floors are sent to the device.
308. And determining the first target floor or the second target floor as a target floor according to the received floor selection instruction of the equipment.
In this embodiment, after receiving the two target floors sent in step 307, the device sends a floor selection command (including the target floor selected by the user) input by the user of the device.
309. And correcting the current destination floor list according to the destination floor.
In this embodiment, after receiving a floor selection instruction, a target floor (a first target floor or a second target floor) selected by a user is added to the current target floor list.
310. And repairing the first target floor into a current destination floor list.
In this embodiment, when the associated device included in the trip data does not coincide with the device entering the elevator car, the first target floor is taken as the target floor of the device and added to the current target floor list.
The third embodiment of the invention provides a method for determining elevator floors, which particularly optimizes the method for determining target floors, determines the target floors of equipment together according to equipment floor related data and travel data, further embodies a method for judging whether the equipment is related to a second target floor, and judges according to the travel data related to the current time. The method considers the elevator taking requirements of the users more comprehensively by referring to the travel data, improves the using satisfaction of the users, and increases the convenience of the users taking the elevator.
Example four
Fig. 4 is a block diagram of an elevator floor determination device according to a fourth embodiment of the present invention. As shown in fig. 4, the apparatus includes: a wireless connection module 401, a target floor acquisition module 402, and a floor list correction module 403, wherein:
a wireless connection module 401 for establishing wireless connection with the equipment entering the elevator car;
a target floor acquisition module 402, configured to acquire a target floor of the device;
and a floor list correction module 403, configured to correct the current destination floor list according to the destination floor.
In this embodiment, the device first establishes a wireless connection with the equipment entering the elevator car through the wireless connection module 401, then acquires the destination floor of the equipment through the destination floor acquisition module 402, and finally corrects the current destination floor list according to the destination floor through the floor list correction module 403,
the elevator floor determining device provided by the fourth embodiment of the invention solves the technical defect that in the prior art, when a passenger in an elevator car cannot touch a floor key, an elevator cannot actively select a target floor of the passenger, realizes that the elevator automatically selects the target floor of the passenger, and improves the use satisfaction of the passenger.
On the basis of the foregoing embodiments, the target floor acquiring module may include:
the identifier acquisition submodule is used for acquiring an identifier of the equipment;
and the target floor determining submodule is used for determining the target floor of the equipment according to the identifier and the equipment floor related data.
On the basis of the above embodiments, the target floor determination sub-module may include:
a first target floor determination unit for determining a first target floor of the device based on the identifier and the device floor association data;
a second target floor determination unit for determining whether the device is associated with a second target floor according to the trip management data;
a target floor transmitting unit for transmitting the first target floor and the second target floor to the device if the device is associated with the second target floor;
and the target floor selecting unit is used for determining the first target floor or the second target floor as a target floor according to the received floor selecting instruction of the equipment.
On the basis of the above embodiments, the second target floor determination unit may include:
the travel data acquisition subunit is used for acquiring travel data associated with the current time in the travel management data;
a relevance judging subunit, configured to judge whether the trip data is relevant to the device;
and the second target floor determining subunit is used for determining that the equipment is associated with a second target floor if the equipment is associated with the second target floor, wherein the second target floor is a target floor associated with the travel data.
On the basis of the above embodiments, the method may further include:
the identity verification instruction sending module is used for sending an identity verification instruction to the equipment if the target floor is a restricted floor after the target floor of the equipment is determined according to the identifier and the equipment floor related data;
the identity authentication data receiving module is used for receiving identity authentication data sent by equipment;
and the floor validity confirming module is used for confirming that the target floor is valid if the authentication data is correct.
On the basis of the foregoing embodiments, the target floor acquiring module may include:
and the target floor receiving submodule is used for determining a target floor according to the target floor instruction sent by the equipment.
On the basis of the above embodiments, the method may further include:
the statistical data acquisition module is used for acquiring the statistical data of floors corresponding to each device entering the elevator car within a set time period before the wireless connection is established with the devices entering the elevator car;
and the associated data establishing module is used for determining a target floor corresponding to each device according to the statistical data and establishing device floor associated data.
The elevator floor determining device provided by the embodiment of the invention can be used for executing the elevator floor determining method provided by any embodiment of the invention, has corresponding functional modules and realizes the same beneficial effects.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a server according to embodiment 5 of the present invention, as shown in fig. 5, the server includes a processor 501, a memory 502, an input device 503, and an output device 504; the number of the processors 501 in the server may be one or more, and one processor 501 is taken as an example in fig. 5; the processor 501, the memory 502, the input device 503 and the output device 504 in the server may be connected by a bus or other means, and the bus connection is taken as an example in fig. 5.
The memory 502 is a computer-readable storage medium that can be used to store software programs, computer-executable programs, and modules, such as the modules corresponding to the elevator floor determination method in the embodiment of the present invention (e.g., the wireless connection module 401, the target floor acquisition module 402, and the floor list modification module 403). The processor 501 executes various functional applications of the server and data processing by running software programs, instructions, and modules stored in the memory 502, that is, implements the above-described elevator floor determination method.
The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 502 may further include memory located remotely from processor 501, which may be connected to a server over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 503 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the server. The output device 504 may include a display device such as a display screen.
EXAMPLE six
An embodiment of the present invention also provides a storage medium containing computer-executable instructions which, when executed by a computer processor, perform a method for elevator floor determination, the method comprising:
establishing a wireless connection with a device entering an elevator car;
acquiring a target floor of the equipment;
and correcting the current destination floor list according to the destination floor.
Of course, the embodiment of the present invention provides a storage medium containing computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and can also perform related operations in the method for determining elevator floors provided by any embodiment of the present invention.
Based on the understanding that the technical solutions of the present invention can be embodied in the form of software products, such as floppy disks, Read-Only memories (ROMs), Random Access Memories (RAMs), flash memories (F L ASHs), hard disks or optical disks of a computer, etc., and include instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the device for determining a floor of an elevator, the units and modules included in the device are only divided according to the functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.