VALIDITY CHECK OF A LICENSE OF A MAINTENANCE UNIT FOR ACCESSING A CONTROLLER OF A PASSENGER TRANSPORTATION/ACCESS DEVICE OF A BUILDING

Information

  • Patent Application
  • 20160275276
  • Publication Number
    20160275276
  • Date Filed
    May 26, 2016
    8 years ago
  • Date Published
    September 22, 2016
    8 years ago
Abstract
The invention allows checking the validity of a license of a maintenance unit for accessing a controller of a passenger transportation/access device of a building, without a need for an online connection to a service center or the like. An expiration time of the license is read from an encrypted license file stored in the maintenance unit in response to detecting the maintenance unit being connected to the controller. A manufacturing time and a current usage time of the controller, both stored in a secure memory of the controller, are read. A total of the manufacturing time and the current usage time of the controller are compared to the expiration time of the license. In response to the total not exceeding the expiration time, the license is determined to be valid.
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention


The invention relates passenger transportation/access devices of a building. In particular, the invention relates to checking the validity of a license of a maintenance unit for accessing a controller of a passenger transportation/access device of a building and to a controller performing the checking.


2. Description of the Related Art


Modern passenger transportation/access devices (such as lifts/elevators, escalators, automatic doors, integrated access control systems, etc.) of a building typically have an electronic controller device associated with them that is configured to perform various control operations on its associated transportation/access device. Furthermore, a maintenance unit is typically connectable to such a controller. The maintenance unit is a device, typically portable, with application software carried by a service person that is configured to perform various maintenance operations on the controller when connected to it. These maintenance operations may include e.g. routine status checks, diagnostics, configuration checks, software updates, installation operations, service operations, and other similar operations.


To prevent unauthorized use of such a maintenance unit, the maintenance unit may be granted a time-based license having a preset validity period during which it is granted access to the controller of the passenger transportation/access device of the building. The validity period may be e.g. 3 months, 6 months, or 12 months. If the license is not renewed before its expiry, it cannot be used to access the controller anymore.


Today, the validity check of the license may be performed e.g. by a service/maintenance center via an online connection with the maintenance unit. This, however, is not cost-effective, particularly with a large device base.


Therefore, an object of the present invention is to alleviate the problems described above and to introduce a solution that allows checking the validity of a license of a maintenance unit for accessing a controller of a passenger transportation/access device of a building, without a need for an online connection to a service center or the like.


SUMMARY OF THE INVENTION

A first aspect of the present invention is a method of checking the validity of a license of a maintenance unit for accessing a controller of a passenger transportation/access device of a building. A preset expiration time of the license for accessing the controller is read from an encrypted license file stored in the maintenance unit in response to detecting the maintenance unit being connected to the controller. A preset manufacturing time of the controller and a current usage time of the controller, both stored in a secure memory of the controller, are read. The usage time is a counter value incremented only while the controller is powered on. A total of the manufacturing time and the current usage time of the controller are compared to the expiration time of the license. In response to the total of the manufacturing time and the current usage time of the controller not exceeding the expiration time of the license, the license is determined to be valid.


A second aspect of the present invention is a controller of a passenger transportation/access device of a building. The controller is connectable to a maintenance unit that has a license for accessing the controller. The controller comprises at least one processor, and at least one memory including computer program code. The at least one memory and the computer program code are configured to, with the at least one processor, cause the controller at least to perform:


reading a preset expiration time of the license from an encrypted license file stored in the maintenance unit in response to detecting the maintenance unit being connected to the controller;


reading a preset manufacturing time of the controller and a current usage time of the controller stored in a secure memory of the controller, the usage time being a counter value incremented only while the controller is powered on;


comparing a total of the manufacturing time and the current usage time of the controller to the expiration time of the license; and


determining the license to be valid in response to the total of the manufacturing time and the current usage time of the controller not exceeding the expiration time of the license.


A third aspect of the present invention is a computer program stored on a computer readable medium and comprising code adapted to cause the following steps when executed on the controller:


reading a preset expiration time of the license from an encrypted license file stored in the maintenance unit in response to detecting the maintenance unit being connected to the controller;


reading a preset manufacturing time of the controller and a current usage time of the controller stored in a secure memory of the controller, the usage time being a counter value incremented only while the controller is powered on;


comparing a total of the manufacturing time and the current usage time of the controller to the expiration time of the license; and


determining the license to be valid in response to the total of the manufacturing time and the current usage time of the controller not exceeding the expiration time of the license.


In an embodiment of the invention, access to the controller is granted to the maintenance unit in response to the license being determined to be valid.


In an embodiment of the invention, a preset issue time of the license is read from the encrypted license file stored in the maintenance unit. A total of the manufacturing time and a current usage time of the controller is compared to the issue time of the license. In response to the issue time of the license exceeding the total of the manufacturing time and the current usage time of the controller, the current usage time of the controller is incremented until the issue time of the license equals the total of the manufacturing time and the current usage time of the controller.


In an embodiment of the invention, the expiration time of the license, the issue time of the license, and the manufacturing time of the controller have a same time format, and the usage time of the controller indicates elapsed time units of the same time format.


In an embodiment of the invention, the time format comprises unix time stamp, and the time unit comprises seconds.


It is to be understood that the aspects and embodiments of the invention described above may be used in any combination with each other. Several of the aspects and embodiments may be combined together to form a further embodiment of the invention. A method, a controller or a computer program which is an aspect of the invention may comprise at least one of the embodiments of the invention described above.


The invention allows checking the validity of a license of a maintenance unit for accessing a controller of a passenger transportation/access device of a building, without a need for an online connection to a service center or the like. The controller itself can reliably and securely check whether the license of the maintenance unit is still valid.





BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are included to provide a further understanding of the invention and constitute a part of this specification, illustrate embodiments of the invention and together with the description help to explain the principles of the invention. In the drawings:



FIG. 1 is a flow diagram illustrating a method according to an embodiment of the present invention; and



FIG. 2 is a block diagram illustrating apparatuses according to an embodiment of the present invention.





DETAILED DESCRIPTION OF THE INVENTION

Reference will now be made in detail to the embodiments of the invention, examples of which are illustrated in the accompanying drawings.



FIG. 1 is a flow diagram illustrating a method according to an embodiment of the present invention. In this embodiment, the steps 101-112 are performed by a controller 210 of a passenger transportation/access device of a building.


At step 101, the controller detects a maintenance unit being connected to it. In response, at step 102, a preset expiration time of a license of the maintenance unit is read. The license, if valid, will grant the maintenance unit access to the controller. The expiration time is read from an encrypted license file that is stored in the maintenance unit.


At step 103, a preset manufacturing time of the controller and a current usage time of the controller are read. Both the manufacturing time and the usage time are stored in a secure memory of the controller.


The usage time is a counter value incremented only while the controller is powered on. In other words, if power is not on (such as e.g. during transport before installation, or during installation when powered off), the usage time is not incremented.


In the embodiments of FIG. 1 and FIG. 2, the expiration time of the license, the issue time of the license, and the manufacturing time of the controller may have a same time format, and the usage time of the controller may indicate elapsed time units of the same time format. The time format may comprise e.g. unix time stamp, and the time unit may comprise e.g. seconds. Obviously, other time formats and time units may be utilized.


At step 104, a total of the manufacturing time and the current usage time of the controller are compared to the expiration time of the license. If the total of the manufacturing time and the current usage time of the controller does not exceed the expiration time of the license, step 105, the license is determined to be valid, step 106. Otherwise, the license is determined to be invalid, step 107. If the license is determined to be valid, the maintenance unit may be granted access to the controller, step 108.


At optional step 109, a preset issue time of the license is read from the encrypted license file stored in the maintenance unit. A total of the manufacturing time and a current usage time of the controller is compared to the issue time of the license, step 110. If the issue time of the license exceeds the total of the manufacturing time and the current usage time of the controller, step 111, the current usage time of the controller is incremented until the issue time of the license equals the total of the manufacturing time and the current usage time of the controller, step 112.



FIG. 2 is a block diagram illustrating apparatuses according to an embodiment of the present invention. The apparatuses include a passenger transportation/access device 200 of a building, a controller 210 of the passenger transportation/access device 200, and a maintenance unit 220 connectable to the controller 230.


In the embodiments of FIG. 1 and FIG. 2, the passenger transportation/access device 200 may be e.g. one of a lift/elevator, an escalator, an automatic door, and an integrated access control system. The controller 210 is configured to perform various control operations on its associated passenger transportation/access device 200. The maintenance unit 220 connectable to the controller 210 is configured to perform various maintenance operations on the controller 210 when connected to it. The maintenance unit 220 may be a portable device carried by a service person, such as e.g. a laptop, a personal digital assistant, a tablet computer, a smartphone, or the like. The maintenance operations may include e.g. routine status checks, diagnostics, configuration checks, software updates, installation operations, service operations, and the like.


The controller 210 comprises at least one processor 211, and at least one memory 212 including computer program code 213. The controller 210 further comprises at least one secure memory 214 including a manufacturing time 215 of the controller 210 and a current usage time 216 of the controller 210. Even though the at least one memory 212 and the at least one secure memory 214 are illustrated as separate entities in FIG. 2, they can be integrated as one entity. For example, the at least one secure memory 214 could be a secured portion in the at least one memory 212.


The maintenance unit 220 comprises at least one processor 221, and at least one memory 222 including computer program code 223 for performing various maintenance operations. E.g. the at least one memory 222 may further include an encrypted license file 224 that contains a preset issue time 225 of a license of the maintenance unit 220 for accessing the controller 210 of the passenger transportation/access device 200. The encrypted license file 224 further contains a preset expiration time 226 of the license.


The at least one memory 212 and the computer program code 213 are configured to, with the at least one processor 211, cause the controller 210 at least to perform:


reading the preset expiration time 226 of the license from the encrypted license file 224 stored in the maintenance unit 220 in response to detecting the maintenance unit 220 being connected to the controller 210;


reading the preset manufacturing time 215 of the controller 210 and the current usage time 216 of the controller 210 stored in the secure memory 214 of the controller 210, the usage time 216 being a counter value incremented only while the controller 210 is powered on;


comparing a total of the manufacturing time 215 and the current usage time 216 of the controller 210 to the expiration time 226 of the license; and


determining the license to be valid in response to the total of the manufacturing time 215 and the current usage time 216 of the controller 210 not exceeding the expiration time 226 of the license.


The at least one memory 212 and the computer program code 213 may be configured to, with the at least one processor 211, further cause the controller 210 at least to perform granting the maintenance unit 220 access to the controller 210 in response to the license being determined to be valid.


The at least one memory 212 and the computer program code 213 may be configured to, with the at least one processor 211, further cause the controller 210 at least to perform:


reading a preset issue time 225 of the license from the encrypted license file 224 stored in the maintenance unit 220;


comparing a total of the manufacturing time 215 and a current usage time 216 of the controller 210 to the issue time 225 of the license; and


in response to the issue time 225 of the license exceeding the total of the manufacturing time 215 and the current usage time 216 of the controller 210, incrementing the current usage time 216 of the controller 210 until the issue time 225 of the license equals the total of the manufacturing time 215 and the current usage time 216 of the controller 210.


The exemplary embodiments can include, for example, any suitable servers, workstations, PCs, laptop computers, other devices, and the like, capable of performing the processes of the exemplary embodiments. The devices and subsystems of the exemplary embodiments can communicate with each other using any suitable protocol and can be implemented using one or more programmed computer systems or devices.


It is to be understood that the exemplary embodiments are for exemplary purposes, as many variations of the specific hardware used to implement the exemplary embodiments are possible, as will be appreciated by those skilled in the hardware and/or software art(s). For example, the functionality of one or more of the components of the exemplary embodiments can be implemented via one or more hardware and/or software devices.


The exemplary embodiments can store information relating to various processes described herein. This information can be stored in one or more memories, such as a hard disk, optical disk, magneto-optical disk, RAM, and the like. One or more databases can store the information used to implement the exemplary embodiments of the present inventions. The databases can be organized using data structures (e.g., records, tables, arrays, fields, graphs, trees, lists, and the like) included in one or more memories or storage devices listed herein. The processes described with respect to the exemplary embodiments can include appropriate data structures for storing data collected and/or generated by the processes of the devices and subsystems of the exemplary embodiments in one or more databases.


All or a portion of the exemplary embodiments can be conveniently implemented using one or more general purpose processors, microprocessors, digital signal processors, micro-controllers, and the like, programmed according to the teachings of the exemplary embodiments of the present inventions, as will be appreciated by those skilled in the computer and/or software art(s). Appropriate software can be readily prepared by programmers of ordinary skill based on the teachings of the exemplary embodiments, as will be appreciated by those skilled in the software art. In addition, the exemplary embodiments can be implemented by the preparation of application-specific integrated circuits or by interconnecting an appropriate network of conventional component circuits, as will be appreciated by those skilled in the electrical art(s). Thus, the exemplary embodiments are not limited to any specific combination of hardware and/or software.


Stored on any one or on a combination of computer readable media, the exemplary embodiments of the present inventions can include software for controlling the components of the exemplary embodiments, for driving the components of the exemplary embodiments, for enabling the components of the exemplary embodiments to interact with a human user, and the like. Such software can include, but is not limited to, device drivers, firmware, operating systems, development tools, applications software, and the like. Such computer readable media further can include the computer program product of an embodiment of the present inventions for performing all or a portion (if processing is distributed) of the processing performed in implementing the inventions. Computer code devices of the exemplary embodiments of the present inventions can include any suitable interpretable or executable code mechanism, including but not limited to scripts, interpretable programs, dynamic link libraries (DLLs), Java classes and applets, complete executable programs, Common Passenger Request Broker Architecture (CORBA) passengers, and the like. Moreover, parts of the processing of the exemplary embodiments of the present inventions can be distributed for better performance, reliability, cost, and the like.


As stated above, the components of the exemplary embodiments can include computer readable medium or memories for holding instructions programmed according to the teachings of the present inventions and for holding data structures, tables, records, and/or other data described herein. Computer readable medium can include any suitable medium that participates in providing instructions to a processor for execution. Such a medium can take many forms, including but not limited to, non-volatile media, volatile media, and the like. Non-volatile media can include, for example, optical or magnetic disks, magneto-optical disks, and the like. Volatile media can include dynamic memories, and the like. Common forms of computer-readable media can include, for example, a floppy disk, a flexible disk, hard disk, magnetic tape, any other suitable magnetic medium, a CD-ROM, CD±R, CD±RW, DVD, DVD-RAM, DVD±RW, DVD±R, HD DVD, HD DVD-R, HD DVD-RW, HD DVD-RAM, Blu-ray Disc, any other suitable optical medium, punch cards, paper tape, optical mark sheets, any other suitable physical medium with patterns of holes or other optically recognizable indicia, a RAM, a PROM, an EPROM, a FLASH-EPROM, any other suitable memory chip or cartridge, or any other suitable medium from which a computer can read.


While the present inventions have been described in connection with a number of exemplary embodiments, and implementations, the present inventions are not so limited, but rather cover various modifications, and equivalent arrangements, which fall within the purview of prospective claims.

Claims
  • 1. A method of checking the validity of a license of a maintenance unit for accessing a controller of a passenger transportation/access device of a building, wherein the method comprising: reading a preset expiration time of the license for accessing the controller from an encrypted license file stored in the maintenance unit in response to detecting the maintenance unit being connected to the controller;reading a preset manufacturing time of the controller and a current usage time of the controller stored in a secure memory of the controller, the usage time being a counter value incremented only while the controller is powered on;comparing a total of the manufacturing time and the current usage time of the controller to the expiration time of the license; anddetermining the license to be valid in response to the total of the manufacturing time and the current usage time of the controller not exceeding the expiration time of the license.
  • 2. The method according to claim 1, further comprising granting the maintenance unit access to the controller in response to the license being determined to be valid.
  • 3. The method according to claim 1, further comprising: reading a preset issue time of the license from the encrypted license file stored in the maintenance unit;comparing a total of the manufacturing time and a current usage time of the controller to the issue time of the license; andin response to the issue time of the license exceeding the total of the manufacturing time and the current usage time of the controller, incrementing the current usage time of the controller until the issue time of the license equals the total of the manufacturing time and the current usage time of the controller.
  • 4. The method according to claim 1, wherein the expiration time of the license, the issue time of the license, and the manufacturing time of the controller have a same time format, and the usage time of the controller indicates elapsed time units of said same time format.
  • 5. The method according to claim 4, wherein the time format comprises unix time stamp, and the time unit comprises seconds.
  • 6. A computer program stored on a computer readable medium and comprising code adapted to cause the steps of claim 1 when executed on said controller.
  • 7. A controller of a passenger transportation/access device of a building, said controller connectable to a maintenance unit having a license for accessing the controller, the controller comprising: at least one processor; andat least one memory including computer program code;wherein the at least one memory and the computer program code being configured to, with the at least one processor, cause the controller at least to perform:reading a preset expiration time of the license from an encrypted license file stored in the maintenance unit in response to detecting the maintenance unit being connected to the controller;reading a preset manufacturing time of the controller and a current usage time of the controller stored in a secure memory of the controller, the usage time being a counter value incremented only while the controller is powered on;
  • 8. The controller according to claim 7, wherein the at least one memory and the computer program code are further configured to, with the at least one processor, cause the controller to perform granting the maintenance unit access to the controller in response to the license being determined to be valid.
  • 9. The controller according to claim 7, wherein the at least one memory and the computer program code are further configured to, with the at least one processor, cause the controller to perform: reading a preset issue time of the license from the encrypted license file stored in the maintenance unit;comparing a total of the manufacturing time and a current usage time of the controller to the issue time of the license; andin response to the issue time of the license exceeding the total of the manufacturing time and the current usage time of the controller, incrementing the current usage time of the controller until the issue time of the license equals the total of the manufacturing time and the current usage time of the controller.
  • 10. The controller according to claim 7, wherein the expiration time of the license, the issue time of the license, and the manufacturing time of the controller have a same time format, and the usage time of the controller indicates elapsed time units of said same time format.
  • 11. The controller according to claim 10, wherein the time format comprises unix time stamp, and the time unit comprises seconds.
  • 12. The method according to claim 2, further comprising: reading a preset issue time of the license from the encrypted license file stored in the maintenance unit;comparing a total of the manufacturing time and a current usage time of the controller to the issue time of the license; andin response to the issue time of the license exceeding the total of the manufacturing time and the current usage time of the controller, incrementing the current usage time of the controller until the issue time of the license equals the total of the manufacturing time and the current usage time of the controller.
  • 13. The method according to claim 2, wherein the expiration time of the license, the issue time of the license, and the manufacturing time of the controller have a same time format, and the usage time of the controller indicates elapsed time units of said same time format.
  • 14. The method according to claim 3, wherein the expiration time of the license, the issue time of the license, and the manufacturing time of the controller have a same time format, and the usage time of the controller indicates elapsed time units of said same time format.
  • 15. A computer program stored on a computer readable medium and comprising code adapted to cause the steps of claim 2 when executed on said controller.
  • 16. A computer program stored on a computer readable medium and comprising code adapted to cause the steps of claim 3 when executed on said controller.
  • 17. A computer program stored on a computer readable medium and comprising code adapted to cause the steps of claim 4 when executed on said controller.
  • 18. A computer program stored on a computer readable medium and comprising code adapted to cause the steps of claim 5 when executed on said controller.
  • 19. The controller according to claim 8, wherein the at least one memory and the computer program code are further configured to, with the at least one processor, cause the controller to perform: reading a preset issue time of the license from the encrypted license file stored in the maintenance unit;comparing a total of the manufacturing time and a current usage time of the controller to the issue time of the license; andin response to the issue time of the license exceeding the total of the manufacturing time and the current usage time of the controller, incrementing the current usage time of the controller until the issue time of the license equals the total of the manufacturing time and the current usage time of the controller.
  • 20. The controller according to claim 8, wherein the expiration time of the license, the issue time of the license, and the manufacturing time of the controller have a same time format, and the usage time of the controller indicates elapsed time units of said same time format.
Continuations (1)
Number Date Country
Parent PCT/FI2014/050034 Jan 2014 US
Child 15165726 US